Changes between Version 18 and Version 19 of PySideForAndroid
- Timestamp:
- Feb 17, 2013, 6:40:57 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PySideForAndroid
v18 v19 139 139 140 140 ==== Modifying the project ==== 141 When you want to use the example project as basis for your Python application for Android, you just need to rename it and replace the example application. 142 143 But just in case I've also documented replacing all the other components. 141 144 142 145 ===== Renaming ===== … … 155 158 156 159 ===== Replacing !PySide libraries ===== 157 The PySide libraries are located in {{android/res/raw/python_27.zip}}} archive in the ''lib'' folder. This folder is deployed to {{{/data/data/org.modrana.PySide.Example/python/lib}}} on thedevice.158 159 When replacing PySide, you need to replace the libshiboken and libpyside:160 The !PySide libraries are located in {{{android/res/raw/python_27.zip}}} archive inside the ''lib'' folder. This folder is deployed to {{{/data/data/org.modrana.PySide.Example/python/lib}}} on the Android device. 161 162 When replacing !PySide, you need to replace the libshiboken and libpyside: 160 163 {{{ 161 164 lib/libshiboken.so 162 165 lib/libpyside.so 163 166 }}} 167 the rest of the libraries is in the {{{lib/python2.7/site-packages/PySide}}} folder. 164 168 165 169 ===== Replacing Qt Components ===== 166 170 The Qt Components are packed in the {{{android/res/raw/python_27.zip}}} in the ''imports'' directory, the theme is in ''themes''. These to folders are deployed like this after installation: 171 {{{ 172 /data/org.modrana.PySide.Example/python/imports 173 /data/org.modrana.PySide.Example/python/themes 174 }}} 175 176 So to replace Qt Components and/or their theme, just replace the content of the ''imports'' and/or ''themes'' folders in the {{{python_27.zip}}} archives. 167 177 168 178 == Ideas for improvement ==