<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hey,<br>My app did not want to read the some cached content it was supposed to have written in <tt>QStandardPaths::CacheLocation</tt>.<br>To understand why, I tried to run it from the terminal, and... everything is working fine.<br>Since we don't have logs when we run the app directly from Launcher, I updated it to display some logs directly in the UI and I figured out that, when the app is run from the Launcher on the actual device (it's ok on the emulator), QStandardPaths does not work correctly:<br><br><tt>QStandardPaths::CacheLocation </tt>returns /home/nemo/.cache/mdeclarativecache_pre_initialized_qapplication-XXXXX<br><br>XXXXX is a random number, so each time I run my app, it creates a new one.<br>When run from terminal, <tt>QStandardPaths::CacheLocation </tt>correctly returns /home/nemo/.cache/<br><br>I tried with <tt>QStandardPaths::DataLocation </tt>but it's the same, I get /home/nemo/.local/share/AppName/mdeclarativecache_pre_initialized_qapplication-XXXXX<br><br>So for the moment, I temporarily hardcoded /home/nemo/.cache/<br><br>Thanks!<br>Sylvain.<br>                                      </div></body>
</html>