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. Is it possible to run a non-Qt application or Qt Creator inside of a QWidget
Forum Updated to NodeBB v4.3 + New Features

Is it possible to run a non-Qt application or Qt Creator inside of a QWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 3 Posters 1.5k Views 3 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by mrjj
    #3

    Hi
    Update
    i think you can get the winID for external app with
    GetWindowThreadProcessId(hWnd, &dwWndProcID);
    printf("WinID %d\n", dwWndProcID);
    (native calls)
    But i have not tested it :)

    You might need to dig into the win API docs to find out how to grab the ID for embedding.
    Note, i have not tried createWindowContainer myself but it seems to be working for others.

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Hi,

      Do you want to implement some sort of Kiosk mode ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • N Offline
        N Offline
        Nite Coder
        wrote on last edited by
        #5

        Err...
        What's Kiosk mode?

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

          Standard computer with one front facing application e.g. ATM, Train station information panel etc.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • N Offline
            N Offline
            Nite Coder
            wrote on last edited by
            #7

            Sorry if I just don't understand that. I am 13. Can you describe it a bit more simpler

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              I'd recommend this article for a start and then this one.

              Basically, it's a computer usually with one application running that the user can't quit. One of the most simple example is a computer at an exhibition that shows a presentation non-stop all day long.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              3
              • N Offline
                N Offline
                Nite Coder
                wrote on last edited by
                #9

                Yes, that is what I am trying to make.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  Are you targetting a device or a computer ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  2
                  • N Offline
                    N Offline
                    Nite Coder
                    wrote on last edited by Nite Coder
                    #11

                    Computer. I also don't want to use QML, just C++

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      QML can also be used on computers. Anyway, the article I linked to should give you some pointers about the subject and how to implement it.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1

                      • Login

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