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.
我正在尝试构建一个 QtPlugin 架构,但我什至无法使用最简单的插件启动。我使用示例创建了这个插件并阅读了所有网站,但无论如何我都无法加载我的插件。
打电话后instance()我得到一个 0并且errorString()说could not find shared library.
instance()
0
errorString()
could not find shared library.
该错误通常意味着您向加载程序传递了不正确的路径。