diff --git a/src/util/db/dbid.h b/src/util/db/dbid.h index a5d68f4a8f7b..0627a8103f50 100644 --- a/src/util/db/dbid.h +++ b/src/util/db/dbid.h @@ -111,7 +111,11 @@ class DbId { private: static const value_type kInvalidValue = -1; +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) + static const QMetaType::Type kVariantType; +#else static const QVariant::Type kVariantType; +#endif static bool isValidValue(value_type value) { return 0 <= value;