author | Wes Thierry <wesleyt@symbian.org> |
Fri, 05 Nov 2010 11:32:03 +0000 | |
changeset 8 | a593fb7f78c0 |
parent 3 | 2e16639599b7 |
permissions | -rwxr-xr-x |
#include <QtGui/QApplication> #include "qmlapplicationviewer.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); QmlApplicationViewer viewer; viewer.setOrientation(QmlApplicationViewer::Auto); viewer.setMainQmlFile(QLatin1String("qml/cards/main.qml")); //viewer.setSource(QUrl("qrc:/qml/cards/flipable.qml")); viewer.show(); return app.exec(); }