Search for QtDeclarative in a dedicated find_package() call
Qt5Declarative was removed in Qt 5.6.0 so search for it in a separate
call. Including it in a collected find_package(Qt5 ...) call can lead to
a fatal error that the "required Qt5 package has not been found" (Qt 5.7
on Mac).