Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGLWidget Sporadically fails to expand into layout
grahamrow last edited by
I'm working, for the moment, with a statically built Qt 5.2.1 on Linux. I've been getting a problem that I haven't seen on other versions or platforms. Every once in a while, when I launch my application, my main QGLWidget doesn't occupy it's horizontal container! I'm suspected an internal bug, but that's always what I expect when I'm largely clueless as to the cause.
The app responds perfectly after I resize the thing. I've tried a variety of manual resize(), update(), and other calls. Also I've tried reimplementing sizeHint() within my class. Are there any known problems here?