Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Run Qt application inside window of my main Qt application

    General and Desktop
    linux window process
    2
    4
    200
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lartimus last edited by

      Does anyone have a good example of how to run one Qt application inside a window of another Qt application on a Linux desktop system?
      I have Googled this, but not found a complete example.
      Basically I need some sort of container Qt application (A) that starts up another Qt application (B), and shows B inside a window of A.

      1 Reply Last reply Reply Quote 0
      • V
        VRonin last edited by

        Do you have access to the source code of B?

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply Reply Quote 1
        • L
          lartimus last edited by

          @VRonin Yes I will have access to the source code of A and B.

          1 Reply Last reply Reply Quote 0
          • V
            VRonin last edited by

            Then it's trivial. Look at the main function of B, it will probably instantiate a main widget, you can use that as a child widget of your application

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply Reply Quote 2
            • First post
              Last post