Qt Network
Qt Network 모듈은 TCP/IP를 사용하는 애플리케이션을 프로그래밍하기 위한 일련의 API를 제공합니다. HTTP를 통한 요청, 쿠키, 데이터 전송과 같은 작업은 다양한 C++ 클래스에 의해 처리됩니다.
모듈 사용 방법
Qt 모듈의 C++ API를 사용하려면 모듈 라이브러리를 직접 또는 다른 종속성을 통해 링크해야 합니다. CMake 및 qmake를 비롯한 여러 빌드 도구가 이를 위해 전용 지원을 제공합니다.
CMake를 사용한 빌드
` find_package() ` 명령을 사용하여 ` Qt6 ` 패키지에서 필요한 모듈 구성 요소를 찾으십시오:
find_package(Qt6 REQUIRED COMPONENTS Network)
target_link_libraries(mytarget PRIVATE Qt6::Network)자세한 내용은 ‘CMake를 사용한 빌드’ 개요를 참조하십시오.
qmake를 사용한 빌드
qmake를 사용하여 모듈을 빌드하도록 구성하려면, 프로젝트의 .pro 파일에서 QT 변수의 값으로 모듈을 추가하십시오:
QT += network문서 및 가이드
다음 문서에는 Qt Network 설정 및 네트워킹 기능을 갖춘 애플리케이션에 대한 정보가 포함되어 있습니다.
- Qt Network를 사용한 네트워크 프로그래밍 - 네트워킹 기능을 갖춘 애플리케이션 프로그래밍
- SSL(Secure Sockets Layer) 클래스 - 네트워크 소켓을 통한 보안 통신을 위한 클래스
API 참조
다음은 API 참조 자료로 연결되는 링크입니다.
모듈의 진화
Qt Network 에는 Qt 6 시리즈를 위해 모듈 API 및 기능에 적용된 주요변경 사항이 나열되어 있습니다.
라이선스 및 출처 표기
Qt Network Qt는 The Qt Company의 상용 라이선스에 따라 제공됩니다. 또한, GNU Lesser General Public License 버전 3 또는 GNU General Public License 버전 2에 따라 제공됩니다. 자세한 내용은 Qt 라이선싱을 참조하십시오.
또한, Qt 6.12.0의 Qt Network 에는 다음의 허용적인 라이선스에 따라 배포되는 타사 모듈이 포함될 수 있습니다:
Mozilla Public License 2.0 | |
BSD 3조항 “New” 또는 “Revised” 라이선스 |
Qt Network Qt Network 은 백엔드로 OpenSSL 툴킷을 사용할 수 있습니다. 이 경우 라이브러리는 OpenSSL 라이선스 준수를 요구하는 방식으로 OpenSSL에 링크됩니다. GPL 하에서 OpenSSL을 과 링크할 수 있도록 하기 위해, GPL에 대한 다음 예외 사항이 적용됩니다:
In addition, as a special exception, the copyright holders listed above give
permission to link the code of its release of Qt with the OpenSSL project's
"OpenSSL" library (or modified versions of the "OpenSSL" library that use the
same license as the original version), and distribute the linked executables.
You must comply with the GNU General Public License version 2 in all
respects for all of the code used other than the "OpenSSL" code. If you
modify this file, you may extend this exception to your version of the file,
but you are not obligated to do so. If you do not wish to do so, delete
this exception statement from your version of this file.또한 OpenSSL을 배포할 경우 수입 및 수출 제한이 적용될 수 있다는 점에 유의하십시오.
© 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.