Skip to content

Commit

Permalink
Make qqmlinspector test work on Windows
Browse files Browse the repository at this point in the history
Change-Id: Ib7399f9a005d3674fcb46c605cea3a8d40c21284
Reviewed-by: Martin Jones <martin.jones@nokia.com>
  • Loading branch information
yinyunqiao authored and Qt by Nokia committed Mar 19, 2012
1 parent 26d5f2e commit b236cf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/auto/qml/debugger/qqmlinspector/app/app.pro
@@ -1,4 +1,5 @@
TARGET = app
DESTDIR = $$OUT_PWD
QT += qml quick

CONFIG += declarative_debug
Expand Down
4 changes: 4 additions & 0 deletions tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp
Expand Up @@ -141,7 +141,11 @@ void tst_QQmlInspector::cleanupTestCase()

void tst_QQmlInspector::init()
{
#if defined(Q_OS_WIN)
const QString executable = "app\\app.exe";
#else
const QString executable = "app/app";
#endif
const QString argument = "-qmljsdebugger=port:"STR_PORT",block";

m_process = new QQmlDebugProcess(executable);
Expand Down

0 comments on commit b236cf6

Please sign in to comment.