Opening new process window inside QMainWindow



  • 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]



  • 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.



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.