4 ms·
Yes, provided that you were strict on separating logic from display in your app, and that the logic part of the code accounts for enough work to justify the eff
by gregschlom 16y ago
Yes, provided that you were strict on separating logic from display in your app, and that the logic part of the code accounts for enough work to justify the effort...
Otherwise, good luck trying to port your QWidget-based app to something that even remotely resembles a web app.
- dkersten 16y agoHowever, a QML-based app might not be too dificult to port. It would be pretty interesting if somebody were to write something so that Qt Quick/QML based applications could run in a browser - perhaps a canvas frontend or soemthing.
- gregschlom 16y agoAs someone who is writting a Qt/QML desktop app, I can only vouch for that :)
- dkersten 16y agoI recently ported my Qt desktop app to use QML, where possible (I still use C++ and QWidgets for some things, or to extend QML, eg drag and drop support) and I think it was a very worthwhile task. QML is really pleasant to work with and much more productive than C++/Qt or HTML+CSS+JS. Actually, IMHO, QML is what HTML should have been - easy and clear, yet also flexible and powerful.