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