Pyside2,在示例绑定示例中DLL加载失败

问题描述 投票:0回答:1

[试图使samplebinding example正常工作,但是无论使用的是编译器,python还是pyside版本,我仍然可以得到

导入错误:导入Universe时DLL加载失败:找不到指定的模块。

最后使用的配置:

  • VS2019
  • cmake 3.16.2
  • 来自python.org的python 3.81 amd64
  • pipside2,shiboken2 5.14.1来自点子
  • here中的shiboken发电机,版本5.14.1

图书馆正在编译中:

“

python qt5 pyside2 shiboken2
1个回答
0
投票

Python 3.8 changed the dll path resolution.

还将shiboken2.abi3.dll也添加到文件夹中解决了该问题。

© www.soinside.com 2019 - 2024. All rights reserved.