Qt 6.1의 새로운 클래스 및 함수
이 페이지에는 Qt 6.1에 도입된 모든 새로운 클래스와 함수의 종합 목록이 포함되어 있습니다.
- 새로운 클래스
- 새로운 멤버 함수
- 네임스페이스의 새로운 함수
- 새로운 전역 함수
- 새로운 열거형
- 새로운 타입 별칭
- 새로운 속성
- 새로운 변수
- 새로운 QML 타입
- 새로운 QML 속성
- 새로운 QML 신호
- 새로운 QML 메서드
새로운 클래스
새로운 멤버 함수
QByteArray 클래스 :
(since 6.1) qsizetype | erase(QByteArray &ba, const T &t) |
(since 6.1) QByteArray::iterator | erase(QByteArray::const_iterator first, QByteArray::const_iterator last) |
(since 6.1) qsizetype | erase_if(QByteArray &ba, Predicate pred) |
(since 6.1) QByteArray & | removeIf(Predicate pred) |
QColorSpace 클래스 :
(since 6.1) void | setTransferFunction(const QList<uint16_t> &transferFunctionTable) |
(since 6.1) void | setTransferFunctions(const QList<uint16_t> &redTransferFunctionTable, const QList<uint16_t> &greenTransferFunctionTable, const QList<uint16_t> &blueTransferFunctionTable) |
(since 6.1) QColorSpace | withTransferFunction(const QList<uint16_t> &transferFunctionTable) const |
(since 6.1) QColorSpace | withTransferFunctions(const QList<uint16_t> &redTransferFunctionTable, const QList<uint16_t> &greenTransferFunctionTable, const QList<uint16_t> &blueTransferFunctionTable) const |
QFuture 클래스 :
(since 6.1) QFuture<T> | onCanceled(QObject *context, Function &&handler) |
(since 6.1) QFuture<T> | onFailed(QObject *context, Function &&handler) |
(since 6.1) QFuture<QFuture<T>::ResultType<Function>> | then(QObject *context, Function &&function) |
QHash 클래스 :
(since 6.1) qsizetype | erase_if(QHash<Key, T> &hash, Predicate pred) |
(since 6.1) qsizetype | removeIf(Predicate pred) |
QJSEngine 클래스 :
(since 6.1) void | throwError(const QJSValue &error) |
QJSPrimitiveValue 클래스 :
(since 6.1) bool | operator!=(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) QJSPrimitiveValue | operator*(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) QJSPrimitiveValue | operator+(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) QJSPrimitiveValue | operator-(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) QJSPrimitiveValue | operator/(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) bool | operator<(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) bool | operator<=(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) bool | operator==(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) bool | operator>(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
(since 6.1) bool | operator>=(const QJSPrimitiveValue &lhs, const QJSPrimitiveValue &rhs) |
QLabel 클래스 :
(since 6.1) QTextDocument::ResourceProvider | resourceProvider() const |
(since 6.1) void | setResourceProvider(const QTextDocument::ResourceProvider &provider) |
QLayout 클래스 :
(since 6.1) void | unsetContentsMargins() |
QList 클래스 :
(since 6.1) qsizetype | erase(QList<T> &list, const AT &t) |
(since 6.1) qsizetype | erase_if(QList<T> &list, Predicate pred) |
(since 6.1) qsizetype | removeIf(Predicate pred) |
QLocale 클래스 :
(since 6.1) QLocale::Script | codeToScript(QStringView scriptCode) |
(since 6.1) QString | scriptToCode(QLocale::Script script) |
QMap 클래스 :
(since 6.1) qsizetype | erase_if(QMap<Key, T> &map, Predicate pred) |
(since 6.1) QMap<Key, T>::size_type | removeIf(Predicate pred) |
QMetaType 클래스 :
(since 6.1) bool | hasRegisteredDataStreamOperators() const |
QMultiHash 클래스 :
(since 6.1) qsizetype | erase_if(QMultiHash<Key, T> &hash, Predicate pred) |
(since 6.1) qsizetype | removeIf(Predicate pred) |
QMultiMap 클래스:
(since 6.1) qsizetype | erase_if(QMultiMap<Key, T> &map, Predicate pred) |
(since 6.1) QMultiMap<Key, T>::size_type | removeIf(Predicate pred) |
QSGOpenGLTexture 클래스 :
(since 6.1) QSGTexture * | fromNativeExternalOES(GLuint textureId, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options = {}) |
QNetworkCookie 클래스 :
(since 6.1) QNetworkCookie::SameSite | sameSitePolicy() const |
(since 6.1) void | setSameSitePolicy(QNetworkCookie::SameSite sameSite) |
QOperatingSystemVersion 클래스 :
(since 6.1) QVersionNumber | version() const |
QQmlPropertyMap 클래스 :
QQuickGraphicsConfiguration 클래스 :
(since 6.1) QByteArrayList | preferredInstanceExtensions() |
QSet 클래스 :
(since 6.1) qsizetype | erase_if(QSet<T> &set, Predicate pred) |
(since 6.1) QSet<T>::iterator | insert(T &&value) |
(since 6.1) QSet<T>::iterator | insert(QSet<T>::const_iterator it, const T &value) |
(since 6.1) qsizetype | removeIf(Pred pred) |
QSocketNotifier 클래스 :
QSslSocket 클래스 :
(since 6.1) QString | activeBackend() |
(since 6.1) QList<QString> | availableBackends() |
(since 6.1) QList<QSsl::ImplementedClass> | implementedClasses(const QString &backendName = {}) |
(since 6.1) bool | isClassImplemented(QSsl::ImplementedClass cl, const QString &backendName = {}) |
(since 6.1) bool | isFeatureSupported(QSsl::SupportedFeature ft, const QString &backendName = {}) |
(since 6.1) bool | isProtocolSupported(QSsl::SslProtocol protocol, const QString &backendName = {}) |
(since 6.1) bool | setActiveBackend(const QString &backendName) |
(since 6.1) QList<QSsl::SupportedFeature> | supportedFeatures(const QString &backendName = {}) |
(since 6.1) QList<QSsl::SslProtocol> | supportedProtocols(const QString &backendName = {}) |
QString 클래스 :
(since 6.1) qsizetype | erase(QString &s, const T &t) |
(since 6.1) QString::iterator | erase(QString::const_iterator first, QString::const_iterator last) |
(since 6.1) qsizetype | erase_if(QString &s, Predicate pred) |
(since 6.1) QString | fromUtf8(const char8_t *str) |
(since 6.1) QString & | removeIf(Predicate pred) |
QStringView 클래스 :
(since 6.1) QStringView::const_iterator | constBegin() const |
(since 6.1) QStringView::const_iterator | constEnd() const |
(since 6.1) bool | contains(const QRegularExpression &re, QRegularExpressionMatch *rmatch = nullptr) const |
(since 6.1) qsizetype | count(const QRegularExpression &re) const |
(since 6.1) qsizetype | indexOf(const QRegularExpression &re, qsizetype from = 0, QRegularExpressionMatch *rmatch = nullptr) const |
(since 6.1) qsizetype | lastIndexOf(const QRegularExpression &re, qsizetype from, QRegularExpressionMatch *rmatch = nullptr) const |
QStyle 클래스 :
(since 6.1) QString | name() const |
QTextDocument 클래스 :
(since 6.1) QTextDocument::ResourceProvider | defaultResourceProvider() |
(since 6.1) QTextDocument::ResourceProvider | resourceProvider() const |
(since 6.1) void | setDefaultResourceProvider(const QTextDocument::ResourceProvider &provider) |
(since 6.1) void | setResourceProvider(const QTextDocument::ResourceProvider &provider) |
QUntypedBindable 클래스:
(since 6.1) bool | isReadOnly() const |
(since 6.1) QUntypedPropertyBinding | takeBinding() |
QVarLengthArray 클래스 :
(since 6.1) qsizetype | erase(QVarLengthArray<T, Prealloc> &array, const AT &t) |
(since 6.1) qsizetype | erase_if(QVarLengthArray<T, Prealloc> &array, Predicate pred) |
(since 6.1) qsizetype | removeAll(const AT &t) |
(since 6.1) qsizetype | removeIf(Predicate pred) |
(since 6.1) bool | removeOne(const AT &t) |
QVirtualKeyboardAbstractInputMethod 클래스 :
(since 6.1) virtual void | clearInputMode() |
QVirtualKeyboardTrace 클래스 :
(since 6.1) void | startHideTimer(int delayMs) |
네임스페이스의 새로운 함수
(since 6.1) QFuture<T> | makeExceptionalFuture(std::__exception_ptr::exception_ptr exception) |
(since 6.1) QFuture<T> | makeExceptionalFuture(const QException &exception) |
새로운 전역 함수
(since 6.1) typename std::enable_if_t<std::is_unsigned_v<T>, bool> | qAddOverflow(T v1, T v2, T*result) |
(since 6.1) auto | qHypot(Tx x, Ty y, Tz z) |
(since 6.1) auto | qHypot(Tx x, Ty y) |
(since 6.1) auto | qHypot(F first, Fs... 나머지) |
(since 6.1) typename std::enable_if_t<std::is_unsigned_v<T> || std::is_signed_v<T>, bool> | qMulOverflow(T v1, T v2, T*result) |
(since 6.1) typename std::enable_if_t<std::is_unsigned_v<T>, bool> | qSubOverflow(T v1, T v2, T*result) |
새로운 열거형
(since 6.1) enum class | SameSite { Default, None, Lax, Strict } |
(since 6.1) enum class | ImplementedClass { Key, Certificate, Socket, DiffieHellman, EllipticCurve, …, DtlsCookie } |
(since 6.1) enum class | SupportedFeature { CertificateVerification, ClientSideAlpn, ServerSideAlpn, Ocsp, Psk, …, Alerts } |
새로운 유형 별칭
(since 6.1) | ResourceProvider |
새로운 속성
(since 6.1)sortIndicatorClearable : bool(since 6.1)keyboardObserver : QVirtualKeyboardObserver* const
새로운 변수
(since 6.1) const QOperatingSystemVersion | Android10 |
(since 6.1) const QOperatingSystemVersion | Android11 |
(since 6.1) const QOperatingSystemVersion | AndroidOreo_MR1 |
(since 6.1) const QOperatingSystemVersion | AndroidPie |
새로운 QML 유형
새로운 QML 속성
QML 유형 BaseKey:
(since 6.1) | keyType : int |
QML 타입 InputContext:
(since 6.1) | keyboardObserver : KeyboardObserver |
QML 타입 VirtualKeyboardSettings:
(since 6.1) | defaultDictionaryDisabled : bool |
(since 6.1) | defaultInputMethodDisabled : bool |
(since 6.1) | handwritingModeDisabled : bool |
(since 6.1) | hwrTimeoutForAlphabetic : bool |
(since 6.1) | hwrTimeoutForCjk : bool |
(since 6.1) | inputMethodHints : int |
(since 6.1) | userDataPath : bool |
새로운 QML 신호
(since 6.1) | onRecycle(var traceCanvas) |
새로운 QML 메서드
QML 타입 Trace:
(since 6.1) void | startHideTimer(int delayMs) |
QML 타입 TraceCanvas:
(since 6.1) | recycle() |
(since 6.1) | renderClear() |
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.