Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.3.0 Alpha
-
None
-
-
d30778538159498caad491ba1d74ed2f5bb10b0c
Description
Apps that consist of a toplevel QGLWidget (such as the cube example) crash on startup with 5.3.0. A QGLWidget child will work (such as the hellogl_es2 example).
This is a minimal example that crashes with 5.3.0, but works in 5.2.1:
#include <QApplication>
#include <QGLWidget>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QGLWidget w;
w.show();
return a.exec();
}
UPDATE:
The crash is caused by QAndroidPlatformBackingStore::QAndroidPlatformBackingStore doing a static_cast<QAndroidPlatformRasterWindow *> on a QAndroidPlatformGLWindow.