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. Attach a QProcess .exe to a Tab Widget
Qt 6.11 is out! See what's new in the release blog

Attach a QProcess .exe to a Tab Widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 2.6k Views 2 Watching
  • 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.
  • M Offline
    M Offline
    mootytootyfrooty
    wrote on last edited by
    #1

    Hello, I'm trying to attach a .exe to my Qt window in a specific tab via QProcess for an example. Is this doable? Say, for example: 'C:/Program Files/GIMP 2/bin/gimp-2.8.exe'

    Here's my sample:
    alt text
    alt text

    raven-worxR 1 Reply Last reply
    0
    • M mootytootyfrooty

      Hello, I'm trying to attach a .exe to my Qt window in a specific tab via QProcess for an example. Is this doable? Say, for example: 'C:/Program Files/GIMP 2/bin/gimp-2.8.exe'

      Here's my sample:
      alt text
      alt text

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @mootytootyfrooty
      not as easy as you would like to.
      If the application provides an ActiveX/COM control it is possible using Qt. Otherwise not.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @mootytootyfrooty
        not as easy as you would like to.
        If the application provides an ActiveX/COM control it is possible using Qt. Otherwise not.

        M Offline
        M Offline
        mootytootyfrooty
        wrote on last edited by mootytootyfrooty
        #3

        @raven-worx

        How about to attach it as a resource in C++ and launch it that way? Or perhaps simply making it dockable? Can you dock external windows?

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          Unless the app is prepared for embedding into foreign windows ( via OLE/COM/SDK)
          its often impossible to get its mainwindow to be shown inside other app and still function.

          Can I ask what is it you are trying to create ?

          M 1 Reply Last reply
          1
          • mrjjM mrjj

            Hi
            Unless the app is prepared for embedding into foreign windows ( via OLE/COM/SDK)
            its often impossible to get its mainwindow to be shown inside other app and still function.

            Can I ask what is it you are trying to create ?

            M Offline
            M Offline
            mootytootyfrooty
            wrote on last edited by
            #5

            @mrjj

            Hmm, so looks like I'll need to go the SDK route then. I'm actually trying to make a functional UI for blender outside of their addon system for my own purposes. They have a very detailed SDK but I was hoping to avoid it with some hax to save me a learning curve. Time to dig in my heels.

            1 Reply Last reply
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              Oh, a blender interface. Well its been discussed since 2006 or something.
              It has one of those interfaces if you suffer the pain, you get stockholm syndrome
              and it starts to make sense. ;)

              Since it internally uses openGl custom Widgets, its nearly impossible to replace
              on code level. The python SDK does offer tons of automation but i am doubtful if enough to make a full blown new interface.

              However, you might have something else in mind so i cant really know :)

              Btw:
              Never tried this, but also new interface
              https://www.bforartists.de/

              1 Reply Last reply
              2
              • M Offline
                M Offline
                mootytootyfrooty
                wrote on last edited by mootytootyfrooty
                #7

                I'm using blender's backend to interact with it externally. Playing with some arduino ideas ;)

                B4artists is cool! Thanks for showing me that, I feel less triggered now

                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