Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Windows, Visual Studio 2010
-
9871c3d8bd71ab265d7394495a3a9f0c2963f6ab
Description
After I compiled qt_everywhere 5.5.0 with msvc10, the generated qtbase\lib\cmake\Qt5Core\Qt5CoreConfigExtras.cmake file contains
set(Qt5Core_EXECUTABLE_COMPILE_FLAGS "-fPIC")
This option is not supported by Visual Studio (it's a gcc option)
I'm getting lots of warnings in Visual upon compilation reporting this option is unknown. I should be removed (or conditioned by a if(MSVC))
Note: Qt 5.5 installed by qt-unified-windows-x86-2.0.2-2-online.exe has the same issue (compared to Qt 5.2.1, -fPIC has been added)