I am running into a problem with text input on specifically the new Belle devices. I am going by... wait for it... the epong game example, and using QInputDialog::getText to pop up a text input on Symbian.
On S^3 devices, running Anna or Belle, everything works fine. However on new Belle devices such as the 700, OpenGL seems to be put into a weird state. After the dialog closes, eglswapbuffers will fail with error EGL_NOT_INITIALIZED.
I've tried completely destroying and recreating the EGL environment with:
However when reinitialising egl after this, eglCreateContext fails with EGL_BAD_ATTRIBUTE which doesn't make much sense to me, as the only attributes are the ones setting the client version. Again on an S^3 phone such as the N8 this works fine.
eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
You can reproduce this problem with the current Epong example from svn on a new Belle device, by getting a high score and entering your name.
As always your help is very much appreciated.