Changes between Version 2 and Version 3 of PySideForAndroid


Ignore:
Timestamp:
Feb 11, 2013, 12:19:00 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PySideForAndroid

    v2 v3  
    11= !PySide for Android =
     2
     3[[PageOutline]]
     4
    25This article describes:
    36* how to build Shiboken & !PySide for Android using the Necessitas SDK
    47* how to use the resulting libraries
    58* and how to bundle them with your Python program in a standalone APK
     9'''NOTE:''' If you just wan't to run you Python & !PySide programs on Android, you can skip the ''Building !PySide'' section.
     10
     11== Building !PySide ==
     12=== Preparation ===
     13First install the prerequisites:
     14* Necessitas SDK
     15(make sure you have the Android SDK platform 14 installed in it)
     16* system-wide installed Shiboken
     17* system-wide installed Python 2.7
     18* Python 2.7 compiled for Android
     19* cmake
     20* git
     21This command should probably fetch most of the prerequisites on Ubuntu:
     22{{{
     23sudo apt-get install build-essential cmake git python2.7-minimal shiboken
     24}}}
     25If you find some are is missing or if you wan't to provide similar command for other distributions, let me know ! :)
     26
     27Then clone the ''Android-pyside-build-scripts'' project and ''cd'' to it's directory:
     28{{{
     29git clone git@github.com:M4rtinK/android-pyside-build-scripts.git
     30cd android-pyside-build-scripts
     31}}}
     32
     33Now run the ''prepare.sh'' script:
     34{{{
     35./prepare.sh
     36}}}
     37It clones Android-modified Shiboken & !PySide and creates some folders needed for the build.
     38
     39And that's it, you are ready to start the build. :)
     40
     41=== Build ===
     42
     43=== Results ===
     44
    645
    746== Acknowledgement ==