Changes between Version 18 and Version 19 of PyOtherSideForAndroid


Ignore:
Timestamp:
Nov 6, 2014, 1:38:17 AM (8 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyOtherSideForAndroid

    v18 v19  
    256256It is just a normal !QtQuick Controls Android project template modified to load the needed libraries from ''/data/poside'' and with all the needed environmental variables set.
    257257
    258 Now open the project in the !QtCreator provided by the Qt for Android SDK, configure device deployment and press the ''Run'' button and make sure your device with the deployed libs is selected. !QtCreator should do its thing and the application should successfully start on the device. Now look on the main.qml file in !QtCreator and note that while it has the {{{import io.thp.pyotherside 1.0}}} line, the {{{Python {} }}} line that actually instantiates the Python element provided by !PyOtherSide is commented out.
     258Now open the project in the !QtCreator provided by the Qt for Android SDK, configure device deployment and press the ''Run'' button and make sure your device with the deployed libs is selected. !QtCreator should do its thing and the application should successfully start on the device, presenting you a simple ''Hello world'' button in the middle of the screen. Now look on the main.qml file in !QtCreator and note that while it has the {{{import io.thp.pyotherside 1.0}}} line, the {{{Python {} }}} line that actually instantiates the Python element provided by !PyOtherSide is commented out.
    259259
    260260Now uncomment {{{Python {} }}} line and try to deploy the application again. This time the deployment fails and the applications crashes as soon as it is started.