Qt 5.5.1 msvc2015构建错误

时间:2015-12-25 16:16:36

标签: qt qt5

我正在尝试使用msvc2015从Windows 10上的源代码构建Qt 5.5.1。

它配置为:

configure.bat -release -opensource -c++11 -no-angle -opengl dynamic -shared -confirm-license -make libs -make tools -nomake examples -platform win32-msvc2015 -target xp -no-iconv -no-fontconfig -no-system-proxies -no-icu -qmake -no-rtti -strip -no-libproxy -no-dbus -no-qml-debug -mp

使用此配置,每次我尝试更改-opengl选项时,都会收到错误消息而没有任何有意义的消息:

    cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fp.pch\release\Qt5Gui_pch.pch -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -Os -MD -D_HAS_EXCEPTIONS=0 -MP -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_USE_BUNDLED_LIBPNG -DPNG_ARM_NEON_OPT=0 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_NO_DYNAMIC_CAST -DNDEBUG -I. -I..\..\include -I..\..\include\QtGui -I..\..\include\QtGui\5.5.1 -I..\..\include\QtGui\5.5.1\QtGui -Itmp -I..\3rdparty\libpng -I..\3rdparty\zlib -I..\3rdparty\harfbuzz-ng\include -I..\3rdparty\zlib -I..\..\include\QtCore\5.5.1 -I..\..\include\QtCore\5.5.1\QtCore -I..\..\include\QtCore -I.moc\release -I..\..\mkspecs\win32-msvc2015 -Fo.obj\release\ @C:\Users\Alex\AppData\Local\Temp\qpixmapcache.obj.5800.148640.jom
moc_qbrush.cpp
moc_qplatformbackingstore.cpp
moc_qopenglshaderprogram.cpp
moc_qpainter.cpp
moc_qpdfwriter.cpp
moc_qvalidator.cpp
qdesktopservices.cpp
moc_qopengltimerquery.cpp
qpixmapcache.cpp
moc_qopenglengineshadermanager_p.cpp
        link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS,5.01 /VERSION:5.5 /MANIFEST:embed /OUT:..\..\lib\Qt5Gui.dll @C:\Users\Alex\AppData\Local\Temp\Qt5Gui.dll.5800.153390.jom
   Creating library ..\..\lib\Qt5Gui.lib and object ..\..\lib\Qt5Gui.exp
        copy /y ..\..\lib\Qt5Gui.dll ..\..\bin
        1 file(s) copied.
jom: C:\Qt\Qt5.5.1-msvc2015-shared-min\qtbase\Makefile [sub-src-make_first] Error 2
jom: C:\Qt\Qt5.5.1-msvc2015-shared-min\Makefile [module-qtbase-make_first] Error 2

如果重要的话,我在VirtualBox下运行Windows 10。

错误的原因是什么?如何解决?

0 个答案:

没有答案
相关问题