Changes between Version 26 and Version 27 of PySideForAndroid


Ignore:
Timestamp:
Feb 17, 2013, 10:19:26 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PySideForAndroid

    v26 v27  
    284284}}}
    285285
     286You can also run this combined script from the project directory, which does all the operations described above:
     287{{{
     288NEW_NAME="BarApp"
     289NEW_UNIQUE_NAME="foo.foomatic.${NEW_NAME}"
     290
     291mv PySideExample.pro "${NEW_NAME}.pro"
     292sed -i "s/PySideExample/${NEW_NAME}/g" "${NEW_NAME}.pro"
     293sed -i "s/org.modrana.PySideExample/${NEW_UNIQUE_NAME}/g" main.h
     294sed -i "s/org.modrana.PySideExample/${NEW_UNIQUE_NAME}/g" android/src/org/kde/necessitas/origo/QtActivity.java
     295sed -i "s/org.modrana.PySideExample/${NEW_UNIQUE_NAME}/g" android/AndroidManifest.xml
     296sed -i "s/PySideExample/${NEW_NAME}/g" android/AndroidManifest.xml
     297sed -i "s/PySideExample/${NEW_NAME}/g" android/res/values/strings.xml
     298sed -i "s/PySideExample/${NEW_NAME}/g" android/build.xml
     299}}}
     300Just change {{{NEW_NAME}}} and {{{NEW_UNIQUE_NAME}}} to values matching you application and you are set. :)
     301
    286302'''NOTE:''' Some of these names can be changed from the Necessitas Qt Creator GUI or of course also by using an editor.
    287303