qt-labs / vstools

Other
77 stars 24 forks source link

After update on actual vstools, earlier successfully compiled project comes errors can't find some include h-files in moc_*.cpp #37

Closed Catty82 closed 2 weeks ago

Catty82 commented 3 weeks ago

Describe the bug Error c1083 Cannot open include file Filname.h No such file or directory (compiling source moc_*. cpp)

Desktop (please complete the following information):

Catty82 commented 3 weeks ago

Rollback to qt-vsaddin-msvc2019-x86-3.2.0-rev.47 and getting build success. Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped

Catty82 commented 3 weeks ago

vstools 3.3 can't see Additional Include Dirs in project properties C++ - General: .;$(ProjectDir)..\..\path1;$(ProjectDir)..\..\path2;%(AdditionalIncludeDirectories)

When #include "Header.h" changed to ..\..\path1\Header.h then see it and compiled.

kaheimri commented 2 weeks ago

Thank you very much for reporting this issue; it has been recorded in our public bug tracker, where all further updates will be shared: Cannot find some include h-files in moc_*.cpp (issue #37)

As a temporary solution, you can roll back to the previous working version by following these steps:

Catty82 commented 2 weeks ago

Thanks, we are in wait for fixing soon. I have been doing such rollback and disable autoupdate.