spygg / blogcomment

博客评论
1 stars 0 forks source link

Qt调用Python并打包发布 | 间客六十 #32

Open spygg opened 4 years ago

spygg commented 4 years ago

https://liusblog.top/2020/03/01/Qt%E8%B0%83%E7%94%A8Python%E5%B9%B6%E6%89%93%E5%8C%85%E5%8F%91%E5%B8%83/index.html

工作中突然遇到 Qt 调用 Python 脚本的情况,研究下并记录填坑记录

必备步骤 引入头文件和库 在代码中引入 python.h 初始化代码,并调用 PyRun_SimpleString...