이 페이지에서

변경 사항 Qt WebSockets

Qt 6의 변경 사항은 프레임워크를 더 효율적이고 사용하기 쉽게 만들기 위한 의도적인 노력의 결과입니다.

저희는 각 릴리스에서 모든 공개 API에 대해 바이너리 및 소스 호환성을 유지하기 위해 노력하고 있습니다. 하지만 Qt를 더 나은 프레임워크로 만들기 위한 노력의 일환으로 일부 변경 사항은 불가피했습니다.

이 주제에서는 Qt WebSockets 에 포함된 변경 사항을 요약하고, 이를 처리하기 위한 지침을 제공합니다.

공개 API의 호환성을 깨는 변경 사항

이 섹션에는 소스 호환성을 깨는 API 변경 사항에 대한 정보가 포함되어 있습니다.

QWebSocketServer::socketDescriptor(), QWebSocketServer::setSocketDescriptor()

Qt 6에서는 qintptr 유형의 기본 소켓 디스크립터에 액세스하기 위해 QWebSocketServer::socketDescriptor() 및 QWebSocketServer::setSocketDescriptor()를 사용해야 합니다. 이 메서드들은 QTcpServer::socketDescriptor() 및 QTcpServer::setSocketDescriptor()를 반영하며, 현재 사용 중단된 nativeDescriptor() 및 setNativeDescriptor() 메서드를 대체합니다.

© 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.