← Back to team overview

ubuntu-phone team mailing list archive

Re: Ubuntu Filemanager and homePath()

 

On 05/14/2013 10:16 PM, Daniel Holm wrote:
> Hi all,
>
> I'm trying to figure out how to get the home dir of the user with QML,
> and I can see that Ubuntu filemanager, the core app, has a variable
> that it uses to get the home dir: homePath()
>
> I can't find anything else about it, and I can't use it in Music.
>
> Could someone please help me? This is a big show stopper for packaging.
>

Time to use some C++ ;)
My (strong) advice anyway would be to use QML for the UI _only_ and
Qt/C++ for the model (engine, core, logic whatever you name it).
Using different languages will even help you to keep these separate.

Cheers


Follow ups

References