View Single Post
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#104
Originally Posted by javispedro View Post
Oh, of course you can -- in fact, you can actually do 8+8+8+8 rgba surfaces and hildon desktop will take proper care of the alpha values up to the point it will actually composite the background with both your actual window and the thumbnail.

I do not know how to do it with QGLWidget, though.
I just found out how!!

And it is REALLY simple!
you can start yourQt application in 32bit mode by adding the argument "-visual TrueColor"
Works perfectly, all the banding problems are GONE!!
This really should be known by anybodu who is writing OpenGL games in Qt for Maemo.

http://doc.trolltech.com/latest/qapplication.html
 

The Following User Says Thank You to Bernard For This Useful Post: