tools/qtestlib/wince/cetest/cetest.pro
changeset 0 1918ee327afb
child 7 3f74d0d4af4c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 TEMPLATE = app
       
     2 TARGET = cetest
       
     3 DESTDIR = ../../../../bin
       
     4 build_all:!build_pass {
       
     5     CONFIG -= build_all
       
     6     CONFIG += release
       
     7 }
       
     8 
       
     9 CONFIG += console no_batch
       
    10 CONFIG -= qt
       
    11 
       
    12 DEFINES        += QT_BUILD_QMAKE QT_BOOTSTRAPPED QT_NO_CODECS QT_LITE_UNICODE QT_NO_LIBRARY \
       
    13                   QT_NO_STL QT_NO_COMPRESS QT_NO_DATASTREAM  \
       
    14                   QT_NO_TEXTCODEC QT_NO_UNICODETABLES QT_NO_THREAD \
       
    15                   QT_NO_SYSTEMLOCALE QT_NO_GEOM_VARIANT \
       
    16                   QT_NODLL QT_NO_QOBJECT
       
    17 
       
    18 INCLUDEPATH = \
       
    19               $$QT_SOURCE_TREE/tools/qtestlib/ce/cetest \
       
    20               $$QT_SOURCE_TREE/qmake \
       
    21               $$QT_SOURCE_TREE/qmake/generators/symbian \
       
    22               $$QT_BUILD_TREE/include \
       
    23               $$QT_BUILD_TREE/include/QtCore \
       
    24               $$QT_BUILD_TREE/src/corelib/global
       
    25 
       
    26 DEPENDPATH += $$QT_BUILD_TREE/src/corelib/tools $$QT_BUILD_TREE/src/corelib/io
       
    27 
       
    28 # Input
       
    29 HEADERS += \
       
    30         remoteconnection.h \
       
    31         deployment.h
       
    32 
       
    33 SOURCES += \
       
    34         remoteconnection.cpp \
       
    35         deployment.cpp \
       
    36         main.cpp
       
    37 
       
    38 LIBS += ole32.lib advapi32.lib
       
    39 
       
    40 isEmpty(QT_CE_RAPI_INC) {
       
    41     DEFINES += QT_CETEST_NO_ACTIVESYNC
       
    42     HEADERS += cetcpsyncconnection.h
       
    43     SOURCES += cetcpsyncconnection.cpp
       
    44 } else {
       
    45     HEADERS += activesyncconnection.h
       
    46     SOURCES += activesyncconnection.cpp
       
    47     LIBS += rapi.lib
       
    48     INCLUDEPATH += $$QT_CE_RAPI_INC
       
    49     LIBS += -L$$QT_CE_RAPI_LIB
       
    50 }
       
    51 
       
    52 include(qmake_include.pri)
       
    53 include(bootstrapped.pri)