可执行文件不是在Qt中制作的

时间:2018-08-08 10:42:10

标签: linux qt makefile qt5 qmake

我试图使我的qt快速程序成为可执行文件。但是,当我这样做时,不会生成任何可执行文件。即使我没有检查阴影建筑物。我搜索了许多网站,并找到了关于它的视频,他在其中运行qmake,然后运行make来生成可执行文件。但是什么也没发生。我什至将构建目录设置为当前项目目录。除此之外,我什至为QWidget应用程序执行了此操作,结果是相同的。没有可执行文件。请帮帮我。Here is my build and run configuration Build settings

Trial folder compilation and run from terminal

17:36:05: Running steps for project Keba_1...
17:36:05: Starting: "/home/stpl/Qt/5.11.1/gcc_64/bin/qmake" /home/stpl/Keba_1/Keba_1.pro -spec linux-g++ CONFIG+=qtquickcompiler
17:36:05: The process "/home/stpl/Qt/5.11.1/gcc_64/bin/qmake" exited normally.
17:36:05: Starting: "/usr/bin/make" qmake_all
make: Nothing to be done for 'qmake_all'.
17:36:05: The process "/usr/bin/make" exited normally.
17:36:05: Starting: "/usr/bin/make" 
make: Nothing to be done for 'first'.
17:36:05: The process "/usr/bin/make" exited normally.
17:36:05: Elapsed time: 00:00.

project file

请检查一下

1 个答案:

答案 0 :(得分:1)

Linux没有Windows的.exe扩展名(也许您已经习惯了?)

带圆圈的项目是可执行文件:

The circled item is the executable