在 Ubuntu 22.04 中安装Qt6后使用
sudo apt install qt6-base-dev
Run Code Online (Sandbox Code Playgroud)
调用qmake会产生错误消息:
qmake: could not find a Qt installation of ''
Run Code Online (Sandbox Code Playgroud)
或者
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
Run Code Online (Sandbox Code Playgroud)
然而,可以调用/运行qmake6. 如何制作qmake并指向它qmake6?