错误,同时建立Qt Creator的插件
问题描述:
我试图通过以下https://doc-snapshots.qt.io/qtcreator-extending/first-plugin.html创建Qt Creator的插件,但我失败了链接错误打造错误,同时建立Qt Creator的插件
ld: library not found for -lCore_debug
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [../qt5/build_creator/bin/Qt Creator.app/Contents/PlugIns/libMyPlugin_debug.dylib] Error 1
21:58:13: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project myplugin (kit: Qt 5.5.0 (clang_64))
When executing step "Make"
请人让我知道我错了。
感谢,
答
我解决它通过删除{我的插件项目} /qtcreatorplugin/qtcreator.pri
_debug关键字,我认为这是一个错误,因为我们不需要* _debug库调试自己的插件。但我不确定我的解决方案不会发生任何其他问题。
无论如何,我能够构建并在调试模式下运行。