Can we draw a textured background using QObject?



  • HI,
    I am trying to draw a textured background in Qt using Opengl ES 2.0.

    I am generating the texture Id in my own class which is inherited from QGLwidget(initializeGL function).I am trying to pass the same handle in another class of my own which is derived from QObject . I need to bind the texture also in the same class.

    so how can we bind the texture in another class which is not inherited from QGLwidget class?



  • Oh, 1337!

    (Sorry, couldn't resist. Ignore me. gg)



  • Can someone help me out on this issue?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.