1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00
falkonOfficial/tests/autotests/autotests.pro
nowrep 7e6d619516 AdBlock: Greatly improves performance of regexp rules.
Regexp will be parsed into parts that can be used with
QString::contains for quick match. If url contains all parts,
real QRegExp matching is applied.

This speedup affects rules that are internally converted into
regexp, not AdBlock's regexp rules (but those rules are very rarely used
in subscriptions, so there's no need to optimise them)
2013-02-26 15:48:47 +01:00

62 lines
1.8 KiB
Prolog

isEqual(QT_MAJOR_VERSION, 5) {
QT += webkitwidgets network widgets printsupport sql script gui-private testlib
} else {
QT += core gui webkit sql network script
CONFIG += qtestlib
}
TARGET = autotests
!unix|mac: LIBS += -L$$PWD/../../bin -lQupZilla
!mac:unix: LIBS += $$PWD/../../bin/libQupZilla.so
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 += \
qztoolstest.h \
formcompletertest.h \
cookiestest.h \
downloadstest.h \
adblocktest.h
SOURCES += \
qztoolstest.cpp \
main.cpp \
formcompletertest.cpp \
cookiestest.cpp \
downloadstest.cpp \
adblocktest.cpp