Qt Forum

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

    How to use updateGL method qith QGLView

    Game Development
    2
    2
    696
    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.
    • S
      sunil.nair last edited by

      UpdateGL method is found in QGLWidget class. QGLView has initializeGL and PaintGL but I cannot find any update method. I am trying to get continuous user input and update my screen cursor's position. i ned to put this code in the update method.

      One option is to use the QTimer but is there any other possibility?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Please don't post the same question on multiple sub-forum, one is enough.

        "Duplicate":http://qt-project.org/forums/viewthread/49967/

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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