summaryrefslogtreecommitdiffstats
path: root/src/opengl/qt_opengl.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qt_opengl.pri')
-rw-r--r--src/opengl/qt_opengl.pri18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/opengl/qt_opengl.pri b/src/opengl/qt_opengl.pri
new file mode 100644
index 000000000..bb0a5d869
--- /dev/null
+++ b/src/opengl/qt_opengl.pri
@@ -0,0 +1,18 @@
+# Qt opengl module
+
+opengl {
+ HEADERS += $$OPENGL_H/qgl.h \
+ $$OPENGL_H/qglcolormap.h
+ SOURCES += $$OPENGL_CPP/qgl.cpp \
+ $$OPENGL_CPP/qglcolormap.cpp
+ x11 {
+ HEADERS += $$OPENGL_H/qgl_x11_p.h
+ SOURCES += $$OPENGL_CPP/qgl_x11.cpp
+ }
+ else:mac:SOURCES += $$OPENGL_CPP/qgl_mac.cpp
+ else:win32:SOURCES += $$OPENGL_CPP/qgl_win.cpp
+
+ dlopen_opengl:DEFINES+=QT_DLOPEN_OPENGL
+}
+
+