[KDE/Mac] Fwd: Qtbase patch for configurable standard paths

David Faure faure at kde.org
Sat Jan 23 10:02:39 UTC 2016


On Tuesday 19 January 2016 21:40:14 René J.V. Bertin wrote:
> Hi,
> 
> I'm attaching a version of my patch that introduces some of my latest ideas, in particular standardLocations() and writableLocation() overrides that take a per-call mode argument (as well as the locate() and locateAll() functions). I think I introduced those without breaking ABI compatibility and in a way that should be thread-safe as long as the mode-switching method isn't called concurrently.

... which means it's not threadsafe ;-)

> The patch is undoubtedly more complex than it could be ... and I don't really know what to thing of the intricate parent/child relationship between QStandardPaths and QExtStandardPaths =)

The split makes no sense, it should all be in QSP.

But a patch like this is going to be hard to get into Qt, because it keeps attempting to say "XDG paths can make sense on all platforms".

I now think that the qt.conf idea is a much easier way to tweak QSP.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the kde-mac mailing list