Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.7.0
-
None
-
I'm on Windows Vista creating my applications with Qt Creator 2.0.
-
Qt 4: f18b03d543f66981e455b013df75fb0bcd2611cb, d86e651a6eb2382365295ec1b2b022b9f0a08f92
Description
I recently just got Qt 4.7 (from Qt 4.6.1). Ever since then any application that I create a QGLWidget for are causing that application to lock up whenever I move/resize the main window. When I resize, the mouse stays on the resize cursor. When I try to move the window it won't move. In both cases my machine locks up and I have to ctrl+alt+delete to get out of this state. I update my QGLWidget by creating a QTimer and connect the timeout() signal to the QGLWidget's updateGL() function.
I simple default GUI project I created with Qt Creator 2.0 can reproduce this problem. See .cpp file for MainWindow below:
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
myTimer = new QTimer(this);
myGlWidget = new QGLWidget(this);
connect(myTimer, SIGNAL(timeout()), this, SLOT(updateRender()));
myTimer->start(0);
}
void MainWindow::updateRender()
{
if(myGlWidget)
}
As you can see in the example I'm using nothing but pure Qt Code. This works perfectly fine if I compile under the 4.6.1 SDK that I had before.
Attachments
Issue Links
- relates to
-
QTBUG-27266 Windows: QGLWidget causes lock up when window resizes/moves (MSVC2012 + Window 7 only).
-
- Closed
-