From 9744cfc22efb97a879c3733883e80880a1f466f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Mon, 16 Dec 2024 12:53:24 -0500 Subject: [PATCH] ci: fix build when no QApplicationStatic --- src/lib/score/graphics/GraphicsItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/score/graphics/GraphicsItem.cpp b/src/lib/score/graphics/GraphicsItem.cpp index 9e4853555b..5620d9dd0e 100644 --- a/src/lib/score/graphics/GraphicsItem.cpp +++ b/src/lib/score/graphics/GraphicsItem.cpp @@ -11,7 +11,7 @@ #include using item_help = ossia::hash_map>; -#if QT_VERSION > QT_VERSION_CHECK(6, 3, 0) +#if __has_include() #include Q_APPLICATION_STATIC(item_help, g_itemHelpRegistry); #else