Skip to content

Commit

Permalink
Update Qt to 6.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 19, 2023
1 parent a12075c commit 71bde21
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: 💐 Install Qt (Android)
uses: jurplel/install-qt-action@v3
with:
version: 6.5.1
version: 6.5.2
modules: 'qt5compat qtcharts qtpositioning qtserialport qtconnectivity qtmultimedia qtwebview qtsensors'
target: android
arch: ${{ matrix.qt_arch }}
Expand All @@ -79,7 +79,7 @@ jobs:
- name: 💐 Install Qt (Desktop)
uses: jurplel/install-qt-action@v3
with:
version: 6.5.1
version: 6.5.2
modules: 'qt5compat qtcharts qtpositioning qtserialport qtconnectivity qtmultimedia qtwebview qtsensors'
target: desktop
cache: false
Expand Down Expand Up @@ -129,8 +129,8 @@ jobs:
-D WITH_ALL_FILES_ACCESS="${{ matrix.all_files_access }}" \
-D WITH_SPIX=OFF \
-D CMAKE_PREFIX_PATH=${Qt6_DIR} \
-D QT_HOST_PATH=/home/runner/work/QField/Qt/6.5.1/gcc_64 \
-D QT_HOST_PATH_CMAKE_DIR:PATH=/home/runner/work/QField/Qt/6.5.1/gcc_64 \
-D QT_HOST_PATH=/home/runner/work/QField/Qt/6.5.2/gcc_64 \
-D QT_HOST_PATH_CMAKE_DIR:PATH=/home/runner/work/QField/Qt/6.5.2/gcc_64 \
-D APP_VERSION="${APP_VERSION}" \
-D APK_VERSION_CODE="${APK_VERSION_CODE}" \
-D APP_VERSION_STR="${APP_VERSION_STR}" \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: 💐 Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.5.1
version: 6.5.2
modules: 'qt5compat qtcharts qtpositioning qtconnectivity qtmultimedia qtwebview qtsensors'
target: ios
cache: false

- name: 💐 Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.5.1
version: 6.5.2
target: desktop
cache: false

Expand Down Expand Up @@ -110,8 +110,8 @@ jobs:
-D CMAKE_SYSTEM_NAME=iOS \
-D CMAKE_SYSTEM_PROCESSOR=aarch64 \
-D CMAKE_OSX_DEPLOYMENT_TARGET=${{ env.DEPLOYMENT_TARGET }} \
-D QT_HOST_PATH=${{ github.workspace }}/../Qt/6.5.1/macos \
-D QT_HOST_PATH_CMAKE_DIR:PATH=${{ github.workspace }}/../Qt/6.5.1/macos \
-D QT_HOST_PATH=${{ github.workspace }}/../Qt/6.5.2/macos \
-D QT_HOST_PATH_CMAKE_DIR:PATH=${{ github.workspace }}/../Qt/6.5.2/macos \
-D ENABLE_TESTS=OFF \
-D CMAKE_CXX_VISIBILITY_PRESET=hidden \
-D WITH_CCACHE=ON
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: 💐 Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.5.1
version: 6.5.2
modules: 'qt5compat qtcharts qtpositioning qtserialport qtconnectivity qtmultimedia qtwebview qtsensors'
target: desktop

Expand Down
2 changes: 1 addition & 1 deletion scripts/build-for-linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
QT_PREFIX=${HOME}/.qt
QT_VERSION=6.5.1
QT_VERSION=6.5.2

# pip install aqtinstall
# aqt install-qt linux desktop ${QT_VERSION} gcc_64 -O ${QT_PREFIX} -m qt5compat qtcharts qtpositioning qtserialport qtconnectivity qtmultimedia qtwebview qtsensors # Modules come from .github/workflows/android.yaml
Expand Down
6 changes: 3 additions & 3 deletions scripts/build-vcpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export SOURCE_DIR=/usr/src/qfield

CMAKE_BUILD_DIR=/usr/src/qfield/build-${triplet}

export Qt6_DIR=/home/devel/6.5.1/android_arm64_v8a
export Qt6_DIR=/home/devel/6.5.2/android_arm64_v8a

[[ -z ${APP_NAME} ]] && APP_NAME="QField"
[[ -z ${APP_PACKAGE_NAME} ]] && APP_PACKAGE_NAME="qfield"
Expand All @@ -20,8 +20,8 @@ cmake -S "${SOURCE_DIR}" \
-G Ninja \
-D BUILD_WITH_QT6=ON \
-D CMAKE_PREFIX_PATH=${Qt6_DIR} \
-D QT_HOST_PATH=/home/devel/6.5.1/gcc_64 \
-D QT_HOST_PATH_CMAKE_DIR=/home/devel/6.5.1/gcc_64/lib/cmake \
-D QT_HOST_PATH=/home/devel/6.5.2/gcc_64 \
-D QT_HOST_PATH_CMAKE_DIR=/home/devel/6.5.2/gcc_64/lib/cmake \
-D VCPKG_TARGET_TRIPLET="${triplet}" \
-D SYSTEM_QT=ON \
-D ANDROID_NDK_VERSION="${ANDROID_NDK_VERSION}" \
Expand Down

0 comments on commit 71bde21

Please sign in to comment.