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

Loaden loaden at gmail.com
Thu Mar 22 14:48:26 CET 2012


Here is the log since the D:\cmake\... generated.
Please have a look.

2012/3/22 Loaden <loaden at gmail.com>

> Hi, Sorry for late, because work.
> I can sure it happen on build qtbase. I just test it on Windows, don't
> know other OS things.
>
> *After apply this patch, here is the MESSAGE:*
>
>> D:\qpSOFT\Sources>cd Qt5
>> D:\qpSOFT\Sources\Qt5>set
>> PATH=%CD%\qtbase\bin;%CD%\​qtrepotools\bin;%CD%\gnuwin32\​bin;%PATH%
>> D:\qpSOFT\Sources\Qt5>set QTDIR=
>> D:\qpSOFT\Sources\Qt5>​configure -opensource -prefix %CD%\qtbase
>> -confirm-license -debug-and-release
>> -fast -platform win32-msvc2010 -nomake examples -nomake tests >
>> configure.log
>> 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
>> D:\qpSOFT\Sources\Qt5>nmake > build.log
>> 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_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Project MESSAGE: CMAKE_LIB_OUTPUT_DIR -- D:\qpSOFT\Sources\Qt5\qtbase\​lib
>> Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>
>  2012/3/22 Stephen Kelly <stephen.kelly at kdab.com>
>
>> -cmake_qt5_module_files.path =
>> $$[QT_INSTALL_LIBS]/cmake/Qt5$​​${CMAKE_MODULE_NAME}
>>
>> +CMAKE_LIB_OUTPUT_DIR = $$[QT_INSTALL_LIBS]
>>
>> +message("CMAKE_LIB_OUTPUT_DIR -- $${CMAKE_LIB_OUTPUT_DIR}")
>>
>> +cmake_qt5_module_files.path =
>> $$CMAKE_LIB_OUTPUT_DIR/cmake/​​Qt5$${CMAKE_MODULE_NAME}
>>
>
>
>
> --
> Regards
> Loaden
>
>


-- 
Regards
Loaden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/e76e5219/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake.zip
Type: application/zip
Size: 1293 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/e76e5219/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 35451 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/e76e5219/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 142814 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/e76e5219/attachment-0001.obj>


More information about the Development mailing list