contrib: qt: configure Qt with CMake
We already do it for native tools. The legacy option in the configure script are actually translated to CMake syntax using this mapping: https://github.com/qt/qtbase/blob/6.7.1/cmake/configure-cmake-mapping.md
Then we can factorize the common options between native tools and cross compilation.