Qt & QML on standard web browser
-
Do you mean something like this:
-
It's still in active development, you can contribute here:
https://projects.kde.org/projects/playground/www/qmlweb/activity
-
Great to see that this project is not abandoned! But I do think this kind of project should be funded, and a web port should (have been already?) a part of the mainstream ports just like windows, android ...
QML has the missing simplicity/UI/speed/elegance. The web has the users and the powerful browsers to run QML. It's just.. a small step that is required to get me out of the horrible Ext.js coding I am doing now.. HTML UI is shitty, even after you get used to it.. and then you run it on a mobile tablet and it takes it 20 seconds just to load, and it runs slow slow slow... The web NEEDS UI based on the GPU.. it just needs it. If the need is provided, many people will follow ..
-
Hi rubizm,
I agree 100% to your request. I'm a Qt user for more than 4 years now, this is an amazing framework which is now targeting mobile devices (it was not the case when I started). As a commercial licensee, Digia often asks customers what we need for future and now I always answer "web target". I tried some solution a few years ago as QtBrowserPlugin (http://doc.qt.digia.com/solutions/4/qtbrowserplugin/developingplugins.html) which works fine on some browsers but not all and is really difficult to deploy. Tried also Qt for NACL (http://qt-project.org/wiki/Qt_for_Google_Native_Client) but never succeed to make it work, but not try hard since it works only for google chrome and not on windows.
I tried QMLWEB 6 months ago and it is really promising but I agree that it should be funded by digia to be incorporated in the framework and become official as it was the case for necessitas which became android port of Qt. It seems today to be the best solution for "qt on web" even if I would prefer an entire port, not only restricted to QML (C++ is often useful and faster in some points than QML). On another side, I think that QML is really perfect for Web design.Hoping Digia and community will listen to us ;o)
-
Hi Oliver,
Sure Qt C++ translated to NaCL (chrome) or Emscripten (Firefox and the rest) would be great. And actually there is a working example of such work done here: https://qt.gitorious.org/qt/emscripten-qt
BUT .. this is a big project to convert whole QT, and the bigger need, as I see it is for a JS framework, which may not have any system specific API code (at start), but would have: 1) great speed 2) much rapid development 3) great design, especially compared with HTML 4) Standard Native looking UI which is just not available in other webgl/canvas platforms...And that is why QML just fits in to that spot. With considerably small amount of work, as there's already work going on (KDE project).
-
Hi rubizm,
Totally agree with you, QMLWeb is really the best way to do it and for the c++ part the new 5.4 module QtWebChannel must give an interesting solution at server point http://www.kdab.com/qt-webchannel-bridging-gap-cqml-web/
-
Hey folks,
I started another approach: Writing a browser who can natively understand QML, too:
https://github.com/cybercatalyst/qmlbrowserIt's just for the lols, but hey, it's fun :)
-
noticed this branch while googling something related. thought id mention that the webqml project is getting a boost and we are currently merging the many branches that have been floating around the last year.
https://github.com/qmlweb/qmlweb
feel free to help out! -
Something new for this topic:
QML/HTML Browser based on QT and Chrome.
Support most of QML features like 2D, 3D, Charts, Multimedia and other stuff.
https://github.com/Toorion/qml-browser