summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-24 17:15:53 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-02-24 17:15:53 +0000
commit30405c50a521146f2dda49916f160ab722316a82 (patch)
treef7daaa3565d523932685716dd9b9fa16728fa534 /examples
parentad3874ec96c50ec23eeeddda6b5758beda5c9c3d (diff)
parentbfbcec26eb6f9423ee27d75ae5abcd70cd255390 (diff)
Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5v5.5.0-alpha1
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp b/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
index f1c50c00..125bb476 100644
--- a/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
+++ b/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
@@ -64,7 +64,7 @@ int main(int argc, char* argv[])
//Add the QML snippet into the layout
QDeclarativeEngine engine;
- QDeclarativeComponent c(&engine, QUrl(":layoutitem.qml"));
+ QDeclarativeComponent c(&engine, QUrl("qrc:layoutitem.qml"));
QGraphicsLayoutItem* obj = qobject_cast<QGraphicsLayoutItem*>(c.create());
layout->addItem(obj);