On Tue, Nov 24, 2009 at 1:39 PM, M. Bashir Al-Noimi <[email protected]> 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

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to