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. Opening new process window inside QMainWindow
Forum Update on Monday, May 27th 2025

Opening new process window inside QMainWindow

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

    Hi ,
    I am looking for the way to open application window inside my current application(QMainWindow) :

    for example ,can I open it into label that placed on my window?

    I am using QProcess :

    @
    QString program = "C:\Program Files (x86)\Consola 3D CMOSAIX\Sedecal3D.exe";
    QStringList arguments;
    arguments<<"-slave "<<"-wid "<QString::number((int)ui.labelSedecal-winId());
    arguments << " -WM -DebugWM";

    QProcess *process = new QProcess(this);

    process->start(program,arguments);
    @

    But it doesn't work . The Sedecal app opens always in a his own separate window

    [EDIT: code formatting, please wrap in @-tags, Volker]

    1 Reply Last reply
    0
    • P Offline
      P Offline
      p-himik
      wrote on last edited by
      #2

      As i know embedding one application into another is rather hard task. And this is the third topic about it in two weeks. Try to search in older threads.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tucnak
        wrote on last edited by
        #3

        can I open it into label that placed on my window?

        No, you can't.

        P.S. You should to read "there":http://wiki.qt-project.org/Coding_Style.

        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