[Qt-interest] Qt for web applications

M. Bashir Al-Noimi mbnoimi at gmx.com
Tue Nov 24 21:50:26 CET 2009


Pau Garcia i Quiles wrote:

> On Tue, Nov 24, 2009 at 1:39 PM, M. Bashir Al-Noimi <mbnoimi at gmx.com> wrote:
>   
>> Hi All,
>>
>> As you know it easy to create an application by C# has two interfaces
>> (desktop and web interfaces) so I'm wondering:
>>
>> Can I use Qt / C++ for creating an application has web and desktop
>> interfaces?
>>
>> P.S.
>> I think Python can create two interfaces just like C#, but I'm not sure if
>> it can works in case of using Qt with Python.
>>     
>
> Not really.
>
> You may be interested in Wt ( http://webtoolkit.eu ), which provides a
> Qt-like API for webapplications.
>
> There is an experimental connector for Wt called WtDesktop which uses
> QtWebKit to provide a desktop interface ( see
> http://gitorious.org/wtdesktop and http://www.elpauer.org/?p=428 ).
>
> In Wt, your code is the same but depending on the connector library
> you use, you get a different kind of application:
> - if you link to wthttp you get a webapp with its own embedded HTTP/HTTPS server
> - if you link to wtfcgi you get a FastCGI module you can use with any
> webserver (Apache, IIS, etc)
> - if you link to wtdesktop you get a desktop application
>
>   
Thanks Pau,

I didn't know Wt before, it seems a promised web toolkit but as I read 
from links above, the application core must depend on Wt then I can 
specify the application for working with Qt.
For me this is not a good option because I want to develop my 
applications rapidly (I'm using Qt Creator) thus I put all GUI designing 
burdens on Qt Designer while Wt doesn't have visual designer just like 
Qt or C#.

*So I'm still wondering is there any solution for creating web 
applications by Qt / C++?*


-----
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091124/803a8699/attachment.html 


More information about the Qt-interest-old mailing list