[QBS] Creator build failed of latest Qt5

Loaden loaden at gmail.com
Wed Jun 20 03:19:37 CEST 2012


>
> D:\qpSOFT\MyDEV\sdk\qt\bin\amd64\moc.exe -DUNICODE -DWIN32
> -DQT_LARGEFILE_SUPPORT -DCORE_LIBRARY -DIDE_LIBRARY_BASENAME=\"lib\"
> -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS
> -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS
> -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_HELP_LIB -DQT_DLL
> -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB
> -DQT_CONCURRENT_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB
> -DQT_GUI_LIB -DQT_CORE_LIB -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtCore"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtGui\5.0.0"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtGui\5.0.0\QtGui"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtGui"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtNetwork"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtScript"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtSql"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtConcurrent"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtWidgets"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtPrintSupport"
> -I"..\..\..\..\..\MyDEV\sdk\qt\include\QtHelp" -I"..\..\..\src"
> -I"..\..\..\..\QtCreator\src\libs" -I"d:\qpSOFT\Projects\QtCreator\tools"
> -I"..\..\..\..\QtCreator\src\plugins"
> -I"..\..\..\..\QtCreator\src\shared\scriptwrapper"
> -I"..\..\..\..\QtCreator\src\plugins\coreplugin\dialogs"
> -I"..\..\..\..\QtCreator\src\plugins\coreplugin\actionmanager"
> -I"..\..\..\..\QtCreator\src\plugins\coreplugin\editormanager"
> -I"..\..\..\..\QtCreator\src\plugins\coreplugin\progressmanager"
> -I"..\..\..\..\QtCreator\src\plugins\coreplugin\scriptmanager" -I"release"
> -I"." -I"..\..\..\..\QtCreator\src\plugins\coreplugin" -I"."
> -I"..\..\..\..\..\MyDEV\sdk\qt\mkspecs\win32-msvc2010" -D_MSC_VER=1600
> -DWIN32 ..\..\..\..\QtCreator\src\plugins\coreplugin\coreplugin.h -o
> release\moc_coreplugin.cpp
> *..\..\..\..\QtCreator\src\plugins\coreplugin\coreplugin.h(48): Error:
> Plugin Metadata file "Core.json" does not exist. Declaration will be ignored
> *NMAKE : fatal error U1077: 'D:\qpSOFT\MyDEV\sdk\qt\bin\amd64\moc.exe' :
> return code '0x1'
> Stop.
> NMAKE : fatal error U1077: 'D:\qpSOFT\MyDEV\bin\amd64\nmake.exe' : return
> code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.


But qbs can't catch the useful error information:
*coreplugin.h(48): Error: Plugin Metadata file "Core.json" does not exist.
Declaration will be ignored*

> ils -o
> D:/qpSOFT/Projects/QtCreator/build/x64-release/GeneratedFiles/Core/moc_coreplugin.cpp
> D:/qpSO
> FT/Projects/QtCreator/src/plugins/coreplugin/coreplugin.h
> ERROR: Process failed with exit code 1.
> ERROR: The following products could not be built: qtcreator,
> QmlEditorWidgets, GenericProjectManager


Any comments?

-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20120620/aafcd0f3/attachment.html>


More information about the Qbs mailing list