tests/auto/qlocalsocket/test/test.pro
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 load(qttest_p4)
       
     2 
       
     3 DEFINES += QLOCALSERVER_DEBUG
       
     4 DEFINES += QLOCALSOCKET_DEBUG
       
     5 
       
     6 symbian {
       
     7     # nothing
       
     8 } else:wince* {
       
     9     DEFINES += QT_LOCALSOCKET_TCP
       
    10     DEFINES += SRCDIR=\\\"../\\\"
       
    11 } else {
       
    12     DEFINES += SRCDIR=\\\"$$PWD/../\\\"
       
    13 }
       
    14 
       
    15 QT = core network
       
    16 
       
    17 SOURCES += ../tst_qlocalsocket.cpp
       
    18 
       
    19 TARGET = tst_qlocalsocket
       
    20 CONFIG(debug_and_release) {
       
    21   CONFIG(debug, debug|release) {
       
    22     DESTDIR = ../debug
       
    23   } else {
       
    24     DESTDIR = ../release
       
    25   }
       
    26 } else {
       
    27   DESTDIR = ..
       
    28 }
       
    29 
       
    30 wince* {
       
    31     additionalFiles.sources = ../lackey/lackey.exe
       
    32     additionalFiles.path = lackey
       
    33 }
       
    34 
       
    35 symbian {
       
    36     additionalFiles.sources = lackey.exe
       
    37     additionalFiles.path = \sys\bin
       
    38     TARGET.UID3 = 0xE0340005
       
    39     DEFINES += SYMBIAN_SRCDIR_UID=$$lower($$replace(TARGET.UID3,"0x",""))
       
    40 }
       
    41 
       
    42 wince*|symbian {
       
    43     scriptFiles.sources = ../lackey/scripts/*.js
       
    44     scriptFiles.path = lackey/scripts
       
    45     DEPLOYMENT = additionalFiles scriptFiles
       
    46     QT += script    # for easy deployment of QtScript
       
    47     
       
    48     requires(contains(QT_CONFIG,script))
       
    49 }
       
    50