我已经通过 *.run 文件从官方网站安装了 Qt 5.6。安装目录在我的主文件夹中。当我跑
qmake --version
Run Code Online (Sandbox Code Playgroud)
我收到以下消息:
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
Run Code Online (Sandbox Code Playgroud)
我认为问题在于操作系统没有在正确的目录中查找 qmake(我的主文件夹中安装了 Qt)。
如何告诉操作系统在我的主文件夹中搜索 Qt?