Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.3, 4.8.3, 4.8.4, 5.0.0
-
None
-
Windows7 x64
MS Visual Studio 2010
Description
When VERSION variable is used in .pro file qmake produces a project which fails to compile with MSVC2010. The reason it fails is because in the project Properties "General->Target Name" is specified as $(TargetName)+$(VER_MAJ) where as in "Linker->Output File" it is simply $(TargetName). To illustrate:
.pro file:
VERSION = 1.0.1
TARGET = QTTest
General->Target Name = QTTest1
Linker->Output File = QTTest.exe
I've noticed that this bug has been introduced somewhere between Qt4.7.0 and Qt4.7.3
I attach a small test project that can be used to reproduce the problem.
Attachments
Issue Links
- relates to
-
QTBUG-26782 Target extension property is not modified on VS2010
- Closed
For Gerrit Dashboard: QTBUG-29286 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
45691,3 | Revert "qmake vcxproj generator: map TARGET_EXT to $(TargetExt)" | stable | qt/qtbase | Status: MERGED | +2 | 0 |