Without knowing his application, I can say that Wt is a joy, and it is compiled
server code. It isn't Qt though, but damn close. I did a project to blend Qt
and Wt, mostly by hacking MOC to take IU files and create files for Wt usign Wt
class names. It worked 100%. Where I fell over though was producing 100%
transportable code between the two Boost is used by Wt and Qt has their own
thing. This would have resulted in some very ugly programming.
I've got a 2MB pipe, but I never get a full 2MB. However phones... everythign i
mobile and 3G speeds are still the most common. LTE is there, and in metro
areas is ok, but it cannot be compared to your home pipe.
________________________________
From: Yves Bailly <yves.bai...@sescoi.fr>
To: interest@qt-project.org
Sent: Thursday, January 17, 2013 9:44 AM
Subject: Re: [Interest] Bringing Qt, C++ To The Web
Le 17/01/2013 15:31, Jason H a écrit :
> You all are doing it wrong!!!
>
> I've been researching this a week or so. Emcripten is not going to work. You
> do not want your binary
> transalted to JS. The demos are slow, and regardless of optimization will
> always be slow. 4MB of
> compressed javascript for a program? Not with the bandwidth we have. And
> nevermind textures!
>
> If you want to make Qt5 web-able, what you need is a way to directly
> translate the OpenGL calls of
> Qt5's QML to WebGL.
> The barrier there is not "hard" however I am out of my element. I am not a GL
> person, though I have a
> basic understanding. What is needed is a http server, your binary and a
> translation layer to WebGL.
> The translation layer would make whatever textures needed available. These
> should be cached on the
> client in HTML5 storage. Then it is only a small amount of commands that are
> easily executed that
> create each frame.
What you describe seems close to Wt: http://www.webtoolkit.eu/wt
However the use of "emscripten" is not so wrong: it can come as a very handy,
short-term
and quickly-done solution. And there is probably still much room for
optimizations, making
it even less slow. By the way, "slow" is a relative idea: clicking a button
triggers an
action in 1ms on a desktop, 10ms through Emscripten: no big deal, from a user's
view
it's almost the same even though it's 10 times slower.
About bandwidth, for me (at home) 4MB is "only" 3-4 seconds away,
so no big deal, and such bandwidth is more and more common.
Granted, it's far from ideal-perfect, but "all wrong" is a bit over.
--
/- Yves Bailly - Software developper -\
\- Sescoi R&D - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest