Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Including QOpenGLFunctions

Including QOpenGLFunctions

Scheduled Pinned Locked Moved Solved Installation and Deployment
qopenglfunctionopengl
3 Posts 2 Posters 2.6k 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.
  • V Offline
    V Offline
    vevenom
    wrote on 17 Feb 2016, 12:26 last edited by vevenom
    #1

    Hi,

    I am new to qt and I have just received a qt project which uses OpenGL. Now, after creating the makefile through the given .pro file and compiling, I am getting errors saying that :

    fatal error: QOpenGLFunctions: No such file or directory
    #include <QOpenGLFunctions>

    I have also looked inside of /usr/include/qt4/QtOpenGL directory and cannot find such file at
    all. Was the "QOpenGLFunctions" changed in the newer versions of qt? Can any of you give me
    some hints into what to do next.

    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Feb 2016, 23:04 last edited by
      #2

      Hi and welcome to devnet,

      QOpenGLFunctions is a new class of Qt 5. You should in any case start with Qt 5. Qt 4 has seen it's last release last year and there won't be anymore unless security fixes are needed.

      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
      • V Offline
        V Offline
        vevenom
        wrote on 18 Feb 2016, 12:07 last edited by
        #3

        Thanks for the answer. This solved it for me.

        1 Reply Last reply
        0

        1/3

        17 Feb 2016, 12:26

        • Login

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