首页 > 系统服务 > 详细

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

时间:2021-06-22 22:28:02      阅读:76      评论:0      收藏:0      [点我收藏+]

在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.

原文:https://www.cnblogs.com/dkhuang/p/14919841.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!