|
|
(16 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| ==Android assets==
| | Moved to http://community.kde.org/Necessitas/Assets |
| Android assets are read-only arbitrary files bundled in their raw form into your package.Necessitas project provides seamless integration with android assets, meaning that you can access any asset files as you access any ordinary files.
| |
| | |
| === Deploy assets ===
| |
| <syntaxhighlight lang="make">
| |
| # assuming we want to deploy qml/foo/main.qml file
| |
| delployment.files=qml/foo/main.qml
| |
| android { #define an android block
| |
| delployment.path=/assets
| |
| } else : symbian {
| |
| delployment.path=/opt/$${TARGET}
| |
| }
| |
| INSTALLS += delployment
| |
| </syntaxhighlight>
| |
| | |
| === Access assets ===
| |
Latest revision as of 13:29, 7 September 2012