← Back to team overview

ubuntu-phone team mailing list archive

My personal cache

 

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.

Follow ups