Important: Please read the Qt Code of Conduct -

QDockWidget issues with QGLWidget

  • Hi,

    I'm developing an application composed by a QMainWindow and several QDockWidgets. In the main window the central widget is a QGLWidget (there are no other widgets). One of these dock has a drag and drop mechanism which works fine when the widget is docked. When the widget is floating I'm not able to drag and drop. If I remove the OpengGL widget everything works fine. Is it possible that the QGLwidget is responsible for this kind of problem?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You'll have to give a bit more details like what OS you're on, what version of Qt you use etc...

  • I'm using Windows 8 Professional x64 and Qt 5.1 32bit

  • Lifetime Qt Champion

    Which version did you install ? OpenGL ? MinGW ?

  • I compiled the qt 5.1 version with VisualStudio 2012 32bit and i used the -opengl desktop switch in the configure script

  • Lifetime Qt Champion

    Sounds like a bug...

    You could try asking on the interest mailing list (you'll find Qt's developers/maintainers there, this forum is more user oriented) and check the "bug report system" to see if someone else already experienced the problem

Log in to reply