【问题标题】:QT include pythonQT包括python
【发布时间】:2017-05-20 07:13:11
【问题描述】:

今天我使用了python示例1:https://github.com/dsavard/TI_BLE_C254x,我想在QT creator上做,我想在我的qt项目的c++代码中嵌入python,我该怎么办?

我如何包含python呢?

有好的参考吗?谢谢。

我执行Popen看到有用,但是不能完成它的动作。 随便摸QT,不熟悉。

【问题讨论】:

标签: python c++ qt qt-creator


【解决方案1】:

最终参考,不是特定于 QT 的,位于 https://docs.python.org/3.6/extending/embedding.html

您可能还需要阅读Python/C API Reference Manual

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多