On 30.12.2013 23:35, Israel wrote:
I want it to access the XML file from a relative ~/.config/
so far it seems I can only hard code the location..

Check out QStandardPaths:
http://qt-project.org/doc/qt-5.0/qtcore/qstandardpaths.html

QStandardPaths::writableLocation with QStandardPaths::ConfigLocation should give you the interesting path.

Otherwise QDir::homePath() could be used, too.

So yeah, you need some slim C++ for that.
--
Michał (Saviq) Sawicz <michal.saw...@canonical.com>
Canonical Services Ltd.

--
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

Reply via email to