Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.8.3
-
None
-
Windows, Microsoft Visual Studio 2010
-
8869b3b30a29b1dd4218b3f5ac0bec9dd936b664
Description
Using qt-everywhere-opensource-src-4.8.3.tar.gz, we are unable to build Qt DLL's (QtCore, QtGui, etc.) from the Visual C++ 2010 solution file, "projects.sln", generated by configure.exe. When we tried to do so, we got warnings like this:
warning MSB8012: TargetPath(...\src\corelib\..\..\lib\QtCored44.dll) does not match the Linker's OutputFile property value (...\lib\QtCored4.dll).
And errors like this:
6>PostBuildEvent:
6> Description: Copy QtCored4.dll to ..\..\bin
6> The system cannot find the file specified.
error MSB3073: The command "copy "...\src\corelib\..\..\lib\QtCored44.dll"
"..\..\bin"
Clearly "QtCored44.dll" should have been "QtCored4.dll"! I think this is caused by an invalid specification of de XML tag 'TargetExt', in the vcxproj files generated by configure.exe. For example, in ...\src\corelib\QtCore.vcxproj (hereby attached):
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">4.dll</TargetExt>
I think the version number ('4') should not be part of the TargetExt.
Note that we did not have any problem building the previous version of Qt (4.8.2) like this.
Attachments
For Gerrit Dashboard: QTBUG-27554 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
37474,1 | Revert "qmake vcxproj generator: map TARGET_EXT to $(TargetExt)" | 4.8 | qt/qt | Status: MERGED | +2 | 0 |