Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
2.3.4
-
None
-
-
99c64ac9834500eff969a77fddc2a81722964226
Description
- Create new Qt project using the Qt VS Tool
- Add a property sheet to the project
- Define a special "Output Directory"
- Set the "Output Directory" of the project properties to "inherit" to use the defined value from the property sheet.
I would expect to see the special output directory in the project but that does not work.
The reason is a wrong order of the property entries in the xml file of the VS project. As a workaround you have to manually edit the xml-file after creation like stated here:
(Quoted from the link above)
Msbuild evaluation depends on order of the defined properties and imports and vcxproj must have a specific structure for IDE to be able to edit it correctly https://docs.microsoft.com/en-us/cpp/build/reference/vcxproj-file-structure?view=vs-2019
The repro project does not have the expected structure which makes properties and imports to be in the wrong order. The first PropertyGroup without a Label (empty Label) must be after <ImportGroup Label="PropertySheets" and not before it for Property Pages and inheritance working correctly.
Attachments
Issue Links
- relates to
-
QTVSADDINBUG-651 The QtInstall property does not expand macros
- Closed