qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qmake' since it links to qmake itself. Check your installation.

在linux系统上装了多个Qt版本,直接修改default.conf,输入qmake -v,打印qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt5/bin/qmake‘ since it links to qmake itself. Check your installation.

1、打开/usr/lib/x86_64-linux-gnu/qtchooser目录,查看对应版本的conf文件,打开,查看

2、编辑/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf,将步骤1的conf文件内容拷贝到这个文件中保存

qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qmake' since it links to qmake itself. Check your installation.

上一篇:javascript 表达式、括号、常用函数和jquery库怎么样实现的分析


下一篇:Linux知识心得07