You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 16.04下qm可执行文件的获取与安装方法咨询

Fixing 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 qm lives).
  • 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 qm directory you found:
    cd ./tools/qm/
    
  • Look for a Makefile in this directory. If it exists, compile the tool with:
    make
    
  • Once compilation completes, install qm to a system-wide accessible path (so your shell can find it) with:
    sudo make install
    
    This typically copies the qm executable to /usr/local/bin/, which is in Ubuntu's default PATH.

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 06:48:11