author | Wes Thierry <wesleyt@symbian.org> |
Fri, 05 Nov 2010 11:32:03 +0000 | |
changeset 8 | a593fb7f78c0 |
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 |
} |