Integrate the SDK
Prepare the Environment
Before integrating the ZEGO Express SDK, ensure that your development environment meets the following requirements:
- macOS 11.0 or above.
- Xcode 15 or above installed.
- (Optional) CMake installed.
- (Optional) Qt version 5.9 to 5.15 installed. For more information, please refer to Getting Started with Qt.
- External devices that support audio and video functions, such as microphones and cameras.
Integrate the SDK
(Optional) Create a New Project
-
Open Qt Creator and select the "File > New > Project" menu.

-
In the New Project window, select "Qt Widgets Application" as the project type, enter the project name, select the project storage path, and click "OK".

-
Choose qmake for compilation and create the project.

Import ZEGO Express SDK
-
Please download the ZEGO Express SDK from the Download page.
-
Extract the SDK and copy the "ZegoExpressEngine.xcframework" file from the "release/Library" directory to your project.
If your project does not support XCFramework, you can treat "ZegoExpressEngine.xcframework" as a folder and directly use the ".dylib" dynamic library and header files inside.
Set Project Properties
Edit the project pro file and add the following content to the pro file:
INCLUDEPATH += $$PWD/../libs/ZegoExpress/mac/ZegoExpressEngine.xcframework/macos-arm64_x86_64/Headers
DEPENDPATH += $$PWD/../libs/ZegoExpress/mac/ZegoExpressEngine.xcframework/macos-arm64_x86_64/Headers
LIBS += -L$$PWD/../libs/ZegoExpress/mac/ZegoExpressEngine.xcframework/macos-arm64_x86_64/ -lZegoExpressEngine