mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-27 11:12:19 -09:00
The qmake infrastructure hardcodes qt5base as the Qt provider. Select the Qt major version from BR2_PACKAGE_QT5, which is mutually exclusive with BR2_PACKAGE_QT6, and use it to pick the qt<N>base dependency, the QT<N>_QMAKE command and the QT<N>_QT_CONF_FIXUP hook. The header sync hook now takes the version from QT<N>_VERSION_MAJOR and QT<N>_VERSION instead of hardcoding 5.15. Document in the manual which Qt base package is added to the dependencies. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> [Arnout: write pkg-qmake with explicitly QT_XXX helper variables] Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>