diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index c60a56f84203b..462de4e0b1ad0 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -118,6 +118,9 @@ qt6-build_src_unpack() { # QT6_PREFIX, QT6_LIBDIR, and others), and handle anything else # generic as needed. qt6-build_src_prepare() { + # Qt has quite a lot of unused (false positive) CMakeLists.txt + local CMAKE_QA_COMPAT_SKIP=1 + cmake_src_prepare if [[ -e CMakeLists.txt ]]; then @@ -178,9 +181,6 @@ qt6-build_src_configure() { local mycmakeargs=("${defaultcmakeargs[@]}") fi - # Qt has quite a lot of unused (false positive) CMakeLists.txt - local CMAKE_QA_COMPAT_SKIP=1 - cmake_src_configure }