Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Korean
  4. Qt 5 Core 호환성 API (Qt 5 Core Compatibility APIs)

Qt 5 Core 호환성 API (Qt 5 Core Compatibility APIs)

Scheduled Pinned Locked Moved Korean
1 Posts 1 Posters 680 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • j2dollJ Offline
    j2dollJ Offline
    j2doll
    wrote on last edited by
    #1

    Qt 5 Core 호환성 API (Qt 5 Core Compatibility APIs)

    • 원문 : https://doc-snapshots.qt.io/qt6-dev/qtcore5-index.html
    • 번역 : https://j2doll.tistory.com/671
    • 적용 예제 : https://github.com/j2doll/UseOldQt5inQt6

    Qt 5 Core Compat 모듈은 Qt 6에서 더 이상 지원되지 않고, Qt 6에서 제거된 Qt Core API가 포함되어 있습니다. 이 모듈은 Qt 6으로의 전환을 용이하게 하기 위해 제공됩니다.

    모듈 사용

    Qt 모듈을 사용하려면, 직접 또는 다른 종속성을 통해 모듈 라이브러리에 연결해야 합니다. CMake 및 qmake를 포함하여 여러 빌드 도구에 이를 위한 전용 지원이 있습니다.

    CMake로 빌드하기

    find_package() 명령을 사용하여 Qt6 패키지에서 필요한 모듈 구성 요소를 찾습니다.

    find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
    target_link_libraries(mytarget PUBLIC Qt6::Core5Compat)
    

    CMake로 빌드 개요도 참조하세요.

    qmake로 빌드하기

    qmake로 빌드하기 위한 모듈을 구성하려면 Qt 프로젝트의 .pro 파일에 있는 변수 값으로 모듈을 추가 합니다.

    QT += core5compat
    

    라이선스 및 귀속 (Licenses and Attributions)

    Qt 5 Core Compat는 The Qt Company의 상업용 라이선스 에 따라 사용할 수 있습니다. 또한 무료 소프트웨어 라이선스 (GNU Lesser General Public License, version 3 또는 GNU General Public License, version 2) 에 따라 사용할 수 있습니다. 자세한 내용은 Qt 라이선스를 참조 하십시오.

    또한 Qt 6.0.0의 Qt 5 Core Compat에는 다음같이 허용되는 라이선스에 따라 타사 모듈이 포함되어 있습니다.

    모듈 라이선스
    Text Codec: EUC-JP BSD 2-clause "Simplified" License
    Text Codec: EUC-KR BSD 2-clause "Simplified" License
    Text Codec: GBK BSD 2-clause "Simplified" License
    Text Codec: ISO 2022-JP (JIS) BSD 2-clause "Simplified" License
    Text Codec: Shift-JIS BSD 2-clause "Simplified" License
    Text Codec: TSCII BSD 2-clause "Simplified" License
    Text Codecs: Big5, Big5-HKSCS BSD 2-clause "Simplified" License
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved