Review Request 114579: Don't Build QtHelp Plugin when QtHelp is not Installed
David Narváez
david.narvaez at computer.org
Sat Dec 21 01:48:05 UTC 2013
> On Dec. 21, 2013, 12:02 a.m., Kevin Funk wrote:
> > CMakeLists.txt, line 36
> > <http://git.reviewboard.kde.org/r/114579/diff/1/?file=226752#file226752line36>
> >
> > You don't need another call to find_package for Qt4 in order have QT_QTHELP_FOUND set. In fact, OPTIONAL_COMPONENTS is not even a valid parameter anyway, afaics.
I just tried removing the call to find_package(Qt4...) and now QtHelp was not found. I then purged and tried again and QtHep was not found. My CMake version is 2.8.12.1 and OPTIONAL_COMPONENTS seems to be there since CMake 2.8.8-rc1.
- David
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114579/#review45972
-----------------------------------------------------------
On Dec. 20, 2013, 10:51 p.m., David Narváez wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114579/
> -----------------------------------------------------------
>
> (Updated Dec. 20, 2013, 10:51 p.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevelop
>
>
> Description
> -------
>
> Find out if QtHelp is installed and decide whether to build the qthelp plugin or not. Also log the feature.
>
>
> Diffs
> -----
>
> CMakeLists.txt cd5feec
> documentation/CMakeLists.txt 5227063
>
> Diff: http://git.reviewboard.kde.org/r/114579/diff/
>
>
> Testing
> -------
>
> 1. Tried building without QtHelp
> 1.1 Before this patch, build failed in qthelp directory
> 1.2 After this patch, build does not fail, qthelp plugin is not built
> 2. Tried building with QtHelp, builds OK
>
>
> Thanks,
>
> David Narváez
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20131221/a433bb02/attachment.html>
More information about the KDevelop-devel
mailing list