Form renders slowly
-
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
-
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
-
@karpouzi
It would help if you referenced your other post here. -
@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.
@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....