[Development] qtsystems doesn't compile - mtcore mandatory dependency
Robin Burchell
robin+qt at viroteck.net
Tue Nov 1 15:06:57 CET 2011
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:
http://blog.rburchell.com/2011/01/qt-users-of-qmake-rejoice.html
More information about the Development
mailing list