summaryrefslogtreecommitdiffstats
path: root/qt3d.pro
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-10-01 18:28:48 +0200
committerSamuel Rødal <sroedal@trolltech.com>2009-10-01 18:31:27 +0200
commit180996ae0031c3eb47079d5d9a11e32c81f91faa (patch)
tree48e4b04e37313bc2bdde48906af9b59272033314 /qt3d.pro
parent6dc84d85ea7d16057e6d298ee439f926414e765b (diff)
Port to Qt 4.6 etc...
Ported to use Qt 4.6's matrix and vector classes, as well as using QGLShaderProgram to make the OpenGL rendering code work both on desktop OpenGL and OpenGL ES 2.0 (the desktop version requires GLEW atm). Also added auto-walk toggler to improve navigation on a touchscreen device.
Diffstat (limited to 'qt3d.pro')
-rw-r--r--qt3d.pro11
1 files changed, 7 insertions, 4 deletions
diff --git a/qt3d.pro b/qt3d.pro
index fb017f0..1806bd5 100644
--- a/qt3d.pro
+++ b/qt3d.pro
@@ -11,7 +11,10 @@ QMAKE_CXXFLAGS += -g
QT += webkit script
-contains(QT_CONFIG, opengl):QT += opengl
+contains(QT_CONFIG, opengl):{
+QT += opengl
+unix:!contains(QT_CONFIG, opengles2): LIBS += -lGLEW
+}
contains(QT_CONFIG, phonon):{
DEPENDPATH += mediaplayer
@@ -33,9 +36,9 @@ DEPLOYMENT_PLUGIN += phonon_ds9 phonon_waveout
}
# Input
-HEADERS += entity.h mazescene.h matrix4x4.h scriptwidget.h
-SOURCES += main.cpp entity.cpp mazescene.cpp matrix4x4.cpp scriptwidget.cpp
+HEADERS += entity.h mazescene.h scriptwidget.h
+SOURCES += main.cpp entity.cpp mazescene.cpp scriptwidget.cpp
# From modelviewer
-HEADERS += modelitem.h point3d.h model.h
+HEADERS += modelitem.h model.h
SOURCES += model.cpp modelitem.cpp