diff options
author | Giuseppe D'Angelo <[email protected]> | 2025-01-17 16:34:28 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <[email protected]> | 2025-01-18 06:49:45 +0100 |
commit | 39ab9e00415ed0f4d77daded079b262a8353328d (patch) | |
tree | 93e550d46b332936778232fcd11197cc90353c2a /src/testlib/qtestcrashhandler.cpp | |
parent | fc4aff1249ffbb7a1b34df8a3b06c17aacb22308 (diff) |
Testlib: wrap cycle_p.h header
The header triggers compile warnings -- -Wundef, to begin with.
Since it's included from multiple places, we either fix the header or
wrap it. The header isn't maintained upstream (we actually keep patches
"on the side"), so I'll go with the wrapping option, and suppress
-Wundef in there.
Task-number: QTBUG-132900
Change-Id: I8fdd32fa2ec1cde83ef28945259bce836439f73f
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/testlib/qtestcrashhandler.cpp')
-rw-r--r-- | src/testlib/qtestcrashhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestcrashhandler.cpp b/src/testlib/qtestcrashhandler.cpp index bc4e1629dd9..c2a10dedf64 100644 --- a/src/testlib/qtestcrashhandler.cpp +++ b/src/testlib/qtestcrashhandler.cpp @@ -37,7 +37,7 @@ #if QT_CONFIG(batch_test_support) #include <QtTest/private/qtestregistry_p.h> #endif // QT_CONFIG(batch_test_support) -#include <QtTest/private/cycle_p.h> +#include <QtTest/private/cycle_include_p.h> #include <QtTest/private/qtestblacklist_p.h> #if defined(HAVE_XCTEST) #include <QtTest/private/qxctestlogger_p.h> |