Re: Review of resource types/paths

2016-08-25 Thread Jaroslaw Staniek
Maybe on topic: I am all for Qt-ifying the path management and testing how every change works on Windows/Mac. I find using the QStandardPaths::AppDataLocation a good move, on Windows gives QCoreApplication::applicationDirPath() + "/data/". Among other things it makes it easier to prepare "relocable

Review of resource types/paths

2016-08-25 Thread Dag
I have worked on resource paths lately, and that prompts me to suggest a review how this is used in calligra. I have noticed the following: * generally apps do: KoResourcePaths::addResourceType("sheet-styles", "data", "calligrasheets/sheetstyles/") Qt can find the apps directory so a better w