Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, August 2007
Launching C++ application from Jambi


Message 1 in thread

Hi,

I would like to know the best possible way to:
1. Launch a Qt based C++ application from Jambi from a Web browser by maybe
clicking on a hyperlink.  The browser could be running on windows, and the
application could be deployed on AIX system.

The reason is that we have built our application on Qt but our customers
want to be able to access the C++ app from anywhere, preferably through a
browser Interface.  Actually they want to migrate to a Single-Sign On system
and we need to allow them to control the C++ app remotely.

Can Qt Jambi help?

2. Is there a solution to run a Qt based C++ app remotely?  Once the app is
installed on a server in some remote data center, typically, X-Manager or
Putty is used to access the application.  But there is inherent risk of the
user messing up the server as the entire directory on the system is exposed.
How can the access be restricted to only the application?  Any sort of tool
or method or suggestion will be greatly appreciated.  

Thanks
Tangi



Message 2 in thread

Srinivas Tangirala wrote:
> Hi,
> 
> I would like to know the best possible way to:
> 1. Launch a Qt based C++ application from Jambi from a Web browser by maybe
> clicking on a hyperlink.  The browser could be running on windows, and the
> application could be deployed on AIX system.
> 
> The reason is that we have built our application on Qt but our customers
> want to be able to access the C++ app from anywhere, preferably through a
> browser Interface.  Actually they want to migrate to a Single-Sign On system
> and we need to allow them to control the C++ app remotely.
> 
> Can Qt Jambi help?

If you wrote your application in C++ then you need to compile it for all 
target platforms and you can use webstart to detect which binaries to 
download etc. This is similar to how our webstart works.

If you had written your application in Java using Qt Jambi, then you 
wouldn't have had to deal with the binaries for the various platforms. 
You could have just used the ones we ship and ship our crossplatform 
application .jar file next to it. If your C++ app is a fairly thin 
client then this is probably not too much work either ;-)

> 2. Is there a solution to run a Qt based C++ app remotely?  Once the app is
> installed on a server in some remote data center, typically, X-Manager or
> Putty is used to access the application.  But there is inherent risk of the
> user messing up the server as the entire directory on the system is exposed.
> How can the access be restricted to only the application?  Any sort of tool
> or method or suggestion will be greatly appreciated.  

Qt does not support this unfortunatly... The most common thing is 
probably to run an X server on the windows box that connects to the AIX 
machine.

-
Gunnar