执行
qmake -v
出现错误:qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory
分析:
qtchooser默认选择路径中没有指向qmake路径
解决方法:
cd /usr/lib/x86_64-linux-gnu/qt-default/qtchooser
sudo rm default.conf
重新安装Pyqt5
sudo apt-get install qt5-default
sudo apt-get install qttools5-dev-tools
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
原文地址:https://www.cnblogs.com/Qing-Bo/p/10159362.html
时间: 2024-10-04 16:36:52