Important: Please read the Qt Code of Conduct -

QOpenGLFunctions_3_2_Core instantiates on new, but all interfaces are null....

  • I built qt open source with the following command line:

    configure -mp -opensource -debug-and-release -opengl desktop -no-angle -platform win32-msvc2017 -prefix D:\Projects\qt5131.bin

    when I run my windows application, I call m_gl = new QOpenGLFunctions_3_2_Core();

    But all member variables are nullptr; What might cause this?

  • Lifetime Qt Champion


    Without showing how you use it, it's hard to say. Looks like you might not be initializing it properly.

Log in to reply