I've tried to run the application from the command line (without turning on the desktop). The program running with full screen window but whenever I click it, it suddenly terminated because of OpenGL context error.

So, right now I'm developing application using Qt4 which can be found in Raspbian repo. Everything working fine except it can't play video using QtMultimediaKit in QML because failed to started video surface.

[quote author="agocs" date="1404827544"]There is no OpenGL support on the Pi when running on X. That's why the xcb plugin is unable to handle OpenGL windows.

With eglfs there is a different kind of limitation: it cannot handle more than one OpenGL window (since it is meant to support one single fullscreen window only).
[/quote]