Changes between Version 4 and Version 5 of THPEuroPython2012TalkNotes
- Timestamp:
- Jan 10, 2013, 2:16:11 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
THPEuroPython2012TalkNotes
v4 v5 20 20 ''MartiK: As !PySide currently (January 2013) doesn't support Qt 5 at all but !PyQt does, using !PyQt might be needed for using Qt 5 on Android devices.'' 21 21 22 First build Python4Android for you host system - it is used for compiling PySide (you have to cross-compilePySide for Android).22 First build Python4Android for you host system - it is used for compiling !PySide (you have to cross-compile !PySide for Android). 23 23 24 Then there is a small C++ project called [https://github.com/thp/pyside-launcher-android PySide Launcher] - it invokes the Python interpreter from a C++ application. Using it you can use the Necessitas IDE and deploy directly to the device.24 Then there is a small C++ project called [https://github.com/thp/pyside-launcher-android !PySide Launcher] - it invokes the Python interpreter from a C++ application. Using it you can use the Necessitas IDE and deploy directly to the device. 25 25 26 The PySide launcher initializes the interpreter, passes it the command-line arguments and runs the main.py file from a folder on the Android ''sdcard'' folder.26 The !PySide launcher initializes the interpreter, passes it the command-line arguments and runs the main.py file from a folder on the Android ''sdcard'' folder. 27 27 28 The result looks from outside like a C++ application, but what it really does is that it calls the Python interpreter, the Python interpreter then calls PySide andPySide calls the Qt APIs so you can have a Qt application.28 The result looks from outside like a C++ application, but what it really does is that it calls the Python interpreter, the Python interpreter then calls !PySide and !PySide calls the Qt APIs so you can have a Qt application. 29 29 30 30 === Necessitas SDK ===