Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10809

QX11EmbedContainer/Widget doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              dzyubenk Denis Dzyubenko (Inactive)
              ogutbrod Oliver Gutbrod
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes