我尝试使用Visual Studio 2017
的{{1}}版本15.9.17构建测试项目。它因uic错误而失败。我在Windows 10上使用Qt VS Tools
。
错误描述:
Qt 5.13.1
构建输出:
Severity Code Description Project File Line Suppression State
Error 1 uic (C:\Qt\5.13.1\msvc2017\bin\uic.exe) TestAppVSEx ...\TestAppVSEx\testapp.ui 1
截屏:
使用1>------ Build started: Project: TestAppVSEx, Configuration: Debug Win32 ------
1>Generate moc_predefs.h
1>Uic'ing testapp.ui...
1>Moc'ing testapp.h...
1> Could not create output file
1>testapp.ui : error 1: uic (C:\Qt\5.13.1\msvc2017\bin\uic.exe)
1>Done building project "TestAppVSEx.vcxproj" -- FAILED.
,测试项目运行良好。我很好奇为什么无法使用安装了Qt Creator
扩展名的VS 2017
进行构建?这是Qt VS Tools
最新版本的Qt VS Tools
扩展错误吗?预先感谢。