Suggestion to ntroduce an application for testing config paths and access to files installed by cmake or created at runtime

Cristian Oneț onet.cristian at
Fri Aug 22 07:37:04 UTC 2014


I would like to add that the Windows platform has similar issues
QStandardPaths does not match with the paths were cmake installs these
files. As a temporary workaround we use this dirty hack [1] (patch Qt)
to add the paths where cmake installs stuff to QStandardPaths. We also
need to setup the QT_PLUGIN_PATH environment variable which we would
need to avoid when deploying applications because, unlike Linux on
Windows there is nobody to do it (no KDE session that launches the
rest of the applications).

Since the two platforms are in kind of the same situation I would like
to see a similar solution to these problems.



2014-08-22 10:21 GMT+03:00 Marko Käning <mk-lists at>:
> Hi devs,
> in the light of RR 119895 [1] I wanted to ask whether you guys could perhaps
> come up with a dedicated little test application which should be able to verify
> all possible file accesses to configs, plugins, read-only and writable data.
> For the manipulation of QStandardPaths on OSX it would be nice to have such a
> tool to verify that
>  1) files installed by cmake indeed land where the application expects them
>     at runtime
>  2) and that files created at runtime go to where they should go according
>     to the various cmake config variables.
>  3) all these files can be located and created in a real KF5 installation as
>     well as on a CI system which makes use of isolated install directories
>     for each individual framework/application
> This would be a runtime test for files installed to locations like
>  - etc. (don’t know which other ones might be needed, probably a few more!)
> What do you think about a small test application for this general purpose?
> Or, can I have that functionality from existing tests of specific frameworks
> already now?
> Greets,
> Marko
> [1]
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at

More information about the Kde-frameworks-devel mailing list