QOpenGLWindow initializes very slow

  • Hi guys,
    i am playing around with QOpenGLWindow, so i created an example project just like the one of Laszlo Agocs on following site:

    i just create a subclass with:

    Window() : QOpenGLWindow(NoPartialUpdate) {
        QSurfaceFormat format;

    and paint a triangle in paintGL().

    The problem is: the blank window pop up for about 1-2 seconds, then the triangle appears. Is there a way to speed up the initializeGL phase? there is an error if i manually call initializeGL().

    Thanks in advance,

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.