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 nothing happens. In both cases my machine locks up and I have to ctrl+alt+delete to get out of this state. I tested the sample example below with Qt 4.6.1 that I had before and this works without any problems so it's something new with Qt 4.7. Any help would be greatly appreciated. Thanks!


Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) :
  2. QMainWindow(parent),
  3. ui(new Ui::MainWindow)
  4. {
  5. ui->setupUi(this);
  6.  
  7. myTimer = new QTimer(this);
  8.  
  9. myGlWidget = new QGLWidget(this);
  10.  
  11. connect(myTimer, SIGNAL(timeout()), this, SLOT(updateRender()));
  12.  
  13. myTimer->start(0);
  14. }
  15.  
  16. void MainWindow::updateRender()
  17. {
  18. if(myGlWidget)
  19. {
  20. myGlWidget->updateGL();
  21. }
  22. }
To copy to clipboard, switch view to plain text mode