1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +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 QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}$$PWD/../../bin
# KWallet plugin # KWallet plugin
isEqual(QT_MAJOR_VERSION, 4):exists($$PWD/../../bin/plugins/libKWalletPasswords.so) { exists($$PWD/../../bin/plugins/libKWalletPasswords.so) {
LIBS += $$PWD/../../bin/plugins/libKWalletPasswords.so isEqual(QT_MAJOR_VERSION, 4) | qtHaveModule(KWallet) {
DEFINES += HAVE_KDE_PASSWORDS_PLUGIN LIBS += $$PWD/../../bin/plugins/libKWalletPasswords.so
DEFINES += HAVE_KDE_PASSWORDS_PLUGIN
}
} }
# GnomeKeyring plugin # GnomeKeyring plugin
@ -26,8 +28,7 @@ exists($$PWD/../../bin/plugins/libGnomeKeyringPasswords.so) {
DEFINES += HAVE_GNOME_PASSWORDS_PLUGIN DEFINES += HAVE_GNOME_PASSWORDS_PLUGIN
} }
DESTDIR =
DESTDIR =
OBJECTS_DIR = build OBJECTS_DIR = build
MOC_DIR = build MOC_DIR = build
RCC_DIR = build RCC_DIR = build