From 590fa9360f2c473fc175caa88d2fa4bfaf23ea0d Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 20 Apr 2010 11:52:58 +0200 Subject: tst_qsharedmemory: fix deployment of lackey.exe for WinCE Reviewed-by: mauricek --- tests/auto/qtipc/qsharedmemory/test/test.pro | 6 +++--- tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/auto/qtipc/qsharedmemory/test/test.pro b/tests/auto/qtipc/qsharedmemory/test/test.pro index 40ba8b9..4ff5486 100644 --- a/tests/auto/qtipc/qsharedmemory/test/test.pro +++ b/tests/auto/qtipc/qsharedmemory/test/test.pro @@ -20,10 +20,10 @@ TARGET = ../tst_qsharedmemory wince*:{ requires(contains(QT_CONFIG,script)) QT += gui script -addFiles.sources = ../../lackey/lackey.exe ../../lackey/scripts -addFiles.path = lackey +addFiles.sources = $$OUT_PWD/../../lackey/lackey.exe ../../lackey/scripts +addFiles.path = . DEPLOYMENT += addFiles -DEFINES += SRCDIR=\\\"\\\" +DEFINES += SRCDIR=\\\".\\\" }else:symbian*{ requires(contains(QT_CONFIG,script)) QT += gui script diff --git a/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp b/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp index d1db003..ebae328 100644 --- a/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp +++ b/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp @@ -53,7 +53,7 @@ #define SRCDIR "c:/data/qsharedmemorytemp/" #define LACKEYDIR SRCDIR "lackey" #elif defined(Q_OS_WINCE) -#define LACKEYDIR SRCDIR "lackey" +#define LACKEYDIR SRCDIR #else #define LACKEYDIR SRCDIR "../lackey" #endif -- cgit v0.12