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. Running an external process from qt
Forum Update on Monday, May 27th 2025

Running an external process from qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 311 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.
  • J Offline
    J Offline
    Jakob Clausen
    wrote on last edited by
    #1

    I am trying to run an external process from qt.
    I am trying to use

        QWindow *window = QWindow::fromWinId(winid);
        QWidget *widget = QWidget::createWindowContainer(window);
    

    How do I get the winid from the external process?

    I am running on linux.

    jsulmJ 1 Reply Last reply
    0
    • J Jakob Clausen

      I am trying to run an external process from qt.
      I am trying to use

          QWindow *window = QWindow::fromWinId(winid);
          QWidget *widget = QWidget::createWindowContainer(window);
      

      How do I get the winid from the external process?

      I am running on linux.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Jakob-Clausen If you only want to start an external application then use QProcess.
      Or do you want to embed the UI from that application in your application?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      2
      • jsulmJ jsulm

        @Jakob-Clausen If you only want to start an external application then use QProcess.
        Or do you want to embed the UI from that application in your application?

        J Offline
        J Offline
        Jakob Clausen
        wrote on last edited by
        #3

        @jsulm I would like to embed the UI in my application.

        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