[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267546

            Bug ID: 267546
           Summary: devel/qt5-core: find_package(Qt5 REQUIRED COMPONENTS
                    Core) fails when qmake and moc aren't present
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: yuri at freebsd.org
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list