Advertisement
Guest User

Test

a guest
Oct 20th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  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::ScreenOrientationAuto);
  10. viewer.setMainQmlFile(QLatin1String("qml/TimeToGo/main.qml"));
  11. viewer.showExpanded();
  12.  
  13. return app.exec();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement