Posts: 12 | Thanked: 1 time | Joined on Jun 2010
#1
I got a Qt hello world to compile and run on both the simulator and n900 thanks to the tutorial here http://talk.maemo.org/showthread.php?t=56683 Thats all well and good but now I am at an impass trying to get the openGLES stuff.

I've found http://wiki.maemo.org/OpenGL-ES#Installation which seemed like the way to go but "sudo apt-get install libgles2-sgx-img-dev" responds with "E: Couldn't find package libgles2-sgx-img-dev".

Clearly I need to enable some repository but I don't know where to look. Thanks to whoever can help!
 
Posts: 10 | Thanked: 7 times | Joined on May 2010 @ San Francisco
#2
Be aware that only OpenGL ES 2.0 works with Qt on the N900.

the package libgles2-sgx-img-dev should be installed from inside of Scratchbox and not your desktop/workstation.

If you want OpenGL just for 2D acceleration, I have learned that using QGLWidget and QPainter together gets you full HW-accelerated 2D.
 

The Following User Says Thank You to liranuna For This Useful Post:
Posts: 12 | Thanked: 1 time | Joined on Jun 2010
#3
Thanks, I know its openGLES 2.0, I'm counting on it for playing with 3D effects and shaders.

Could you point me to a tutorial on scratchbox? I set up Qt Creator with the tutorial I found, but if I call "scratchbox" on the terminal it asks me to use sb-menu to set a compilation target. If I call "sb-menu" than it asks me to use sb-menu to set a compilation target? What?

Thanks for your patience. My coding experience comes mainly from DS/Wii homebrew.
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 12:47 PM.