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

QGLWidget creation with parent triggers warning/crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.1.0 RC1, 5.2.0 RC1, 5.2.0
    • None
    • Windows 7 x64, Qt 5.1 RC1 (2013-05-29-41), MAC 10.7

    Description

      I use a class derived from QGLWidget:

      GLChannel::GLChannel(qint32 channel, QGLWidget *shareWidget, QWidget *parent)
      : QGLWidget(parent,shareWidget)
      {

      }

      if I pass a parent widget, I get this warning message (though the app work):
      "WindowCreationData::create: CreateWindowEx failed (Impossible de créer une fenêtre enfant supérieure.)"
      (the end of the message can be translated to: "can't create a higher child window")

      If I pass a NULL parent, I don't get the error message.

      This happen with this Qt 5.1 build on Windows:
      http://download.qt-project.org/snapshots/qt/5.1/5.1.0-rc1/backups/2013-05-29-41/

      I don't have this warning with Qt 5.0.2

      Attachments

        1. Qt52GLCrash.zip
          2 kB
        2. qtbug31451.zip
          2 kB

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              divide Robin Lobel
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes