Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    [Solved] Smooth integration of OpenGL 4.x with Qt...

    General and Desktop
    4
    6
    7957
    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.
    • P
      przemo_li last edited by

      How to do that? How to change code of Qt if current version do not integrate with OpenGL version I want to use?

      And do you know any good docs about OpenGL 3.x|4.x and Qt?

      1 Reply Last reply Reply Quote 0
      • R
        RobotR last edited by

        Qt wraps OpenGL1.1 interface.

        Just include and link to the openGL version you want to use.

        1 Reply Last reply Reply Quote 0
        • P
          przemo_li last edited by

          Can You be more specific ?

          Where to include headers of OGL3|4? Qt have class that create context for OGL, how to change it to OGL3|4?

          Linking will be probable the simplest of steps.

          1 Reply Last reply Reply Quote 0
          • P
            przemo_li last edited by

            Oh and I want to use "Core Profile"!

            1 Reply Last reply Reply Quote 0
            • D
              dangelog last edited by

              [quote author="przemo_li" date="1281463235"]How to do that? How to change code of Qt if current version do not integrate with OpenGL version I want to use?

              And do you know any good docs about OpenGL 3.x|4.x and Qt?[/quote]

              This does not make any sense. Qt uses and exposes the version reported by the OpenGL renderer you have; you can use QGLFormat::setVersion() to try opening a context with a specific version.

              Software Engineer
              KDAB (UK) Ltd., a KDAB Group company

              1 Reply Last reply Reply Quote 0
              • Z
                ZapB last edited by

                Sorry to necro post but this thread came up in a search and it's still un-solved. So here's the "solution":http://developer.qt.nokia.com/wiki/How_to_use_OpenGL_Core_Profile_with_Qt

                Nokia Certified Qt Specialist
                Interested in hearing about Qt related work

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