From 1dac1435d4c037105debec6f79c8e45f7e20e9b4 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 18 Sep 2025 13:05:36 +0200 Subject: [PATCH] Include qqmlglobal_p.h in tst_qmltyperegistrar.cpp to fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes build error from testing for an unknown feature flag, i.e. tst_qmltyperegistrar.cpp:1439:6: error: division by zero in preprocessor expression As it's a private feature, include a private header. Change-Id: I6112d73ebb738a555c05211d8f6c29a053de7b39 Reviewed-by: Fabian Kosmale Reviewed-by: MÃ¥rten Nordheim (cherry picked from commit dec68b9e75a67270f41fdd68d13f7d1639997413) Reviewed-by: Volker Hilsheimer --- tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp index 70b6898747..96b18abd2c 100644 --- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp +++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.cpp @@ -13,6 +13,8 @@ #include #include #include +#include +#include #include #include