Editing QtComponents/Butaca
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 29: | Line 29: | ||
- QApplication *app = MDeclarativeCache::qApplication(argc, argv); | - QApplication *app = MDeclarativeCache::qApplication(argc, argv); | ||
- QDeclarativeView *view = MDeclarativeCache::qDeclarativeView(); | - QDeclarativeView *view = MDeclarativeCache::qDeclarativeView(); | ||
- | + QApplication app(argc, argv); | + | + QApplication app = QApplication(argc, argv); |
- | + QDeclarativeView view; | + | + QDeclarativeView view = QDeclarativeView(); |
- QDeclarativeContext *context = view->rootContext(); | - QDeclarativeContext *context = view->rootContext(); | ||
Line 41: | Line 41: | ||
+ view.showFullScreen(); | + view.showFullScreen(); | ||
- | + | int result = app->exec(); | |
- | + | ||
delete controller; | delete controller; |
Learn more about Contributing to the wiki.