diff options
Diffstat (limited to 'examples/declarative/extending/adding/main.cpp')
-rw-r--r-- | examples/declarative/extending/adding/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/extending/adding/main.cpp b/examples/declarative/extending/adding/main.cpp index 3d78ded..7e5cbef 100644 --- a/examples/declarative/extending/adding/main.cpp +++ b/examples/declarative/extending/adding/main.cpp @@ -9,7 +9,7 @@ int main(int argc, char ** argv) QCoreApplication app(argc, argv); QmlEngine engine; - QmlComponent component(&engine, QUrl::fromLocalFile(":example.qml")); + QmlComponent component(&engine, ":example.qml"); Person *person = qobject_cast<Person *>(component.create()); if (person) { qWarning() << "The person's name is" << person->name(); |