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. what is differences between Qt Opengl & Pure Opengl?
Forum Update on Monday, May 27th 2025

what is differences between Qt Opengl & Pure Opengl?

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 4 Posters 3.0k Views
  • 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 Offline
    P Offline
    parvizwpf
    wrote on last edited by parvizwpf
    #1

    as qt documentation:
    "The Qt OpenGL module makes it easy to use OpenGL in Qt applications. It provides an OpenGL widget class that can be used just like any other Qt widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents."
    but i don't understand differences between real opengl libraries such as GLUT,GLFW,GLEW and Qt opengl.
    are they same?
    can i write and run every opengl code that i see in all non qt tutorials on web in the Qt opengl and Qt Creator?
    please help...thanks

    A 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by sierdzio
      #2

      I'm not very familiar with OpenGL, but as far as I understand the answer is yes, you can use "real" OpenGL calls inside QOpenGLWidget. The only thing that Qt provides are (optional) convenience wrappers for OpenGL functions, and the actual widget itself.

      (Z(:^

      1 Reply Last reply
      1
      • P parvizwpf

        as qt documentation:
        "The Qt OpenGL module makes it easy to use OpenGL in Qt applications. It provides an OpenGL widget class that can be used just like any other Qt widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents."
        but i don't understand differences between real opengl libraries such as GLUT,GLFW,GLEW and Qt opengl.
        are they same?
        can i write and run every opengl code that i see in all non qt tutorials on web in the Qt opengl and Qt Creator?
        please help...thanks

        A Offline
        A Offline
        arsinte_andrei
        wrote on last edited by
        #3

        @parvizwpf Yes you can follow any tutorial from internet about OpenGL as long as is written in C++ and you include the libraries (you have to download them if you are in windows - and you should already have them if you are in Linux)

        1 Reply Last reply
        0
        • P Offline
          P Offline
          parvizwpf
          wrote on last edited by
          #4

          hi and thanks for your useful posts.
          arsinte_andrei can you tell me how?
          do you have a link or toturial for doing it on windows?

          A 1 Reply Last reply
          0
          • P parvizwpf

            hi and thanks for your useful posts.
            arsinte_andrei can you tell me how?
            do you have a link or toturial for doing it on windows?

            A Offline
            A Offline
            arsinte_andrei
            wrote on last edited by
            #5

            @parvizwpf sure ... there is a lot of info about how to do it...
            have a look first here https://www.khronos.org/opengl/wiki/Getting_Started
            and also here
            https://www.opengl.org/
            you will see to download the sdk for windows...

            1 Reply Last reply
            0
            • P Offline
              P Offline
              parvizwpf
              wrote on last edited by
              #6

              thanks ok. then of downloading it how can i use it in qt?
              is that same as visual studio opengl install or not?

              A 1 Reply Last reply
              0
              • P parvizwpf

                thanks ok. then of downloading it how can i use it in qt?
                is that same as visual studio opengl install or not?

                A Offline
                A Offline
                arsinte_andrei
                wrote on last edited by
                #7

                @parvizwpf honestly you have to look on this.. should be some examples there. you should link to the library only and run your program... but better to check their examples and howtos ... you have them in the links that I've already provided... I'm using Ubuntu Linux... I don't know much of windows...

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Hi,

                  Qt does all the platform specific initialisation that can be very convoluted depending on the OS. It also provides useful helper class to help manage OpenGL resources (shaders, vbo, etc.) So basically you don't have to install additional helper libraries like GLEW to write your OpenGL based application.

                  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
                  0
                  • P Offline
                    P Offline
                    parvizwpf
                    wrote on last edited by
                    #9

                    thanks friends for your good helps.

                    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