External Program Management with Qt
Hi,
I'm trying to made an application that does the followig operation:
1) able to start an external program
2) show/hide external application when required
3) set on top or not the external program
4) move and resize the window of the external program
I'm using QT to be able to easily move the code to another target.
I found QProcess object that allows to start an external program, but with QProcess I did'n found how to show/hide and mainly how to manage the external program, I'm able only to kill it.
is there someone that can help me????
Re: External Program Management with Qt
Is this external program an arbitrary program or did you write it yourself?
Re: External Program Management with Qt
It is a general program, I haven't source code of it, but for sure I know that it is not a console application and it has a graphical window.
Re: External Program Management with Qt
Then you won't be able to do it in a cross-platform way. On Windows you can use PostMessage/SendMessage, on Unix you have to use X11 calls. On other platforms you're on your own.
Re: External Program Management with Qt
Ok, thanks...
so I need to use X11, because I want to use it on linux.
I have fedora 8 distribution and I can't change it.
do I need to install something to use X11 features?
where I can find documentation ???
thank you very much
Re: External Program Management with Qt
You don't need anything extra. Just read XLib documentation.