Changes between Version 4 and Version 5 of THPEuroPython2012TalkNotes


Ignore:
Timestamp:
Jan 10, 2013, 2:16:11 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • THPEuroPython2012TalkNotes

    v4 v5  
    2020''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.''
    2121
    22 First build Python4Android for you host system - it is used for compiling PySide (you have to cross-compile PySide for Android).
     22First build Python4Android for you host system - it is used for compiling !PySide (you have to cross-compile !PySide for Android).
    2323
    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.
     24Then 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.
    2525
    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.
     26The !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.
    2727
    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.
     28The 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.
    2929
    3030=== Necessitas SDK ===