Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
None
-
Kubuntu 9.10
Qt4.7
-
9a1b0695277a3864b42d082095962f8742cdcf04
Description
The following code works fine with Qt4.6.2.
With Qt4.7 the QX11EmbedWidget is not embedded any more.
container:
int main(int argc, char *argv[]) { QApplication app(argc, argv); QX11EmbedContainer container; container.show(); qDebug() << container.winId(); return app.exec(); }
widget:
int main(int argc, char *argv[]) { QApplication app(argc, argv); if (app.arguments().count() != 2) { qFatal("Error - expected window id as argument"); return 1; } QString windowId(app.arguments()[1]); EmbedWidget window; window.embedInto(windowId.toULong()); window.show(); return app.exec(); }
Attachments
Issue Links
- resulted in
-
QTBUG-11877 setting WA_NativeWindow attribute doesn't immediately create native window
- Closed