Opened 17 months ago

Last modified 17 months ago

#66593 closed defect

qt6 references file in /opt/local/bin, which do not exist — at Initial Version

Reported by: kgarrels Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qt6-qtbase

Description

Hi,

got this error now building cmake projects, works if I uninstall all of qt6 and use qt5 instead.

Any suggestions?

Happy New Year, kai

CMake Error at /opt/local/lib/cmake/Qt6CoreTools/Qt6CoreToolsTargets.cmake:154 (message):
  The imported target "Qt6::moc" references the file

     "/opt/local/bin/moc"

  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

     "/opt/local/lib/cmake/Qt6CoreTools/Qt6CoreToolsTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /opt/local/lib/cmake/Qt6CoreTools/Qt6CoreToolsConfig.cmake:37 (include)
  /opt/local/lib/cmake/Qt6Core/Qt6CoreDependencies.cmake:76 (find_package)
  /opt/local/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:40 (include)
  /opt/local/lib/cmake/Qt6/Qt6Config.cmake:209 (find_package)
  CMakeLists.txt:124 (find_package)

Change History (0)

Note: See TracTickets for help on using tickets.