Hi Roman, About the cacheLocaltion check this doc[1] in the section "Runtime Environment" check if you are setting the correct value for your application name. Something like:
QML: // Note! applicationName must match the click manifest applicationName: "com.ubuntu.developer.you.yourapp" [1]https://developer.ubuntu.com/en/start/platform/guides/app-confinement/ On Mon, Apr 27, 2015 at 4:25 PM, Roman Shchekin <mrqt...@gmail.com> wrote: > Hi all > > Can someone tell my why I can't use Qt's "QDesktopServices::CacheLocation" > for my own purposes in Ubuntu Phone? > > I am an author of cloud storage service client (called YaD), and I want to > download previews of my files to "/home/phablet/.cache/<app_name>/". But I > can't. The same code works great on desktop, but on my device I am getting > "IO device error". Where I should store my temporary files? And why that > call "QStandardPaths::writableLocation(QStandardPaths::CacheLocation)" > returns wrong location? > > Next question - when I use SingleDownload I can't see system-wide progress > anymore. I have no any information about newly downloaded file - no url, no > path and so on. How can I open it? Where and how must I find it? > > I am very disappointed by these problems. > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-phone@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp > -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp