<table><tr><td style="">pino created this revision.<br />pino added a reviewer: kossebau.<br />Herald added projects: Frameworks, Build System.<br />Herald added subscribers: kde-buildsystem, kde-frameworks-devel.<br />pino requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16938">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The Qt5Help CMake modules contain the Qt5::qhelpgenerator target, so<br />
look for that instead of Qt5Core.  Otherwise, the Qt5::qhelpgenerator<br />
is available only if Qt5Help was searched previously (which does not<br />
happen often).</p>

<p>Using the Qt5::qhelpgenerator is more reliable than the search for the<br />
qhelpgenerator executable based on the qmake path.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>build some framework with -DBUILD_QCH=ON, and notice that<br />
the right path of qhelpgenerator is found directly with the<br />
Qt5::qhelpgenerator target.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>BRANCH</strong><div><div>find-qhelpgenerator-target</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16938">https://phabricator.kde.org/D16938</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>find-modules/FindQHelpGenerator.cmake</div></div></div><br /><div><strong>To: </strong>pino, kossebau<br /><strong>Cc: </strong>kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns<br /></div>