Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Can we draw a textured background using QObject?

    Mobile and Embedded
    2
    3
    2815
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wisty last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • T
        troubalex last edited by

        Oh, 1337!

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

        THE CAKE IS A LIE
        Web Community Manager - Qt Development Frameworks

        1 Reply Last reply Reply Quote 0
        • W
          wisty last edited by

          Can someone help me out on this issue?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post