Skip to content

Instantly share code, notes, and snippets.

@nschoe
Created April 4, 2019 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nschoe/0ab98a5e015edf841e735b17a86fba9f to your computer and use it in GitHub Desktop.
Save nschoe/0ab98a5e015edf841e735b17a86fba9f to your computer and use it in GitHub Desktop.
Qt5 failing when using cmake
CMake Error at /nix/store/bfqn9brns3k05l99ndvs920ry5pv0dqc-qt-full-5.11.3/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:13 (message):
The imported target "Qt5::Gui" references the file
"/nix/store/l4xs718qqprqrwqrslrbw1ibadvjijyp-qtbase-5.11.3-bin/lib/qt-5.11/plugins/imageformats/libqicns.so"
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
"/nix/store/bfqn9brns3k05l99ndvs920ry5pv0dqc-qt-full-5.11.3/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake"
but not all the files it references.
Call Stack (most recent call first):
/nix/store/bfqn9brns3k05l99ndvs920ry5pv0dqc-qt-full-5.11.3/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:155 (_qt5_Gui_check_file_exists)
/nix/store/bfqn9brns3k05l99ndvs920ry5pv0dqc-qt-full-5.11.3/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake:4 (_populate_Gui_plugin_properties)
/nix/store/bfqn9brns3k05l99ndvs920ry5pv0dqc-qt-full-5.11.3/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:163 (include)
/nix/store/bfqn9brns3k05l99ndvs920ry5pv0dqc-qt-full-5.11.3/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:87 (find_package)
papyrus/CMakeLists.txt:224 (find_package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment