Commit 03e52d2d authored by Thibault Soucarre's avatar Thibault Soucarre
Browse files

change for supporting qt5

parent 1817ed3d
......@@ -42,6 +42,8 @@
#define VITE_VERSION_MINOR @VITE_VERSION_MINOR@
#define VITE_VERSION_PATCH @VITE_VERSION_PATCH@
#cmakedefine USE_QT5
/* Optimization options */
#cmakedefine VITE_ENABLE_SERIALIZATION
#cmakedefine VITE_ENABLE_VBO
......
......@@ -833,7 +833,9 @@ void Core::launch_action(int state, void* arg) {
DrawTrace buf;
QGLFormat format (QGL::HasOverlay);
#ifdef USE_QT5
format.setVersion(3,3);
#endif
switch(state) {
case _STATE_DISPLAY_HELP :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment