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. Qt5Gui_EGL_LIBRARY-NOTFOUND

Qt5Gui_EGL_LIBRARY-NOTFOUND

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 5.3k Views 1 Watching
  • 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
    vincentlipan
    wrote on last edited by
    #1

    I use cmake to configure the VTK for Qt creator.
    pop out such kind of error, what is the problem? how to solved it?

    @CMake Error at /opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
    The imported target "Qt5::Gui" references the file

     "Qt5Gui_EGL_LIBRARY-NOTFOUND"
    

    but this file does not exist. Possible reasons include:

    • The file was deleted, renamed, or moved to another location.

    • An install or uninstall procedure did not complete successfully.

    • The installation package was faulty and contained

      "/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

    but not all the files it references.

    Call Stack (most recent call first):
    /opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:31 (_qt5_Gui_check_file_exists)
    /opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:58 (_qt5gui_find_extra_libs)
    /opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:143 (include)
    /opt/Qt/5.3/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:88 (find_package)
    GUISupport/Qt/CMakeLists.txt:58 (find_package)

    @

    1 Reply Last reply
    0
    • G Offline
      G Offline
      ginko
      wrote on last edited by
      #2

      same problem just few seconds ago...:D

      1 Reply Last reply
      0
      • G Offline
        G Offline
        ginko
        wrote on last edited by
        #3

        Seems here an half of the answer:
        http://www.marshut.com/iyxush/qt-5-3-1-cmake-egl-error.html

        I will try to install the 5.3.0....

        Ahahah I just tested, commenting that line with # and it works!! :D

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vincentlipan
          wrote on last edited by
          #4

          hi i just changed back to qt 5.2.1, when use cmake, i give the variable value like this
          @cmake -DVTK_QT_VERSION:STRING=5
          -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qt5.2.1-install/5.2.1/gcc_64/bin/qmake
          -DCMAKE_PREFIX_PATH:PATH=/path/to/qt.5.2.1-install/5.2.1/gcc_64/lib/cmake @

          [quote author="ginko" date="1404829838"]same problem just few seconds ago...:D[/quote]

          1 Reply Last reply
          0
          • silenthellS Offline
            silenthellS Offline
            silenthell
            wrote on last edited by
            #5

            This bug has been reported https://bugreports.qt-project.org/browse/QTBUG-39859

            For now they found another workaround which doesn't involve changing any file: simply install libEGL-dev. (e.g with linux MINT the package libegl1-mesa-dev avoid the error).

            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