Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们在 QML 项目中使用 C++ 类(头文件和源代码)作为插件(使用 QtCreator 作为我们的 IDE)。
我们不断收到此错误:
erreur : undefined reference to `_imp___ZN16QDeclarativeItemC2ERKS_'
我们如何解决这个问题?
您需要链接 Qt 的声明性库。有关详细信息,请参阅文档。