linux - 可执行文件不是用 Qt 制作的

标签 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

请检查一下

最佳答案

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

圈出的项目是可执行文件:

The circled item is the executable

关于linux - 可执行文件不是用 Qt 制作的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51744661/

相关文章:

c - Eclipse CDT 在底层对 'make' 做了什么

找不到 mysql_upgrade

PHP session 超时回调?

c++ - 使用 QObject::connect() 将函数连接到信号时,类型签名是否重要?

自定义 Eclipse 代码辅助

c++ - 带有条件生成文件的 makefile

linux - 一个 wav 后停止和循环 Shell。播放文件

php - 为什么这个进程不在后台运行?

c++ - 使用 Qt Creator 读取 rosbag 文件时出错

c++ - 在 QTableView 上绘制 QGraphicsLineItem