Using Qt creator (SailfishOS SDK), I would like that my myapp.pro
make a directory in the /home/nemo/.local/share
to store user's data on installation with files like /home/nemo/.local/share/myapp/data.extension
.
I tried:
newdirectory.extra = mkdir /home/nemo/.local/share/myapp
INSTALLS += newdirectory
but I got this at compile time:
mkdir: cannot create directory '/home/nemo/.local/share/myapp': Permission denied
Does anyone knows the Qt way for that?
Thank you