Ubuntu 16.04下qm可执行文件的获取与安装方法咨询
qm: command not found on Ubuntu 16.04 for RAVL Library-dependent Apps Hey there, since you're dealing with a qm (quick-make/QMmake) tool tied to the RAVL Library (and definitely not Qt's qmake), let's walk through how to get this tool up and running:
1. Start with the RAVL Library Source Code
Since the RAVL Library's README explicitly references qm, this tool is almost certainly bundled with or tightly integrated into the RAVL ecosystem. Here's your first step:
- First, make sure you have basic build tools installed on your Ubuntu 16.04 system:
sudo apt-get update && sudo apt-get install build-essential git - Clone the RAVL Library source code repository (this is where
qmlives). - Navigate into the RAVL source root directory once the clone finishes.
2. Locate the qm Tool Source Files
Use a search command to track down where qm is stored in the RAVL codebase:
find . -name "*qm*" -type d
This should return a path like ./tools/qm/ or similar—this directory holds the qm source code and build files.
3. Compile and Install qm
- Move into the
qmdirectory you found:cd ./tools/qm/ - Look for a
Makefilein this directory. If it exists, compile the tool with:make - Once compilation completes, install
qmto a system-wide accessible path (so your shell can find it) with:
This typically copies thesudo make installqmexecutable to/usr/local/bin/, which is in Ubuntu's defaultPATH.
4. Verify the Installation
Test if qm is now recognized by running:
qm
You should see output related to quick-make/QMmake (not Qt's qmake) instead of the "command not found" error.
5. Check Your Target App's defs.mk for Clues
If you hit snags, take another look at the defs.mk file in your target app's source directory. It might contain comments or references that clarify how qm is supposed to be built or sourced alongside RAVL.
内容的提问来源于stack exchange,提问作者TafT

