Qt's team has created a vcpkg fork that adds HarmonyOS (OHOS) support, eliminating the need for manual per-library cross-compilation scripts. The fork adds an OHOS toolchain file, three community triplets (arm64-ohos, arm-ohos, x64-ohos), platform detection, and portfile patches for libraries like libpng, fontconfig, and ICU. A step-by-step guide covers building vcpkg-tool from source, setting up the registry, configuring the SDK path, and installing C/C++ libraries with a single command. The team is working to upstream these changes to the official vcpkg repositories so no fork will eventually be needed.

4m read timeFrom qt.io
Post cover image
Table of contents
Why vcpkg?What our fork addsGetting startedAvailable tripletsUpstreamingConclusion

Sort: