Details
-
Task
-
Resolution: Done
-
P2: Important
-
2.8.0
-
None
-
e2ff00721d3693f68f96cf0de43181caffd0282f (qt-labs/vstools/dev)
Description
Extract all settings required to integrate Qt tools in the project build by calling qmake with the option to generate an msvc project (qmake -tp vc).
Qt/MSBuild relies on qmake to obtain settings needed to integrate Qt tools in the project build. This is currently achieved by calling qmake to generate an "empty" Makefile, which is then parsed to extract macros, include paths and aditional linker input. However, some important settings are not currently extracted, e.g. compiler and linked options.
Using an msvc project as source of the build settings, instead of a Makefile, has the advantage that all settings are already defined as MSBuild properties. As such, the extraction process will only need to append the properties in the generated .vcxproj to the ones defined in the user's project.
Attachments
Issue Links
- is required for
-
QTVSADDINBUG-924 Template project Qt Quick Application using C++14 standard by default even with Qt 6
- Closed
-
QTVSADDINBUG-936 RCC dynamic C++ source file fails to compile with precompiled header
- Closed
-
QTVSADDINBUG-947 Qt Resource Compiler won't set the required flags
- Closed
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTVSADDINBUG-950 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
383942,3 | Revise evaluation of Qt properties | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |
384150,4 | Get Qt build settings from generated .vcxproj | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |
384152,3 | Fix VsQml code incompatible with compiler options | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |