win32\detect_qt4.py question

Ralf Habacker ralf.habacker at freenet.de
Sat Oct 15 00:41:36 CEST 2005


Am Freitag, 14. Oktober 2005 23:43 schrieb Ralf Habacker:
> Hi all,
> on mingw (win32-g++)  compiling qt apps requires the following
> definitions.:
>
> some of them are generic,
>
> -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT
> -DQT_EDITION=QT_EDITION_DESKTOP -DQT_DLL -DQT_NO_DEBUG
>
> some of them are component related
>
>  -DQT_CORE_LIB -DQT_GUI_LIB
>
> After taking a look into detect_qt4.py I was a little irritated about the
> relations.
>
> 1. QT -> qtgui + libz
>
> 2. QTCORE -> qtCore
> 3. QTGUI     -> qtCore + qtGui (without z)
> 4. QTNETWORK -> qtNetwork
> 5. QTOPENGL ->
> 6. QTSQL
> 7. QTXML
> 8. QTASSISTANT
> 9. QTDESIGNER
>
> item 2-9 are clear and the above mentioned flags could be assigned but I
> don't know how to assign the generic flags to which item. Initial I thought
> the uselib item "QT" refers to basic QT definitions, where the generic
> definitions could be added , but as stated above it is a mixture. How to
> proceed ?
>
Update: Just found that using KDE4 may include required QTGUI definitions, so 
that they have not to be listed too.
Any comments ? 
 
> Ralf
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem


More information about the Kde-buildsystem mailing list