Bug 363348 - Include KDEInstallDirs in ECMGeneratePriFile ?
Summary: Include KDEInstallDirs in ECMGeneratePriFile ?
Status: RESOLVED FIXED
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.22.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Merry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-20 22:04 UTC by Antonio Rojas
Modified: 2016-07-18 20:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2016-05-20 22:04:09 UTC
From commit a2d184bb it is not necessary to pass -DKDE_INSTALL_USE_QT_SYS_PATHS=ON explicitely if the install prefix coincides with the Qt one, since it is set automatically in KDEInstallDirs. 
 This variable is used in ECMGeneratePriFile to determine the mkspecs path. If a project includes ECMGeneratePriFile before KDEInstallDirs (eg. like kdepim-apps-libs or kmailtransport do) then the variable will still not be set when importing ECMGeneratePriFile and the pri files will be installed in the wrong path.
 Not sure if this should be fixed in ECM (by including KDEInstallDirs in ECMGeneratePriFile) or in the projects by making sure that KDEInstallDirs is included befora ECMGeneratePriFile.

Reproducible: Always