Hi Adam,
2012/10/23 Adam Pigg <
pig...@gmail.com>:
> Hi
>
> Thanks for the FAQ
>
> if you'd lke, i can add a link to my sound playing classes that use OpneSLES
> for Qt/QML?
>
Sure, please create a new wiki page and link it !
>
> could you also add an entry on using QDir with the assets:/ filesystem, i
> still cant get the contents of a directory to be read from C++, eg:
>
> QDir base("assets:/qml/game/levels/")
> Which contains a subdirectly, but base.entryInfoList() is empty and
> base.count() is 0.
>
Sadly, it is a problem with android assets implementation, there is no
way to list the folders.
I sent a patch to Google long time ago to fix this problem, but sadly
it was not accepted.
We ca fix this problem by using some non-public Android API, but ...
it may be a problem
because Google breaks the API/ABI compatibility with every new
release, so Qt libs will
not work on new android releases without recompilation.
>
> Thanks for making Qt on android possible :)
>
BogDan.