[CMake] Using Qt5 with cmake

Stephen Kelly steveire at gmail.com
Fri Jan 18 10:36:10 EST 2013


Bogdan Cristea 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.
> 

Hi,

I'm afraid the post is a little but outdated. 

Qt5Declarative was renamed to QtQuick1 before the Qt 5 release, so try to 
find that instead. 

I'll see about updating the blog post.

Thanks,

Steve.




More information about the CMake mailing list