Set up the HarmonyOS SDK
- Go to Preferences > SDKs > HarmonyOS.
- In HarmonyOS SDK location, enter the directory that has the
sdkandbindirectories in it, or select Auto-detect to look for one in the usual places. The label below the field says what was found. - In Additional packages, enter the installation prefix of the third-party libraries built for HarmonyOS, which is the directory their
libis in. Qt Creator passes it to the build asQT_ADDITIONAL_PACKAGES_PREFIX_PATH, which adds the libraries into the package. Without them, the application installs and starts but cannot load the platform plugin. - Keep Create kits automatically selected to have Qt Creator offer a kit for every Qt for HarmonyOS it knows about.
Once the SDK location is set, the compilers in it appear in Preferences > Kits > Compilers, and a device that hdc reports appears in Preferences > Devices > Devices, without any further configuration.
See also Developing for HarmonyOS devices, How to: Develop for HarmonyOS, and Sign HarmonyOS packages.
Copyright © The Qt Company Ltd. and other contributors. 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.