Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Accessing other Application in QT

Accessing other Application in QT

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 1.6k Views
  • 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.
  • A Offline
    A Offline
    aniljoby
    wrote on last edited by
    #1

    I have an application developed in qt. What I need is I want to stitch or glue another non QT application like windows media player, chrome etc. on my QT application in the specified position.Then the non qt application should be in the front. But some elements or widgets of my QT application should be in front of non QT. If I move or drag my QT application then the non QT application also moves with it in the defined position.
    Is it possible ?
    Please reply with steps and sample codes needed for it.

    1 Reply Last reply
    0
    • jensen82J Offline
      jensen82J Offline
      jensen82
      wrote on last edited by
      #2

      You can do it by using the Windows-API. I used some years ago to overlay a window which is not a child of my application. The link: "Win-API":http://msdn.microsoft.com/en-us/library/ff818516(v=vs.85).aspx

      I would set a timer that periodically checks the non-qt-application and moves the window if needed or activate it.

      1 Reply Last reply
      0
      • IamSumitI Offline
        IamSumitI Offline
        IamSumit
        wrote on last edited by
        #3

        hi
        Use QProcess
        http://qt-project.org/doc/qt-5/QProcess.html

        Be Cute

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          I think you can do it with "QWidget::createWindowContainer":http://qt-project.org/doc/qt-5/qwidget.html#createWindowContainer

          157

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aniljoby
            wrote on last edited by
            #5

            Thank you very much all.......!!!!

            1 Reply Last reply
            0
            • A Offline
              A Offline
              aniljoby
              wrote on last edited by
              #6

              Along with opening the non Qt application I want to add it to my Qt-widget and re size and move it. what to do..? please give me sample code...

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aniljoby
                wrote on last edited by
                #7

                Along with opening the non Qt application I want to add it to my Qt-widget and re size and move it. what to do..? please give me sample code…

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved