Merge #10549: Avoid printing generic and duplicated "checking for QT" during ./configure