summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlibrary/tst/tst.pro
blob: e15d7ed30686a92446d0416467cd7f9bb9c1fcf0 (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
31
32
33
load(qttest_p4)
SOURCES         += ../tst_qlibrary.cpp
TARGET  = ../tst_qlibrary
QT = core

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

wince*: {
   addFiles.sources = ../*.dll ../*.dl2 ../mylib_noextension
   addFiles.path = .
   DEPLOYMENT += addFiles
   DEFINES += SRCDIR=\\\"\\\"
}else:symbian* {
   binDep.sources = \
        mylib.dll \
        system.trolltech.test.mylib.dll
   binDep.path = /sys/bin
#mylib.dl2 nonstandard binary deployment will cause warning in emulator,
#but it can be safely ignored.
   custBinDep.sources = mylib.dl2
   custBinDep.path = /sys/bin

   DEPLOYMENT += binDep custBinDep
} else {
   DEFINES += SRCDIR=\\\"$$PWD/../\\\"
}