Hello!!

I am sure this have came up earlier but I have yet to find a resolution for it.

I have come across a problem to upgrade my gentoo system because of this; I dont think this is gentoo-specific, since very similar errors occur on many systems aparrently, however the difference is the paths in quotation-marks after:"The imported target "Qt5::Core" references the file" differ only for which I can see.

I have heard that double-slashes is not the issue, however there is something missing and I don't know what.
For sure I can submit the whole log, however I thought that perhaps someone recognises this very problem
I just don't understand what it's looking fore here:

Qt Code:
  1. ...
  2. -- Using system-installed ZLIB
  3. -- Found LibRHash: /usr/lib64/librhash.so
  4. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
  5. -- Found CURL: /usr/lib64/libcurl.so (found version "7.55.1")
  6. -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.1")
  7. -- Found LibArchive: /usr/lib64/libarchive.so (found suitable version "3.3.1", minimum required is "3.0.0")
  8. -- Looking for cbreak in /usr/lib64/libncurses.so
  9. -- Looking for cbreak in /usr/lib64/libncurses.so - found
  10. -- Looking for elf.h
  11. -- Looking for elf.h - found
  12. CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message):
  13. The imported target "Qt5::Core" references the file
  14.  
  15. "/usr/lib64/qt5//mkspecs//usr/lib64/qt5/mkspecs/linux-g++"
  16.  
  17. but this file does not exist. Possible reasons include:
  18.  
  19. * The file was deleted, renamed, or moved to another location.
  20.  
  21. * An install or uninstall procedure did not complete successfully.
  22.  
  23. * The installation package was faulty and contained
  24.  
  25. "/usr/lib64/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
  26.  
  27. but not all the files it references.
  28.  
  29. Call Stack (most recent call first):
  30. /usr/lib64/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
  31. /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake:158 (include)
  32. /usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake:99 (find_package)
  33. /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:99 (find_package)
  34. Source/QtDialog/CMakeLists.txt:9 (find_package)
  35. ...
To copy to clipboard, switch view to plain text mode