Set QT_VERSION_* variables sooner so they can be set before Qt4ConfigDependentSettings.cmake uses them.