2013-01-24 14:25:26 +01:00
|
|
|
isEqual(QT_MAJOR_VERSION, 5) {
|
2013-02-18 13:37:33 +01:00
|
|
|
QT += webkitwidgets network widgets printsupport sql script gui-private testlib
|
2013-01-24 14:25:26 +01:00
|
|
|
} else {
|
|
|
|
QT += core gui webkit sql network script
|
2013-02-18 13:37:33 +01:00
|
|
|
CONFIG += qtestlib
|
2013-01-24 14:25:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
TARGET = autotests
|
|
|
|
|
|
|
|
!unix|mac: LIBS += -L$$PWD/../../bin -lQupZilla
|
|
|
|
!mac:unix: LIBS += $$PWD/../../bin/libQupZilla.so
|
|
|
|
|
2013-05-21 13:37:40 +02:00
|
|
|
# Link plugins for PasswordBackends
|
|
|
|
!unix|mac: LIBS += -L$$PWD/../../bin/plugins -lGnomeKeyringPasswords -lKWalletPasswords
|
|
|
|
!mac:unix: LIBS += $$PWD/../../bin/plugins/libGnomeKeyringPasswords.so \
|
|
|
|
$$PWD/../../bin/plugins/libKWalletPasswords.so
|
|
|
|
|
|
|
|
|
2013-01-24 14:25:26 +01:00
|
|
|
unix:contains(DEFINES, "NO_SYSTEM_DATAPATH"): QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}\\$\$ORIGIN
|
|
|
|
|
|
|
|
include($$PWD/../../src/defines.pri)
|
|
|
|
|
|
|
|
DESTDIR = $$PWD/../../bin
|
|
|
|
OBJECTS_DIR = build
|
|
|
|
MOC_DIR = build
|
|
|
|
RCC_DIR = build
|
|
|
|
UI_DIR = build
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../src/lib/3rdparty\
|
|
|
|
$$PWD/../../src/lib/app\
|
|
|
|
$$PWD/../../src/lib/autofill\
|
|
|
|
$$PWD/../../src/lib/bookmarks\
|
|
|
|
$$PWD/../../src/lib/cookies\
|
|
|
|
$$PWD/../../src/lib/session\
|
|
|
|
$$PWD/../../src/lib/downloads\
|
|
|
|
$$PWD/../../src/lib/history\
|
|
|
|
$$PWD/../../src/lib/navigation\
|
|
|
|
$$PWD/../../src/lib/network\
|
|
|
|
$$PWD/../../src/lib/other\
|
|
|
|
$$PWD/../../src/lib/preferences\
|
|
|
|
$$PWD/../../src/lib/rss\
|
|
|
|
$$PWD/../../src/lib/tools\
|
|
|
|
$$PWD/../../src/lib/utils\
|
|
|
|
$$PWD/../../src/lib/webview\
|
|
|
|
$$PWD/../../src/lib/plugins\
|
|
|
|
$$PWD/../../src/lib/sidebar\
|
|
|
|
$$PWD/../../src/lib/data\
|
|
|
|
$$PWD/../../src/lib/adblock\
|
|
|
|
$$PWD/../../src/lib/desktopnotifications\
|
|
|
|
$$PWD/../../src/lib/opensearch\
|
|
|
|
$$PWD/../../src/lib/bookmarksimport\
|
|
|
|
$$PWD/../../src/lib/popupwindow\
|
|
|
|
|
|
|
|
HEADERS += \
|
2013-01-25 16:59:42 +01:00
|
|
|
qztoolstest.h \
|
2013-02-01 14:45:42 +01:00
|
|
|
formcompletertest.h \
|
2013-02-04 22:48:34 +01:00
|
|
|
cookiestest.h \
|
2013-02-26 15:48:47 +01:00
|
|
|
downloadstest.h \
|
2013-03-17 10:26:47 +01:00
|
|
|
adblocktest.h \
|
2013-03-29 19:22:55 +01:00
|
|
|
updatertest.h \
|
2013-05-21 13:37:40 +02:00
|
|
|
pactest.h \
|
|
|
|
passwordbackendtest.h
|
2013-01-24 14:25:26 +01:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
qztoolstest.cpp \
|
2013-01-25 16:59:42 +01:00
|
|
|
main.cpp \
|
2013-02-01 14:45:42 +01:00
|
|
|
formcompletertest.cpp \
|
2013-02-04 22:48:34 +01:00
|
|
|
cookiestest.cpp \
|
2013-02-26 15:48:47 +01:00
|
|
|
downloadstest.cpp \
|
2013-03-17 10:26:47 +01:00
|
|
|
adblocktest.cpp \
|
2013-03-29 19:22:55 +01:00
|
|
|
updatertest.cpp \
|
2013-05-21 13:37:40 +02:00
|
|
|
pactest.cpp \
|
|
|
|
passwordbackendtest.cpp
|