Changes between Version 18 and Version 19 of PySideForAndroid


Ignore:
Timestamp:
Feb 17, 2013, 6:40:57 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PySideForAndroid

    v18 v19  
    139139
    140140==== Modifying the project ====
     141When 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
     143But just in case I've also documented replacing all the other components.
    141144
    142145===== Renaming =====
     
    155158
    156159===== 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 the device.
    158 
    159 When replacing PySide, you need to replace the libshiboken and libpyside:
     160The !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
     162When replacing !PySide, you need to replace the libshiboken and libpyside:
    160163{{{
    161164lib/libshiboken.so
    162165lib/libpyside.so
    163166}}}
     167the rest of the libraries is in the {{{lib/python2.7/site-packages/PySide}}} folder.
    164168
    165169===== Replacing Qt Components =====
    166 
     170The 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
     176So 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.
    167177
    168178== Ideas for improvement ==