[Development] Why we need some CMake file of Build Or Install Qt?

Loaden loaden at gmail.com
Fri Mar 23 12:40:18 CET 2012


*It's seems the D:\cmake\... generated late than before.*
*Error Log:*


> D:\qpSOFT\Sources\Qt5>qt c
>
> PATH=D:\qpSOFT\Sources\Qt5\qtbase\bin;D:\qpSOFT\Sources\Qt5\gnuwin32\bin;D:\qpSOFT\DEVx86\qt\bin;D:\
>
> qpSOFT\DEVx86\bin;D:\qpSOFT\DEVx86\sdk\irrlicht\bin;D:\qpSOFT\Extends\Python;D:\qpSOFT\Extends\Perl\
>
> site\bin;D:\qpSOFT\Extends\Perl\bin;D:\qpSOFT\Extends\MinGW32\bin;D:\qpSOFT\Sources\Qbs\bin;C:\Windo
>
> ws\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\qpSOF
> T\Extends\MinGW32\bin;D:\qpSOFT\Extends\AE32000\bin;D:\Program
> Files\Git\cmd;C:\Program Files\Common
>  Files\Ulead Systems\MPEG
>
> QTDIR=
>
> QMAKESPEC=win32-msvc2010
>
> 正在清理源码库...
> Entering 'qlalr'
> Entering 'qt3d'
> Entering 'qtactiveqt'
> Entering 'qtbase'
> Entering 'qtconnectivity'
> Entering 'qtdeclarative'
> Entering 'qtdoc'
> Entering 'qtdocgallery'
> Entering 'qtfeedback'
> Entering 'qtgraphicaleffects'
> Entering 'qtimageformats'
> Entering 'qtjsbackend'
> Entering 'qtjsondb'
> Entering 'qtlocation'
> Entering 'qtmultimedia'
> Entering 'qtphonon'
> Entering 'qtpim'
> Entering 'qtqa'
> Entering 'qtquick1'
> Entering 'qtrepotools'
> Entering 'qtscript'
> Entering 'qtsensors'
> Entering 'qtsvg'
> Entering 'qtsystems'
> Entering 'qttools'
> Entering 'qttranslations'
> Entering 'qtwayland'
> Entering 'qtxmlpatterns'
>
> D:\qpSOFT\Sources\Qt5>qt
>
> PATH=D:\qpSOFT\Sources\Qt5\qtbase\bin;D:\qpSOFT\Sources\Qt5\gnuwin32\bin;D:\qpSOFT\DEVx86\qt\bin;D:\
>
> qpSOFT\DEVx86\bin;D:\qpSOFT\DEVx86\sdk\irrlicht\bin;D:\qpSOFT\Extends\Python;D:\qpSOFT\Extends\Perl\
>
> site\bin;D:\qpSOFT\Extends\Perl\bin;D:\qpSOFT\Extends\MinGW32\bin;D:\qpSOFT\Sources\Qbs\bin;C:\Windo
>
> ws\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\qpSOF
> T\Extends\MinGW32\bin;D:\qpSOFT\Extends\AE32000\bin;D:\Program
> Files\Git\cmd;C:\Program Files\Common
>  Files\Ulead Systems\MPEG
>
> QTDIR=
>
> QMAKESPEC=win32-msvc2010
>
> 正在配置...
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Project MESSAGE: Warning: unknown QT module: gui
> Project MESSAGE: Warning: unknown QT module: core
> 正在编译全部版本...
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Project MESSAGE: d:\qpSOFT\Sources\Qt5\qtbase\bin\syncqt.bat -qtdir
> D:\qpSOFT\Sources\Qt5\qtbase -mo
> dule-fwd D:\qpSOFT\Sources\Qt5\qtbase/mkspecs/modules -developer-build
> -generator MSBUILD -outdir D:
> /qpSOFT/Sources/Qt5/qtbase D:/qpSOFT/Sources/Qt5/qtbase
> Project WARNING: You should probably load(qt_module) first in winmain.profor qtmain, as it also loa
> d()s qt_module_config.
> Project MESSAGE: Not doing so may lead to qt_module_config.prf overriding
> compiler/linker options in
>  your .pro file.
> Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if
> you know what you are doin
> g.
> Project MESSAGE: CMAKE -- TARGET: qtmain -- MODULE: winmain -- DESTDIR:
> Project MESSAGE: CMAKE -- TARGET: QtCore -- MODULE: core -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase/li
> b
> Project MESSAGE: CMAKE -- TARGET: QtNetwork -- MODULE: network -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtb
> ase/lib
> Project MESSAGE: CMAKE -- TARGET: QtSql -- MODULE: sql -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase/lib
> Project MESSAGE: CMAKE -- TARGET: QtGui -- MODULE: gui -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase/lib
> Project MESSAGE: CMAKE -- TARGET: QtXml -- MODULE: xml -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase/lib
> Project MESSAGE: CMAKE -- TARGET: QtWidgets -- MODULE: widgets -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtb
> ase/lib
> Project MESSAGE: CMAKE -- TARGET: QtTest -- MODULE: testlib -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase
> /lib
> Project MESSAGE: CMAKE -- TARGET: QtPlatformSupport -- MODULE:
> platformsupport -- DESTDIR: D:/qpSOFT
> /Sources/Qt5/qtbase/lib
> Project MESSAGE: CMAKE -- TARGET: QtPrintSupport -- MODULE: printsupport
> -- DESTDIR: D:/qpSOFT/Sourc
> es/Qt5/qtbase/lib
> Project MESSAGE: CMAKE -- TARGET: QtConcurrent -- MODULE: concurrent --
> DESTDIR: D:/qpSOFT/Sources/Q
> t5/qtbase/lib
> Project MESSAGE: CMAKE -- TARGET: QtOpenGL -- MODULE: opengl -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbas
> e/lib
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Project WARNING: You should probably load(qt_module) first in winmain.profor qtmain, as it also loa
> d()s qt_module_config.
> Project MESSAGE: Not doing so may lead to qt_module_config.prf overriding
> compiler/linker options in
>  your .pro file.
> Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if
> you know what you are doin
> g.
> Project MESSAGE: CMAKE -- TARGET: qtmain -- MODULE: winmain -- DESTDIR:
> Project WARNING: You should probably load(qt_module) first in winmain.profor qtmain, as it also loa
> d()s qt_module_config.
> Project MESSAGE: Not doing so may lead to qt_module_config.prf overriding
> compiler/linker options in
>  your .pro file.
> Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if
> you know what you are doin
> g.
> Project MESSAGE: CMAKE -- TARGET: qtmain -- MODULE: winmain -- DESTDIR:
> Project WARNING: You should probably load(qt_module) first in winmain.profor qtmain, as it also loa
> d()s qt_module_config.
> Project MESSAGE: Not doing so may lead to qt_module_config.prf overriding
> compiler/linker options in
>  your .pro file.
> Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if
> you know what you are doin
> g.
> Project MESSAGE: CMAKE -- TARGET: qtmain -- MODULE: winmain -- DESTDIR:
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> *Project MESSAGE: CMAKE -- TARGET: QtCore -- MODULE: core -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase/li
> b
> Project MESSAGE: CMAKE -- TARGET: QtCore -- MODULE: core -- DESTDIR:
> D:/qpSOFT/Sources/Qt5/qtbase/li
> b
> *
>

