Refresh problem widget QGLWidget in MainWindow with another widgets
-
wrote on 24 May 2017, 14:24 last edited by joaopagotto
Verions:
Qt version 5.8 MSVC 2015 x32
Microsoft Windows 10 x64Commenting setWindowFlags label FPS works.
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); //setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint); // Remove TitleBar Window //----------------------------------
Uncommenting setWindowFlags label FPS not refresh anymore.
The same problem occours when showFullScreen()setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint); // Remove TitleBar Window
-
wrote on 25 May 2017, 11:51 last edited by
SOLVED ! =D
Solved, I was using an obsolete QGlWidget class, and the problem was solved using the current QOpenGLWidget class.
-
wrote on 25 May 2017, 12:06 last edited by
Thanks for taking the time to post your solution.
Happy coding!
Eddy
1/3