Require ecm >= 5.240
Avoids having to specify -DQT_MAJOR_VERSION=6 to avoid the following error: "CMake Error at /usr/host/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2271 (message): qt_generate_foreign_qml_types() is only available in Qt 6."
Avoids having to specify -DQT_MAJOR_VERSION=6 to avoid the following error: "CMake Error at /usr/host/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2271 (message): qt_generate_foreign_qml_types() is only available in Qt 6."