[CMake] Using Qt5 with cmake

Laszlo Papp lpapp at kde.org
Fri Jan 18 10:31:34 EST 2013


There is also this: http://qt-project.org/doc/qt-5.0/qtdoc/cmake-manual.html

Either way, check if your Qt installation ships the cmake files. Qt5 has
builtin support for third-party projects from cmake point of view.

On Fri, Jan 18, 2013 at 3:29 PM, Bogdan Cristea <cristeab at gmail.com> wrote:

> Le vendredi 18 janvier 2013 à 15:22 +0000, Laszlo Papp a écrit :
> > What is wrong about Stephen's post? It has been working for me in
> > several projects.
>
> A line like this
>
> find_package(Qt5Declarative)
>
> generates a warning about missing FindQt5Declarative.cmake which is not
> provided by Qt5 nor cmake. Maybe I am missing something, but I am not
> able to use Qt5 with cmake following that post.
>
> Bogdan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130118/c1f13ad4/attachment.htm>


More information about the CMake mailing list