Solved Qt VS Tools uic issue
-
Hello!
I have tried to build my test project using
Visual Studio 2017
version15.9.17
withQt VS Tools
. It fails withuic
error. I useQt 5.13.1
on Windows 10.Error description:
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
Screenshot:
The test project works well using
Qt Creator
. I am curious why it fails to build usingVS 2017
withQt VS Tools
extension installed? It is theQt VS Tools
extension bug with the latestVS 2017
version? Thanks in advance. -
I am not familiar with these setting, but is this Output Directory supposed to be inherited by the *.ui files?
Because if I manually set this path to a *.ui file, I can successfully build the software.
Hope this helps to squash the bug.
-
Hello!
I have added
$(IntDir)\uic\%(RelativeDir)
as the Output Directory and now it compiles successfully. Thank you.