Update README with build instructions for single architecture

This commit is contained in:
jingjing_tang 2025-09-09 15:52:41 +08:00 committed by GitHub
parent 20ce079dc8
commit 0b75bcae93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

2
README
View File

@ -40,6 +40,7 @@ Build Instructions:
Replace the System Library: Copy the newly created universal ./lib/libxcb.dylib file and overwrite the existing libxcb.dylib in the library directory on your primary build machine (e.g., /usr/local/lib/). This step is crucial for the universal Qt build to link correctly. Replace the System Library: Copy the newly created universal ./lib/libxcb.dylib file and overwrite the existing libxcb.dylib in the library directory on your primary build machine (e.g., /usr/local/lib/). This step is crucial for the universal Qt build to link correctly.
3.Execute the Build Script: Run the script to start the compilation process for both architectures and merge the Qt libraries. 3.Execute the Build Script: Run the script to start the compilation process for both architectures and merge the Qt libraries.
cd qt5.12.3_universal cd qt5.12.3_universal
bash build_opoensource.sh bash build_opoensource.sh
@ -47,6 +48,7 @@ Build Instructions:
If you do not require a universal library, you can modify the build_opensource.sh script to compile for only one architecture (either x86_64 or arm64). Edit the script to comment out or remove the build commands for the architecture you don't need. If you do not require a universal library, you can modify the build_opensource.sh script to compile for only one architecture (either x86_64 or arm64). Edit the script to comment out or remove the build commands for the architecture you don't need.
<!-- Original Qt README content follows --> <!-- Original Qt README content follows -->
HOW TO BUILD QT5 HOW TO BUILD QT5
================ ================