[CMake] QT_QTDECLARATIVE_FOUND issue on N9(50)

Laszlo Papp lpapp at kde.org
Thu Jul 7 13:19:54 EDT 2011


Hi again :)

> Hmm... OK.  I'm not able to reproduce this problem.
> Do you know if the other *_FOUND variables are set?

Yes, check this line out:
https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/player/CMakeLists.txt#L19

The macro in question can be found below.

> Is it also a problem if you run cmake on a CMakeLists.txt file with just the
> following:
>
> find_package(Qt4)
> if(QT_QTDECLARATIVE_FOUND)
>  message("found it")
> endif()

Mmm, it is getting really weird because I get the "found it" message this way.

Best Regards,
Laszlo Papp


More information about the CMake mailing list