summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-12-18 13:03:29 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-18 22:34:49 +0100
commit6ac96bfa69342401789477edb20b52fdf64381c5 (patch)
treefbf191bf269c5e8af82d7e196a5af08f790b81d1
parent3e5b10ab5a4b6be7e71dd03c601067908048eedd (diff)
downloadqtwebkit-examples-6ac96bfa69342401789477edb20b52fdf64381c5.tar.gz
Compile in C++11 mode: spaces between string literal concatenations
Or we get the error: main.cpp:46:118: error: unable to find string literal operator 'operator"" QWEBKIT_EXAMPLE_NAME' Change-Id: Ic13fa250329f18f9b847468764bd00258df34c7d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r--examples/webkitqml/shared/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webkitqml/shared/main.cpp b/examples/webkitqml/shared/main.cpp
index 4be3b2a..935b4be 100644
--- a/examples/webkitqml/shared/main.cpp
+++ b/examples/webkitqml/shared/main.cpp
@@ -43,7 +43,7 @@ int main(int argc, char* argv[])
{
QGuiApplication app(argc,argv);
QQuickView view;
- view.setSource(QUrl::fromLocalFile(QCoreApplication::applicationDirPath() + QLatin1String("/"QWEBKIT_EXAMPLE_NAME".qml")));
+ view.setSource(QUrl::fromLocalFile(QCoreApplication::applicationDirPath() + QLatin1String("/" QWEBKIT_EXAMPLE_NAME ".qml")));
view.setResizeMode(QQuickView::SizeRootObjectToView);
view.show();
return app.exec();