Bug 339539

Summary: -DKDE_INSTALL_USE_QT_SYS_PATHS=ON breaks kauth
Product: [Frameworks and Libraries] frameworks-kauth Reporter: Antonio Rojas <arojas>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Antonio Rojas 2014-09-30 19:20:49 UTC
Compiling with the -DKDE_INSTALL_USE_QT_SYS_PATHS=ON flag produces a broken package that can't load the backend. Manually specifying -DQT_PLUGIN_INSTALL_DIR to a relative path works correctly.

Reproducible: Always
Comment 1 David Edmundson 2014-10-15 23:30:52 UTC
Git commit c07b883d938893791346f3ea8283c123fb722ac8 by David Edmundson.
Committed on 15/10/2014 at 20:46.
Pushed by davidedmundson into branch 'master'.

Use officially exported cmake paths

PLUGIN_INSTALL_DIR is not documented in the header of KDEInstallDirs

More importantly on builds that use KDE_INSTALL_USE_QT_SYS_PATHS this is
relative, whereas normally it's absolute.

By using the CMAKE_INSTALL_FULL path we avoid that problem as it goes
through the define_relatve define_absolute macros.

REVIEW: 120603

M  +2    -2    src/BackendsConfig.h.cmake

http://commits.kde.org/kauth/c07b883d938893791346f3ea8283c123fb722ac8