Default to QT_MAJOR_VERSION as 6 now that frameworks needs Qt6
Otherwise frameworks fail to configure with "Could not find a package configuration file provided by "Qt5" (requested version 6.4.0)
Otherwise frameworks fail to configure with "Could not find a package configuration file provided by "Qt5" (requested version 6.4.0)