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!" )
}
代码即可
posted @ 2018-09-07 11:48  h2z  阅读(5524)  评论(0)    收藏  举报