Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29132

cmake: Linking libGlesv2 and LibEGL on windows ANGLE build of Qt 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.1.0 Beta 1
    • Component/s: GUI: OpenGL
    • Environment:
      Windows MSVC 2012/2010 etc
    • Commits:
      bc4fbcd215b72951d37db57103365963f3849fbc

      Description

      Hi guys I'm working with the cmake modules of qt and I'm trying to access opengles functions in qt5. I'm getting linking errors for the gles functions. Include directories are fine and compile time runs smoothly.

      ie. I'm trying to directly access the gles functions directly which is why I need to link them.

      I'm using
      find_package(Qt5Gui REQUIRED) etc

      and
      target_link_libraries(cocos2dx ${Qt5Gui_LIBRARIES} etc)
      etc

      but I have to manually include the angle libs

      link_directories("E:/qt/qt-5.0-ANGLE/qtbase/lib")
      target_link_libraries(cocos2dx ${Qt5Gui_LIBRARIES} libGLESv2d libEGLd)

      Note I don't get the link errors when I link in the libraries manually

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            Reporter:
            martell Martell Malone
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes