summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
blob: a3885f413405223cf146fac0d1ef5e2e2cac0385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CONFIG += testcase
TARGET  = ../tst_qpluginloader
QT = core testlib
qtConfig(private_tests): QT += core-private
SOURCES = ../tst_qpluginloader.cpp ../fakeplugin.cpp
HEADERS = ../theplugin/plugininterface.h

win32 {
    CONFIG(debug, debug|release) {
        TARGET = ../../debug/tst_qpluginloader
        LIBS += -L../staticplugin/debug
    } else {
        TARGET = ../../release/tst_qpluginloader
        LIBS += -L../staticplugin/release
    }
} else {
    LIBS += -L../staticplugin
}
LIBS += -lstaticplugin

TESTDATA += ../elftest ../machtest