We have moved to a new Sailfish OS Forum. Please start new discussions there.

Bug: QStandardPaths::ConfigLocation is inconsistent with the other standard locations

asked 2014-03-25 22:35:11 +0300

Artem gravatar image

updated 2014-03-25 22:58:25 +0300

Other locations include binary-name. For example, QStandardPaths::CacheLocation is /home/nemo/.cache/harbour-log4qtdemo Config location, however, points to just /home/nemo/.config

If it is indeed a bug (possibly I just misunderstand *nix standards) and you are going to fix it, please, please, announce the fix before shipping it as the change can break the currently used configs.

Actually it's even more funny then that:

  • on emulator cache location reported is /home/nemo/.cache/harbour-log4qtdemo
  • on real device ( it is "/home/nemo/.cache/harbour-log4qtdemo/harbour-log4qtdemo
edit retag flag offensive close delete



For your last point, this is normal, because that has been changed in while the emulator is still in

The cache path has always been "/home/nemo/.cache/organizationName/applicationName". But before, if the organizationName was not set, it was skipped. Now, by default, organizationName = applicationName.

Sthocs ( 2014-03-26 00:30:42 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-03-26 11:14:19 +0300

thp gravatar image

As pointed out by Sthocs, this bug is due to the emulator having old packages. It will be fixed with one of the next SDK updates when the emulator and build VM get up-to-date packages.

As a workaround, you could try installing newer packages (in that particular case, it's a newer version of libsailfishapp) into the Emulator VM, but that's unsupported.

edit flag offensive delete publish link more


@thp that is about the last point only, right (from P.S.)? What about config location? Should it really be just /home/nemo/.config while all other locations include organization and app name?

Artem ( 2014-03-26 11:18:58 +0300 )edit
Login/Signup to Answer

Question tools

1 follower


Asked: 2014-03-25 22:35:11 +0300

Seen: 239 times

Last updated: Mar 26 '14