qt5: hook for selectively inhibiting qt5 builds