1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-02-05 08:08:23 +08:00
Thomas Perl 3836fdbc3d Cleaner variant: QVariant <-> PyObject * conversion
This new approach uses conversion of Python objects to
Qt objects and vice versa, and introduces some new API
such as "call(func, args)" and "addImportPath(path)".
2013-05-17 12:51:24 +02:00

23 lines
588 B
Plaintext

Data type conversion:
- Python tuple to Qt list
Would be nice:
- Obtaining references to Python objects from QML (if only by key)
- Upcalls from Python to QML (or signals / events / ...)
Other stuff:
- Load libpython at runtime, don't link against it
- Statically link libpython, no need for shared library
- Embed python scripts into qt resources, load from there
- PyOtherSide services could be provided by some "dummy" module, e.g.:
import pyotherside
data = pyotherside.read_from_qtresource(':/data.txt')
blubb = pyotherside.import_module(':/blubb.py')