1、執(zhí)行qmake,提示下圖的錯(cuò)誤
Command 'qmake' not found, but can be installed with:
sudo apt install qtchooser
解決方法:
sudo apt install qtchooser
?2、執(zhí)行qmake,提示一下錯(cuò)誤
qmake: could not find a Qt installation of ''
解決步驟:
步驟一:找到qmke命令鏈接路徑
which qmake
?具體操作
cxx@cxx-virtual-machine:~/Demo/qBreakpad-master$ which qmake
/usr/bin/qmake
步驟二:刪除連接
sudo rm /usr/bin/qmake
具體操作
cxx@cxx-virtual-machine:~/Demo/qBreakpad-master$ sudo rm /usr/bin/qmake
步驟三:重新鏈接【這里我安裝的qt,在/opt/Qt5.14.2,所以qmake路徑就是/opt/Qt5.14.2/5.14.2/gcc_64/bin/qmake】
sudo ln -s /opt/Qt5.14.2/5.14.2/gcc_64/bin/qmake /usr/bin/qmake
?文章來源:http://www.zghlxwxcb.cn/news/detail-520518.html
?文章來源地址http://www.zghlxwxcb.cn/news/detail-520518.html
到了這里,關(guān)于安裝qt qmake assistant 錯(cuò)誤:could not find a Qt installation of ‘‘的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!