[Interest] [OT] Re: how to develop the HTML5 application(web application) by using Qt?
Till Oliver Knoll
till.oliver.knoll at gmail.com
Wed Jun 20 15:17:03 CEST 2012
2012/6/20 Konstantin Tokarev <annulen at yandex.ru>:
> You can also try Wt [1] - it allows you to write web applications in C++ (you may even use non-GUI Qt stuff!)
That looks interesting! In fact, when browsing the documentation it
seems to closely resemble the Qt API ;)
My first understanding after browsing the description is that the Wt
framework is a Server/Client framework, not a toolkit which
transmogrifies your existing C++ into JavaScript/HTML5 which could run
on its own.
So whereas a "HTML5 app" in theory can run on its own (once you have
downloaded and installed it, using platform/browser-specific
functionality), the browser does all computation alone. With Wt you
always need a server connection, because all the logic resides on the
Server (as C++ code). That's something to keep in mind.
>From what I understand you develop your logic as Server component,
which calls the appropriate Wt API, which then renders the
corresponding HTML output which is presented to the Client (browser).
Cheers, Oliver
p.s. There still seems to be a bug in that framework: every n-th
minute it tries to redirect my Firefox to another URL, but even when
pressing Cancel I am thrown back to the previous page ;)
More information about the Interest
mailing list