Refresh problem widget QGLWidget in MainWindow with another widgets
Solved
General and Desktop
-
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
-
SOLVED ! =D
Solved, I was using an obsolete QGlWidget class, and the problem was solved using the current QOpenGLWidget class.