The imported target "Qt5::Core" references the file
来源:互联网 发布:手机淘宝怎么改运费 编辑:程序博客网 时间:2024/06/10 06:27
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message): The imported target "Qt5::Core" references the file "/usr/local/.//mkspecs/macx-clang" 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.
今天在mac下安装MARSYAS时出现了一个这样的问题。
这个是在安装QT时候没有配置好。我对qt还不是特别熟,只好先暴力解决这个问题。
先找到QtCore的配置文件:
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake然后在下面这行中加入相应的路径。
原始路径:
get_filename_component(_qt5Core_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
修改后:
get_filename_component(_qt5Core_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../Cellar/qt5/5.5.1_2/" ABSOLUTE)
参考 : https://github.com/Homebrew/homebrew/issues/29938
0 0
- The imported target "Qt5::Core" references the file
- The current deployment target does not support automated __weak references
- The current deployment target does not support automated __weak references
- Sqoop ERROR tool.ImportTool: Imported Failed: There is no column found in the target table
- EndNote format the references
- Updating the flat file of an iSCSI target in AIX
- The XLIFF file does not contain a target language
- The number of method references in a .dex file cannot exceed 64K
- The number of method references in a .dex file cannot exceed 64K. Error 解决方案
- Android开发 Error:The number of method references in a .dex file cannot exceed 64K.
- Error:The number of method references in a .dex file cannot exceed 64K......
- 解决 The number of method references in a .dex file cannot exceed 64K
- The number of method references in xxx.dex file cannot exceed 64K问题
- Error:The number of method references in a .dex file cannot exceed 64K. 解决方案
- The number of method references in a .dex file cannot exceed 64K.
- Error:The number of method references in a .dex file cannot exceed 64K.
- The number of method references in a .dex file cannot exceed 64K.
- Error:The number of method references in a .dex file cannot exceed 64K 问题解决
- iOS UIDocumentInteractionController 第三方打开详解
- Java开发微信公众号-接口测试帐号接口配置及Java源代码
- 用C语言写的一个小的银行管理程序
- 阿里2016实习offer五面经验与总结
- 【反省】还在犹豫什么?
- The imported target "Qt5::Core" references the file
- 第5周-项目1-三角形类锥形(1)
- 基于Java的IO流
- B
- 第五周项目1三角形类雏形
- 一文教你看懂POS单上的商户编号
- 实现 linux 终端上不同字体颜色显示
- SVN Access to ‘/xxx/’ forbidden,不能更新提交的解决办法
- 机房重构——Datatable与泛型