Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
3.3.1.1
-
None
Description
We have solutions with more than 20 projects. The startup project that creates the .exe has 20+ references to the other projects in the solution. When a single .cpp file is compiled (Ctrl+F7), the Qt configuration for all referenced projects and the project containing the file are loaded. In such a case, reading the configuration takes longer than the compilation step of the individual file. I assume this wasn't the case in older versions of the Qt VS Tools Addin.
Same Thing if I click “Project Only --> Rebuild Only” on the Startup-Project.
Compiling "QtWidgetsApplication1.cpp" from the attached test-application produces the following output:
1>------ Build started: Project: QtWidgetsApplication1, Configuration: Debug x64 ------ 1> Qt/MSBuild: 3.3.1.1 1> Qt/MSBuild: 3.3.1.1 1> Qt/MSBuild: 3.3.1.1 1> Qt/MSBuild: 3.3.1.1 1> Qt/MSBuild: 3.3.1.1 1>Reading Qt configuration (D:/Bildverarbeitung/ConfigMgmt/Libs/ExternalLibs/Qt/6.8.0/msvc2022_64/bin/qmake) 1>Reading Qt configuration (D:/Bildverarbeitung/ConfigMgmt/Libs/ExternalLibs/Qt/6.8.0/msvc2022_64/bin/qmake) 1>Reading Qt configuration (D:/Bildverarbeitung/ConfigMgmt/Libs/ExternalLibs/Qt/6.8.0/msvc2022_64/bin/qmake) 1>Reading Qt configuration (D:/Bildverarbeitung/ConfigMgmt/Libs/ExternalLibs/Qt/6.8.0/msvc2022_64/bin/qmake) 1>Reading Qt configuration (D:/Bildverarbeitung/ConfigMgmt/Libs/ExternalLibs/Qt/6.8.0/msvc2022_64/bin/qmake) 1> Qt: 6.8.0 1> Qt: 6.8.0 1> Qt: 6.8.0 1> Qt: 6.8.0 1> Qt: 6.8.0 1> Qt/MSBuild: 3.3.1.1 1> Qt: 6.8.0 1>QtWidgetsApplication1.cpp ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== ========== Build completed at 21:11 and took 01,830 seconds ==========