Allow to build Qt5 without Declarative dependency
[cutefox] Merge remote-tracking branch 'tmeshkova/master'