1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Autotests: Fix building with KF5 KWallet

This commit is contained in:
David Rosca 2014-09-19 13:22:27 +02:00
parent cd2f78cf6f
commit ed252c5534

View File

@ -15,9 +15,11 @@ TARGET = autotests
QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}$$PWD/../../bin
# KWallet plugin
isEqual(QT_MAJOR_VERSION, 4):exists($$PWD/../../bin/plugins/libKWalletPasswords.so) {
LIBS += $$PWD/../../bin/plugins/libKWalletPasswords.so
DEFINES += HAVE_KDE_PASSWORDS_PLUGIN
exists($$PWD/../../bin/plugins/libKWalletPasswords.so) {
isEqual(QT_MAJOR_VERSION, 4) | qtHaveModule(KWallet) {
LIBS += $$PWD/../../bin/plugins/libKWalletPasswords.so
DEFINES += HAVE_KDE_PASSWORDS_PLUGIN
}
}
# GnomeKeyring plugin
@ -26,7 +28,6 @@ exists($$PWD/../../bin/plugins/libGnomeKeyringPasswords.so) {
DEFINES += HAVE_GNOME_PASSWORDS_PLUGIN
}
DESTDIR =
OBJECTS_DIR = build
MOC_DIR = build