# Qt gui library, opengl module qtConfig(opengl): CONFIG += opengl qtConfig(opengles2): CONFIG += opengles2 qtConfig(opengl) { HEADERS += opengl/qopengl.h \ opengl/qopengl_p.h \ opengl/qopenglfunctions.h \ opengl/qopenglframebufferobject.h \ opengl/qopenglframebufferobject_p.h \ opengl/qopenglpaintdevice.h \ opengl/qopenglpaintdevice_p.h \ opengl/qopenglbuffer.h \ opengl/qopenglshaderprogram.h \ opengl/qopenglextensions_p.h \ opengl/qopenglgradientcache_p.h \ opengl/qopengltexturecache_p.h \ opengl/qopenglengineshadermanager_p.h \ opengl/qopengl2pexvertexarray_p.h \ opengl/qopenglpaintengine_p.h \ opengl/qopenglengineshadersource_p.h \ opengl/qopenglcustomshaderstage_p.h \ opengl/qopengltextureglyphcache_p.h \ opengl/qopenglshadercache_p.h \ opengl/qopenglversionfunctions.h \ opengl/qopenglversionfunctionsfactory_p.h \ opengl/qopenglvertexarrayobject.h \ opengl/qopengldebug.h \ opengl/qopengltextureblitter.h \ opengl/qopengltexture.h \ opengl/qopengltexture_p.h \ opengl/qopengltexturehelper_p.h \ opengl/qopengltextureuploader_p.h \ opengl/qopenglpixeltransferoptions.h \ opengl/qopenglextrafunctions.h \ opengl/qopenglprogrambinarycache_p.h SOURCES += opengl/qopengl.cpp \ opengl/qopenglfunctions.cpp \ opengl/qopenglframebufferobject.cpp \ opengl/qopenglpaintdevice.cpp \ opengl/qopenglbuffer.cpp \ opengl/qopenglshaderprogram.cpp \ opengl/qopenglgradientcache.cpp \ opengl/qopengltexturecache.cpp \ opengl/qopenglengineshadermanager.cpp \ opengl/qopengl2pexvertexarray.cpp \ opengl/qopenglpaintengine.cpp \ opengl/qopenglcustomshaderstage.cpp \ opengl/qopengltextureglyphcache.cpp \ opengl/qopenglversionfunctions.cpp \ opengl/qopenglversionfunctionsfactory.cpp \ opengl/qopenglvertexarrayobject.cpp \ opengl/qopengldebug.cpp \ opengl/qopengltextureblitter.cpp \ opengl/qopengltexture.cpp \ opengl/qopengltexturehelper.cpp \ opengl/qopengltextureuploader.cpp \ opengl/qopenglpixeltransferoptions.cpp \ opengl/qopenglprogrambinarycache.cpp !qtConfig(opengles2) { HEADERS += opengl/qopenglfunctions_1_0.h \ opengl/qopenglfunctions_1_1.h \ opengl/qopenglfunctions_1_2.h \ opengl/qopenglfunctions_1_3.h \ opengl/qopenglfunctions_1_4.h \ opengl/qopenglfunctions_1_5.h \ opengl/qopenglfunctions_2_0.h \ opengl/qopenglfunctions_2_1.h \ opengl/qopenglfunctions_3_0.h \ opengl/qopenglfunctions_3_1.h \ opengl/qopenglfunctions_3_2_core.h \ opengl/qopenglfunctions_3_3_core.h \ opengl/qopenglfunctions_4_0_core.h \ opengl/qopenglfunctions_4_1_core.h \ opengl/qopenglfunctions_4_2_core.h \ opengl/qopenglfunctions_4_3_core.h \ opengl/qopenglfunctions_4_4_core.h \ opengl/qopenglfunctions_4_5_core.h \ opengl/qopenglfunctions_3_2_compatibility.h \ opengl/qopenglfunctions_3_3_compatibility.h \ opengl/qopenglfunctions_4_0_compatibility.h \ opengl/qopenglfunctions_4_1_compatibility.h \ opengl/qopenglfunctions_4_2_compatibility.h \ opengl/qopenglfunctions_4_3_compatibility.h \ opengl/qopenglfunctions_4_4_compatibility.h \ opengl/qopenglfunctions_4_5_compatibility.h \ opengl/qopenglqueryhelper_p.h \ opengl/qopengltimerquery.h SOURCES += opengl/qopenglfunctions_1_0.cpp \ opengl/qopenglfunctions_1_1.cpp \ opengl/qopenglfunctions_1_2.cpp \ opengl/qopenglfunctions_1_3.cpp \ opengl/qopenglfunctions_1_4.cpp \ opengl/qopenglfunctions_1_5.cpp \ opengl/qopenglfunctions_2_0.cpp \ opengl/qopenglfunctions_2_1.cpp \ opengl/qopenglfunctions_3_0.cpp \ opengl/qopenglfunctions_3_1.cpp \ opengl/qopenglfunctions_3_2_core.cpp \ opengl/qopenglfunctions_3_3_core.cpp \ opengl/qopenglfunctions_4_0_core.cpp \ opengl/qopenglfunctions_4_1_core.cpp \ opengl/qopenglfunctions_4_2_core.cpp \ opengl/qopenglfunctions_4_3_core.cpp \ opengl/qopenglfunctions_4_4_core.cpp \ opengl/qopenglfunctions_4_5_core.cpp \ opengl/qopenglfunctions_3_2_compatibility.cpp \ opengl/qopenglfunctions_3_3_compatibility.cpp \ opengl/qopenglfunctions_4_0_compatibility.cpp \ opengl/qopenglfunctions_4_1_compatibility.cpp \ opengl/qopenglfunctions_4_2_compatibility.cpp \ opengl/qopenglfunctions_4_3_compatibility.cpp \ opengl/qopenglfunctions_4_4_compatibility.cpp \ opengl/qopenglfunctions_4_5_compatibility.cpp \ opengl/qopengltimerquery.cpp } qtConfig(opengles2) { HEADERS += opengl/qopenglfunctions_es2.h SOURCES += opengl/qopenglfunctions_es2.cpp } }