aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-06-06 19:17:42 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-23 10:17:17 +0200
commitb970267ea4c182b4627e95024d7b4891141019ed (patch)
tree3abf00ca238698d3979014f26cfde4a2c6b54bee /tests/auto/qml/debugger
parent530b773dfcd2dddeb824cb2a2c7fe1778e5c7985 (diff)
Fix compilation with GCC 4.7 (C++11)
The error was: error: unable to find string literal operator ‘operator"" STR_PORT’ Change-Id: Id4b4e64e296ffc3624be15c20f74a964e6cd1087 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/qml/debugger')
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/tst_qqmlenginedebuginspectorintegration.cpp2
-rw-r--r--tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp2
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp4
-rw-r--r--tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp4
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/tst_qqmlenginedebuginspectorintegration.cpp b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/tst_qqmlenginedebuginspectorintegration.cpp
index de34ba9ffd..13fb053399 100644
--- a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/tst_qqmlenginedebuginspectorintegration.cpp
+++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/tst_qqmlenginedebuginspectorintegration.cpp
@@ -105,7 +105,7 @@ QmlDebugObjectReference tst_QQmlEngineDebugInspectorIntegration::findRootObject(
void tst_QQmlEngineDebugInspectorIntegration::init()
{
- const QString argument = "-qmljsdebugger=port:"STR_PORT",block";
+ const QString argument = "-qmljsdebugger=port:" STR_PORT ",block";
m_process = new QQmlDebugProcess(QLibraryInfo::location(QLibraryInfo::BinariesPath)
+ "/qmlscene");
diff --git a/tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp b/tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp
index 291939df48..b38f54a8d9 100644
--- a/tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp
+++ b/tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp
@@ -84,7 +84,7 @@ private slots:
void tst_QQmlInspector::init()
{
- const QString argument = "-qmljsdebugger=port:"STR_PORT",block";
+ const QString argument = "-qmljsdebugger=port:" STR_PORT ",block";
m_process = new QQmlDebugProcess(QLibraryInfo::location(QLibraryInfo::BinariesPath) + "/qmlscene");
m_process->start(QStringList() << argument << testFile("qtquick2.qml"));
diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp
index bb17d1d1f4..8dc583a9e4 100644
--- a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp
+++ b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp
@@ -234,9 +234,9 @@ void tst_QQmlProfilerService::connect(bool block, const QString &testFile)
QStringList arguments;
if (block)
- arguments << QString("-qmljsdebugger=port:"STR_PORT",block");
+ arguments << QString("-qmljsdebugger=port:" STR_PORT ",block");
else
- arguments << QString("-qmljsdebugger=port:"STR_PORT);
+ arguments << QString("-qmljsdebugger=port:" STR_PORT);
arguments << QQmlDataTest::instance()->testFile(testFile);
diff --git a/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp b/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
index 0c35d1064c..7be3adfa24 100644
--- a/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
+++ b/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
@@ -208,9 +208,9 @@ bool tst_QV8ProfilerService::connect(bool block, const QString &testFile,
QStringList arguments;
if (block)
- arguments << QString("-qmljsdebugger=port:"STR_PORT",block");
+ arguments << QString("-qmljsdebugger=port:" STR_PORT ",block");
else
- arguments << QString("-qmljsdebugger=port:"STR_PORT);
+ arguments << QString("-qmljsdebugger=port:" STR_PORT);
arguments << QQmlDataTest::instance()->testFile(testFile);