summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qfactoryloader/test/test.pro
blob: 5e4d65a49f1ca875418f0d179c273ae49187aae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CONFIG += testcase
TARGET  = ../tst_qfactoryloader
QT = core-private testlib

SOURCES = \
    ../tst_qfactoryloader.cpp

HEADERS = \
    ../plugin1/plugininterface1.h \
    ../plugin2/plugininterface2.h

win32 {
    CONFIG(debug, debug|release) {
        TARGET = ../../debug/tst_qfactoryloader
    } else {
        TARGET = ../../release/tst_qfactoryloader
    }
}

!qtConfig(library) {
    LIBS += -L ../bin/ -lplugin1 -lplugin2
}

android {
    libs.prefix = android_test_data
    libs.base = $$OUT_PWD/..
    libs.files += $$OUT_PWD/../bin

    RESOURCES += libs
}