Fix kxmlgui tests

David Faure faure at kde.org
Thu Dec 19 16:18:16 UTC 2013


On Thursday 19 December 2013 12:24:43 Alex Merry wrote:
> Same deal as with the kiconloader test.
> 
> I started down the route David suggested of having the icon theme in the
> test dir and not copying it, but I couldn't come up with a
> cross-platform way of convincing KIconLoader to look at it (passing the
> path to KIconLoader::global()->reconfigure() is not sufficient, and
> setting XDG_DATA_DIRS is not cross-platform).  So I ended up copying
> files around anyway.

Ah I see, this way you can just use QStandardPaths without having to force it 
to point somewhere (which is indeed not available). Excellent point.
Ship It ! And thanks.

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



More information about the Kde-frameworks-devel mailing list