gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 06:03:07 25 4
gpt4 key购买 nike

我试图使我的 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com