Allow to build Qt5 without declarative dependency