*HERE: auto generated the D:\cmake... fiels.*

> NMAKEN M:A KfEa t:a lf aetrarlo re rUr1o0r5 8U:1 0t5e8r:m itneartmeidn
> abtye du sbeyr
> uSstero
> pS.t
> op.
> NMANKMEA K:E  f:a tfaalt aelr reorrr oUr1 0U5180:5 8t:e rtmeirnmaitneadt
> ebdy  buys eurs
> eSrt
> oSpt.o
> p.
> 终止批处理操作吗(Y/N)?
> ^C编译失败!
> D:\qpSOFT\Sources\Qt5>
>



2012/3/23 Stephen Kelly <stephen.kelly at kdab.com>

> **
>
> On Friday, March 23, 2012 17:52:28 Loaden wrote:
>
> > Here is the log:
>
>
>
> Thanks for that. It's not showing where the problem is though. Can you add
> a message like this please:
>
>
>
>
>
> diff --git a/mkspecs/features/qt_module_​config.prf
> b/mkspecs/features/qt_module_​config.prf
>
> index cae5f47..c6b5074 100644
>
> --- a/mkspecs/features/qt_module_​config.prf
>
> +++ b/mkspecs/features/qt_module_​config.prf
>
> @@ -42,7 +42,8 @@ CONFIG -= fix_output_dirs
>
> win32|mac:!macx-xcode:CONFIG += debug_and_release
>
> linux*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
>
> -CONFIG += create_cmake
>
> +message("CMAKE -- TARGET: $$TARGET -- MODULE: $$MODULE -- DESTDIR:
> $$DESTDIR")
>
> +!isEmpty(MODULE):CONFIG += create_cmake
>
> contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
>
> unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
>
>
>
>
>
> and save all the lines in the log that have CMAKE in them.
>
>
>
> Did you do a clean configure after applying the patch from
> http://codereview.qt-project.​org/#change,21077<http://codereview.qt-project.org/#change,21077>?
>
>
>
> Thanks,
>
>
>
> --
>
> Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
>
> KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
>
> www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
>
> KDAB - Qt Experts - Platform-Independent Software Solutions
>



-- 
Regards
Loaden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120323/fcd30bd5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 142823 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120323/fcd30bd5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 24574 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120323/fcd30bd5/attachment-0001.obj>


More information about the Development mailing list