summaryrefslogtreecommitdiffstats
path: root/tools/qtestlib/wince/cetest/cetest.pro
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-05 09:11:52 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-05 10:48:53 (GMT)
commitc379e151adc9c781f8f1e3d33cf68b3137868185 (patch)
treea6f9affb85d7954ee1495bacce0567d1d409d5c1 /tools/qtestlib/wince/cetest/cetest.pro
parente3e1ea6c52473f120f8baee57e189ddc1c8671cb (diff)
downloadQt-c379e151adc9c781f8f1e3d33cf68b3137868185.zip
Qt-c379e151adc9c781f8f1e3d33cf68b3137868185.tar.gz
Qt-c379e151adc9c781f8f1e3d33cf68b3137868185.tar.bz2
cetest: add support for cetcpsync (our simple ActiveSync replacement)
Reviewed-By: mauricek
Diffstat (limited to 'tools/qtestlib/wince/cetest/cetest.pro')
-rw-r--r--tools/qtestlib/wince/cetest/cetest.pro19
1 files changed, 13 insertions, 6 deletions
diff --git a/tools/qtestlib/wince/cetest/cetest.pro b/tools/qtestlib/wince/cetest/cetest.pro
index d66fa33..c6eba7f 100644
--- a/tools/qtestlib/wince/cetest/cetest.pro
+++ b/tools/qtestlib/wince/cetest/cetest.pro
@@ -28,20 +28,27 @@ DEPENDPATH += $$QT_BUILD_TREE/src/corelib/tools $$QT_BUILD_TREE/src/corelib/io
# Input
HEADERS += \
remoteconnection.h \
- activesyncconnection.h \
deployment.h
SOURCES += \
remoteconnection.cpp \
- activesyncconnection.cpp \
deployment.cpp \
main.cpp
-win32-msvc*:LIBS += ole32.lib advapi32.lib rapi.lib
+win32-msvc*:LIBS += ole32.lib advapi32.lib
+
+isEmpty(QT_CE_RAPI_INC) {
+ DEFINES += QT_CETEST_NO_ACTIVESYNC
+ HEADERS += cetcpsyncconnection.h
+ SOURCES += cetcpsyncconnection.cpp
+} else {
+ HEADERS += activesyncconnection.h
+ SOURCES += activesyncconnection.cpp
+ win32-msvc*:LIBS += rapi.lib
+ INCLUDEPATH += $$QT_CE_RAPI_INC
+ LIBS += -L$$QT_CE_RAPI_LIB
+}
include(qmake_include.pri)
include(bootstrapped.pri)
include($$QT_SOURCE_TREE/src/script/script.pri)
-
-INCLUDEPATH += $$QT_CE_RAPI_INC
-LIBS += -L$$QT_CE_RAPI_LIB