diff --git a/src/corelib/kernel/qmetaobject.h b/src/corelib/kernel/qmetaobject.h index 60e0a2127a5..fa0357918b5 100644 --- a/src/corelib/kernel/qmetaobject.h +++ b/src/corelib/kernel/qmetaobject.h @@ -285,7 +285,7 @@ public: int keysToValue(const char *keys, bool *ok = nullptr) const; std::optional keyToValue64(const char *key) const; std::optional keysToValue64(const char *keys) const; -#if QT_CORE_REMOVED_SINCE(6, 8) +#if QT_CORE_REMOVED_SINCE(6, 9) const char *valueToKey(int value) const; QByteArray valueToKeys(int value) const; #endif