Fix QT_VERSION guard