Issue #1: Adapt qt check to take into account older distros where there is no QT5