@@ -36,8 +36,8 @@ cd src/mac
3636
3737This will:
3838
39- - Build Qt 6.9.1
40- - Install it to ` /opt/Qt/6.9.1 /macos ` (works for both Intel and Apple Silicon)
39+ - Build Qt 6.9.3
40+ - Install it to ` /opt/Qt/6.9.3 /macos ` (works for both Intel and Apple Silicon)
4141- Use all available CPU cores
4242- Apply macOS-specific optimizations
4343- Exclude unnecessary modules and features for minimal footprint
@@ -47,7 +47,7 @@ This will:
4747The script supports the following options:
4848
4949```
50- --version=VERSION Qt version to build (default: 6.9.1 )
50+ --version=VERSION Qt version to build (default: 6.9.3 )
5151--prefix=PREFIX Installation prefix (default: /opt/Qt/{VERSION})
5252--cores=CORES Number of CPU cores to use (default: all)
5353--no-clean Don't clean the build directory
@@ -72,7 +72,7 @@ Build a specific Qt version:
7272Install to a custom location:
7373
7474``` bash
75- ./build-qt-macos.sh --prefix=/Users/$( whoami) /Qt/6.9.1
75+ ./build-qt-macos.sh --prefix=/Users/$( whoami) /Qt/6.9.3
7676```
7777
7878Limit CPU usage (useful for background builds):
@@ -90,7 +90,7 @@ Build single-architecture (host only):
9090Run without sudo (requires pre-installed dependencies):
9191
9292``` bash
93- ./build-qt-macos.sh --unprivileged --prefix=$HOME /Qt/6.9.1
93+ ./build-qt-macos.sh --unprivileged --prefix=$HOME /Qt/6.9.3
9494```
9595
9696## Minimal Build Configuration
@@ -132,7 +132,7 @@ By default, the script creates fat binaries containing both Intel and Apple Sili
132132
133133- ** Intel optimizations** : ` -march=x86-64-v2 -mtune=intel ` for better x86_64 performance
134134- ** Apple Silicon optimizations** : ` -march=armv8.4-a+crypto -mtune=apple-a14 ` for M-series chips
135- - ** Installation path** : ` /opt/Qt/6.9.1 /macos ` (same as single-architecture builds)
135+ - ** Installation path** : ` /opt/Qt/6.9.3 /macos ` (same as single-architecture builds)
136136- ** CMake integration** : Toolchain file automatically sets ` CMAKE_OSX_ARCHITECTURES="x86_64;arm64" `
137137
138138** When to use universal builds:**
@@ -206,7 +206,7 @@ After building Qt, the script creates several helper files:
206206To set up your environment for using the built Qt:
207207
208208``` bash
209- source /opt/Qt/6.9.1 /macos/bin/qtenv.sh
209+ source /opt/Qt/6.9.3 /macos/bin/qtenv.sh
210210```
211211
212212This sets the needed environment variables for Qt on macOS.
@@ -216,7 +216,7 @@ This sets the needed environment variables for Qt on macOS.
216216To use this Qt build with CMake projects (like rpi-imager):
217217
218218``` bash
219- cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Qt/6.9.1 /macos/qt6-toolchain.cmake \
219+ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Qt/6.9.3 /macos/qt6-toolchain.cmake \
220220 -S /path/to/source -B build
221221```
222222
@@ -226,12 +226,12 @@ To build rpi-imager with your custom Qt:
226226
227227``` bash
228228# Set up Qt environment
229- source /opt/Qt/6.9.1 /macos/bin/qtenv.sh
229+ source /opt/Qt/6.9.3 /macos/bin/qtenv.sh
230230
231231# Configure and build rpi-imager
232232cd /path/to/rpi-imager
233233mkdir build && cd build
234- cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Qt/6.9.1 /macos/qt6-toolchain.cmake ../src
234+ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Qt/6.9.3 /macos/qt6-toolchain.cmake ../src
235235make -j$( sysctl -n hw.ncpu)
236236```
237237## Troubleshooting
@@ -271,10 +271,10 @@ If CMake can't find your Qt installation:
271271
272272``` bash
273273# Make sure Qt is in your path
274- export CMAKE_PREFIX_PATH=" /opt/Qt/6.9.1 /macos:$CMAKE_PREFIX_PATH "
274+ export CMAKE_PREFIX_PATH=" /opt/Qt/6.9.3 /macos:$CMAKE_PREFIX_PATH "
275275
276276# Or use the toolchain file
277- cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Qt/6.9.1 /macos/qt6-toolchain.cmake ...
277+ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Qt/6.9.3 /macos/qt6-toolchain.cmake ...
278278```
279279
280280## Integration with rpi-imager Build System
0 commit comments