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. Form renders slowly
Qt 6.11 is out! See what's new in the release blog

Form renders slowly

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 862 Views
  • 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.
  • K Offline
    K Offline
    karpouzi
    wrote on last edited by karpouzi
    #1

    Hello, I have a barebones Qt Widgets app. There is a big lag when the main form displays:

    MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
    {
        setGeometry(200, 200, 600, 400);
        QPushButton *btn1 = new QPushButton(this);
        btn1->setGeometry(QRect(80, 100, 80, 24));
        btn1->setText("btn1");      //enabling this line makes the form load slowly
    }
    

    This happens using Qt 5.15.2, not Qt 6.3.0. Also getting "NVD3DREL: GR-805 : DX9 Overlay is DISABLED" messages

    Using Qt Creator 8.0.0, Windows 10

    JonBJ 1 Reply Last reply
    0
    • K karpouzi

      Hello, I have a barebones Qt Widgets app. There is a big lag when the main form displays:

      MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
      {
          setGeometry(200, 200, 600, 400);
          QPushButton *btn1 = new QPushButton(this);
          btn1->setGeometry(QRect(80, 100, 80, 24));
          btn1->setText("btn1");      //enabling this line makes the form load slowly
      }
      

      This happens using Qt 5.15.2, not Qt 6.3.0. Also getting "NVD3DREL: GR-805 : DX9 Overlay is DISABLED" messages

      Using Qt Creator 8.0.0, Windows 10

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @karpouzi
      It would help if you referenced your other post here.

      Maybe:
      https://stackoverflow.com/questions/69573327/qt-creator-display-in-application-output-nvd3drel-gr-805-dx9-overlay-is-disa ?

      K 1 Reply Last reply
      0
      • JonBJ JonB

        @karpouzi
        It would help if you referenced your other post here.

        Maybe:
        https://stackoverflow.com/questions/69573327/qt-creator-display-in-application-output-nvd3drel-gr-805-dx9-overlay-is-disa ?

        K Offline
        K Offline
        karpouzi
        wrote on last edited by
        #3

        @JonB The issue here is the slow rendering of the form. The form loads instantly on Qt6 with the same Nvidia message. I mentioned it anyway just in case.

        JonBJ 1 Reply Last reply
        0
        • K karpouzi

          @JonB The issue here is the slow rendering of the form. The form loads instantly on Qt6 with the same Nvidia message. I mentioned it anyway just in case.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @karpouzi
          Agreed/understood. So presumably that is not relevant, and the issue to do with displaying any text, like perhaps starting up/finding fonts (e.g. try with a label instead of a push button)? And (assuming it is a big lag) since nobody else has reported it and plenty use Qt 5.15 one can only guess it is something to do with your machine, but I don't know what....

          1 Reply Last reply
          0

          • Login

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