Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QApplication>
- #include <QDeclarativeView>
- int main(int argc, char *argv[])
- {
- QCoreApplication::addLibraryPath("app/native/lib");
- QApplication app(argc, argv);
- QDeclarativeView v;
- QDeclarativeContext *c = v.rootContext();
- v.setSource(QUrl::fromLocalFile("app/native/qml/main.qml"));
- v.show();
- return app.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement