[Qt5-feedback] QML Web Toolkit

Jason H scorp1us at yahoo.com
Thu May 26 14:42:37 CEST 2011


That is completely awesome. 

I've got some experience writing HTTP servers in Qt. 

I would recommend though using the QxtWeb stuff from Qxt, they had a better HTTP 
session design.






________________________________
From: Thomas Ganshorn <mailings at novaimages.de>
To: Prashanth Udupa <prashanth at vcreatelogic.com>; syntheticpp at gmx.net
Cc: qt5-feedback at qt.nokia.com
Sent: Thu, May 26, 2011 3:57:15 AM
Subject: Re: [Qt5-feedback] QML Web Toolkit

 
I made something similar also about a year ago for my bridgesim project.
A small self written http server using qt, that allows to remotely access 
registered qobjects.
All slots of the QObjects can be called from outside by eg

http://server/objectname.slotname?Param1=value¶m2=value....
 
if the slot has a return value, it will be returned as string, if not just a OK 
message gets returned.
The userinterface of the application itself is currently completely html in 
chrome browser.

It works ... but it is more a hack with trial and error.
So i currently plan to rewrite that stuff cleaner (or the best ... find someone 
who already made at least an internal http server :-) )

My idea would be not only to allow http as protocol but also my own protocol 
with less overhead.
I also want to have some additional functionality to connect two applications 
(or more) to share QObjects.

So process a exposes eg MyControl.
Process B registers MyControl and creates a dynamic dummy object in my Process 
B.
If Process A sends a signal, Process B dynamic Dummy emits the signal.
If Dummy Slot gets called, it transmits it to Process A.

By using http as protocol i can completely remote control the application by 
browser,
by having that "replication" feature i can write also a native userinterface eg. 
qml




 
Prashanth Udupa <prashanth at vcreatelogic.com> hat am 26. Mai 2011 um 07:53 
geschrieben:

> Hi Peter,
>
> > And having a production-ready Qt-Web-Toolkit would also open the door
> > to some worlds where Qt is not used at the moment (I'm dreaming of
> > enterprise services not driven by Java but C++/Qt).
>
> We have a product called as GCFApplicationServer (based on Qt and GCF)
> that offers a way to host services written using Qt for access from a
> web-browser and/or any other application. There is more information
> about it available at the links below.
>
> [1] http://www.vcreatelogic.com/docs/gcf-2.5.0/html/gcfappserver.html
> [2] 
>http://www.prashanthudupa.com/2011/05/16/gcfapplicationserver-and-clean-urls/
>
> Best Regards,
> Prashanth
> _______________________________________________
> Qt5-feedback mailing list
> Qt5-feedback at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110526/3b0659f2/attachment.html 


More information about the Qt5-feedback mailing list