OSX/MacPorts KDE CI System: Asking for trouble due to installations outside the expected $DATA_INSTALL_DIR/kf5 directory for khtml and katepart5

Marko Käning mk-lists at email.de
Mon Jul 7 21:34:17 UTC 2014


On 07 Jul 2014, at 23:29 , David Faure <faure at kde.org> wrote:
> Urgh, don't confuse cmake and C++ code.
oh, you’re right!!!
:-/

> 1) Files get installed by cmake.
> 2) Files are looked up at runtime by C++ code using QStandardPaths.
Yep.

> You can patch 2) all you want, it won't have any effect on 1).
Absolutely clear.

> If you want to adjust where cmake installs stuff, read
> extra-cmake-modules/kde-modules/KDEInstallDirs.cmake
Yep, I know.

> I guess you need to set CMAKE_INSTALL_KXMLGUI5DIR on Mac.
I thought that this variable is somehow pre-initialised by CMAKE_INSTALL_DATADIR…

> But look at whether your scripts already set some CMAKE_INSTALL_ variables, 
> surely this can't be the first one, for you to end up with stuff in /Library/.
Oh no, it is surely not.

> You can use `qtpaths` for that, but again, that's about testing 
> QStandardPaths, not cmake.
OK, thanks for the hint.

Will reiterate this.

Thanks so far!
:)


More information about the Kde-frameworks-devel mailing list