summaryrefslogtreecommitdiffstats
path: root/src/opengl/opengl.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/opengl.pro')
-rw-r--r--src/opengl/opengl.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro
index 718a886809..016db46405 100644
--- a/src/opengl/opengl.pro
+++ b/src/opengl/opengl.pro
@@ -33,7 +33,6 @@ SOURCES += qgl.cpp \
qglbuffer.cpp \
HEADERS += qglshaderprogram.h \
- qgraphicsshadereffect_p.h \
gl2paintengineex/qglgradientcache_p.h \
gl2paintengineex/qglengineshadermanager_p.h \
gl2paintengineex/qgl2pexvertexarray_p.h \
@@ -44,7 +43,6 @@ HEADERS += qglshaderprogram.h \
gl2paintengineex/qglshadercache_p.h
SOURCES += qglshaderprogram.cpp \
- qgraphicsshadereffect.cpp \
gl2paintengineex/qglgradientcache.cpp \
gl2paintengineex/qglengineshadermanager.cpp \
gl2paintengineex/qgl2pexvertexarray.cpp \
@@ -52,4 +50,9 @@ SOURCES += qglshaderprogram.cpp \
gl2paintengineex/qglcustomshaderstage.cpp \
gl2paintengineex/qtextureglyphcache_gl.cpp
+qtConfig(graphicseffect) {
+ HEADERS += qgraphicsshadereffect_p.h
+ SOURCES += qgraphicsshadereffect.cpp
+}
+
load(qt_module)