I have created the code if i click push button, then the external exe file runs. But i want to place this external file window where i want inside of GUI with push button when i click push button. So that external file is moving together. Is it possible? Can anyone help me?
This is my code for push button to execute external file.
void MainWindow:n_pushButton_8_clicked()
{
QProcess *process = new QProcess(this);
QString file("D:\\\My External File name");
process->execute(file);
QDesktopServices:penUrl(QUrl("file:///"+file,QUrl::TolerantMode));
}
Bookmarks