From b970267ea4c182b4627e95024d7b4891141019ed Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 6 Jun 2012 19:17:42 +0200 Subject: Fix compilation with GCC 4.7 (C++11) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The error was: error: unable to find string literal operator ‘operator"" STR_PORT’ Change-Id: Id4b4e64e296ffc3624be15c20f74a964e6cd1087 Reviewed-by: Olivier Goffart --- tests/auto/qml/debugger/qqmlinspector/tst_qqmlinspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/qml/debugger/qqmlinspector') 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")); -- cgit v1.2.3