This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Qt with SGX working?

Did anyone managed to compile Qt (any version) with SGX working? 
I tried million combinations. Not a single one worked. 
There are 100s of "solutions" on internet. Not a single one is 
working. 

I have this installed: 
Ubuntu Oneiric 
Kernel v3.0.8-x3 (known that is working with sgx) 
SGX installed using RoberCNelson's create_sgx_package.sh and following procedure. 

SGX demos are working perfectly in FRONT mode but not in FLIP mode. 
Compiled Qt 4.6 using same headers and libraries as given by 
create_sgx_package.sh 
To compile used patch which adds support for arm target and command ./ 
configure_omap3 

Edited /etc/powervr.ini: 
[default] 
WindowSystem=libpvrQWSWSEGL.so 

Executed: 
sudo /etc/init.d/pvr restart 

I run: 
export QT_DEBUG__PLUGINS=1 
./hellogl_es2 -qws -diplay powervr > ~/work/debug.txt 2>&1 

After execution: 
Green area in helogl_es2 instead of animation. I need to reboot to 
restore display on HDMI. Minicom access is working. 

Content of debug.txt: 
QFactoryLoader::QFactoryLoader() looking at "/opt/qt-embedded/plugins/ 
gfxdrivers/ 
libqgfxpvregl.so" 
keys 
("powervr") 
QFactoryLoader::QFactoryLoader() looking at "/opt/qt-embedded/plugins/ 
mousedrivers/ 
libqpcmousedriver.so" 
keys ("Auto", "IntelliMouse", "Microsoft", "MouseSystems", 
"MouseMan") 
Cannot open input device '/dev/tty0': Permission 
denied 
QEglContext::createSurface(): Unable to create EGL surface, error = 
0x300b 
QGLContext::makeCurrent(): Cannot make invalid context 
current 
QEglContext::createSurface(): Unable to create EGL surface, error = 
0x300b 
QFactoryLoader::QFactoryLoader() looking at "/opt/qt-embedded/plugins/ 
iconengines/ 
libqsvgicon.so" 
keys ("svg", "svgz", 
"svg.gz") 

Even tried to use patch for 4.6 which should help with error 0x300b. 
No success 

Any idea about solving this? 

I'm willing to accept solution which uses any version of Ubuntu, Qt or 
GX drivers :)