Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    General and Desktop
    5.5 opengl linker upgrade unresolved exte
    3
    4
    1412
    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.
    • F
      FrankE last edited by

      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 Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        Is Qt 5.5 built with OpenGL support?

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

        1 Reply Last reply Reply Quote 0
        • JKSH
          JKSH Moderators last edited by

          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 Reply Quote 0
          • F
            FrankE last edited by

            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 Reply Quote 0
            • First post
              Last post