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

1+1=2 dbzhang800 at gmail.com
Fri Mar 23 18:49:15 CET 2012


Hi Stephen,

The pacth will fail to work

    !isEmpty(MODULE):CONFIG += create_cmake

MODULE is not empty here, it is "winmain", as there is  such a line

  isEmpty(MODULE):MODULE = $$section($$list($$basename(_PRO_FILE_)), ., 0, 0)

at the begining of the qt_module_config.prf file.

Regards,

Debao

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 ?
>
>
>
> 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
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



More information about the Development mailing list