LINUX.ORG.RU

qt msvc как собрать статически.

 , , ,


0

2

Пробую собрать на qt5.2.0 версии. При выполнении jom выдает тут ошибку. Подскажите как поправить configure, чтобы без qtquick собирать, я так понимаю из-за него тут прерывается.

Скопировано файлов:         1.
        C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1700 -D_WIN32 -I"..\..\..\include\QtQuick\5.2.0" -I"..\..\..\include\QtQuick\5.2.0\QtQuick" -I"..\..\..\include\QtQml\5.2.0" -I"..\..\..\include\QtQml\5.2.0\QtQml" -I"..\..\..\include" -I"..\..\..\include\QtQuick" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtQuick" -I"..\..\..\include\QtQml" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtQml" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtNetwork" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtGui" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtCore" -I".moc\release" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\mkspecs\win32-msvc2012" -Muri=QtQuick.2 plugin.cpp -o .moc\release\plugin.moc
        cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I"..\..\..\include\QtQuick\5.2.0" -I"..\..\..\include\QtQuick\5.2.0\QtQuick" -I"..\..\..\include\QtQml\5.2.0" -I"..\..\..\include\QtQml\5.2.0\QtQml" -I"..\..\..\include" -I"..\..\..\include\QtQuick" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtQuick" -I"..\..\..\include\QtQml" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtQml" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtNetwork" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtGui" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\include\QtCore" -I".moc\release" -I"C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\mkspecs\win32-msvc2012" -Fo.obj\release\ @C:\Users\PC\AppData\Local\Temp\plugin.obj.6284.1281.jom
plugin.cpp
        lib /NOLOGO  /OUT:C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\qml\QtQuick.2\qtquick2plugin.lib @C:\Users\PC\AppData\Local\Temp\qtquick2plugin.lib.6284.3078.jom
        lib /NOLOGO  /OUT:C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\qml\QtQuick.2\qtquick2plugind.lib @C:\Users\PC\AppData\Local\Temp\qtquick2plugind.lib.2660.5922.jom
        lib /NOLOGO  /OUT:C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\qml\QtQuick\Particles.2\particlesplugind.lib @C:\Users\PC\AppData\Local\Temp\particlesplugind.lib.8244.2422.jom
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\qtdeclarative\src\imports\particles\Makefile [release-all] Error 2
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\qtdeclarative\src\imports\Makefile [sub-particles-make_first] Error 2
        lib /NOLOGO  /OUT:C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\qml\QtQuick\Window.2\windowplugind.lib @C:\Users\PC\AppData\Local\Temp\windowplugind.lib.5692.2093.jom
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\qtdeclarative\src\imports\window\Makefile [release-all] Error 2
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\qtdeclarative\src\imports\Makefile [sub-window-make_first] Error 2
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\qtdeclarative\src\Makefile [sub-imports-make_first-ordered] Error 2
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\qtdeclarative\Makefile [sub-src-make_first] Error 2
jom: C:\Qt\qt-everywhere-opensource-src-5.2.0\Makefile [module-qtdeclarative-make_first] Error 2

Делаю по этому видосу

msvc

Язабан.

RazrFalcon ★★★★★ ()

В приведенном куске лога нет самой ошибки

annulen ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.