diff --git a/local/recipes/qt/qt6-sensors/recipe.toml b/local/recipes/qt/qt6-sensors/recipe.toml index fae6e41556..3dc43e9939 100644 --- a/local/recipes/qt/qt6-sensors/recipe.toml +++ b/local/recipes/qt/qt6-sensors/recipe.toml @@ -33,6 +33,7 @@ cmake "${COOKBOOK_SOURCE}" \ -DBUILD_EXAMPLES=OFF \ -DFEATURE_sensorfw=OFF \ -DQT_GENERATE_SBOM=OFF \ + -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \ -Wno-dev cmake --build . -j${COOKBOOK_MAKE_JOBS} diff --git a/local/recipes/qt/qtdeclarative/recipe.toml b/local/recipes/qt/qtdeclarative/recipe.toml index 7befd883b7..ce6387e48a 100644 --- a/local/recipes/qt/qtdeclarative/recipe.toml +++ b/local/recipes/qt/qtdeclarative/recipe.toml @@ -51,6 +51,7 @@ if [ ! -d "${HOST_BUILD}/lib/cmake/Qt6Svg" ]; then -DQT_BUILD_EXAMPLES=OFF \ -DQT_BUILD_TESTS=OFF \ -DQT_GENERATE_SBOM=OFF \ + -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \ -Wno-dev cmake --build "${HOST_QTSVG_BUILD}" -j"${COOKBOOK_MAKE_JOBS}" cmake --install "${HOST_QTSVG_BUILD}" --prefix "${HOST_BUILD}" @@ -86,6 +87,7 @@ if [ ! -f "${HOST_BUILD}/bin/qmlcachegen" ] || [ ! -f "${HOST_BUILD}/bin/qmlaots -DQT_BUILD_EXAMPLES=OFF \ -DQT_BUILD_TESTS=OFF \ -DQT_GENERATE_SBOM=OFF \ + -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \ -Wno-dev cmake --build "${DECL_HOST}" --target qmllint qmlimportscanner qmltyperegistrar qmlaotstats svgtoqml -j"${COOKBOOK_MAKE_JOBS}" || true # Generate jsroot.qmltypes needed by qmlcachegen using the host-built qmltyperegistrar. @@ -232,6 +234,7 @@ cmake "${COOKBOOK_SOURCE}" \ -DQT_BUILD_EXAMPLES=OFF \ -DQT_BUILD_TESTS=OFF \ -DQT_GENERATE_SBOM=OFF \ + -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \ -DQT_FEATURE_qml_jit=OFF \ -DQT_FEATURE_ssl=OFF \ -DQT_FEATURE_network=OFF \