author | John Kern <johnk@symbian.org> |
Mon, 25 Oct 2010 10:46:37 -0700 | |
changeset 5 | 3d8bce9e1a9f |
parent 3 | 2e16639599b7 |
permissions | -rwxr-xr-x |
3 | 1 |
#include <QtGui/QApplication> |
2 |
#include "qmlapplicationviewer.h" |
|
3 |
||
4 |
int main(int argc, char *argv[]) |
|
5 |
{ |
|
6 |
QApplication app(argc, argv); |
|
7 |
||
8 |
QmlApplicationViewer viewer; |
|
9 |
viewer.setOrientation(QmlApplicationViewer::Auto); |
|
10 |
viewer.setMainQmlFile(QLatin1String("qml/cards/main.qml")); |
|
11 |
//viewer.setSource(QUrl("qrc:/qml/cards/flipable.qml")); |
|
12 |
viewer.show(); |
|
13 |
||
14 |
return app.exec(); |
|
15 |
} |