[Development] qtsystems doesn't compile - mtcore mandatory dependency

alex.blasche at nokia.com alex.blasche at nokia.com
Wed Nov 2 01:32:49 CET 2011



>-----Original Message-----
>From: development-bounces+alex.blasche=nokia.com at qt-project.org
>[mailto:development-bounces+alex.blasche=nokia.com at qt-project.org] On
>Behalf Of ext Robin Burchell
>Sent: Wednesday, 2 November 2011 0:07
>To: Thiago Macieira
>Cc: development at qt-project.org
>Subject: Re: [Development] qtsystems doesn't compile - mtcore mandatory
>dependency
>
>2011/11/1 Thiago Macieira <thiago at kde.org>:
>> I cannot find this mandatory dependency. If it's open, can someone share
>the
>> link to where it can be found? If it's not open, please disable this
>> functionality.
>
>I guess this might be a consequence of qtjsondb becoming available:
>
>    !contains(QT_CONFIG, jsondb): {
>        PRIVATE_HEADERS += qscreensaver_linux_p.h
>        SOURCES += qscreensaver_linux.cpp
>
>        DEFINES += QT_NO_JSONDB
>    } else {
>        PRIVATE_HEADERS += qjsondbwrapper_p.h \
>                           qscreensaver_jsondb_p.h
>
>        SOURCES += qjsondbwrapper.cpp \
>                   qscreensaver_jsondb.cpp
>
>        QT += jsondb
>        PKGCONFIG += mtcore
>        LIBS += -L$$[QT_INSTALL_PREFIX]/opt/mt/lib -lmtcore
>-Wl,-rpath,$$[QT_INSTALL_PREFIX]/opt/mt/lib
>    }
>
>Whoever maintains this, you should probably change that contains()
>conditional to also check packagesExist(mtcore). For an example, see:

Thank you for pointing this out. Yes, the above logic is broken and will be fixed shortly/was partly fixed last night. 

--
Alex



More information about the Development mailing list