Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.0
-
None
Description
I'm using "Generate Visual Studio project (using qmake)" feature with following qmake call set in Build Settings:
C:/Qt/5.15.10/bin/qmake.exe D:\workspace\solution.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" "CONFIG-=flat" && D:/workspace/msvc_make.bat qmake_all
First of all, "flat" shouldn't be the default option. Why would anyone need something like that?
Second, with "flat" turned off, filter structure for header files seems to reflect the original Qt project structure correctly, while filter structure for source files gets messed up for some reason as follows.
Qt project:
>Solution >>Project1 >>>Headers >>>>Filter1 >>>>>class1.h >>>Sources >>>>Filter1 >>>>>class1.cpp
VS project:
>Solution >>Project1 >>>Header Files >>>>Filter1 >>>>>class1.h >>>Source Files >>>>.. >>>>>.. >>>>>>.. >>>>>>>.. >>>>>>>>Project1 >>>>>>>>>Filter1 >>>>>>>>>>class1.cpp
Is there maybe some kind of setting that could be used as a workaround for this bug?