##// END OF EJS Templates
Common naming convention for barcharts
Common naming convention for barcharts

File last commit:

r121:4c25bd6a036a
r231:da9e6c0e9029
Show More
main.cpp
15 lines | 491 B | text/x-c | CppLexer
Tero Ahola
Proof-of-concept for QML api...
r120 #include <QtGui/QApplication>
#include <QDeclarativeEngine>
#include "qmlapplicationviewer.h"
Q_DECL_EXPORT int main(int argc, char *argv[])
{
QScopedPointer<QApplication> app(createApplication(argc, argv));
QScopedPointer<QmlApplicationViewer> viewer(QmlApplicationViewer::create());
viewer->setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer->setMainQmlFile(QLatin1String("qml/qmlchart/main.qml"));
viewer->showExpanded();
return app->exec();
}