Bug 339539 - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON breaks kauth
Summary: -DKDE_INSTALL_USE_QT_SYS_PATHS=ON breaks kauth
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kauth
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 19:20 UTC by Antonio Rojas
Modified: 2014-10-15 23:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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