close
Warning:
AdminModule failed with TracError: Unable to instantiate component <class 'trac.ticket.admin.ComponentAdminPanel'> (super(type, obj): obj must be an instance or subtype of type)
- Timestamp:
-
Nov 6, 2014, 1:38:17 AM (11 years ago)
- Author:
-
Martin Kolman
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v18
|
v19
|
|
| 256 | 256 | It 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. |
| 257 | 257 | |
| 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. |
| | 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, 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. |
| 259 | 259 | |
| 260 | 260 | Now 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. |