QtCreator增加ui文件后编译不能生成ui |
您所在的位置:网站首页 › 无法生成lootcliexe › QtCreator增加ui文件后编译不能生成ui |
1. 可参考: https://blog.csdn.net/qq_36430621/article/details/107100078 2. 删除生成目录下的MakeFile, 删除构建目录(或影子构建目录)下的Makefile: Makefile Makefile.Debug Makefile.Release 删除所有 Makefile.* 重新编译即可生成ui_***.h 实质就是缺少一个qmake的过程,正常增加 .ui文件后应该: 10:04:39: Running steps for project QtWinApp01Proj... 10:04:39: Starting: "D:\Qt\Qt5.10.1\5.10.1\msvc2017_64\bin\qmake.exe" E:\Test\QT\QtWinApp01\QtWinApp01Proj\QtWinApp01Proj.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"如果是这样: 10:06:27: Running steps for project QtWinApp01Proj... 10:06:27: Configuration unchanged, skipping qmake step.则需要删除Makefile.*, 以保证QtCreator调用qmake. |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |