1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01: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,8 +28,7 @@ exists($$PWD/../../bin/plugins/libGnomeKeyringPasswords.so) {
DEFINES += HAVE_GNOME_PASSWORDS_PLUGIN
}
DESTDIR =
DESTDIR =
OBJECTS_DIR = build
MOC_DIR = build
RCC_DIR = build