Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.8.0
-
None
-
Windows 7 x64, MS VS 2015 Update 2, openssl-1.0.2k, perl, ruby, python required versions
Description
I build Qt with parameters:
configure.bat -prefix c:\Qt\5.8.0_32\qtbase -confirm-license -opensource -release -mp -ltcg -no-angle -no-opengl -no-eventfd -no-dbus -no-qml-debug -no-evdev -no-mtdev -no-inotify -no-gif -no-libjpeg -no-avx -no-avx2 -no-sse4.2 -no-sse4.1 -no-ssse3 -ssl -no-style-windowsxp -nomake examples -nomake tests -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwebsockets -skip qtxmlpatterns -openssl-runtime -I c:\Qt\openssl-1.0.2k\x86\include -L c:\Qt\openssl-1.0.2k\x86\lib
And get error:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /LTCG /SUBSYSTEM:WINDOWS /VERSION:5.8 /OUT:..\..\..\qml\QtWinExtras\qml_winextras.dll @C:\Users\q\AppData\Local\Temp\nmCFA.tmp
Creating library ..\..\..\qml\QtWinExtras\qml_winextras.lib and object ..\..\
..\qml\QtWinExtras\qml_winextras.exp
qquickiconloader.obj : error LNK2001: unresolved external symbol _imp_GetSystemMetrics@4
..\..\..\qml\QtWinExtras\qml_winextras.dll : fatal error LNK1120: 1 unresolved externals
I think problem in c:\Qt\qt-everywhere-opensource-src-5.8.0\qtwinextras\src\imports\winextras\winextras.pro in this line:
qtConfig(dynamicgl):LIBS_PRIVATE += -luser32