Results 1 to 2 of 2

Thread: Question on launching a QMainWindow app by QProcess

  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Question on launching a QMainWindow app by QProcess

    Hi,

    In my GUI application, I use QProcess to start a 3rd party GUI application (I don't have the code, I only have to executable).

    I would like the 3rd party GUI window always stays on top of my GUI window ( just like a QDialog does). Is there a way to do so?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Question on launching a QMainWindow app by QProcess

    Quote Originally Posted by lni View Post
    I would like the 3rd party GUI window always stays on top of my GUI window ( just like a QDialog does). Is there a way to do so?
    The general answer is "no". You could use XEmbed to embed alien application into your own window but you have to know the window id of the window. And this is definitely out of scope of this forum.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Fixed QMainwindow size, Layout question
    By Nyte in forum Newbie
    Replies: 3
    Last Post: 30th January 2013, 11:33
  2. Problems launching a windows exe from Qt (using QProcess)
    By smacchia in forum Qt Programming
    Replies: 8
    Last Post: 21st March 2012, 10:05
  3. QProcess question
    By jaxrpc in forum Newbie
    Replies: 1
    Last Post: 4th June 2010, 13:10
  4. QMainWindow/centralWidget question
    By graciano in forum Qt Programming
    Replies: 6
    Last Post: 15th April 2010, 22:49
  5. Replies: 6
    Last Post: 26th January 2010, 08:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.