Hi, 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. Regards, Cristian [1] https://projects.kde.org/projects/kdesupport/emerge/repository/entry/portage/libs/qt5/qtbase/qtbase-20130714.patch?rev=master 2014-08-22 10:21 GMT+03:00 Marko Käning <mk-li...@email.de>: > 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 > > - CMAKE_INSTALL_BUNDLEDIR > - DATA_INSTALL_DIR > - KF5_LIBEXEC_INSTALL_DIR > - CMAKE_INSTALL_KXMLGUI5DIR > - 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] http://mail.kde.org/pipermail/kde-frameworks-devel/2014-August/018481.html > _______________________________________________ > Kde-frameworks-devel mailing list > Kde-frameworks-devel@kde.org > https://mail.kde.org/mailman/listinfo/kde-frameworks-devel _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel