summaryrefslogtreecommitdiffstats
path: root/src/declarative/opengl/opengl.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/opengl/opengl.pri')
-rw-r--r--src/declarative/opengl/opengl.pri20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/declarative/opengl/opengl.pri b/src/declarative/opengl/opengl.pri
new file mode 100644
index 0000000..c9ccefb
--- /dev/null
+++ b/src/declarative/opengl/opengl.pri
@@ -0,0 +1,20 @@
+DEPENDPATH += opengl
+INCLUDEPATH += opengl
+INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+QT += opengl
+
+contains(QT_CONFIG, opengles1) {
+ SOURCES += gltexture.cpp \
+ glsave.cpp
+
+ HEADERS += gltexture.h \
+ glsave.h
+} else:contains(QT_CONFIG, opengles2) {
+ SOURCES += gltexture.cpp \
+ glbasicshaders.cpp \
+ glsave.cpp
+
+ HEADERS += gltexture.h \
+ glbasicshaders.h \
+ glsave.h
+}