diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index a37b87546a6..f9460b8ecb8 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1185,8 +1185,13 @@ namespace Qt { DragMoveCursor, DragLinkCursor, LastCursor = DragLinkCursor, +#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) BitmapCursor = 24, - CustomCursor = 25 + CustomCursor = 25, +#else + BitmapCursor = 0x100, + CustomCursor = 0x101, +#endif }; enum TextFormat {