Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0 Beta
-
None
-
Win32 app build with Visual Studio 2012 (update 5) on Windows 7 x64 (fully patched).
Qt build from GIT 5.6 branch @ 2015-10-22 (a0309a7a43a404ebb1bf1a193732860bd3edfe9b)
-
c66b492cedbd96831e02269aa65d38b8a4b55df0
Description
PROBLEM:
- Linker error to 'libEGLd.lib' when building a Qt3d project. (details in attached file).
- Linking to custom libraries specified with "LIBS +=" in .pro files is also broken in vcxproj-files generated by qmake.
- This is a regression compared to Qt 5.6 alpha.
CAUSE:
- $$(QTDIR)\lib is not properly added to "Additional linker directories" any more.
- Suspect that this is related to the recent
rewrite of windows library handling in qtbasehttps://codereview.qt-project.org/#/c/126371/merging of MingwMakefileGenerator::findLibraries() into Win32MakefileGenerator https://codereview.qt-project.org/#/c/126373/. - The reason for my suspicion is that parameters that should have been additional linker directories instead show up with a "-L" prefix in the list of libraries to link to. Visual Studio does not understand this prefix.
Attachments
For Gerrit Dashboard: QTBUG-48936 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
139064,2 | fix vcxproj linker options | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
139142,3 | Update qtbase manually | 5.6 | qt/qt5 | Status: ABANDONED | 0 | 0 |