Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Commit

Permalink
Autotests: Fix building with KF5 KWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
nowrep committed Sep 19, 2014
1 parent cd2f78c commit ed252c5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/autotests/autotests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ed252c5

Please sign in to comment.