Important: Please read the Qt Code of Conduct -

Problem with QGLWidget with Android

  • Hello friends, I am trying to develop an application using QT 5.1.1 and Android, the problem is when you put the widget inside a QMainWindow QWidgets and promotes it to inside the QGLWidget QGLWidget and do the rendering, the sofware works normally. The problem happens if I put a QPushButton for example with the QWidgets promoted to QGLWidget, in this case the android emulator crashes or the screen goes completely black. Conclusion reached was that if one put a QWidgets promoted to QGLWidgets along with any other widget in QMainWindow application gives problem.

    Has anyone experienced something similar?

    If you require additional information or sources please just let me know here.


  • Solved in Qt 5.4 =D

Log in to reply