QOpenGLContext on Android error: This plugin does not support createPlatformOpenGLContext!

  • I'm trying out the OpenGL functionality in Qt 5.2, but I'm having some problems getting it to run on Android.
    I'm using code almost identical to this:

    It runs on Windows, but when I deploy and run on Android I get the following error:
    bq. ( 9120): kernel/qplatformintegration.cpp:252 (virtual QPlatformOpenGLContext* QPlatformIntegration::createPlatformOpenGLContext(QOpenGLContext*) const): This plugin does not support createPlatformOpenGLContext!

    I saw this "thread":http://qt-project.org/forums/viewreply/156031 and tried to use the solution he used, but I'm still having problems (still getting the error). Are there some additional steps I need to take to make an QOpenGLContext successfully on Android?

    Any help is much appreciated.

  • I have encountered the same issue as you, I think this is a bug for Qt5.2-android, I have filed a bug report https://bugreports.qt-project.org/browse/QTBUG-36414

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.