[Qt-interest] Qt programs that I can run in browser

Jeroen De Wachter Jeroen.DeWachter at elis.ugent.be
Mon Feb 21 13:32:17 CET 2011


Hey Nicholas,

Could I just ask why you don't want to use wt?
It seems to do exactly what you need (except if you want your Qt
application to also be available as a desktop program, I guess, in which
case you could still simply use a browser)

Also, if memory serves, their developer licenses aren't *that*
expensive...

I think it can even be combined with Qt relatively painlessly (I once
saw a presentation on wt by one of their developers and I remember
asking him about it).

Kind regards,

Jeroen

On Sun, 2011-02-20 at 12:41 -0700, Bob Hood wrote:
> On 2/20/2011 12:08 PM, Nicholas Shatokhin wrote:
> > Sun, 20 Feb 2011 19:28:30 +0200 було написано Bob Hood <bhood2 at comcast.net>:
> >
> >> On 2/20/2011 9:26 AM, Nicholas Shatokhin wrote:
> >>> But, Wt is a C++ to and compiling to JavaScript.
> >>
> >>> From the Wt main page:
> >>
> >> "For example, if available, Wt will maximally use JavaScript, Ajax and even
> >> WebSockets, but applications developed using Wt will also function correctly
> >> when JavaScript is not available. Wt will start with a plain HTML/CGI
> >> application and progressively enhance to a rich Ajax application if possible.
> >> With Wt, security is built-in and by default."
> >>
> >> I think you're misunderstanding what Wt is doing.  Your C++ is not compiled
> >> into javascript.  It is compiled into native binary, and Wt generates the
> >> necessary HTML/javascript/etc. in order to make your C++ function on the Web
> >> page as "cgi-bin".
> >>
> >> qt-interest
> >
> > Ok, In Qt4 can I do that?
> >
> 
> 
> I would imagine that you could, however, what think you are getting with Wt is
> a library that not only provides GUI elements designed specifically for use on
> web pages, but also that deals with wrapping the C++ code as domain-centric
> plug-ins (look at the examples provided via the main Wt page).  You'd have to
> provide such a layer yourself in order to "directly" use Qt C++ code in the
> same fashion.
> 
> However, you might want to check out Qt's QML module, which uses JavaScript as
> its scripting language.  I'm not really that familiar with it (so somebody may
> want to step in here and correct me), but it might provide the bridge you are
> seeking between Qt and HTML.
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list