Create a QWidget project (without “Generate form”). Delete the Widget class. Add the code below in main.cpp. Add the line “win32: LIBS += -lopengl32” to the .pro file. It works on Windows and Android.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results