On Sep 28, 2011, at 4:55 AM, Samuel Rødal wrote: > On 09/27/2011 08:08 PM, ext Alexis Menard wrote: >> Today I made the jump and updated an app which 80% QML based. >> We use almost nothing from QWidget (we use what we can't find in QML). >> >> Our code only use one QMainWindow (for the shortcuts, and geometry >> saving/restoring) and a QDialog(for modal popups out of the QML >> scene). The rest (except some C++ backends to deal with SQL databases) >> is entirely based in QML. We also use the QtWebKit module. >> >> I thought updating would be straightforward as we have a very little >> dependency on old QWidgets. Fixing the build was easy but having the >> app working as before is not really straightforward. >> >> - First I have to use an horrible wrapper to put my QSGView as the >> centralWidget of the QMainWindow. QML, neither QWindow support >> shortcuts so I have to use that one. Also QWindow doesn't support >> saving and restoring its geometry which make it impossible to use it >> as a non mobile use case (where the QWindow is always fullscreen). > > A wrapper to embed a QWindow in a QWidget should probably be > standardized and included in QtWidgets. Also saving and restoring > QWindow geometry sounds like a valid use case on desktop, could you make > a task for that?
https://bugreports.qt.nokia.com/browse/QTBUG-21738 > >> - All my shortcuts are not working anymore, I couldn't figure out why >> yet. It kills a lot of use case for desktop but that's fine for mobile >> as you don't have shortcuts right? > > I don't see why we wouldn't want to support shortcuts still, either > through the existing QShortcut API in QtWidgets or modified to not have > QWidget dependencies in QtGui. Desktop applications still need those :) +1 > >> - Focus handling seems really strange. For some reason the WebKit >> WebView can't get clicks/keyboard focus and inputs (it may be a bug >> there which I'm gonna fix if it's the case). > > Might be a bug in the QPA or platform plugin code? > > Note that some of the bugs / missing features are just things we haven't > gotten around to yet. Although I understand there is some pain involved > at the current state, it's great if people give Qt 5 a try and create > bug reports / feature requests for what's needed. Of course patches are > more than welcome as well, hopefully that process will be a lot smoother > when Open Governance goes live > > -- > Samuel > _______________________________________________ > Qt5-feedback mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
