[Others] qt创建工程问题 V23
Tofloor
poster avatar
DAWN
deepin
2024-04-28 23:06
Author

虚拟机。

从应用商店安装QT,以qmake方式不能正常创建工程,以CMake可以正常创建工程。

从qt官方下载并安装qt,也是如此。

实体机有待测试……

Reply Favorite View the author
All Replies
deepin
2024-04-28 23:59
#1

这个可能是设置问题,也可能是qmake相关的bug官方没有及时进行修复,苹果MacOS更新版本也会出现qmake的老项目构建不了。

不过,按照现在的趋势,cmake会更多被维护。

Reply View the author
berners
deepin
2024-04-29 09:17
#2

你应该是qmake配置的路径不正确

你kit截一下图看看

Reply View the author
dxy2020
deepin
2024-04-29 10:17
#3

qt5-qmake

这个包装了吗?

Reply View the author
dxy2020
deepin
2024-04-29 10:18
#4

再看看

image.png

Reply View the author
DAWN
deepin
2024-04-29 20:30
#5

问题已经解决,原因是没有安装qmake和clang

sudo apt-get install qt5-default

sudo apt-get install clang

截图_选择区域_20240429202055.png

没解决之前,头文件、源文件和窗体文件都不能加载,现在已经加载成功,且编译通过。

Reply View the author