Qt VS Tools uic issue
-
Hello!
I have tried to build my test project using
Visual Studio 2017version15.9.17withQt VS Tools. It fails withuicerror. I useQt 5.13.1on 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 1Screenshot:

The test project works well using
Qt Creator. I am curious why it fails to build usingVS 2017withQt VS Toolsextension installed? It is theQt VS Toolsextension bug with the latestVS 2017version? 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.