Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Refresh problem widget QGLWidget in MainWindow with another widgets
Forum Updated to NodeBB v4.3 + New Features

Refresh problem widget QGLWidget in MainWindow with another widgets

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 856 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • joaopagottoJ Offline
    joaopagottoJ Offline
    joaopagotto
    wrote on last edited by joaopagotto
    #1

    Verions:
    Qt version 5.8 MSVC 2015 x32
    Microsoft Windows 10 x64

    Commenting 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
    
       //----------------------------------
    

    alt text

    Uncommenting setWindowFlags label FPS not refresh anymore.
    The same problem occours when showFullScreen()

    setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint); // Remove TitleBar Window
    

    alt text

    1 Reply Last reply
    0
    • joaopagottoJ Offline
      joaopagottoJ Offline
      joaopagotto
      wrote on last edited by
      #2

      SOLVED ! =D

      Solved, I was using an obsolete QGlWidget class, and the problem was solved using the current QOpenGLWidget class.

      1 Reply Last reply
      3
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        Thanks for taking the time to post your solution.

        Happy coding!

        Eddy

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved