Qt static libraries - pkgconfig again

Thiago Macieira thiago at kde.org
Sun Feb 25 21:08:46 CET 2007


Dirk Mueller wrote:
>On Saturday, 24. February 2007 12:42, Thiago Macieira wrote:
>> What happens if Trolltech decides that QtUiTools linking to QtScript
>> is optional?
>
>Is it possible that this is a bug anyway? I don't see why QtUiTools
> would *require* QtScript.

It's no bug. QtUiTools links to QtScript now and so does QtDesigner:

$ ldd libQtDesigner.so | grep QtScript
        libQtScript.so.4 
=> /home/thiago/obj/troll/qt-main/lib/libQtScript.so.4 (0xb7db3000)

$ tail -n 5 tools/designer/src/lib/uilib/uilib.pri
!contains(DEFINES, QT_FORMBUILDER_NO_SCRIPT) {
    QT += script
    HEADERS += $$PWD/formscriptrunner_p.h
    SOURCES += $$PWD/formscriptrunner.cpp
}

Which, BTW, also shows that designer and UiTools can be built without 
scripting support. So we cannot simply add -lQtScript to our build 
dependencies if Qt 4.3 is detected.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070225/730f9627/attachment.pgp 


More information about the Kde-buildsystem mailing list