By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix

Review Request #127169 - Created Feb. 24, 2016 and submitted

Aleix Pol Gonzalez
extracmakemodules, kdeframeworks

Make Qt and ECM-based projects use the same directory sctructure (i.e. where plugins are, libs, etc.) by default. Otherwise it creates a tiny mess that might be controlled but usually won't.

In the end, otherwise, people need to keep adapting their systems with environment variables anyway. All distros end up setting always this setting as ON, as well as brave developers who don't have separate prefixes for Qt and KDE.

Aleix Pol Gonzalez
Stephen Kelly
Albert Vaca Cintora
Nicolás Alvarez
David Faure
Aleix Pol Gonzalez
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit a2d184bb89eaee3dc5e5b12ff6dfd4297bfcd5fb by Aleix Pol to branch master.
Hrvoje Senjan

kde-modules/KDEInstallDirs.cmake (Diff revision 1)

FWIW, this defacto makes Qt5Core required for anyone that doesn't explicitly disables KDE_INSTALL_USE_QT_SYS_PATHS.

E.g. labplot uses ECM and Qt4.