Review Request 119901: Fix ECM to use qmake instead of hardcoding plugin install dirs

David Faure faure at kde.org
Mon Aug 25 17:02:12 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119901/#review65234
-----------------------------------------------------------



kde-modules/KDEInstallDirs.cmake
<https://git.reviewboard.kde.org/r/119901/#comment45581>

    I'd name that ECM_INSTALL_PLUGINS_IN_QT_DIR to be clearer about what it's about.
    
    Is this line enough? I thought you had to use option() to make the option available on the cmake command-line, but maybe I'm missing something.



kde-modules/KDEInstallDirs.cmake
<https://git.reviewboard.kde.org/r/119901/#comment45582>

    this bit seems to be the same, with or without the option set. Why not extract it out of the if()?
    Same thing for QMLDIR.


- David Faure


On Aug. 25, 2014, 3:44 p.m., Rohan Garg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119901/
> -----------------------------------------------------------
> 
> (Updated Aug. 25, 2014, 3:44 p.m.)
> 
> 
> Review request for Build System and KDE Frameworks.
> 
> 
> Repository: extra-cmake-modules
> 
> 
> Description
> -------
> 
> Use qmake to query dirs for plugins and imports instead of hardcoding them in ECM.
> 
> 
> Diffs
> -----
> 
>   kde-modules/KDEInstallDirs.cmake 880539b 
> 
> Diff: https://git.reviewboard.kde.org/r/119901/diff/
> 
> 
> Testing
> -------
> 
> Seems to work on my system.
> 
> 
> Thanks,
> 
> Rohan Garg
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140825/e8aac694/attachment.html>


More information about the Kde-frameworks-devel mailing list