Changes between Version 3 and Version 4 of PySideForAndroid
- Timestamp:
- Feb 11, 2013, 12:31:04 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PySideForAndroid
v3 v4 3 3 [[PageOutline]] 4 4 5 This article describes:5 This guide describes: 6 6 * how to build Shiboken & !PySide for Android using the Necessitas SDK 7 7 * how to use the resulting libraries 8 8 * and how to bundle them with your Python program in a standalone APK 9 9 '''NOTE:''' If you just wan't to run you Python & !PySide programs on Android, you can skip the ''Building !PySide'' section. 10 11 ''' Do you see something incorrect or missing from the guide ? [http://modrana.org/trac#Contactthedeveloper Let me know], so I can fix it ! :)''' 10 12 11 13 == Building !PySide == … … 40 42 41 43 === Build === 44 To start the build, just run the main build script, called ''build.sh'': 45 {{{ 46 ./build.sh 47 }}} 48 It first builds Shiboken, followed by !PySide. The script is fully automatic, but waits for the user to ''press any key'': 49 * after Shiboken is configured for build 50 * after Pyside is configured for build 51 Like this you can easily check for any errors during configuration. 52 53 Also note, that when running the script, it clears any previous build results before building. 54 55 You can also run the ''build_shiboken.sh'' and ''build_pyside.sh'' scripts manually, just always make sure to run the Shiboken one before running the !PySide one. 42 56 43 57 === Results === 44 58 The resulting !PySide libraries compiled for Android are located in the ''stage/lib'' folder. 45 59 46 60 == Acknowledgement ==