maintainer-feedback requested: [Bug 267546] devel/qt5-core: find_package(Qt5 REQUIRED COMPONENTS Core) fails when qmake and moc aren't present

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 3 16:31:51 GMT 2022


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 267546: devel/qt5-core: find_package(Qt5 REQUIRED COMPONENTS Core) fails
when qmake and moc aren't present
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267546



--- Description ---
The error:
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
  The imported target "Qt5::Core" references the file

     "/usr/local/lib/qt5/bin/qmake"

  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

     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:9
(_qt5_Core_check_file_exists)
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:232 (include)
  /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  CMakeLists.txt:2 (find_package)




qt5-core-5.15.5p165_3


More information about the kde-freebsd mailing list