On Friday 06 November 2015 11:26:44 René J.V. Bertin wrote:
> 
> What is going wrong here, and why? 

What's going wrong is that your KF5 install prefix isn't known to Qt, evidently.
We solve this on Linux by
- setting the environment variable QT_PLUGIN_PATH, in the developer case
  (KF5 install prefix != Qt)
- using the same dir under /usr in distro packages.

> Should I be setting -DPLUGIN_INSTALL_DIR=${QT_PLUGIN_INSTALL_DIR}?

Yes, if you're making something more like a distro install than a developer 
install.

In a developer install, everything must be under the install prefix. This 
allows to
have multiple versions side by side, and it also avoids KF5 trying to install 
as a non-root user into a Qt directory owned by root.

In a distro install you can tune install dirs indeed.

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

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to