Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using opengl in QT
Qt 6.11 is out! See what's new in the release blog

Using opengl in QT

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.1k 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.
  • J Offline
    J Offline
    jheengoo
    wrote on last edited by
    #1

    Hello

    I am quite new to using QT. I am using QT 5.2.0 with mingw48 opengl. I want to start learning qtopengl. Can anyone provide a sample code to get started with it? At the beginning I want to draw a 3d-piechart. Kindly guide me.

    Thanks

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      Hi jheengoo,
      maybe those examples can be helpful: "examples-widgets-opengl":https://qt-project.org/doc/qt-5/examples-widgets-opengl.html

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jheengoo
        wrote on last edited by
        #3

        Thankssssss a million

        1 Reply Last reply
        0
        • A Offline
          A Offline
          agocs
          wrote on last edited by
          #4

          Keep in mind however that some of the examples there are way too old and do not reflect the modern Qt & OpenGL practices that are desirable nowadays.

          When starting from scratch, https://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html is perhaps a better introductory example.

          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