migrate to Qt5 ( some issue with QGLWidget and QMainWindow )