I\'m interested in embedding an external application inside of my QT 5.5 Widget based application. I\'m only concerned with it working on Linux. I\'m using CentOS 7 with GN
The following achieves the desired result, the key was adding the FramelessWindowHint:
QWindow *window = QWindow::fromWinId(211812356);
window->setFlags(Qt::FramelessWindowHint);
QWidget *widget = QWidget::createWindowContainer(window);
QVBoxLayout *layout = new QVBoxLayout(this);
layout->addWidget(widget);
this->setLayout(layout);