Advanced Qt version checking