kossebau added inline comments.

INLINE COMMENTS

> shumski wrote in CMakeLists.txt:82
> I wonder about the reasoning behind the existence of this export, and 
> installation of it...

Imagine another project with a lib MyLib linking against KJobWidgets (in the 
public interface). For MyLib also a QCH file should be created. To create 
proper links from the QCH file for MyLib into the QCH file of KJobWidgets (via 
qthelp:// urls), doxygen/the qt tools need to have access to some information. 
This information is bound to the KF5JobWidgets_QCH target (see 
https://phabricator.kde.org/D2854).
By exporting the target here and including it into KF5JobWidgetsConfig.cmake, 
this information then is automatically available to the ecm_add_qch call with 
MyLib and passing just the target name in the LINK_QCH argument.

REVISION DETAIL
  https://phabricator.kde.org/D3439

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kossebau, #frameworks, ochurlaud
Cc: shumski

Reply via email to