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; | ||
Line 226: | Line 225: | ||
<syntaxhighlight lang="diff"> | <syntaxhighlight lang="diff"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 245: | Line 232: | ||
Some changes on how '''Butaca''' is deployed are needed to match Fremantle requirements. | Some changes on how '''Butaca''' is deployed are needed to match Fremantle requirements. | ||
- | === | + | === Optify code === |
- | + | ||
- | === | + | === Update Desktop file === |
- | + | And finally, update desktop file. There's no applauncerd on fremantle, so remove invoker from Exec. With this action we loose splash-screen. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
commit | commit | ||
Line 297: | Line 244: | ||
and copy generated files into debian/patches directory. | and copy generated files into debian/patches directory. | ||
- | Finally, modify rules file at debian directory to merge patches. At | + | Finally, modify rules file at debian directory to merge patches. At '''config-stamp''' rule add: |
- | <syntaxhighlight lang="make"> | + | <syntaxhighlight lang="make">for p in debian/patches/*; do patch -p1 < $$p; done |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | - | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</syntaxhighlight> | </syntaxhighlight> | ||
And thats all. You have '''Butaca''' working on Maemo5 | And thats all. You have '''Butaca''' working on Maemo5 |
Learn more about Contributing to the wiki.