QT creator出现 no executable specified时解决办法


1.     本人是在linux/ubutun中使用QT creator,一次编译程序的时候出现了“no executable specified”的错误而无法运行程序。解决办法:

         在用QT creator打开project之前,删除CMakeLists.txt.user文件重新编译,然后运行程序,可以成功。

        在此记录,希望再出现这样的问题可以不用再浪费时间。

 

2.datavisualization/customitems demo复制到其他文件夹下运行出现了“no executable specified”的错误而无法运行程序。解决办法:

打开customitems.pro 文件删除

!include( ../examples.pri ) {
    error( "Couldn't find the examples.pri file!" )
}
代码即可


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM