Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can we draw a textured background using QObject?
Qt 6.11 is out! See what's new in the release blog

Can we draw a textured background using QObject?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.5k Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Oh, 1337!

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

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Can someone help me out on this issue?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved