Debugger: Fix autotest for shadow builds
authorKai Koehne <kai.koehne@nokia.com>
Wed, 14 Mar 2012 12:21:59 +0000 (13:21 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Mar 2012 14:32:55 +0000 (15:32 +0100)
Change-Id: I1b53afeb2a9f0d6e571c5ed87304e85896523488
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp
tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.pro

index def7040..e30b847 100644 (file)
@@ -141,7 +141,7 @@ void tst_QQmlInspector::cleanupTestCase()
 
 void tst_QQmlInspector::init()
 {
-    const QString executable = SRCDIR"/app/app";
+    const QString executable = "app/app";
     const QString argument = "-qmljsdebugger=port:"STR_PORT",block";
 
     m_process = new QQmlDebugProcess(executable);
index c24acca..b4ca60b 100644 (file)
@@ -7,7 +7,6 @@ SOURCES += tst_qqmlinspector.cpp
 INCLUDEPATH += ../shared
 include(../shared/debugutil.pri)
 
-DEFINES += SRCDIR=\\\"$$PWD\\\"
 CONFIG += parallel_test declarative_debug
 
 QT += qml-private testlib