Navigation Menu

Skip to content

Commit

Permalink
Allow to load resources from QRC
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakadu committed Dec 1, 2013
1 parent fc6ccdc commit 6096573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lablqml/startup_stubs.c
Expand Up @@ -128,7 +128,7 @@ extern "C" value caml_run_QQmlApplicationEngine(value _argv, value _cb, value _q
caml_enter_blocking_section();
Q_ASSERT(_cb_res == Val_unit);

engine.load(QString(String_val(_qmlpath)));
engine.load(QUrl(QString(String_val(_qmlpath))));
QList<QObject*> xs = engine.rootObjects();
if (xs.count() == 0) {
Q_ASSERT_X(false, "Creating C++ runtime", "Your QML file seems buggy");
Expand Down

0 comments on commit 6096573

Please sign in to comment.