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. Problem linking OpenGL functions when upgrading to Qt5.5 from 5.2
QtWS25 Last Chance

Problem linking OpenGL functions when upgrading to Qt5.5 from 5.2

Scheduled Pinned Locked Moved General and Desktop
5.5opengllinkerupgradeunresolved exte
4 Posts 3 Posters 1.8k 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.
  • F Offline
    F Offline
    FrankE
    wrote on last edited by
    #1

    It fails on linking almost every GL function, being GPUTexture a class I did myself the linker outputs lots of errors like these ones:
    GPUtexture.obj:-1: error: LNK2001: unresolved external symbol __imp_glBindTexture
    GPUtexture.obj:-1: error: LNK2001: unresolved external symbol __imp_glDeleteTextures
    GPUtexture.obj:-1: error: LNK2001: unresolved external symbol __imp_glGenTextures

    Of course I've added to my .pro file
    QT += core gui opengl websockets

    And as I said in 5.2 it was working without any problem, any tip on this?

    Regards F.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Is Qt 5.5 built with OpenGL support?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi @FrankE,

        How does GPUtexture call OpenGL?

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • F Offline
          F Offline
          FrankE
          wrote on last edited by
          #4

          Thank you to everyone finally I've decided to migrate (it was about time!) from the old QtOpenGl support to the newer methods ie QGLFramebufferObject -> QOpenGLFramebufferObject it takes a lot to refactoring but I think it will save time for the future.

          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