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. Cmake looking for inexistent .lib files (mingw64 build)
QtWS25 Last Chance

Cmake looking for inexistent .lib files (mingw64 build)

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.5k 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.
  • T Offline
    T Offline
    thepyper
    wrote on last edited by
    #1

    Hi!

    I'm trying to build my first test project using qt5 (built from source using mingw64, both a static and a shared library build) and cmake (version 2.8.12).
    Build of the project fails with that message:

    @CMake Error at H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
    The imported target "Qt5::Gui" references the file

     "H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/plugins/imageformats/qdds.lib"
    

    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

      "H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5Gui_QDDSPlugin.cmake"

    but not all the files it references.

    Call Stack (most recent call first):
    H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:140 (_qt5_Gui_check_file_exists)
    H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5Gui_QDDSPlugin.cmake:4 (_populate_Gui_plugin_properties)
    H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:148 (include)
    H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:92 (find_package)
    525/src/CMakeLists.txt:9 (find_package)@

    The missing file (qdds.lib) has not even been built on my setup, I did that search in both my build directories:

    @find ./ -name *.lib@

    Instead I have found a libqdds.a and a qddsd.dll.

    Maybe the .lib files are only built with VisualStudio?

    Anybody know how that is supposed to be fixed?

    Thanks!

    Davide

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alorence
      wrote on last edited by
      #2

      I have the exact same issue. Did you find a solution?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alorence
        wrote on last edited by
        #3

        I have the exact same issue. Did you find a solution?

        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