aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/pull_request_template.md9
-rw-r--r--.gitignore9
-rw-r--r--.gitmodules9
-rw-r--r--CMakeLists.txt71
-rw-r--r--CONTRIBUTING.md8
-rw-r--r--LICENSE.GPL3-EXCEPT704
-rw-r--r--LICENSE.QT-LICENSE-AGREEMENT2091
-rw-r--r--LICENSES/GPL-2.0-only.txt (renamed from LICENSE.GPL2)0
-rw-r--r--LICENSES/GPL-3.0-only.txt (renamed from LICENSE.GPL3)0
-rw-r--r--LICENSES/LGPL-3.0-only.txt (renamed from LICENSE.LGPL3)0
-rw-r--r--LICENSES/LicenseRef-Qt-Commercial.txt8
-rw-r--r--LICENSES/Qt-GPL-exception-1.0.txt22
-rw-r--r--README.md8
-rw-r--r--README.md.template39
-rw-r--r--_clang-format10
-rw-r--r--cmake/3rdparty/cmake/Copyright.txt136
-rw-r--r--cmake/3rdparty/cmake/QtIRRunCMake.cmake349
-rw-r--r--cmake/3rdparty/cmake/QtIRTestHelpers.cmake39
-rw-r--r--cmake/3rdparty/cmake/qt_attribution.json16
-rw-r--r--cmake/QtIRCommandLineHelpers.cmake405
-rw-r--r--cmake/QtIRGitHelpers.cmake1151
-rw-r--r--cmake/QtIRHelp.txt134
-rw-r--r--cmake/QtIRHelpers.cmake367
-rw-r--r--cmake/QtIROptionsHelpers.cmake48
-rw-r--r--cmake/QtIRParsingHelpers.cmake237
-rw-r--r--cmake/QtIRProcessHelpers.cmake185
-rw-r--r--cmake/QtIRScript.cmake17
-rw-r--r--cmake/QtSortModuleDependencies.cmake16
-rw-r--r--cmake/QtSynchronizeRepo.cmake3
-rw-r--r--cmake/QtTopLevelConfigureScript.cmake17
-rw-r--r--cmake/QtTopLevelHelpers.cmake220
-rw-r--r--cmake/QtWriteArgsFile.cmake92
-rw-r--r--coin/conan/profiles/baseprofiles/android-arm64-clang10
-rw-r--r--coin/conan/profiles/baseprofiles/android-armv7-clang10
-rw-r--r--coin/conan/profiles/baseprofiles/android-x86-clang10
-rw-r--r--coin/conan/profiles/baseprofiles/android-x86_64-clang10
-rw-r--r--coin/conan/profiles/baseprofiles/linux-webassembly-x86_64-clang9
-rw-r--r--coin/conan/profiles/baseprofiles/linux-x86_64-gcc9
-rw-r--r--coin/conan/profiles/baseprofiles/linux-x86_64-gcc-debug-developer9
-rw-r--r--coin/conan/profiles/baseprofiles/macos-ios-arm64-clang10
-rw-r--r--coin/conan/profiles/baseprofiles/macos-universal-clang10
-rw-r--r--coin/conan/profiles/baseprofiles/macos-webassembly-x86_64-clang9
-rw-r--r--coin/conan/profiles/baseprofiles/windows-arm64-msvc2019_6411
-rw-r--r--coin/conan/profiles/baseprofiles/windows-webassembly-x86_64-clang9
-rw-r--r--coin/conan/profiles/baseprofiles/windows-x86_64-mingw9
-rw-r--r--coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_6411
-rw-r--r--coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64-developer11
-rw-r--r--coin/conan/profiles/ci-linux-webassembly-x86_64-clang5
-rw-r--r--coin/conan/profiles/ci-linux-x86_64-gcc6
-rw-r--r--coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer5
-rw-r--r--coin/conan/profiles/ci-macos-ios-arm64-clang1
-rw-r--r--coin/conan/profiles/ci-macos-universal-clang6
-rw-r--r--coin/conan/profiles/ci-macos-webassembly-x86_64-clang5
-rw-r--r--coin/conan/profiles/ci-unix-android-arm64-clang5
-rw-r--r--coin/conan/profiles/ci-unix-android-armv7-clang5
-rw-r--r--coin/conan/profiles/ci-unix-android-x86-clang5
-rw-r--r--coin/conan/profiles/ci-unix-android-x86_64-clang5
-rw-r--r--coin/conan/profiles/ci-windows-android-arm64-clang5
-rw-r--r--coin/conan/profiles/ci-windows-android-armv7-clang5
-rw-r--r--coin/conan/profiles/ci-windows-android-x86-clang5
-rw-r--r--coin/conan/profiles/ci-windows-android-x86_64-clang5
-rw-r--r--coin/conan/profiles/ci-windows-arm64-msvc2019_644
-rw-r--r--coin/conan/profiles/ci-windows-webassembly-x86_64-clang5
-rw-r--r--coin/conan/profiles/ci-windows-x86_64-mingw6
-rw-r--r--coin/conan/profiles/ci-windows-x86_64-msvc2019_647
-rw-r--r--coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer7
-rw-r--r--coin/conan/profiles/linux-webassembly-x86_64-clang11
-rw-r--r--coin/conan/profiles/linux-x86_64-gcc19
-rw-r--r--coin/conan/profiles/linux-x86_64-gcc-debug-developer11
-rw-r--r--coin/conan/profiles/macos-ios-arm64-clang11
-rw-r--r--coin/conan/profiles/macos-universal-clang13
-rw-r--r--coin/conan/profiles/macos-webassembly-x86_64-clang11
-rw-r--r--coin/conan/profiles/unix-android-arm64-clang16
-rw-r--r--coin/conan/profiles/unix-android-armv7-clang16
-rw-r--r--coin/conan/profiles/unix-android-x86-clang16
-rw-r--r--coin/conan/profiles/unix-android-x86_64-clang16
-rw-r--r--coin/conan/profiles/windows-android-arm64-clang17
-rw-r--r--coin/conan/profiles/windows-android-armv7-clang17
-rw-r--r--coin/conan/profiles/windows-android-x86-clang17
-rw-r--r--coin/conan/profiles/windows-android-x86_64-clang17
-rw-r--r--coin/conan/profiles/windows-arm64-msvc2019_6411
-rw-r--r--coin/conan/profiles/windows-webassembly-x86_64-clang12
-rw-r--r--coin/conan/profiles/windows-x86_64-mingw15
-rw-r--r--coin/conan/profiles/windows-x86_64-msvc2019_6413
-rw-r--r--coin/conan/profiles/windows-x86_64-msvc2019_64-developer14
-rw-r--r--coin/platform_configs/address_sanitizer_platforms.yaml6
-rw-r--r--coin/platform_configs/boot2qt-manifest.yaml4
-rw-r--r--coin/platform_configs/cmake_platforms.yaml246
-rw-r--r--coin/platform_configs/cmake_platforms_qemu.yaml10
-rw-r--r--coin/platform_configs/cmake_platforms_qemu_qnx710.yaml5
-rw-r--r--coin/platform_configs/cmake_platforms_qemu_vxworks.yaml15
-rw-r--r--coin/platform_configs/cmake_platforms_static_tests.yaml10
-rw-r--r--coin/platform_configs/cmake_platforms_target_android.yaml48
-rw-r--r--coin/platform_configs/cmake_platforms_wasm.yaml27
-rw-r--r--coin/platform_configs/flashing-wizard.yaml6
-rw-r--r--coin/platform_configs/ios-tests.yaml2
-rw-r--r--coin/platform_configs/linux_android_tests_developer.yaml10
-rw-r--r--coin/platform_configs/linux_android_tests_multi_abi.yaml20
-rw-r--r--coin/platform_configs/macos.yaml129
-rw-r--r--coin/platform_configs/meta-boot2qt-aws.yaml4
-rw-r--r--coin/platform_configs/meta-boot2qt-qcom.yaml4
-rw-r--r--coin/platform_configs/meta-boot2qt-riscv.yaml4
-rw-r--r--coin/platform_configs/meta-qsr.yaml4
-rw-r--r--coin/platform_configs/nightly_macos13.yaml14
-rw-r--r--coin/platform_configs/nightly_macos14_arm.yaml20
-rw-r--r--coin/platform_configs/nightly_qnx710_host_windows.yaml4
-rw-r--r--coin/platform_configs/nightly_qt5_axivion.yaml2
-rw-r--r--coin/platform_configs/nightly_qtapplicationmanager_axivion.yaml14
-rw-r--r--coin/platform_configs/nightly_ubuntu_20.04_c++17.yaml2
-rw-r--r--coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml14
-rw-r--r--coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml5
-rw-r--r--coin/platform_configs/nightly_ubuntu_24_04_arm64_documentation.yaml18
-rw-r--r--coin/platform_configs/nightly_vxworks.yaml11
-rw-r--r--coin/platform_configs/precheck.yaml2
-rw-r--r--coin/platform_configs/qmake2cmake.yaml6
-rw-r--r--coin/platform_configs/qt-creator.yaml19
-rw-r--r--coin/platform_configs/qt3d.yaml3
-rw-r--r--coin/platform_configs/qt5.yaml15
-rw-r--r--coin/platform_configs/qtactiveqt.yaml3
-rw-r--r--coin/platform_configs/qtapplicationmanager.yaml5
-rw-r--r--coin/platform_configs/qtbase-new-compiler-testing.yaml14
-rw-r--r--coin/platform_configs/qtbase.yaml6
-rw-r--r--coin/platform_configs/qtcharts.yaml3
-rw-r--r--coin/platform_configs/qtcoap.yaml5
-rw-r--r--coin/platform_configs/qtconnectivity.yaml3
-rw-r--r--coin/platform_configs/qtdatavis3d.yaml3
-rw-r--r--coin/platform_configs/qtdeclarative.yaml5
-rw-r--r--coin/platform_configs/qtdeviceutilities.yaml5
-rw-r--r--coin/platform_configs/qtdltlogging.yaml5
-rw-r--r--coin/platform_configs/qtdoc.yaml3
-rw-r--r--coin/platform_configs/qtgraphs.yaml4
-rw-r--r--coin/platform_configs/qtgrpc.yaml6
-rw-r--r--coin/platform_configs/qthttpserver.yaml3
-rw-r--r--coin/platform_configs/qtimageformats.yaml4
-rw-r--r--coin/platform_configs/qtinterfaceframework.yaml17
-rw-r--r--coin/platform_configs/qtivi.yaml5
-rw-r--r--coin/platform_configs/qtlanguageserver.yaml4
-rw-r--r--coin/platform_configs/qtlite.yaml205
-rw-r--r--coin/platform_configs/qtlocation.yaml5
-rw-r--r--coin/platform_configs/qtlottie.yaml5
-rw-r--r--coin/platform_configs/qtmqtt.yaml3
-rw-r--r--coin/platform_configs/qtmultimedia.yaml4
-rw-r--r--coin/platform_configs/qtnetworkauth.yaml3
-rw-r--r--coin/platform_configs/qtopcua.yaml5
-rw-r--r--coin/platform_configs/qtpositioning.yaml3
-rw-r--r--coin/platform_configs/qtquick3d.yaml4
-rw-r--r--coin/platform_configs/qtquick3dphysics.yaml3
-rw-r--r--coin/platform_configs/qtquickeffectmaker.yaml5
-rw-r--r--coin/platform_configs/qtquicktimeline.yaml4
-rw-r--r--coin/platform_configs/qtremoteobjects.yaml1
-rw-r--r--coin/platform_configs/qtsaferenderer-runtime.yaml54
-rw-r--r--coin/platform_configs/qtsaferenderer.yaml22
-rw-r--r--coin/platform_configs/qtscxml.yaml3
-rw-r--r--coin/platform_configs/qtsensors.yaml3
-rw-r--r--coin/platform_configs/qtserialbus.yaml3
-rw-r--r--coin/platform_configs/qtserialport.yaml3
-rw-r--r--coin/platform_configs/qtshadertools.yaml4
-rw-r--r--coin/platform_configs/qtspeech.yaml5
-rw-r--r--coin/platform_configs/qtsvg.yaml4
-rw-r--r--coin/platform_configs/qttools.yaml3
-rw-r--r--coin/platform_configs/qttranslations.yaml5
-rw-r--r--coin/platform_configs/qtvehicleservices.yaml3
-rw-r--r--coin/platform_configs/qtvirtualkeyboard.yaml4
-rw-r--r--coin/platform_configs/qtwayland.yaml17
-rw-r--r--coin/platform_configs/qtwebchannel.yaml3
-rw-r--r--coin/platform_configs/qtwebengine.yaml5
-rw-r--r--coin/platform_configs/qtwebkit.yaml2
-rw-r--r--coin/platform_configs/qtwebsockets.yaml3
-rw-r--r--coin/platform_configs/qtwebview.yaml5
-rw-r--r--coin/platform_configs/tqtc-android-automotive.yaml44
-rw-r--r--coin/platform_configs/tqtc-qt-rta.yaml31
-rw-r--r--coin/platform_configs/tqtc-qtpip.yaml12
-rw-r--r--coin/platform_configs/tqtc-qtsdk.yaml6
-rw-r--r--coin/platform_configs/wasm_qtbase_tests.yaml9
-rw-r--r--coin/platform_configs/webos.yaml18
-rw-r--r--coin/platform_configs/yocto.yaml15
-rw-r--r--coin/pre-provisioning/qtci-linux-RHEL-8.8-x86_64/README_MANUAL_INSTALLATIONS62
-rwxr-xr-xcoin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh41
-rw-r--r--coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable-automounting.sh14
-rw-r--r--coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/README_MANUAL_INSTALLATIONS60
-rw-r--r--coin/pre-provisioning/qtci-linux-SLES-15_SP5-x86_64/README_MANUAL_INSTALLATIONS75
-rw-r--r--coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS59
-rw-r--r--coin/pre-provisioning/qtci-linux-Ubuntu-24.04-aarch64/README_MANUAL_INSTALLATIONS60
-rw-r--r--coin/pre-provisioning/qtci-linux-openSUSE-15.5-x86_64/README_MANUAL_INSTALLATIONS35
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/disable-defragment.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/msvc2015.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/msvc2017.txt42
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/msvc2017_build_tools.txt42
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86/msvc2019.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86_64/disable-defragment.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86_64/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-defragment.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H1-x86_64/msvc2019.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H1-x86_64/virtio.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-defragment.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2015_update.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2019.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2022.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-10_21H2-x86_64/virtio.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2015_update.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2019.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2022.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-defragment.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2015_update.txt2
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2019.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2022.txt8
-rw-r--r--coin/pre-provisioning/qtci-windows-11_21H2-x86_64/virtio.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/README_MANUAL_INSTALLATIONS64
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-clean-manager.ps18
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-defragment.ps142
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-ntp.ps14
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-schedule-tasks.ps172
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-update-orchestrator.ps113
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windefender.ps121
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-file-protector.ps14
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-update-medic.ps125
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-updates.ps124
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-aarch64/msvc2022.txt74
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-defragment.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windefender.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windows-updates.ps140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2019.txt6
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2022.txt7
-rw-r--r--coin/pre-provisioning/qtci-windows-11_22H2-x86_64/virtio.txt4
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/01-enable-dotnet-framework.ps122
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/README_MANUAL_INSTALLATIONS140
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-ntp.ps14
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-schedule-tasks.ps172
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-update-orchestrator.ps113
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windefender.ps121
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-file-protector.ps14
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-update-medic.ps125
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-updates.ps124
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2019.txt77
-rw-r--r--coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2022.txt74
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/.gitignore15
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/README.md20
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/app/.gitignore1
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/app/build.gradle26
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/app/src/main/AndroidManifest.xml20
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/app/src/main/java/com/example/gradle_project/MainActivity.java16
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/app/src/main/res/layout/activity_main.xml18
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/build.gradle4
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/gradle/libs.versions.toml16
-rw-r--r--coin/provisioning/common/linux/android/gradle_project/settings.gradle17
-rwxr-xr-xcoin/provisioning/common/linux/android_emulator_launcher.sh120
-rwxr-xr-xcoin/provisioning/common/linux/android_linux.sh199
-rwxr-xr-xcoin/provisioning/common/linux/apt_wait_loop.sh41
-rwxr-xr-xcoin/provisioning/common/linux/axivion-bauhaus-suite.sh65
-rwxr-xr-xcoin/provisioning/common/linux/bootstrap-autostart.sh51
-rwxr-xr-xcoin/provisioning/common/linux/cleanup_cache.sh52
-rwxr-xr-xcoin/provisioning/common/linux/cmake_linux.sh49
-rwxr-xr-xcoin/provisioning/common/linux/cmake_min_supported.sh43
-rwxr-xr-xcoin/provisioning/common/linux/disable-cracklib.sh2
-rwxr-xr-xcoin/provisioning/common/linux/disable-notifications.sh2
-rwxr-xr-xcoin/provisioning/common/linux/disable-ntp_linux.sh45
-rwxr-xr-xcoin/provisioning/common/linux/disable_kwin_overview.sh43
-rwxr-xr-xcoin/provisioning/common/linux/disable_selinux.sh2
-rwxr-xr-xcoin/provisioning/common/linux/docker.sh78
-rwxr-xr-xcoin/provisioning/common/linux/enable_test_stacktraces.sh35
-rwxr-xr-xcoin/provisioning/common/linux/fbx_linux.sh43
-rwxr-xr-xcoin/provisioning/common/linux/gcc.sh45
-rwxr-xr-xcoin/provisioning/common/linux/install-cpdb.sh53
-rwxr-xr-xcoin/provisioning/common/linux/install-flite.sh51
-rwxr-xr-xcoin/provisioning/common/linux/install-git.sh45
-rwxr-xr-xcoin/provisioning/common/linux/install-nodejs.sh42
-rwxr-xr-xcoin/provisioning/common/linux/install-vcpkg-ports-android.sh24
-rwxr-xr-xcoin/provisioning/common/linux/install-vcpkg-ports.sh21
-rwxr-xr-xcoin/provisioning/common/linux/install-vcpkg.sh59
-rwxr-xr-xcoin/provisioning/common/linux/install_dwz.sh45
-rwxr-xr-xcoin/provisioning/common/linux/integrity.sh51
-rwxr-xr-xcoin/provisioning/common/linux/mimersql.sh49
-rwxr-xr-xcoin/provisioning/common/linux/mount-vcpkg-cache-drive.sh21
-rwxr-xr-xcoin/provisioning/common/linux/qnx_710.sh73
-rwxr-xr-xcoin/provisioning/common/linux/qnx_800.sh85
-rw-r--r--coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/system_files.custom10
-rwxr-xr-xcoin/provisioning/common/linux/remove-update_notifier.sh2
-rwxr-xr-xcoin/provisioning/common/linux/sccache.sh41
-rwxr-xr-xcoin/provisioning/common/linux/set_ulimit.sh41
-rwxr-xr-xcoin/provisioning/common/linux/squish-coco.sh43
-rwxr-xr-xcoin/provisioning/common/linux/ubuntu-version.sh41
-rw-r--r--coin/provisioning/common/linux/vcpkg/vcpkg.json12
-rwxr-xr-xcoin/provisioning/common/linux/version.sh41
-rwxr-xr-xcoin/provisioning/common/linux/vx_works.sh51
-rwxr-xr-xcoin/provisioning/common/linux/vxworks_qemu_launcher.sh39
-rwxr-xr-xcoin/provisioning/common/macos/InstallAppFromCompressedFileFromURL.sh41
-rwxr-xr-xcoin/provisioning/common/macos/InstallPKGFromURL.sh43
-rwxr-xr-xcoin/provisioning/common/macos/android.sh64
-rwxr-xr-xcoin/provisioning/common/macos/cmake.sh49
-rwxr-xr-xcoin/provisioning/common/macos/disable-app-reopen.sh41
-rwxr-xr-xcoin/provisioning/common/macos/disable-notifications_and_warnings.sh2
-rwxr-xr-xcoin/provisioning/common/macos/disable_net_lso.sh46
-rwxr-xr-xcoin/provisioning/common/macos/disable_spotlight.sh41
-rwxr-xr-xcoin/provisioning/common/macos/docker.sh45
-rwxr-xr-xcoin/provisioning/common/macos/enable_zsh_history_and_viminfo.sh12
-rwxr-xr-xcoin/provisioning/common/macos/fbx_macos.sh46
-rwxr-xr-xcoin/provisioning/common/macos/fix_relative_dependencies.sh25
-rwxr-xr-xcoin/provisioning/common/macos/homebrew.sh8
-rwxr-xr-xcoin/provisioning/common/macos/homebrew_for_arm_mac.sh30
-rwxr-xr-xcoin/provisioning/common/macos/increase_limits.sh51
-rwxr-xr-xcoin/provisioning/common/macos/install-commandlinetools.sh41
-rwxr-xr-xcoin/provisioning/common/macos/install-git.sh2
-rwxr-xr-xcoin/provisioning/common/macos/install_xcode.sh49
-rwxr-xr-xcoin/provisioning/common/macos/java.sh43
-rwxr-xr-xcoin/provisioning/common/macos/java_arm.sh43
-rwxr-xr-xcoin/provisioning/common/macos/libiodbc.sh45
-rwxr-xr-xcoin/provisioning/common/macos/libusb.sh64
-rwxr-xr-xcoin/provisioning/common/macos/macos-version.sh61
-rwxr-xr-xcoin/provisioning/common/macos/makeuniversal.sh65
-rwxr-xr-xcoin/provisioning/common/macos/mimersql.sh56
-rwxr-xr-xcoin/provisioning/common/macos/mount-vcpkg-cache-drive.sh28
-rwxr-xr-xcoin/provisioning/common/macos/ninja.sh43
-rwxr-xr-xcoin/provisioning/common/macos/nodejs.sh49
-rwxr-xr-xcoin/provisioning/common/macos/pip.sh6
-rwxr-xr-xcoin/provisioning/common/macos/pkgconfig.sh43
-rwxr-xr-xcoin/provisioning/common/macos/postgresql.sh48
-rwxr-xr-xcoin/provisioning/common/macos/python2.sh47
-rwxr-xr-xcoin/provisioning/common/macos/python3.sh53
-rwxr-xr-xcoin/provisioning/common/macos/sccache.sh41
-rwxr-xr-xcoin/provisioning/common/macos/screenresolution.sh41
-rwxr-xr-xcoin/provisioning/common/macos/set-locale.sh43
-rwxr-xr-xcoin/provisioning/common/macos/set_tcc_permissions.sh31
-rwxr-xr-xcoin/provisioning/common/macos/sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/common/macos/system_updates.sh41
-rwxr-xr-xcoin/provisioning/common/macos/telegraf-ioping.sh8
-rwxr-xr-xcoin/provisioning/common/macos/telegraf_install.sh59
-rwxr-xr-xcoin/provisioning/common/macos/version.sh41
-rw-r--r--coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake5
-rw-r--r--coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-armv7le.cmake5
-rw-r--r--coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-x8664.cmake5
-rw-r--r--coin/provisioning/common/shared/ffmpeg_config_options.txt2
-rw-r--r--coin/provisioning/common/shared/requirements.txt19
-rwxr-xr-x[-rw-r--r--]coin/provisioning/common/shared/telegraf/telegraf-ioping.sh6
-rw-r--r--coin/provisioning/common/shared/testserver/californium/Dockerfile4
-rw-r--r--coin/provisioning/common/shared/testserver/californium/qt_changes.patch43
-rwxr-xr-xcoin/provisioning/common/shared/testserver/docker_images.sh82
-rwxr-xr-xcoin/provisioning/common/shared/testserver/docker_machine.sh51
-rwxr-xr-xcoin/provisioning/common/shared/testserver/docker_testserver.sh45
-rwxr-xr-x[-rw-r--r--]coin/provisioning/common/shared/testserver/settings.sh41
-rw-r--r--coin/provisioning/common/shared/triplets/arm64-windows-qt.cmake7
-rw-r--r--coin/provisioning/common/shared/triplets/armeabi-v7a-android-qt.cmake15
-rw-r--r--coin/provisioning/common/shared/triplets/x64-linux-qt.cmake13
-rw-r--r--coin/provisioning/common/shared/triplets/x64-windows-qt.cmake7
-rw-r--r--coin/provisioning/common/shared/triplets/x86-android-qt.cmake15
-rw-r--r--coin/provisioning/common/shared/triplets/x86_64-android-qt.cmake15
-rw-r--r--coin/provisioning/common/shared/vcpkg-configuration.json9
-rw-r--r--coin/provisioning/common/shared/vcpkg_registry_mirror.txt1
-rw-r--r--coin/provisioning/common/shared/vcpkg_tool_release_tag.txt1
-rw-r--r--coin/provisioning/common/shared/vcpkg_version.txt1
-rwxr-xr-xcoin/provisioning/common/unix/DownloadURL.sh60
-rwxr-xr-xcoin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh41
-rwxr-xr-xcoin/provisioning/common/unix/SetEnvVar.sh45
-rwxr-xr-xcoin/provisioning/common/unix/check_and_set_proxy.sh40
-rwxr-xr-xcoin/provisioning/common/unix/common.sourced.sh49
-rwxr-xr-xcoin/provisioning/common/unix/disable-ntp_macos.sh41
-rwxr-xr-xcoin/provisioning/common/unix/emsdk.sh60
-rwxr-xr-xcoin/provisioning/common/unix/install-breakpad.sh45
-rwxr-xr-xcoin/provisioning/common/unix/install-conan.sh2
-rwxr-xr-xcoin/provisioning/common/unix/install-ffmpeg-android.sh65
-rwxr-xr-xcoin/provisioning/common/unix/install-ffmpeg-ios.sh76
-rwxr-xr-xcoin/provisioning/common/unix/install-ffmpeg.sh119
-rwxr-xr-xcoin/provisioning/common/unix/install-openssl.sh81
-rwxr-xr-x[-rw-r--r--]coin/provisioning/common/unix/install_grpc.sh58
-rwxr-xr-xcoin/provisioning/common/unix/install_protobuf.sh79
-rwxr-xr-xcoin/provisioning/common/unix/libclang-v100-dyn.sh51
-rwxr-xr-xcoin/provisioning/common/unix/libclang.sh71
-rwxr-xr-xcoin/provisioning/common/unix/mqtt_broker.sh43
-rwxr-xr-xcoin/provisioning/common/unix/openssl_3_for_android.sh89
-rwxr-xr-xcoin/provisioning/common/unix/openssl_for_android.sh90
-rw-r--r--coin/provisioning/common/unix/pyenv.rb (renamed from coin/provisioning/qtci-macos-13-arm/pyenv.rb)36
-rwxr-xr-xcoin/provisioning/common/unix/python_modules.sh41
-rwxr-xr-xcoin/provisioning/common/unix/sccache.sh49
-rwxr-xr-xcoin/provisioning/common/unix/squishInstall.sh116
-rwxr-xr-xcoin/provisioning/common/unix/telegraf_install.sh89
-rwxr-xr-xcoin/provisioning/common/unix/telegraf_password.sh47
-rw-r--r--coin/provisioning/common/windows/3dstudio_3rdparty.ps12
-rw-r--r--coin/provisioning/common/windows/allow-remote-desktop-access.ps140
-rw-r--r--coin/provisioning/common/windows/android-openssl.ps170
-rw-r--r--coin/provisioning/common/windows/android.ps186
-rw-r--r--coin/provisioning/common/windows/cmake.ps178
-rw-r--r--coin/provisioning/common/windows/conan.ps144
-rw-r--r--coin/provisioning/common/windows/disable-autoreboot.ps140
-rw-r--r--coin/provisioning/common/windows/disable-defragment.ps140
-rw-r--r--coin/provisioning/common/windows/disable-sleep.ps140
-rw-r--r--coin/provisioning/common/windows/disable-uac.ps140
-rw-r--r--coin/provisioning/common/windows/disable-windefender.ps140
-rw-r--r--coin/provisioning/common/windows/disable-windows-module-installer.ps14
-rw-r--r--coin/provisioning/common/windows/disable-windows-updates.ps140
-rw-r--r--coin/provisioning/common/windows/dxsdk.ps12
-rw-r--r--coin/provisioning/common/windows/emsdk.ps144
-rw-r--r--coin/provisioning/common/windows/exceutequeueditems.ps167
-rw-r--r--coin/provisioning/common/windows/fbx_windows.ps142
-rw-r--r--coin/provisioning/common/windows/grpc.ps161
-rw-r--r--coin/provisioning/common/windows/helpers.ps149
-rw-r--r--coin/provisioning/common/windows/install-azure-tool.ps140
-rw-r--r--coin/provisioning/common/windows/install-breakpad.ps144
-rw-r--r--coin/provisioning/common/windows/install-dependencywalker.ps142
-rw-r--r--coin/provisioning/common/windows/install-dotnet.ps144
-rw-r--r--coin/provisioning/common/windows/install-ffmpeg.ps198
-rw-r--r--coin/provisioning/common/windows/install-git.ps142
-rw-r--r--coin/provisioning/common/windows/install-gnuwin32.ps142
-rw-r--r--coin/provisioning/common/windows/install-jdk.ps165
-rw-r--r--coin/provisioning/common/windows/install-jq.ps131
-rw-r--r--coin/provisioning/common/windows/install-mcuxpresso.ps142
-rw-r--r--coin/provisioning/common/windows/install-mingw.ps156
-rw-r--r--coin/provisioning/common/windows/install-msys2.ps148
-rw-r--r--coin/provisioning/common/windows/install-notepad++.ps175
-rw-r--r--coin/provisioning/common/windows/install-openssh.ps148
-rw-r--r--coin/provisioning/common/windows/install-ruby.ps142
-rw-r--r--coin/provisioning/common/windows/install-sccache.ps142
-rw-r--r--coin/provisioning/common/windows/install-sed.ps144
-rw-r--r--coin/provisioning/common/windows/install-sevenzip.ps174
-rw-r--r--coin/provisioning/common/windows/install-stm32cubeprogrammer.ps142
-rw-r--r--coin/provisioning/common/windows/install-strawberry-perl.ps142
-rw-r--r--coin/provisioning/common/windows/install-vcpkg-ports-android.ps123
-rw-r--r--coin/provisioning/common/windows/install-vcpkg-ports.ps126
-rw-r--r--coin/provisioning/common/windows/install-vcpkg.ps158
-rw-r--r--coin/provisioning/common/windows/install_telegraf.ps191
-rw-r--r--coin/provisioning/common/windows/jom.ps12
-rw-r--r--coin/provisioning/common/windows/libclang-v100-dyn.ps12
-rw-r--r--coin/provisioning/common/windows/libclang.ps18
-rw-r--r--coin/provisioning/common/windows/libusb.ps148
-rw-r--r--coin/provisioning/common/windows/longpath.ps12
-rw-r--r--coin/provisioning/common/windows/mesa_llvmpipe.ps144
-rw-r--r--coin/provisioning/common/windows/mimersql.ps166
-rw-r--r--coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps120
-rw-r--r--coin/provisioning/common/windows/mqtt_broker.ps142
-rw-r--r--coin/provisioning/common/windows/msvc-2013-update5.ps142
-rw-r--r--coin/provisioning/common/windows/msys.ps12
-rw-r--r--coin/provisioning/common/windows/mysql.ps159
-rw-r--r--coin/provisioning/common/windows/ninja.ps160
-rw-r--r--coin/provisioning/common/windows/nodejs.ps177
-rw-r--r--coin/provisioning/common/windows/opcua_unifiedautomation.ps142
-rw-r--r--coin/provisioning/common/windows/openssl-arm64.ps171
-rw-r--r--coin/provisioning/common/windows/openssl.ps144
-rw-r--r--coin/provisioning/common/windows/postgresql.ps144
-rw-r--r--coin/provisioning/common/windows/protobuf.ps116
-rw-r--r--coin/provisioning/common/windows/python.ps1119
-rw-r--r--coin/provisioning/common/windows/python3.ps183
-rw-r--r--coin/provisioning/common/windows/qnx710.ps146
-rw-r--r--coin/provisioning/common/windows/set-network-test-server.ps140
-rw-r--r--coin/provisioning/common/windows/set-proxy.ps140
-rw-r--r--coin/provisioning/common/windows/share-test-folders.ps140
-rw-r--r--coin/provisioning/common/windows/squish-coco.ps142
-rw-r--r--coin/provisioning/common/windows/squishInstall.ps157
-rw-r--r--coin/provisioning/common/windows/telegraf_password.ps140
-rw-r--r--coin/provisioning/common/windows/unset-proxy.ps140
-rw-r--r--coin/provisioning/common/windows/update-msvc2019.ps144
-rw-r--r--coin/provisioning/common/windows/vc_redist.ps146
-rw-r--r--coin/provisioning/common/windows/vcpkg/vcpkg.json12
-rw-r--r--coin/provisioning/common/windows/vulkansdk.ps142
-rw-r--r--coin/provisioning/common/windows/win10sdk.ps142
-rw-r--r--coin/provisioning/common/windows/winrtrunner.ps12
-rwxr-xr-xcoin/provisioning/qtci-linux-CentOS-8.3-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/01-disable_auto_suspend.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh65
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-notifications.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-update_notifier.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/03-install-nodejs.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/04-libclang.sh6
-rw-r--r--coin/provisioning/qtci-linux-Debian-11.6-aarch64/09-openssl.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/30-install_icu.sh35
-rw-r--r--coin/provisioning/qtci-linux-Debian-11.6-aarch64/60-install_protobuf.sh5
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Debian-11.6-aarch64/92-sbuild.sh72
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh21
-rwxr-xr-xcoin/provisioning/qtci-linux-Debian-11.6-aarch64/99-enable_test_stacktraces.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-disable-automounting.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-refresh-subscription-manager.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_network_manager_secret_key.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_stable-privacy.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-enable-repos.sh46
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-install-gcc-toolset.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-install-packages.sh58
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-p7zip.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/09-disable_selinux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install_icu.sh45
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-install-cmake.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/50-openssl_for_android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/60-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_dwz.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-install-ffmpeg.sh0
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-version.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-disable-automounting.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-refresh-subscription-manager.sh42
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_network_manager_secret_key.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_stable-privacy.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-enable-repos.sh46
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-install-gcc-toolset.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh63
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-p7zip.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-disable_selinux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-openssl.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install_icu.sh45
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-install-cmake.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/50-openssl_for_android_linux.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-8.4-x86_64/60-install_protobuf.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-8.4-x86_64/61-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_dwz.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-ffmpeg.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-version.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-refresh-subscription-manager.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-remove_network_manager_secret_key.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/03-enable-repos.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/04-install-packages.sh22
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/09-openssl.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install_icu.sh14
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/35-install-breakpad.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-8.6-x86_64/60-install_protobuf.sh0
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-8.6-x86_64/61-install_grpc.sh0
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-install-ffmpeg.sh4
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-mimer.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable-automounting.sh15
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable_net_lso.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-install_telegraf.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-refresh-subscription-manager.sh18
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_network_manager_secret_key.sh11
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_stable-privacy.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-set-ulimit.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-systemsetup.sh29
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-enable-repos.sh34
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-install-gcc-toolset.sh10
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-install-packages.sh175
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-p7zip.sh17
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang-v100-dyn.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-disable_selinux.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-openssl.sh10
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/20-sccache.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/22-mqtt_broker.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-fbx.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-conan.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-git.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install_icu.sh46
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/35-install-breakpad.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-android_linux.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-install-cmake.sh13
-rw-r--r--coin/provisioning/qtci-linux-RHEL-8.8-x86_64/41-install-vcpkg.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/42-install-vcpkg-ports.sh14
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/50-openssl_for_android_linux.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/60-install_protobuf.sh10
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/61-install_grpc.sh10
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_QemuGA.sh11
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_dwz.sh12
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-bootstrap-autostart.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-install-ffmpeg.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-mimer.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-squish.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-cleanup.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-enable_test_stacktraces.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-version.sh18
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-refresh-subscription-manager.sh42
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-remove_network_manager_secret_key.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/03-enable-repos.sh50
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-install-packages.sh69
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-p7zip.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/09-disable_selinux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install_icu.sh45
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-install-cmake.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/50-openssl_for_android_linux.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-9.0-x86_64/60-install_protobuf.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-9.0-x86_64/61-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_dwz.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-install-ffmpeg.sh0
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-version.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable_net_lso.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-install_telegraf.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-refresh-subscription-manager.sh18
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-remove_network_manager_secret_key.sh11
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-set-ulimit.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-systemsetup.sh31
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/02-install-xcb_util_cursor.sh10
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/03-enable-repos.sh34
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-install-packages.sh189
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-p7zip.sh15
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang-v100-dyn.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/09-disable_selinux.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/20-sccache.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/22-mqtt_broker.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-fbx.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-conan.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-git.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install_icu.sh45
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/35-install-breakpad.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-android_linux.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-install-cmake.sh12
-rw-r--r--coin/provisioning/qtci-linux-RHEL-9.2-x86_64/41-install-vcpkg.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/42-install-vcpkg-ports.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/50-openssl_for_android_linux.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/60-install_protobuf.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/61-install_grpc.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_QemuGA.sh10
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_dwz.sh11
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-bootstrap-autostart.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-install-ffmpeg.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-mimer.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-squish.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-cleanup.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-enable_test_stacktraces.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-version.sh17
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-btrfs-balance.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-coredump.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-fstrim_timer.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable_net_lso.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-disable-gnome-notifications.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-enable-modules.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-zypperpackages.sh48
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-pythondev.sh66
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-openssl.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/55-emsdk.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/60-install_protobuf.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/61-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/70-install_QemuGA.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-install-ffmpeg.sh0
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-unset-proxy.sh40
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-version.sh41
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-btrfs-balance.sh11
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-coredump.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-fstrim_timer.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable_net_lso.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-install_telegraf.sh5
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-set-ulimit.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-systemsetup.sh49
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-gnome-notifications.sh6
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-ntp.sh5
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-enable-modules.sh23
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-zypperpackages.sh113
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP5-x86_64/03-mount-vcpkg-cache-drive.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang-v100-dyn.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-pythondev.sh77
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-cmake.sh7
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-openssl.sh7
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/20-sccache.sh5
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/22-mqtt_broker.sh6
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-conan.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-git.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/41-install-vcpkg.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP5-x86_64/42-install-vcpkg-ports.sh6
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/55-emsdk.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/60-install_protobuf.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/61-install_grpc.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/70-install_QemuGA.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-bootstrap-autostart.sh5
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-install-ffmpeg.sh5
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-mimer.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-squish.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-enable_test_stacktraces.sh8
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-unset-proxy.sh9
-rw-r--r--coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-version.sh17
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh56
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-notifications.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-ntp.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-git_lfs.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-update_notifier.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-install-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/60-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/80-docker.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-version.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-disable_net_lso.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-apt.sh55
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-notifications.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-ntp.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-git_lfs.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-apport.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-update_notifier.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-gcc.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-qemu.sh40
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-yocto.sh56
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/08-integrity.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install_icu.sh45
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-install-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/50-openssl_for_android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/60-install_protobuf.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/61-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-qnx710.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/80-docker.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/85-qdoc_qtattributionsscanner.sh62
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/91-squish-coco.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-version.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-notifications.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-ntp.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable_auto_suspend.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-apport.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-update_notifier.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-systemsetup.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/02-apt.sh60
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-cleanup.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-version.sh6
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable-updates.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable_net_lso.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-systemsetup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-apt.sh69
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-notifications.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-ntp.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-git_lfs.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-apport.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-update_notifier.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-nodejs.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-qemu.sh40
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-yocto.sh56
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/08-integrity.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install_icu.sh55
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/35-install-breakpad.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-android_linux.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-install-cmake.sh2
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/41-install-vcpkg.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/42-install-vcpkg-ports.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/45-install-cpdb.sh35
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/50-openssl_for_android_linux.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/60-install_protobuf.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/61-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx710.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx800.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-vxworks.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/80-docker.sh63
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/81-fix_mdns_docker_resolution.sh40
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/85-qdoc_qtattributionsscanner.sh67
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/91-squish-coco.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/92-sbuild.sh57
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-axivion-bauhaus-suite.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-download-files-for-sbuild.sh16
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-enable_test_stacktraces.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-version.sh2
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/01-systemsetup.sh43
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-apt.sh236
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-notifications.sh6
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-ntp.sh6
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-apport.sh6
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-update_notifier.sh6
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-cleanup.sh7
-rw-r--r--coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-version.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-disable_net_lso.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-systemsetup.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/03-enable-repos.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/04-zypperpackages.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/05-disable_kwin_overview.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-pythondev.sh11
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/09-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/10-cmake-min-supported.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/40-install-flite.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/55-emsdk.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/60-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/80-install-chrome.sh34
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-install-ffmpeg.sh0
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-cleanup.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-unset-proxy.sh40
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-version.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-disable_net_lso.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-set-ulimit.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-systemsetup.sh35
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/03-enable-repos.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/04-zypperpackages.sh39
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/05-disable_kwin_overview.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-pythondev.sh43
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-openssl.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/10-cmake-min-supported.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/22-mqtt_broker.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/40-install-flite.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/55-emsdk.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/60-install_protobuf.sh41
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/61-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/70-install_QemuGA.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/80-install-chrome.sh34
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-install-ffmpeg.sh0
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-mimer.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-cleanup.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-unset-proxy.sh40
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-version.sh41
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-disable_net_lso.sh4
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-install_telegraf.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-set-ulimit.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-systemsetup.sh42
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/02-disable-ntp.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/03-enable-repos.sh12
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/04-zypperpackages.sh85
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-disable_kwin_overview.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang-v100-dyn.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-pythondev.sh18
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-cmake.sh5
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-openssl.sh5
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/10-cmake-min-supported.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/20-sccache.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/22-mqtt_broker.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-conan.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-git.sh (renamed from coin/provisioning/qtci-macos-11.0-x86_64/30-install-git.sh)2
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/40-install-flite.sh6
-rw-r--r--coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/41-install-vcpkg.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/42-install-vcpkg-ports.sh6
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/55-emsdk.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/60-install_protobuf.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/61-install_grpc.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/70-install_QemuGA.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/80-install-chrome.sh24
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-bootstrap-autostart.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-install-ffmpeg.sh3
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-mimer.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-squish.sh4
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/91-install-dummy-sound.sh60
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-cleanup.sh7
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-enable_test_stacktraces.sh8
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-unset-proxy.sh9
-rwxr-xr-xcoin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-version.sh17
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/01-enable_zsh_history_and_viminfo.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh45
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/06-disable_spotlight.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/21-install-commandlinetools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-homebrew.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-postgresql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-python2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/25-python3.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/30-android.sh61
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/30-install-git.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/35-openssl.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/36-emsdk.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/90-docker.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/90-install-ffmpeg.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/99-mac-version.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/01-disable-app-reopen.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-11-arm/01-disable-net-lso.sh0
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/05-systemsetup.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/06-disable_spotlight.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/21-install-commandlinetools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/23-homebrew.sh12
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/24-pyenv.sh (renamed from coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/50-openssl_for_android_linux.sh)12
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/25-postgresql.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/25-python2.sh50
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/25-python3.sh51
-rw-r--r--coin/provisioning/qtci-macos-11-arm/26-brew_packages.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/30-android.sh61
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/35-openssl.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/36-emsdk.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-11-arm/36-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/40-qnx700.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/55-signtools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/90-install-ffmpeg.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-11-arm/99-mac-version.sh4
-rw-r--r--coin/provisioning/qtci-macos-11-arm/pyenv.rb82
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/01-enable_zsh_history_and_viminfo.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/05-systemsetup.sh45
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/06-disable_spotlight.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/21-install-commandlinetools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-homebrew.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-postgresql.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-python2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/25-python3.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/29-libusb.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/30-android.sh62
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/35-openssl.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/36-emsdk.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-11-x86_64/36-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/90-install-ffmpeg.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/90-squish.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-11-x86_64/99-mac-version.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/01-disable-app-reopen.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-12-arm/01-disable-net-lso.sh0
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/05-systemsetup.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/06-disable_spotlight.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/21-install-commandlinetools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/23-homebrew.sh12
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/24-pyenv.sh (renamed from coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh)22
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/25-postgresql.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/25-python.sh51
-rw-r--r--coin/provisioning/qtci-macos-12-arm/26-brew_packages.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/29-libusb.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/30-android.sh61
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/35-openssl.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/36-emsdk.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-12-arm/36-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/40-qnx700.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/50-openssl_for_android_darwin.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/55-signtools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/90-docker.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/90-install-ffmpeg.sh2
-rw-r--r--coin/provisioning/qtci-macos-12-arm/90-vlc.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-12-arm/99-mac-version.sh4
-rw-r--r--coin/provisioning/qtci-macos-12-arm/pyenv.rb82
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/01-enable_zsh_history_and_viminfo.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/05-systemsetup.sh45
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/06-disable_spotlight.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/21-install-commandlinetools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-homebrew.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-postgresql.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-python2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/25-python3.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/29-libusb.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/30-android.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/35-openssl.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/36-emsdk.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-12-x86_64/36-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/50-openssl_for_android_darwin.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/90-docker.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/90-install-ffmpeg.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/90-squish.sh2
-rw-r--r--coin/provisioning/qtci-macos-12-x86_64/90-vlc.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-12-x86_64/99-mac-version.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/01-disable-app-reopen.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-13-arm/01-disable-net-lso.sh0
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/05-systemsetup.sh51
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/06-disable_spotlight.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/21-install-commandlinetools.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/23-homebrew.sh16
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/24-pyenv.sh (renamed from coin/provisioning/qtci-macos-11-arm/25-homebrew.sh)30
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/25-homebrew.sh67
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/25-postgresql.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/25-python.sh51
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/30-android.sh61
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/35-install-breakpad.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-13-arm/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/35-openssl.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/36-emsdk.sh2
-rwxr-xr-x[-rw-r--r--]coin/provisioning/qtci-macos-13-arm/36-install_grpc.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/40-qnx700.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/55-signtools.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/90-docker.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/90-install-ffmpeg.sh2
-rw-r--r--coin/provisioning/qtci-macos-13-arm/90-vlc.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-13-arm/99-mac-version.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/01-disable-updates.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/01-enable_zsh_history_and_viminfo.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/01-sha1sum-compatibility.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/03-bashprofile.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/05-systemsetup.sh45
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/06-crashreporter.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/06-disable_spotlight.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/06-disable_update_downloads.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/07-SSL_keychain.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/15-xz.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/20-java.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/20-xcode.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/21-install-commandlinetools.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-cmake.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-homebrew.sh47
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-mysql.sh43
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-pip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-postgresql.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-python2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/25-python3.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/26-freetype.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/26-ninja.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/26-odbc.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/26-p7zip.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/26-pcre2.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/27-libclang.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/28-libclang-v100-dyn.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/29-libusb.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/30-android.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/30-fbx.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/30-install-conan.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/30-nodejs.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/35-install-breakpad.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/35-install_protobuf.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/35-openssl.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/36-emsdk.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/36-install_grpc.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/50-openssl_for_android_darwin.sh41
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/80-screenresolution.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/81-bluetooth.sh2
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/90-install-ffmpeg.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/90-squish.sh2
-rw-r--r--coin/provisioning/qtci-macos-13-x86_64/90-vlc.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/97-set-locale.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-13-x86_64/99-mac-version.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-disable-app-reopen.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-disable-net-lso.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-disable-notifications_and_warnings.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-disable-updates.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-increase_limits.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-set_tcc_permissions.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/01-sha1sum-compatibility.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/03-bashprofile.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/05-systemsetup.sh80
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/06-crashreporter.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/06-disable_spotlight.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/06-disable_update_downloads.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/07-SSL_keychain.sh11
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/15-xz.sh32
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/20-java.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/20-xcode.sh22
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/21-install-commandlinetools.sh14
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/23-homebrew.sh16
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/24-pyenv.sh (renamed from coin/provisioning/qtci-macos-12-arm/25-homebrew.sh)30
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/24-sccache.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/25-cmake.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/25-mysql.sh27
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/25-pip.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/25-postgresql.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/25-python.sh20
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/26-freetype.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/26-ninja.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/26-odbc.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/26-p7zip.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/26-pcre2.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/27-libclang.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/28-libclang-v100-dyn.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/30-android.sh64
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/30-fbx.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/30-install-conan.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/30-nodejs.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/35-install-breakpad.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/35-install_protobuf.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/35-openssl.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/36-emsdk.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/36-install_grpc.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/40-qnx700.sh25
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/55-signtools.sh107
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/80-screenresolution.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/81-bluetooth.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/90-docker.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/90-install-ffmpeg.sh7
-rw-r--r--coin/provisioning/qtci-macos-14-arm/90-vlc.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/97-set-locale.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-14-arm/99-mac-version.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-disable-net-lso.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-disable-notifications_and_warnings.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-disable-updates.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-enable_zsh_history_and_viminfo.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-increase_limits.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-install_telegraf.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-mount-vcpkg-cache-drive.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/01-sha1sum-compatibility.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/03-bashprofile.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/05-systemsetup.sh84
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/06-crashreporter.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/06-disable_spotlight.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/06-disable_update_downloads.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/07-SSL_keychain.sh11
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/15-xz.sh21
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/20-java.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/20-xcode.sh22
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/21-install-commandlinetools.sh14
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/24-sccache.sh3
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-cmake.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-homebrew.sh26
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-mysql.sh27
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-pip.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-postgresql.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-python2.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/25-python3.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/26-freetype.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/26-jq.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/26-ninja.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/26-odbc.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/26-p7zip.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/26-pcre2.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/27-libclang.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/28-libclang-v100-dyn.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/29-install-pkgconfig.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/29-libusb.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/30-android.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/30-fbx.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/30-install-conan.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/30-nodejs.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/35-install-breakpad.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/35-install_protobuf.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/35-openssl.sh9
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/36-emsdk.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/50-openssl_for_android_darwin.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/80-screenresolution.sh6
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/81-bluetooth.sh10
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/90-install-ffmpeg.sh7
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/90-squish.sh8
-rw-r--r--coin/provisioning/qtci-macos-14-x86_64/90-vlc.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/97-set-locale.sh8
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/98-mimersql.sh5
-rwxr-xr-xcoin/provisioning/qtci-macos-14-x86_64/99-mac-version.sh8
-rw-r--r--coin/provisioning/qtci-windows-10-x86/00-disable-netadapterlso.ps13
-rw-r--r--coin/provisioning/qtci-windows-10-x86/02-python.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86/05-msvc.ps140
-rw-r--r--coin/provisioning/qtci-windows-10-x86/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-10-x86/09-install-openssh.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86/90-signing-tools.ps144
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/01-change-resolution.ps13
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/02-python-32bit.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/02-python.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/09-install-openssh.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps142
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/90-install-virtualbox.ps142
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/97-msvc2015.ps140
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/97-msvc2019.ps140
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/01-change-resolution.ps13
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/01-mount-vcpkg-cache-drive.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/01-msvc2019.ps140
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/02-python-32bit.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/02-python.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/08-install-jq.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/25-llvm-mingw.ps142
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/90-install-virtualbox.ps142
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/93-grpc.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/93-install-vcpkg.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/94-install-vcpkg-ports.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_21H2-x86_64/97-msvc2015.ps140
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/01-change-resolution.ps13
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/01-mount-vcpkg-cache-drive.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/02-python-32bit.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/02-python.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/08-install-jq.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1120_64.ps111
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1310_64.ps111
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-openssh.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/25-llvm-mingw.ps154
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/90-install-virtualbox.ps142
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/93-grpc.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/93-install-vcpkg.ps11
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/94-install-vcpkg-ports.ps13
-rw-r--r--coin/provisioning/qtci-windows-10_22H2-x86_64/97-msvc2015.ps140
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/01-change-resolution.ps13
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/01-mount-vcpkg-cache-drive.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/02-python-32bit.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/02-python.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/08-install-jq.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/25-llvm-mingw.ps142
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/90-install-virtualbox.ps142
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/93-grpc.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/93-install-vcpkg.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/94-install-vcpkg-ports.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_21H2-x86_64/97-msvc2015.ps140
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/00-disable-netadapterlso.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/00-install-sevenzip.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-allow-remote-desktop-access.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-change-resolution.ps128
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-notifications.ps19
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-runtimebroker.ps14
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-windows-telemetry.ps17
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-enable-guest-logon.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-install_telegraf.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/01-set-proxy.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-autoreboot.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-sleep.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/03-nodejs.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/05-enable-devmode.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/05-wsearch-off.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/06-mesa_llvmpipe.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/06-ninja.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/08-install-git.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/08-python3.ps19
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-openssh.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-sed.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl-arm64.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl.ps14
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/09-set-network-test-server.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/09-vulkansdk.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/22-mqtt_broker.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/23-winrtrunner.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/25-llvm-mingw.ps120
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/29-libusb.ps13
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/35-install-breakpad.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/36-install-gnuwin32.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/60-jom.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/70-cmake.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/85-disable_quickedit_powershell.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/90-3dstudio_3rdparty.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-notepad++.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-stm32cubeprogrammer.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/90-libusb.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/90-python-modules.ps15
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/96-disable-windows-module-installer.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/98-unset-proxy.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/99-share-test-folders.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-aarch64/99-version.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/01-change-resolution.ps13
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/01-mount-vcpkg-cache-drive.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/02-python-32bit.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/02-python.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/08-install-jq.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1120_64.ps111
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1310_64.ps111
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-openssh.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/25-llvm-mingw.ps152
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/90-install-virtualbox.ps142
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/93-grpc.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/93-install-vcpkg.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/94-install-vcpkg-ports.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_22H2-x86_64/97-msvc2015.ps140
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/00-disable-netadapterlso.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/00-install-sevenzip.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-allow-remote-desktop-access.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-change-resolution.ps128
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-notifications.ps19
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-runtimebroker.ps14
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-windows-telemetry.ps17
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-enable-guest-logon.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-install_telegraf.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-mount-vcpkg-cache-drive.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/01-set-proxy.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-autoreboot.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-sleep.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/03-nodejs.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/04-msys.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/05-enable-devmode.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/05-wsearch-off.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/06-longpath.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/06-mesa_llvmpipe.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/06-ninja.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-git.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jdk.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jq.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang-v100-dyn.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang.ps13
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/08-python3.ps112
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-dependencywalker.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-mingw1310_64.ps111
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-openssh.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-ruby.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-sed.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-strawberry-perl.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl-arm64.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-set-network-test-server.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/09-vulkansdk.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/10-dxsdk.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/10-install-msys2.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/11-conan.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/20-install-sccache.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/22-mqtt_broker.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/23-winrtrunner.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/25-llvm-mingw.ps120
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/29-libusb.ps13
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/30-fbx.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/35-install-breakpad.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/36-install-gnuwin32.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/40-android.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/50-openssl_for_android.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/60-jom.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/70-cmake.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/79-opcua_unifiedautomation.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/80-emsdk.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/85-disable_quickedit_powershell.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-3dstudio_3rdparty.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-exceutequeueditems.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-dotnet.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-ffmpeg.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-mcuxpresso.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-notepad++.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-stm32cubeprogrammer.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-virtualbox.ps121
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-libusb.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-mimersql.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-mysql.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-postgresql.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-python-modules.ps14
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/90-squish.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/91-install-azure-tool.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/91-squish-coco.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/92-protobuf.ps12
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/93-grpc.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/93-install-vcpkg.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/94-install-vcpkg-ports.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/96-disable-windows-module-installer.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/98-unset-proxy.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/99-share-test-folders.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/99-version.ps11
-rw-r--r--coin/provisioning/qtci-windows-11_23H2-x86_64/conanfiles/qtwebkit.txt31
-rw-r--r--coin/provisioning/qtci-windows-8.1-x86_64/07-python2.ps11
-rw-r--r--conanfile_profiles.py53
-rwxr-xr-xconfigure55
-rw-r--r--configure.bat63
-rwxr-xr-xinit-repository703
-rw-r--r--init-repository.bat23
-rwxr-xr-xinit-repository.pl653
m---------qt3d0
m---------qt5compat0
m---------qtactiveqt0
m---------qtbase0
m---------qtcharts0
m---------qtcoap0
m---------qtconnectivity0
m---------qtdatavis3d0
m---------qtdeclarative0
m---------qtdoc0
m---------qtgraphs0
m---------qtgrpc0
m---------qthttpserver0
m---------qtimageformats0
m---------qtlanguageserver0
m---------qtlocation0
m---------qtlottie0
m---------qtmqtt0
m---------qtmultimedia0
m---------qtnetworkauth0
m---------qtopcua0
m---------qtpositioning0
m---------qtqa0
m---------qtquick3d0
m---------qtquick3dphysics0
m---------qtquickeffectmaker0
m---------qtquicktimeline0
m---------qtremoteobjects0
m---------qtrepotools0
m---------qtscxml0
m---------qtsensors0
m---------qtserialbus0
m---------qtserialport0
m---------qtshadertools0
m---------qtspeech0
m---------qtsvg0
m---------qttools0
m---------qttranslations0
m---------qtvirtualkeyboard0
m---------qtwayland0
m---------qtwebchannel0
m---------qtwebengine0
m---------qtwebsockets0
m---------qtwebview0
-rw-r--r--tests/manual/RunCMake/CMakeLists.txt12
-rw-r--r--tests/manual/RunCMake/Common.cmake20
-rw-r--r--tests/manual/RunCMake/InitRepository/0030_ir_qtsvg-stdout.txt13
-rw-r--r--tests/manual/RunCMake/InitRepository/0040_ir_qtsvg_again-stdout.txt1
-rw-r--r--tests/manual/RunCMake/InitRepository/0050_ir_existing-stdout.txt12
-rw-r--r--tests/manual/RunCMake/InitRepository/0060_ir_shadertools_and_svg-stdout.txt19
-rw-r--r--tests/manual/RunCMake/InitRepository/0070_ir_qttools_with_deps-stdout.txt44
-rw-r--r--tests/manual/RunCMake/InitRepository/RunCMakeTest.cmake153
1647 files changed, 16157 insertions, 21694 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 00000000..a276b15c
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,9 @@
+## Qt contribution guidelines
+
+We welcome contributions to Qt!
+
+Note that all contributions to the Qt project are exclusively handled through the [Gerrit code review system](https://codereview.qt-project.org).
+
+Read the
+[Qt Contribution Guidelines](https://wiki.qt.io/Qt_Contribution_Guidelines) to learn more.
+
diff --git a/.gitignore b/.gitignore
index 9b8015da..a0f1959d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,12 @@ Makefile
.qmake.cache
.qmake.super
*.pro.user*
+CMakeLists.txt.user*
+CMakeUserPresets.json
+.vscode
+build
+build-*
+.DS_Store
+init-repository.opt
+init-repository.opt.in
+config.tl.opt
diff --git a/.gitmodules b/.gitmodules
index 5551123a..cfd27ee1 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -128,11 +128,11 @@
status = addon
[submodule "qt3d"]
depends = qtbase
- recommends = qtdeclarative qtshadertools
+ recommends = qtdeclarative qtshadertools qtmultimedia
path = qt3d
url = ../qt3d.git
branch = dev
- status = addon
+ status = deprecated
[submodule "qtimageformats"]
depends = qtbase
path = qtimageformats
@@ -222,8 +222,8 @@
branch = dev
status = addon
[submodule "qtspeech"]
- depends = qtbase
- recommends = qtdeclarative qtmultimedia
+ depends = qtbase qtmultimedia
+ recommends = qtdeclarative
path = qtspeech
url = ../qtspeech.git
branch = dev
@@ -318,6 +318,7 @@
status = addon
[submodule "qtgrpc"]
depends = qtbase
+ recommends = qtdeclarative
path = qtgrpc
url = ../qtgrpc.git
branch = dev
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1fff3d0e..b163500c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,17 +2,15 @@
# 3.16 is the absolute minimum though.
cmake_minimum_required(VERSION 3.16...3.21)
-
# set QT_SUPERBUILD early, so that qtbase/.cmake.conf can check it
set(QT_SUPERBUILD TRUE)
# Include qtbase's .cmake.conf for access to QT_REPO_MODULE_VERSION
set(__qt6_qtbase_src_path "${CMAKE_CURRENT_SOURCE_DIR}/qtbase")
include("${__qt6_qtbase_src_path}/.cmake.conf")
+include("${__qt6_qtbase_src_path}/cmake/QtBaseTopLevelHelpers.cmake")
-# Run platform auto-detection /before/ the first project() call and thus
-# before the toolchain file is loaded.
-include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake")
+qt_internal_top_level_setup_autodetect()
project(Qt
VERSION "${QT_REPO_MODULE_VERSION}"
@@ -21,38 +19,48 @@ project(Qt
LANGUAGES CXX C ASM
)
-# Required so we can call ctest from the root build directory
-enable_testing()
-
-set(qt_module_prop_prefix "__qt_prop_")
+qt_internal_top_level_setup_after_project()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
-if (NOT QT_BUILD_STANDALONE_TESTS)
- list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake")
- list(APPEND CMAKE_MODULE_PATH
- "${__qt6_qtbase_src_path}/cmake/3rdparty/extra-cmake-modules/find-modules")
- list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake/3rdparty/kwin")
-endif()
+qt_internal_top_level_setup_cmake_module_path()
include(QtTopLevelHelpers)
include(ECMOptionalAddSubdirectory)
-# Also make sure the CMake config files do not recreate the already-existing targets
-if (NOT QT_BUILD_STANDALONE_TESTS)
- set(QT_NO_CREATE_TARGETS TRUE)
-endif()
+qt_internal_top_level_before_build_submodules()
+qt_internal_find_modules(known_submodules)
# Get submodule list if not already defined
if(NOT QT_BUILD_SUBMODULES)
if(DEFINED ENV{QT_BUILD_SUBMODULES})
set(QT_BUILD_SUBMODULES "$ENV{QT_BUILD_SUBMODULES}")
else()
- qt_internal_find_modules(QT_BUILD_SUBMODULES)
+ set(QT_BUILD_SUBMODULES "${known_submodules}")
endif()
endif()
set(QT_BUILD_SUBMODULES "${QT_BUILD_SUBMODULES}" CACHE STRING "Submodules to build")
-qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULES)
+# Preliminary check if module should be skipped since -skip <module> or BUILD_<module>
+# are provided.
+set(explicitly_skipped_modules "")
+foreach(module IN LISTS known_submodules)
+ if(DEFINED BUILD_${module} AND NOT BUILD_${module})
+ list(APPEND explicitly_skipped_modules ${module})
+ endif()
+endforeach()
+
+foreach(module IN LISTS QT_BUILD_SUBMODULES)
+ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${module}/CMakeLists.txt)
+ message(FATAL_ERROR
+ "Module '${module}' cannot be found. Please double-check the "
+ "spelling and try again. Or run\n"
+ "`./configure -init-submodules -submodules ${module}` "
+ "to clone the submodule and its dependencies.")
+ endif()
+endforeach()
+
+qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULES
+ SKIP_MODULES ${explicitly_skipped_modules})
foreach(module IN LISTS QT_BUILD_SUBMODULES)
# Check for unmet dependencies
@@ -80,9 +88,15 @@ foreach(module IN LISTS QT_BUILD_SUBMODULES)
if(NOT error_reason STREQUAL "")
if(required)
+ if(QT_INTERNAL_CALLED_FROM_CONFIGURE)
+ set(skip_argument "-skip ${module}")
+ else()
+ set(skip_argument "-DBUILD_${module}=OFF")
+ endif()
+
message(FATAL_ERROR "Module '${module}' depends on '${dep}', "
"but ${error_reason}.\n"
- "Note: Use '-skip ${module}' to exclude it from the build.")
+ "Note: Use '${skip_argument}' to exclude it from the build.")
else()
message(STATUS "Skipping optional dependency '${dep}' of '${module}', "
"because ${error_reason}.")
@@ -100,18 +114,7 @@ foreach(module IN LISTS QT_BUILD_SUBMODULES)
message(STATUS "Configuring submodule '${module}'")
ecm_optional_add_subdirectory("${module}")
- if(module STREQUAL "qtbase")
- if (NOT QT_BUILD_STANDALONE_TESTS)
- list(APPEND CMAKE_PREFIX_PATH "${QtBase_BINARY_DIR}/${INSTALL_LIBDIR}/cmake")
- list(APPEND CMAKE_FIND_ROOT_PATH "${QtBase_BINARY_DIR}")
- endif()
- endif()
+ qt_internal_top_level_after_add_subdirectory()
endforeach()
-if(NOT QT_BUILD_STANDALONE_TESTS)
- # Display a summary of everything
- include(QtBuildInformation)
- include(QtPlatformSupport)
- qt_print_feature_summary()
- qt_print_build_instructions()
-endif()
+qt_internal_top_level_end()
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 00000000..3a0c3bd4
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,8 @@
+## Qt contribution guidelines
+
+We welcome contributions to Qt!
+
+Note that we cannot accept pull requests on GitHub. All contributions to the Qt project are exclusively handled through the [Gerrit code review system](https://codereview.qt-project.org).
+
+Read the
+[Qt Contribution Guidelines](https://wiki.qt.io/Qt_Contribution_Guidelines) to learn more.
diff --git a/LICENSE.GPL3-EXCEPT b/LICENSE.GPL3-EXCEPT
deleted file mode 100644
index b1cb1bec..00000000
--- a/LICENSE.GPL3-EXCEPT
+++ /dev/null
@@ -1,704 +0,0 @@
-This is the GNU General Public License version 3, annotated with The
-Qt Company GPL Exception 1.0:
-
--------------------------------------------------------------------------
-
-The Qt Company GPL Exception 1.0
-
-Exception 1:
-
-As a special exception you may create a larger work which contains the
-output of this application and distribute that work under terms of your
-choice, so long as the work is not otherwise derived from or based on
-this application and so long as the work does not in itself generate
-output that contains the output from this application in its original
-or modified form.
-
-Exception 2:
-
-As a special exception, you have permission to combine this application
-with Plugins licensed under the terms of your choice, to produce an
-executable, and to copy and distribute the resulting executable under
-the terms of your choice. However, the executable must be accompanied
-by a prominent notice offering all users of the executable the entire
-source code to this application, excluding the source code of the
-independent modules, but including any changes you have made to this
-application, under the terms of this license.
-
-
--------------------------------------------------------------------------
-
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- <program> Copyright (C) <year> <name of author>
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/LICENSE.QT-LICENSE-AGREEMENT b/LICENSE.QT-LICENSE-AGREEMENT
deleted file mode 100644
index ff775f95..00000000
--- a/LICENSE.QT-LICENSE-AGREEMENT
+++ /dev/null
@@ -1,2091 +0,0 @@
-QT LICENSE AGREEMENT
-Agreement version 4.4.1
-
-This Qt License Agreement ("Agreement") is a legal agreement for the licensing
-of Licensed Software (as defined below) between The Qt Company (as defined
-below) and the Licensee who has accepted the terms of this Agreement by signing
-this Agreement or by downloading or using the Licensed Software or in any other
-appropriate means.
-
-Capitalized terms used herein are defined in Section 1.
-
-WHEREAS:
- (A) Licensee wishes to use the Licensed Software for the purpose of
- developing and distributing Applications and/or Devices (each as defined
- below);
- (B) The Qt Company is willing to grant the Licensee a right to use Licensed
- Software for such a purpose pursuant to term and conditions of this
- Agreement; and
- (C) Parties wish to enable that their respective Affiliates also can sell
- and purchase licenses to serve Licensee Affiliates' needs to use Licensed
- Software pursuant to terms of the Agreement. Any such license purchases by
- Licensee Affiliates from The Qt Company or its Affiliates will create
- contractual relationship directly between the relevant The Qt Company and
- the respective ordering Licensee Affiliate "Acceding Agreement").
- Accordingly, Licensee shall not be a party to any such Acceding Agreement,
- and no rights or obligations are created to the Licensee thereunder but all
- rights and obligations under such Acceding Agreement are vested and borne
- solely by the ordering Licensee Affiliate and the relevant The Qt Company
- as a contracting parties under such Acceding Agreement.
-
-NOW, THEREFORE, THE PARTIES HEREBY AGREE AS FOLLOWS:
-
-1. DEFINITIONS
-
-"Affiliate" of a Party shall mean an entity
- (i) which is directly or indirectly controlling such Party;
- (ii) which is under the same direct or indirect ownership or control as
- such Party; or
- (iii) which is directly or indirectly owned or controlled by such Party.
-For these purposes, an entity shall be treated as being controlled by another
-if that other entity has fifty percent (50 %) or more of the votes in such
-entity, is able to direct its affairs and/or to control the composition of its
-board of directors or equivalent body.
-
-"Add-on Products" shall mean The Qt Company's specific add-on software products
-which are not licensed as part of The Qt Company's standard product offering,
-but shall be included into the scope of Licensed Software only if so
-specifically agreed between the Parties.
-
-"Agreement Term" shall mean the validity period of this Agreement, as set forth
-in Section 12.
-
-"Applications" shall mean software products created using the Licensed
-Software, which include the Redistributables, or part thereof.
-
-"Contractor(s)" shall mean third party consultants, distributors and
-contractors performing services to the Licensee under applicable contractual
-arrangement.
-
-"Customer(s)" shall mean Licensee's customers to whom Licensee, directly or
-indirectly, distributes copies of the Redistributables as integrated or
-incorporated into Applications or Devices.
-
-"Data Protection Legislation" shall mean the General Data Protection Regulation
-(EU 2016/679) (GDPR) and any national implementing laws, regulations and
-secondary legislation, as may be amended or updated from time to time, as well
-as any other data protection laws or regulations applicable in relevant
-territory.
-
-"Deployment Platforms" shall mean target operating systems and/or hardware
-specified in the License Certificate, on which the Redistributables can be
-distributed pursuant to the terms and conditions of this Agreement.
-
-"Designated User(s)" shall mean the employee(s) of Licensee or Licensee's
-Affiliates acting within the scope of their employment or Licensee's
-Contractors acting within the scope of their services on behalf of Licensee.
-
-"Development License" shall mean the license needed by the Licensee for each
-Designated User to use the Licensed Software under the license grant described
-in Section 3.1 of this Agreement. Development Licenses are available per
-respective Licensed Software products, each product having its designated scope
-and purpose of use.
-
-"Development License Term" shall mean the agreed validity period of the
-Development License or QA Tools license during which time the relevant Licensed
-Software product can be used pursuant to this Agreement. Agreed Development
-License Term, as ordered and paid for by the Licensee, shall be memorialized in
-the applicable License Certificate.
-
-"Development Platforms" shall mean those host operating systems specified in
-the License Certificate, in which the Licensed Software can be used under the
-Development License.
-
-"Devices" shall mean
- (1) hardware devices or products that
- i. are manufactured and/or distributed by the Licensee, its Affiliates,
- Contractors or Customers, and
- ii. incorporate, integrate or link to Applications such that
- substantial functionality of such unit, when used by an End User,
- is provided by Application(s) or otherwise depends on the Licensed
- Software, regardless of whether the Application is developed by
- Licensee or its Contractors; or
- (2) Applications designed for the hardware devices specified in item (1).
-
- Devices covered by this Agreement shall be specified in Appendix 2 or in a
- quote.
-
-"Distribution License(s)" shall mean a royalty-bearing license required for any
-kind of sale, trade, exchange, loan, lease, rental or other distribution by or
-on behalf of Licensee to a third party of Redistributables in connection with
-Devices pursuant to license grant described in Section 3.3 of this Agreement.
-Distribution Licensed are sold separately for each type of Device respectively
-and cannot be used for any type of Devices at Licensee's discretion.
-
-"Distribution License Packs" shall mean set of prepaid Distribution Licenses
-for distribution of Redistributables, as defined in The Qt Company's standard
-price list, quote, Purchase Order confirmation or in an Appendix 2 hereto, as
-the case may be.
-
-"End User" shall mean the final end user of the Application or a Device.
-
-"Evaluation License Term" shall mean a time period specified in the License
-Certificate for the Licensee to use the relevant Licensed Software for
-evaluation purposes according to Section 3.6 herein.
-
-"Intellectual Property Rights" shall mean patents (including utility models),
-design patents, and designs (whether or not capable of registration), chip
-topography rights and other like protection, copyrights, trademarks, service
-marks, trade names, logos or other words or symbols and any other form of
-statutory protection of any kind and applications for any of the foregoing as
-well as any trade secrets.
-
-"License Certificate" shall mean a certificate generated by The Qt Company for
-each Designated User respectively upon them downloading the Licensed Software,
-which will be available under respective Designated User's Qt Account at
-account.qt.io. License Certificates will specify relevant information
-pertaining the Licensed Software purchased by Licensee and Designated User's
-license to the Licensed Software.
-
-"License Fee" shall mean the fee charged to the Licensee for rights granted
-under the terms of this Agreement.
-
-"Licensed Software" shall mean specified product of commercially licensed
-version of Qt Software and/or QA Tools defined in Appendix 1 and/or Appendix 3,
-which Licensee has purchased and which is provided to Licensee under the terms
-of this Agreement. Licensed Software shall include corresponding online or
-electronic documentation, associated media and printed materials, including the
-source code (where applicable), example programs and the documentation.
-Licensed Software does not include Third Party Software (as defined in Section
-4) or Open Source Qt. The Qt Company may, in the course of its development
-activities, at its free and absolute discretion and without any obligation to
-send or publish any notifications to the Licensee or in general, make changes,
-additions or deletions in the components and functionalities of the Licensed
-Software, provided that no such changes, additions or deletions will affect
-the already released version of the Licensed Software, but only upcoming
-version(s).
-
-"Licensee" shall mean the individual or legal entity that is party to this
-Agreement.
-
-"Licensee's Records" shall mean books and records that contain information
-bearing on Licensee's compliance with this Agreement, Licensee's use of Open
-Source Qt and/or the payments due to The Qt Company under this Agreement,
-including, but not limited to user information, assembly logs, sales records
-and distribution records.
-
-"Modified Software" shall have the meaning as set forth in Section 2.3.
-
-"Online Services" shall mean any services or access to systems made available
-by The Qt Company to the Licensee over the Internet relating to the Licensed
-Software or for the purpose of use by the Licensee of the Licensed Software or
-Support. Use of any such Online Services is discretionary for the Licensee and
-some of them may be subject to additional fees.
-
-"Open Source Qt" shall mean Qt Software available under the terms of the GNU
-Lesser General Public License, version 2.1 or later ("LGPL") or the GNU General
-Public License, version 2.0 or later ("GPL"). For clarity, Open Source Qt shall
-not be provided, governed or used under this Agreement.
-
-"Party" or "Parties" shall mean Licensee and/or The Qt Company.
-
-"Permitted Software" shall mean (i) third party open source software products
-that are generally available for public in source code form and free of any
-charge under any of the licenses approved by Open Source Initiative as listed
-on https://opensource.org/licenses, which may include parts of Open Source Qt
-or be developed using Open Source Qt; and (ii) software The Qt Company has made
-available via its Qt Marketplace online distribution channel.
-
-"Pre-Release Code" shall have the meaning as set forth in Section 4.
-
-"Prohibited Combination" shall mean any effort to use, combine, incorporate,
-link or integrate Licensed Software with any software created with or
-incorporating Open Source Qt, or use Licensed Software for creation of any such
-software.
-
-"Purchase Order" shall have the meaning as set forth in Section 10.2.
-
-"QA Tools" shall mean software libraries and tools as defined in Appendix 1
-depending on which product(s) the Licensee has purchased under the Agreement.
-
-"Qt Software" shall mean the software libraries and tools of The Qt Company,
-which The Qt Company makes available under commercial and/or open source
-licenses.
-
-"Redistributables" shall mean the portions of the Licensed Software set forth
-in Appendix 1 that may be distributed pursuant to the terms of this Agreement
-in object code form only, including any relevant documentation. Where relevant,
-any reference to Licensed Software in this Agreement shall include and refer
-also to Redistributables.
-
-"Renewal Term" shall mean an extension of previous Development License Term as
-agreed between the Parties.
-
-"Submitted Modified Software" shall have the meaning as set forth in Section
-2.3.
-
-"Support" shall mean standard developer support that is provided by The Qt
-Company to assist Designated Users in using the Licensed Software in accordance
-with this Agreement and the Support Terms.
-
-"Support Terms" shall mean The Qt Company's standard support terms specified in
-Appendix 9 hereto.
-
-"Taxes" shall have the meaning set forth in Section 10.5.
-
-"The Qt Company" shall mean:
- (i) in the event Licensee is an individual residing in the United States or
- a legal entity incorporated in the United States or having its
- headquarters in the United States, The Qt Company Inc., a Delaware
- corporation with its office at 3031 Tisch Way, 110 Plaza West,
- San Jose, CA 95128, USA.; or
- (ii) in the event the Licensee is an individual residing outside of the
- United States or a legal entity incorporated outside of the United
- States or having its registered office outside of the United States,
- The Qt Company Ltd., a Finnish company with its registered office at
- Miestentie 7, 02150 Espoo, Finland.
-
-"Third-Party Software" shall have the meaning set forth in Section 4.
-
-"Updates" shall mean a release or version of the Licensed Software containing
-bug fixes, error corrections and other changes that are generally made
-available to users of the Licensed Software that have contracted for Support.
-Updates are generally depicted as a change to the digits following the decimal
-in the Licensed Software version number. The Qt Company shall make Updates
-available to the Licensee under the Support. Updates shall be considered as
-part of the Licensed Software hereunder.
-
-"Upgrades" shall mean a release or version of the Licensed Software containing
-enhancements and new features and are generally depicted as a change to the
-first digit of the Licensed Software version number. In the event Upgrades are
-provided to the Licensee under this Agreement, they shall be considered as part
-of the Licensed Software hereunder.
-
-2. OWNERSHIP
-
-2.1. Ownership of The Qt Company
-
-The Licensed Software is protected by copyright laws and international
-copyright treaties, as well as other intellectual property laws and treaties.
-The Licensed Software is licensed, not sold.
-
-All of The Qt Company's Intellectual Property Rights are and shall remain the
-exclusive property of The Qt Company or its licensors respectively. No rights
-to The Qt Company's Intellectual Property Rights are assigned or granted to
-Licensee under this Agreement, except when and to the extent expressly
-specified herein.
-
-2.2. Ownership of Licensee
-
-All the Licensee's Intellectual Property Rights are and shall remain the
-exclusive property of the Licensee or its licensors respectively.
-
-All Intellectual Property Rights to the Modified Software, Applications and
-Devices shall remain with the Licensee and no rights thereto shall be granted
-by the Licensee to The Qt Company under this Agreement (except as set forth in
-Section 2.3 below).
-
-2.3. Modified Software
-
-Licensee may create bug-fixes, error corrections, patches or modifications to
-the Licensed Software ("Modified Software"). Such Modified Software may break
-the source or binary compatibility with the Licensed Software (including
-without limitation through changing the application programming interfaces
-("API") or by adding, changing or deleting any variable, method, or class
-signature in the Licensed Software and/or any inter-process protocols,
-services or standards in the Licensed Software libraries). To the extent that
-Licensee's Modified Software so breaks source or binary compatibility with the
-Licensed Software, Licensee acknowledges that The Qt Company's ability to
-provide Support may be prevented or limited and Licensee's ability to make use
-of Updates may be restricted.
-
-Licensee may, at its sole and absolute discretion, choose to submit Modified
-Software to The Qt Company ("Submitted Modified Software") in connection with
-Licensee's Support request, service request or otherwise. In the event
-Licensee does so, then, Licensee hereby grants The Qt Company a sublicensable,
-assignable, irrevocable, perpetual, worldwide, non-exclusive, royalty-free and
-fully paid-up license, under all of Licensee's Intellectual Property Rights, to
-reproduce, adapt, translate, modify, and prepare derivative works of, publicly
-display, publicly perform, sublicense, make available and distribute such
-Submitted Modified Software as The Qt Company sees fit at its free and absolute
-discretion.
-
-3. LICENSES GRANTED
-
-3.1. Development with Licensed Software
-
-Subject to the terms of this Agreement, The Qt Company grants to Licensee a
-worldwide, non-exclusive, non-transferable license, valid for each Development
-License Term, to use, modify and copy the Licensed Software by Designated
-Users on the Development Platforms for the sole purposes of designing,
-developing, demonstrating and testing Application(s) and/or Devices, and to
-provide thereto related support and other related services to Customers. Each
-Application and/or Device can only include, incorporate or integrate
-contributions by such Designated Users who are duly licensed for the applicable
-Development Platform(s) and Deployment Platform(s) (i.e have a valid license
-for the appropriate Licensed Software product).
-
-Licensee may install copies of the Licensed Software on five (5) computers per
-Designated User, provided that only the Designated Users who have a valid
-Development License may use the Licensed Software.
-
-Licensee may at any time designate another Designated User to replace a
-then-current Designated User by notifying The Qt Company in writing, where such
-replacement is due to termination of employment, change of job duties, long
-time absence or other such permanent reason affecting Designated User's need
-for Licensed Software.
-
-Upon expiry of the initially agreed Development License Term, the respective
-Development License Term shall be automatically extended to one or more Renewal
-Term(s), unless and until either Party notifies the other Party in writing, or
-any other method acceptable to The Qt Company (it being specifically
-acknowledged and understood that verbal notification is explicitly deemed
-inadequate in all circumstances), that it does not wish to continue the
-Development License Term, such notification to be provided to the other Party
-no less than thirty (30) days before expiry of the respective Development
-License Term. The Qt Company shall, in good time before the due date for the
-above notification, remind the Licensee on the coming Renewal Term. Unless
-otherwise agreed between the Parties, Renewal Term shall be 12 months.
-
-Any such Renewal Term shall be subject to License Fees agreed between the
-Parties or, if no advance agreement exists, subject to The Qt Company's
-standard list pricing applicable at the commencement date of any such
-Renewal Term.
-
-The Qt Company may either request the Licensee to place a purchase order
-corresponding to a quote by The Qt Company, or use Licensee's stored Credit
-Card information in the Qt Account to automatically charge the Licensee for the
-relevant Renewal Term.
-
-3.2. Distribution of Applications
-
-Subject to the terms of this Agreement, The Qt Company grants to Licensee a
-worldwide, non-exclusive, non-transferable, revocable (for cause pursuant to
-this Agreement), right and license, valid for the Agreement Term, to
- (i) distribute, by itself or through its Contractors, Redistributables as
- installed, incorporated or integrated into Applications for execution
- on the Deployment Platforms, and
- (ii) grant perpetual and irrevocable sublicenses to Redistributables, as
- distributed hereunder, for Customers solely to the extent necessary in
- order for the Customers to use the Applications for their respective
- intended purposes.
-
-Right to distribute the Redistributables as part of an Application as provided
-herein is not royalty-bearing but is conditional upon the Application having
-been created, updated and maintained under a valid and duly paid Development
-Licenses.
-
-3.3. Distribution of Devices
-
-Subject to the terms of this Agreement, The Qt Company grants to Licensee a
-worldwide, non-exclusive, non-transferable, revocable (for cause pursuant to
-this Agreement), right and license, valid for the Agreement Term, to
- (i) distribute, by itself or through one or more tiers of Contractors,
- Redistributables as installed, incorporated or integrated, or intended
- to be installed, incorporated or integrated into Devices for execution
- on the Deployment Platforms, and
- (ii) grant perpetual and irrevocable sublicenses to Redistributables, as
- distributed hereunder, for Customers solely to the extent necessary in
- order for the Customers to use the Devices for their respective
- intended purposes.
-
-Right to distribute the Devices as provided herein is conditional upon
- (i) the Devices having been created, updated and maintained under a valid
- and duly paid Development Licenses, and
- (ii) the Licensee having acquired corresponding Distribution Licenses at
- the time of distribution of any Devices to Customers.
-
-3.4. Further Requirements
-
-The licenses granted above in this Section 3 by The Qt Company to Licensee are
-conditional and subject to Licensee's compliance with the following terms:
- (i) Licensee acknowledges that The Qt Company has separate products of
- Licensed Software for the purpose of Applications and Devices
- respectively, where development and distribution of Devices is only
- allowed using the correct designated product. Licensee shall make sure
- and bear the burden of proof that Licensee is using a correct product
- of Licensed Software entitling Licensee to development and distribution
- of Devices;
- (ii) Licensee shall not remove or alter any copyright, trademark or other
- proprietary rights notice(s) contained in any portion of the Licensed
- Software;
- (iii) Applications must add primary and substantial functionality to the
- Licensed Software so as not to compete with the Licensed Software;
- (iv) Applications may not pass on functionality which in any way makes it
- possible for others to create software with the Licensed Software;
- provided however that Licensee may use the Licensed Software's
- scripting and QML ("Qt Quick") functionality solely in order to enable
- scripting, themes and styles that augment the functionality and
- appearance of the Application(s) without adding primary and substantial
- functionality to the Application(s);
- (v) Licensee shall not use Licensed Software in any manner or for any
- purpose that infringes, misappropriates or otherwise violates any
- Intellectual property or right of any third party, or that violates any
- applicable law;
- (vi) Licensee shall not use The Qt Company's or any of its suppliers'
- names, logos, or trademarks to market Applications, except that
- Licensee may use "Built with Qt" logo to indicate that Application(s)
- or Device(s) was developed using the Licensed Software;
- (vii) Licensee shall not distribute, sublicense or disclose source code of
- Licensed Software to any third party (provided however that Licensee
- may appoint employee(s) of Contractors and Affiliates as Designated
- Users to use Licensed Software pursuant to this Agreement). Such right
- may be available for the Licensee subject to a separate software
- development kit ("SDK") license agreement to be concluded with The Qt
- Company;
- (viii) Licensee shall not grant the Customers a right to (a) make copies of
- the Redistributables except when and to the extent required to use the
- Applications and/or Devices for their intended purpose, (b) modify the
- Redistributables or create derivative works thereof, (c) decompile,
- disassemble or otherwise reverse engineer Redistributables, or (d)
- redistribute any copy or portion of the Redistributables to any third
- party, except as part of the onward sale of the Application or Device
- on which the Redistributables are installed;
- (ix) Licensee shall not and shall cause that its Affiliates or Contractors
- shall not use Licensed Software in any Prohibited Combination, unless
- Licensee has received an advance written permission from The Qt Company
- to do so. Absent such written permission, any and all distribution by
- the Licensee during the Agreement Term of a hardware device or product
- a) which incorporate or integrate any part of Licensed Software or Open
- Source Qt; or b) where substantial functionality is provided by
- software built with Licensed Software or Open Source Qt or otherwise
- depends on the Licensed Software or Open Source Qt, shall be considered
- to be Device distribution under this Agreement and shall be dependent
- on Licensee's compliance thereof (including but not limited to
- obligation to pay applicable License Fees for such distribution).
- Notwithstanding what is provided above in this sub-section (ix),
- Licensee is entitled to use and combine Licensed Software with any
- Permitted Software;
- (x) Licensee shall cause all of its Affiliates, Contractors and Customers
- entitled to make use of the licenses granted under this Agreement, to
- be contractually bound to comply with the relevant terms of this
- Agreement and not to use the Licensed Software beyond the terms hereof
- and for any purposes other than operating within the scope of their
- services for Licensee. Licensee shall be responsible for any and all
- actions and omissions of its Affiliates and Contractors relating to the
- Licensed Software and use thereof (including but not limited to payment
- of all applicable License Fees);
- (xi) Except when and to the extent explicitly provided in this Section 3,
- Licensee shall not transfer, publish, disclose, display or otherwise
- make available the Licensed Software; and
- (xii) Licensee shall not attempt or enlist a third party to conduct or
- attempt to conduct any of the above.
-
-Above terms shall not be applicable if and to the extent they conflict with any
-mandatory provisions of any applicable laws.
-
-Any use of Licensed Software beyond the provisions of this Agreement is
-strictly prohibited and requires an additional license from The Qt Company.
-
-3.5 QA Tools License
-
-Subject to the terms of this Agreement, The Qt Company grants to Licensee a
-worldwide, non-exclusive, non-transferable license, valid for the Development
-License Term, to use the QA Tools for Licensee's internal business purposes in
-the manner provided below and in Appendix 1 hereto.
-
-Licensee may modify the QA Tools except for altering or removing any details of
-ownership, copyright, trademark or other property right connected with the QA
-Tools.
-
-Licensee shall not distribute the QA Tools or any part thereof, modified or
-unmodified, separately or as part of any software package, Application or
-Device.
-
-Upon expiry of the initially agreed Development License Term, the respective
-Development License Term shall be automatically extended to one or more Renewal
-Term(s), unless and until either Party notifies the other Party in writing, or
-any other method acceptable to The Qt Company (it being specifically
-acknowledged and understood that verbal notification is explicitly deemed
-inadequate in all circumstances), that it does not wish to continue the
-Development License Term, such notification to be provided to the other Party
-no less than thirty (30) days before expiry of the respective Development
-License Term. The Qt Company shall, in good time before the due date for the
-above notification, remind the Licensee on the coming Renewal Term. Unless
-otherwise agreed between the Parties, Renewal Term shall be 12 months.
-
-Any such Renewal Term shall be subject to License Fees agreed between the
-Parties or, if no advance agreement exists, subject to The Qt Company's
-standard list pricing applicable at the commencement date of any such
-Renewal Term.
-
-3.6 Evaluation License
-
-Subject to the terms of this Agreement, The Qt Company grants to Licensee a
-worldwide, non-exclusive, non-transferable license, valid for the Evaluation
-License Term to use the Licensed Software solely for the Licensee's internal
-use to evaluate and determine whether the Licensed Software meets Licensee's
-business requirements, specifically excluding any commercial use of the
-Licensed Software or any derived work thereof.
-
-Upon the expiry of the Evaluation License Term, Licensee must either
-discontinue use of the relevant Licensed Software or acquire a commercial
-Development License or QA Tools License specified herein.
-
-4. THIRD-PARTY SOFTWARE
-
-The Licensed Software may provide links or access to third party libraries or
-code (collectively "Third-Party Software") to implement various functions.
-Third-Party Software does not, however, comprise part of the Licensed Software,
-but is provided to Licensee complimentary and use thereof is discretionary for
-the Licensee. Third-Party Software will be listed in the ".../src/3rdparty"
-source tree delivered with the Licensed Software or documented in the Licensed
-Software, as such may be amended from time to time. Licensee acknowledges that
-use or distribution of Third-Party Software is in all respects subject to
-applicable license terms of applicable third-party right holders.
-
-5. PRE-RELEASE CODE
-
-The Licensed Software may contain pre-release code and functionality, or sample
-code marked or otherwise stated with appropriate designation such as
-"Technology Preview", "Alpha", "Beta", "Sample", "Example" etc.
-("Pre-Release Code").
-
-Such Pre-Release Code may be present complimentary for the Licensee, in order
-to provide experimental support or information for new platforms or
-preliminary versions of one or more new functionalities or for other similar
-reasons. The Pre-Release Code may not be at the level of performance and
-compatibility of a final, generally available, product offering. The
-Pre-Release Code may not operate correctly, may contain errors and may be
-substantially modified by The Qt Company prior to the first commercial
-product release, if any. The Qt Company is under no obligation to make
-Pre-Release Code commercially available, or provide any Support or Updates
-relating thereto. The Qt Company assumes no liability whatsoever regarding
-any Pre-Release Code, but any use thereof is exclusively at Licensee's own risk
-and expense.
-
-For clarity, unless Licensed Software specifies different license terms for the
-respective Pre-Release Code, the Licensee is entitled to use such pre-release
-code pursuant to Section 3, just like other Licensed Software.
-
-6. LIMITED WARRANTY AND WARRANTY DISCLAIMER
-
-The Qt Company hereby represents and warrants that (i) it has the power and
-authority to grant the rights and licenses granted to Licensee under this
-Agreement, and (ii) Licensed Software will operate materially in accordance
-with its specifications.
-
-Except as set forth above, the Licensed Software is licensed to Licensee "as
-is" and Licensee's exclusive remedy and The Qt Company's entire liability for
-errors in the Licensed Software shall be limited, at The Qt Company's option,
-to correction of the error, replacement of the Licensed Software or return of
-the applicable fees paid for the defective Licensed Software for the time
-period during which the License is not able to utilize the Licensed Software
-under the terms of this Agreement.
-
-TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE QT COMPANY ON BEHALF OF
-ITSELF AND ITS LICENSORS, SUPPLIERS AND AFFILIATES, DISCLAIMS ALL OTHER
-WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
-NON-INFRINGEMENT WITH REGARD TO THE LICENSED SOFTWARE. THE QT COMPANY DOES NOT
-WARRANT THAT THE LICENSED SOFTWARE WILL SATISFY LICENSEE'S REQUIREMENTS OR THAT
-IT WILL OPERATE WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE
-UNINTERRUPTED.
-
-7. LIMITATION OF LIABILITY
-
-EXCEPT FOR (I) CASES OF GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT, AND (II)
-BREACH OF CONFIDENTIALITY, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, IN NO
-EVENT SHALL EITHER PARTY BE LIABLE TO THE OTHER PARTY FOR ANY LOSS OF PROFIT,
-LOSS OF DATA, LOSS OF BUSINESS OR GOODWILL OR ANY OTHER INDIRECT, SPECIAL,
-CONSEQUENTIAL, INCIDENTAL OR PUNITIVE COST, DAMAGES OR EXPENSE OF ANY KIND,
-HOWSOEVER ARISING UNDER OR IN CONNECTION WITH THIS AGREEMENT.
-
-EXCEPT FOR (I) CASES OF GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT, AND (II)
-BREACH OF CONFIDENTIALITY, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, IN NO
-EVENT SHALL EITHER PARTY'S TOTAL AGGREGATE LIABILITY UNDER THIS AGREEMENT
-EXCEED THE AGGREGATE LICENSE FEES PAID OR PAYABLE TO THE QT COMPANY BY LICENSEE
-DURING THE DEVELOPMENT LICENSE TERM DURING WHICH THE EVENT RESULTING IN SUCH
-LIABILITY OCCURRED.
-
-THE PROVISIONS OF THIS SECTION 7 ALLOCATE THE RISKS UNDER THIS AGREEMENT
-BETWEEN THE QT COMPANY AND LICENSEE AND THE PARTIES HAVE RELIED UPON THE
-LIMITATIONS SET FORTH HEREIN IN DETERMINING WHETHER TO ENTER INTO THIS
-AGREEMENT.
-
-NOTWITHSTANDING ANYTHING TO THE CONTRARY IN THIS AGREEMENT, LICENSEE SHALL
-ALWAYS BE LIABLE TO PAY THE APPLICABLE LICENSE FEES CORRESPONDING TO ITS
-ACTUAL USE OF LICENSED SOFTWARE.
-
-8. SUPPORT, UPDATES AND ONLINE SERVICES
-
-Upon due payment of the agreed License Fees the Licensee will be eligible to
-receive Support and Updates and to use the Online Services during the agreed
-Development License Term or other agreed fixed time period. Support is
-provided according to agreed support level and subject to applicable
-requirements and restrictions, as specified in the Support Terms.
-
-Unless otherwise decided by The Qt Company at its free and absolute discretion,
-Upgrades will not be included in the Support but may be available subject to
-additional fees.
-
-From time to time The Qt Company may change the Support Terms, provided that
-during the respective ongoing Support period the level of Support may not be
-reduced without the consent of the Licensee.
-
-Unless otherwise agreed, The Qt Company shall not be responsible for providing
-any service or support to Customers.
-
-9. CONFIDENTIALITY
-
-Each Party acknowledges that during the Agreement Term each Party may receive
-information about the other Party's business, business methods, business plans,
-customers, business relations, technology, and other information, including the
-terms of this Agreement, that is confidential and of great value to the other
-Party, and the value of which would be significantly reduced if disclosed to
-third parties ("Confidential Information"). Accordingly, when a Party (the
-"Receiving Party") receives Confidential Information from the other Party (the
-"Disclosing Party"), the Receiving Party shall only disclose such information
-to employees and Contractors on a need to know basis, and shall cause its
-employees and employees of its Affiliates to: (i) maintain any and all
-Confidential Information in confidence; (ii) not disclose the Confidential
-Information to a third party without the Disclosing Party's prior written
-approval; and (iii) not, directly or indirectly, use the Confidential
-Information for any purpose other than for exercising its rights and
-fulfilling its responsibilities pursuant to this Agreement. Each Party shall
-take reasonable measures to protect the Confidential Information of the other
-Party, which measures shall not be less than the measures taken by such Party
-to protect its own confidential and proprietary information.
-
-Obligation of confidentiality shall not apply to information that (i) is or
-becomes generally known to the public through no act or omission of the
-Receiving Party; (ii) was in the Receiving Party's lawful possession prior to
-the disclosure hereunder and was not subject to limitations on disclosure or
-use; (iii) is developed independently by employees or Contractors of the
-Receiving Party or other persons working for the Receiving Party who have not
-had access to the Confidential Information of the Disclosing Party, as proven
-by the written records of the Receiving Party; (iv) is lawfully disclosed to
-the Receiving Party without restrictions, by a third party not under an
-obligation of confidentiality; or (v) the Receiving Party is legally compelled
-to disclose, in which case the Receiving Party shall notify the Disclosing
-Party of such compelled disclosure and assert the privileged and confidential
-nature of the information and cooperate fully with the Disclosing Party to
-limit the scope of disclosure and the dissemination of disclosed Confidential
-Information to the minimum extent necessary.
-
-The obligations under this Section 9 shall continue to remain in force for a
-period of five (5) years after the last disclosure, and, with respect to trade
-secrets, for so long as such trade secrets are protected under applicable trade
-secret laws.
-
-10. FEES, DELIVERY AND PAYMENT
-
-10.1. License Fees
-
-License Fees are described in The Qt Company's standard price list, quote or
-Purchase Order confirmation or in an Appendix 2 hereto, as the case may be.
-
-Unless otherwise expressly provided in this Agreement, the License Fees shall
-not be refunded or claimed as a credit in any event or for any reason
-whatsoever.
-
-10.2. Ordering Licenses
-
-Licensee may purchase Development Licenses, Distribution Licenses and QA Tools
-Licenses pursuant to agreed pricing terms or, if no specific pricing terms have
-been agreed upon, at The Qt Company's standard pricing terms applicable at the
-time of purchase.
-
-Unless expressly otherwise agreed, any price or other term quoted to the
-Licensee or specified herein shall only be valid for the thirty (30) days from
-the effective date of this Agreement, Appendix 2 or the date of the quote, as
-applicable.
-
-Licensee shall submit all purchase orders for Development Licenses and
-Distribution Licenses to The Qt Company by email or any other method acceptable
-to The Qt Company (each such order is referred to herein as a "Purchase Order")
-for confirmation, whereupon the Purchase Order shall become binding between the
-Parties.
-
-Licensee acknowledges and agrees that all Purchase Orders for Licensed Software
-the Licensee makes during the Agreement Term shall be governed exclusively
-under the terms of this Agreement.
-
-10.3. Distribution License Packs
-
-Unless otherwise agreed, Distribution Licenses shall be purchased by way of
-Distribution License Packs.
-
-Upon due payment of the ordered Distribution License Pack(s), the Licensee will
-have an account of Distribution Licenses available for distributing the
-Redistributables in accordance with this Agreement.
-
-Each time Licensee distributes a copy of Redistributables, then one
-Distribution License is used, and Licensee's account of available Distribution
-Licenses is decreased accordingly.
-
-Licensee may distribute copies of the Redistributables so long as Licensee has
-Distribution Licenses remaining on its account.
-
-10.4. Payment Terms
-
-License Fees and any other charges under this Agreement shall be paid by
-Licensee no later than thirty (30) days from the date of the applicable invoice
-from The Qt Company.
-
-The Qt Company will submit an invoice to Licensee after the date of this
-Agreement and/or after The Qt Company receives a Purchase Order from Licensee.
-
-A late payment charge of the lower of (a) one percent per month; or (b) the
-interest rate stipulated by applicable law, shall be charged on any unpaid
-balances that remain past due and which have not been disputed by the Licensee
-in good faith.
-
-10.5. Taxes
-
-All License Fees and other charges payable hereunder are gross amounts but
-exclusive of any value added tax, use tax, sales tax, withholding tax and other
-taxes, duties or tariffs ("Taxes") levied directly for the sale, delivery or
-use of Licensed Software hereunder pursuant to any applicable law. Such
-applicable Taxes shall be paid by Licensee to The Qt Company, or, where
-applicable, in lieu of payment of such Taxes to The Qt Company, Licensee shall
-provide an exemption certificate to The Qt Company and any applicable
-authority.
-
-11. RECORD-KEEPING AND REPORTING OBLIGATIONS; AUDIT RIGHTS
-
-11.1. Licensee's Record-keeping
-
-Licensee shall at all times during the Agreement Term and for a period of two
-(2) years thereafter maintain Licensee's Records in an accurate and up-to-date
-form. Licensee's Records shall be adequate to reasonably enable The Qt Company
-to determine Licensee's compliance with the provisions of this Agreement. The
-records shall conform to general good accounting practices.
-
-Licensee shall, within thirty (30) days from receiving The Qt Company's request
-to that effect, deliver to The Qt Company a report based on Licensee's Records,
-such report to contain information, in sufficient detail, on (i) number and
-identity of users working with Licensed Software or Open Source Qt, (ii) copies
-of Redistributables distributed by Licensee during the most recent calendar
-quarter and/or any other term specified by The Qt Company, , and (iii) any
-other information pertaining to Licensee's compliance with the terms of this
-Agreement (like e.g. information on products and/or projects relating to use of
-Distribution Licenses), as The Qt Company may reasonably require from time to
-time.
-
-11.2. The Qt Company's Audit Rights
-
-The Qt Company or an independent auditor acting on behalf of The Qt Company's,
-may, upon at least thirty (30) days' prior written notice and at its expense,
-audit Licensee with respect to the Licensee's use of the Licensed Software, but
-not more frequently than once during each 6-month period. Such audit may be
-conducted by mail, electronic means or through an in-person visit to Licensee's
-place of business. Any possible in-person audit shall be conducted during
-regular business hours at Licensee's facilities and shall not unreasonably
-interfere with Licensee's business activities and shall be limited in scope to
-verify Licensee's compliance with the terms of this Agreement. The Qt Company
-or the independent auditor acting on behalf of The Qt Company shall be entitled
-to inspect Licensee's Records and conduct necessary interviews of Licensee's
-relevant employees and Contractors. All such Licensee's Records and use thereof
-shall be subject to an obligation of confidentiality under this Agreement.
-
-If an audit reveals that Licensee is using the Licensed Software beyond scope
-of the licenses Licensee has paid for, Licensee shall pay to The Qt Company any
-amounts owed for such unauthorized use within 30 days from receipt of the
-corresponding invoice from The Qt Company.
-
-In addition, in the event the audit reveals a material violation of the terms
-of this Agreement (without limitation, either (i) underpayment of more than 10
-% of License Fees or 10,000 euros (whichever is more) or (ii) distribution of
-products, which include or result from Prohibited Combination, shall be deemed
-a material violation for purposes of this section), then the Licensee shall
-pay The Qt Company's reasonable cost of conducting such audit.
-
-12. TERM AND TERMINATION
-
-12.1. Agreement Term
-
-This Agreement shall enter into force upon due acceptance by both Parties and
-remain in force until terminated pursuant to the terms of this Section 12
-("Agreement Term").
-
-12.2. Termination for breach and suspension of rights
-Either Party shall have the right to terminate this Agreement upon thirty (30)
-days prior written notice if the other Party commits a material breach of any
-obligation of this Agreement and fails to remedy such breach within such notice
-period.
-
-Instead of termination, The Qt Company shall have the right to suspend or
-withhold grants of all rights to the Licensed Software hereunder, including but
-not limited to the Development Licenses, Distribution License, and Support,
-should Licensee fail to make payment in timely fashion or otherwise violates or
-is reasonably suspected to violate its obligations or terms of this Agreement,
-and where such violation or breach is not cured within ten (10) business days
-following The Qt Company's written notice thereof.
-
-12.3. Termination for insolvency
-
-Either Party shall have the right to terminate this Agreement immediately upon
-written notice in the event that the other Party becomes insolvent, files for
-any form of bankruptcy, makes any assignment for the benefit of creditors, has
-a receiver, administrative receiver or officer appointed over the whole or a
-substantial part of its assets, ceases to conduct business, or an act
-equivalent to any of the above occurs under the laws of the jurisdiction of the
-other Party.
-
-12.4. Parties' Rights and Duties upon Termination
-
-Upon expiry or termination of the Agreement, Licensee shall cease and shall
-cause all Designated Users (including those of its Affiliates' and
-Contractors') to cease using the Licensed Software under this Agreement. For
-clarity, a Development License of a Designated User or a QA Tools License, and
-all rights relating thereto, shall always terminate at the expiry of the
-respective Development License Term, even if the Agreement continues to remain
-in force.
-
-Upon such termination the Licensee shall destroy or return to The Qt Company
-all copies of the Licensed Software and all related materials and will certify
-the same by Licensee's duly authorized officer to The Qt Company upon its
-request, provided however that Licensee may retain and exploit such copies of
-the Licensed Software as it may reasonably require in providing continued
-support to Customers.
-
-Except when this Agreement is terminated by The Qt Company due to Licensee's
-material breach as set forth in Section 12.2, the Licensee may continue
-distribution of Applications and Devices under the terms of this Agreement
-despite the termination of this Agreement. In such event the terms hereof will
-continue to be applicable and govern any such distribution of Applications and
-Devices beyond the expiry or termination of this Agreement. In case of
-termination by The Qt Company due to Licensee's material breach, Licensee must
-cease any distribution of Applications and Devices at the date of termination
-of this Agreement.
-
-Expiry or termination of this Agreement for any reason whatsoever shall not
-relieve Licensee of its obligation to pay any License Fees accrued or payable
-to The Qt Company prior to the effective date of termination, and Licensee pay
-to The Qt Company all such fees within 30 days from the effective date of
-termination of this Agreement.
-
-Termination of this Agreement shall not affect any rights of Customers to
-continue use of Applications and Devices (and therein incorporated
-Redistributables).
-
-12.5. Extension of Rights under Special Circumstances
-
-In the event of The Qt Company choosing not to renew the Development License(s)
-or QA Tools Licenses, as set forth in Section 3.1 and 3.5 respectively, and
-where such decision of non-renewal is not due to any ongoing breach or alleged
-breach (as reasonably determined by The Qt Company) by Licensee of the terms of
-this Agreement or any applicable license terms of Open Source Qt, then all
-valid and affected Development Licenses and QA Tools licenses possessed by the
-Licensee at such date shall be extended to be valid in perpetuity under the
-terms of this Agreement and Licensee is entitled to purchase additional
-licenses as set forth in Section 10.2.
-
-In the event The Qt Company is declared bankrupt under a final, non-cancellable
-decision by relevant court of law, and this Agreement is not, at the date of
-expiry of the Development License(s) or QA Tools Licenses, assigned to party,
-who has assumed The Qt Company's position as a legitimate licensor of Licensed
-Software under this Agreement, then all valid Development Licenses and QA Tools
-Licenses possessed by the Licensee at such date of expiry, and which the
-Licensee has not notified for expiry, shall be extended to be valid in
-perpetuity under the terms of this Agreement.
-
-For clarity, in case of an extension under this Section 12.5, any such
-extension shall not apply to The Qt Company's Support obligations, but Support
-shall be provided only up until the end of the respective fixed Development
-License Term regardless of the extension of relevant Development License or QA
-Tools License, unless otherwise agreed between the Parties.
-
-13. GOVERNING LAW AND LEGAL VENUE
-
-In the event this Agreement is in the name of The Qt Company Inc., a Delaware
-Corporation, then:
- (i) this Agreement shall be construed and interpreted in accordance with
- the laws of the State of California, USA, excluding its choice of law
- provisions;
- (ii) the United Nations Convention on Contracts for the International Sale
- of Goods will not apply to this Agreement; and
- (iii) any dispute, claim or controversy arising out of or relating to this
- Agreement or the breach, termination, enforcement, interpretation or
- validity thereof, including the determination of the scope or
- applicability of this Agreement to arbitrate, shall be determined by
- arbitration in San Francisco, USA, before one arbitrator. The
- arbitration shall be administered by JAMS pursuant to JAMS' Streamlined
- Arbitration Rules and Procedures. Judgment on the Award may be entered
- in any court having jurisdiction. This Section shall not preclude
- parties from seeking provisional remedies in aid of arbitration from a
- court of appropriate jurisdiction.
-
-In the event this Agreement is in the name of The Qt Company Ltd., a Finnish
-Company, then:
- (i) this Agreement shall be construed and interpreted in accordance with
- the laws of Finland, excluding its choice of law provisions;
- (ii) the United Nations Convention on Contracts for the International Sale
- of Goods will not apply to this Agreement; and
- (iii) any disputes, controversy or claim arising out of or relating to this
- Agreement, or the breach, termination or validity thereof shall be
- finally settled by arbitration in accordance with the Arbitration Rules
- of International Chamber of Commerce. The arbitration tribunal shall
- consist of one (1), or if either Party so requires, of three (3),
- arbitrators. The award shall be final and binding and enforceable in
- any court of competent jurisdiction. The arbitration shall be held in
- Helsinki, Finland and the process shall be conducted in the English
- language. This Section shall not preclude parties from seeking
- provisional remedies in aid of arbitration from a court of appropriate
- jurisdiction.
-
-14. GENERAL PROVISIONS
-
-14.1. No Assignment
-
-Except in the case of a merger or sale of substantially all of its corporate
-assets, Licensee shall not be entitled to assign or transfer all or any of its
-rights, benefits and obligations under this Agreement without the prior written
-consent of The Qt Company, which shall not be unreasonably withheld or delayed.
-The Qt Company shall be entitled to freely assign or transfer any of its
-rights, benefits or obligations under this Agreement.
-
-14.2. No Third-Party Representations
-
-Licensee shall make no representations or warranties concerning the Licensed
-Software on behalf of The Qt Company. Any representation or warranty Licensee
-makes or purports to make on The Qt Company's behalf shall be void as to
-The Qt Company.
-
-14.3. Surviving Sections
-
-Any terms and conditions that by their nature or otherwise reasonably should
-survive termination of this Agreement shall so be deemed to survive. Such
-sections include especially the following: 1, 2, 6, 7, 9, 11, 12.4, 13 and 14.
-
-14.4. Entire Agreement
-
-This Agreement, the Appendices hereto, the License Certificate and any
-applicable quote and Purchase Order accepted by The Qt Company constitute the
-complete agreement between the Parties and supersedes all prior or
-contemporaneous discussions, representations, and proposals, written or oral,
-with respect to the subject matters discussed herein.
-
-In the event of any conflict or inconsistency between this Agreement and any
-Purchase Order, the terms of this Agreement will prevail over the terms of the
-Purchase Order with respect to such conflict or inconsistency.
-
-Parties specifically acknowledge and agree that this Agreement prevails over
-any click-to-accept or similar agreements the Designated Users may need to
-accept online upon download of the Licensed Software, as may be required by
-The Qt Company's applicable processes relating to Licensed Software.
-
-14.5. Modifications
-
-No modification of this Agreement shall be effective unless contained in a
-writing executed by an authorized representative of each Party. No term or
-condition contained in Licensee's Purchase Order ("Deviating Terms") shall
-apply unless The Qt Company has expressly agreed such Deviating Terms in
-writing. Unless and to the extent expressly agreed by The Qt Company, any such
-Deviating Terms shall be deemed void and with no legal effect. For clarity,
-delivery of the Licensed Software following the receipt of the Purchase Order
-including Deviating Terms shall not constitute acceptance of such Deviating
-Terms.
-
-14.6. Force Majeure
-
-Except for the payment obligations hereunder, neither Party shall be liable to
-the other for any delay or non-performance of its obligations hereunder in the
-event and to the extent that such delay or non-performance is due to an event
-of act of God, terrorist attack or other similar unforeseeable catastrophic
-event that prevents either Party for fulfilling its obligations under this
-Agreement and which such Party cannot avoid or circumvent ("Force Majeure
-Event"). If the Force Majeure Event results in a delay or non-performance of a
-Party for a period of three (3) months or longer, then either Party shall have
-the right to terminate this Agreement with immediate effect without any
-liability (except for the obligations of payment arising prior to the event of
-Force Majeure) towards the other Party.
-
-14.7. Notices
-
-Any notice given by one Party to the other shall be deemed properly given and
-deemed received if specifically acknowledged by the receiving Party in writing
-or when successfully delivered to the recipient by hand, fax, or special
-courier during normal business hours on a business day to the addresses
-specified for each Party on the signature page. Each communication and document
-made or delivered by one Party to the other Party pursuant to this Agreement
-shall be in the English language.
-
-14.8. Export Control
-
-Licensee acknowledges that the Redistributables, as incorporated in
-Applications or Devices, may be subject to export control restrictions under
-the applicable laws of respective countries. Licensee shall fully comply with
-all applicable export license restrictions and requirements as well as with all
-laws and regulations relating to the Redistributables and exercise of licenses
-hereunder and shall procure all necessary governmental authorizations,
-including without limitation, all necessary licenses, approvals, permissions or
-consents, where necessary for the re-exportation of the Redistributables,
-Applications and/or Devices.
-
-14.9. No Implied License
-
-There are no implied licenses or other implied rights granted under this
-Agreement, and all rights, save for those expressly granted hereunder, shall
-remain with The Qt Company and its licensors. In addition, no licenses or
-immunities are granted to the combination of the Licensed Software with any
-other software or hardware not delivered by The Qt Company under this
-Agreement.
-
-14.10. Attorney Fees
-
-The prevailing Party in any action to enforce this Agreement shall be entitled
-to recover its attorney's fees and costs in connection with such action, as to
-be ordered by the relevant dispute resolution body.
-
-14.11. Privacy
-
-Licensee acknowledges and agrees that for the purpose of this Agreement,
-The Qt Company may collect, use, transfer and disclose personal data pertaining
-to Designated Users as well as any other employees and directors of the
-Licensee and its Contractors relevant for carrying out the intent of this
-Agreement. Such personal data will be primarily collected from the relevant
-individuals but may be collected also from Licensee (e.g. in the course of
-Licensee's reporting obligations). The Parties acknowledge that as
-The Qt Company determines the purpose and means for such collection and
-processing of the applicable personal data, The Qt Company shall be regarded as
-the Data Controller under the applicable Data Protection Legislation.
-The Qt Company shall process any such personal data in accordance with its
-privacy and security policies and practices, which will comply with all
-applicable requirements of the Data Protection Legislation.
-
-14.12. Severability
-
-If any provision of this Agreement shall be adjudged by any court of competent
-jurisdiction to be unenforceable or invalid, that provision shall be limited or
-eliminated to the minimum extent necessary so that this Agreement shall
-otherwise remain in full force and effect and enforceable.
-
-14.13. Marketing Rights
-
-Parties have agreed upon Marketing Rights pursuant to Appendix 7, if any.
-
-
-
-
-APPENDICES
-The Agreement includes following Appendices 1-10, as applicable.
-- Appendix 1: Licensed Software details
-- Appendix 2: Pricing
-- Appendix 3: Add-on Software details (optional)
-- Appendix 4: Small business and startup Licenses (optional)
-- Appendix 5: Non-commercial and educational Licenses (optional)
-- Appendix 6: License Reporting (optional)
-- Appendix 7: Marketing Rights (optional)
-- Appendix 8: Intentionally left blank (optional)
-- Appendix 9: Support Terms
-- Appendix 10: Conversion from legacy Licenses to Subscription (optional)
-- Appendix 11: TERMS OF USE - QT INSIGHT TRACKER LIBRARY
-
-
-APPENDIX 1: LICENSED SOFTWARE
-
-The modules and/or tools that are included in the latest publicly available
-version of the respective product at the effective date of this Agreement- Qt
-for Application Development Professional (ADP), Qt for Application Development
-Enterprise (ADE), Qt for Device Creation Professional (DCP), Qt for Device
-Creation Enterprise (DCE), - are marked with "X" in the below table. The
-modules and tools are specific to each product version respectively and may
-vary from version to version. Modules and tools included in the latest publicly
-available version of the respective product at any given time are listed in
-Appendix 1 of the latest version of this Agreement available at
-www.qt.io/terms-conditions/. If a new version of Licensed Software does not
-include a module or tool present in an older version which Licensee is entitled
-to use under a valid license from The Qt Company, then Licensee will continue
-to have such right during the Term of this Agreement. In the event a new
-version of the Licensed Software adds modules or tools to any previous
-version(s), Licensee's rights will extend to cover also such additional modules
-and tools.
-
-Parts of the product that are permitted for distribution in object-code form
-only ("Redistributables") are marked with "R" in the below table.
-
-+----------------------------------------------------------+
-| Modules / Tools | ADP | ADE | DCP | DCE |
-+----------------------------------------------------------+
-| Active Qt | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt 3D | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt 5 Core Compatibility APIs | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Android Extras | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Bluetooth | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Canvas 3D | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Charts | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Concurrent | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Core | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Data Visualization | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt D-Bus | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt for Python | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt for WebAssembly | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Gamepad | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Graphical Effects | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt GUI | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Help | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Image Formats | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Location | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Lottie Animation | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Mac Extras | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Multimedia | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Multimedia Widgets | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Network | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Network Authorization | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt NFC | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt OpenGL | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt PDF | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Platform Headers | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Positioning | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Print Support | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Purchasing | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt QML | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick 3D | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Controls 1 | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Controls | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Dialogs | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Extras | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Layouts | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Test | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Timeline | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick WebGL | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Widgets | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Remote Objects | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Script | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Script Tools | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt SCXML | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Sensors | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Serial Bus | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Serial Port | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Shader Tools | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Speech | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt State Machine | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt SQL | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt SVG | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Test | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt UI Tools | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Virtual Keyboard | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Wayland Compositor | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt WebChannel | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt WebEngine | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt WebSockets | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt WebView | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Widgets | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Windows Extras | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt X11 Extras | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt XML | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt XML Patterns | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Designer (Qt Widget Designer) | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Linguist | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Assistant | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| lupdate | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| lrelease | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| lconvert | X,R | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt MQTT | | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt KNX | | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt OPC UA | | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Qt CoAP | | X,R | X,R | X,R |
-+----------------------------------------------------------+
-| Boot 2 Qt stacks | | | X,R | X,R |
-+----------------------------------------------------------+
-| Qt OTA | | | X,R | X,R |
-+----------------------------------------------------------+
-| Device Utilities | | | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Debugging Bridge (QDB) Daemon | | | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Ultralite Controls | | | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Quick Ultralite | | | X,R | X,R |
-+----------------------------------------------------------+
-| Qt Safe Renderer (QSR) | | | | X,R |
-+----------------------------------------------------------+
-| Qt Application Manager | | | | X,R |
-+----------------------------------------------------------+
-| Qt Interface Framework | | | | X,R |
-+----------------------------------------------------------+
-| Neptune Reference UI | | | | X,R |
-+----------------------------------------------------------+
-| Qt for Android Automotive (QAA) | | | | X,R |
-+----------------------------------------------------------+
-| Qt Creator | X | X | X | X |
-+----------------------------------------------------------+
-| Qt Design Studio Professional | X | X | X | X |
-+----------------------------------------------------------+
-| androiddeployqt | X | X | X | X |
-+----------------------------------------------------------+
-| androidtestrunner | X | X | X | X |
-+----------------------------------------------------------+
-| canbusutil | X | X | X | X |
-+----------------------------------------------------------+
-| dumpcpp | X | X | X | X |
-+----------------------------------------------------------+
-| dumpdoc | X | X | X | X |
-+----------------------------------------------------------+
-| fixqt4headers.pl | X | X | X | X |
-+----------------------------------------------------------+
-| idc | X | X | X | X |
-+----------------------------------------------------------+
-| moc | X | X | X | X |
-+----------------------------------------------------------+
-| pixeltool | X | X | X | X |
-+----------------------------------------------------------+
-| qdbus | X | X | X | X |
-+----------------------------------------------------------+
-| qdbuscpp2xml | X | X | X | X |
-+----------------------------------------------------------+
-| qdbusviwer | X | X | X | X |
-+----------------------------------------------------------+
-| qdbusxml2cpp | X | X | X | X |
-+----------------------------------------------------------+
-| qdistancefieldgenerator | X | X | X | X |
-+----------------------------------------------------------+
-| qdoc | X | X | X | X |
-+----------------------------------------------------------+
-| qhelpgenerator | X | X | X | X |
-+----------------------------------------------------------+
-| qlalr | X | X | X | X |
-+----------------------------------------------------------+
-| qmake | X | X | X | X |
-+----------------------------------------------------------+
-| qml | X | X | X | X |
-+----------------------------------------------------------+
-| qmlcachegen | X | X | X | X |
-+----------------------------------------------------------+
-| qmldom | X | X | X | X |
-+----------------------------------------------------------+
-| qmleasing | X | X | X | X |
-+----------------------------------------------------------+
-| qmlformat | X | X | X | X |
-+----------------------------------------------------------+
-| qmllint | X | X | X | X |
-+----------------------------------------------------------+
-| qmlpreview | X | X | X | X |
-+----------------------------------------------------------+
-| qmlprofiler | X | X | X | X |
-+----------------------------------------------------------+
-| qmlscene | X | X | X | X |
-+----------------------------------------------------------+
-| qmltestrunner | X | X | X | X |
-+----------------------------------------------------------+
-| qmltime | X | X | X | X |
-+----------------------------------------------------------+
-| qmlviewer | X | X | X | X |
-+----------------------------------------------------------+
-| qtdiag | X | X | X | X |
-+----------------------------------------------------------+
-| qtpaths | X | X | X | X |
-+----------------------------------------------------------+
-| qtplugininfo | X | X | X | X |
-+----------------------------------------------------------+
-| qvkgen | X | X | X | X |
-+----------------------------------------------------------+
-| rcc | X | X | X | X |
-+----------------------------------------------------------+
-| tracegen | X | X | X | X |
-+----------------------------------------------------------+
-| uic | X | X | X | X |
-+----------------------------------------------------------+
-| windeployqt | X | X | X | X |
-+----------------------------------------------------------+
-| Target toolchains | | | X | X |
-+----------------------------------------------------------+
-| Qt Debugging Bridge Host Tools | | | X | X |
-+----------------------------------------------------------+
-| qtconfig-gui | | | X | X |
-+----------------------------------------------------------+
-| Qt Emulator | | | X | X |
-+----------------------------------------------------------+
-| Qt Creator VxWorks plugin | | | X | X |
-+----------------------------------------------------------+
-| Qt Creator plugin for Qt | | | | X |
-| Application Manager | | | | |
-+----------------------------------------------------------+
-| qmlinterfacegenerator | | | | X |
-+----------------------------------------------------------+
-| qmltocpp | | | | X |
-+----------------------------------------------------------+
-| qulfontcompiler | | | | X |
-+----------------------------------------------------------+
-| Qt Deployment Server | | | | X |
-+----------------------------------------------------------+
-
-
-Rights for Application and Device use cases
-
-Following table summarizes the rights afforded by different products of the
-Licensed Software to create and distribute Applications and Devices as defined
-in this Agreement (X marks for rights):
-
-+---------------------------------------------------------------+
-| | Applications | Devices |
-+---------------------------------------------------------------+
-| ADP | X | |
-+---------------------------------------------------------------+
-| ADE | X | |
-+---------------------------------------------------------------+
-| DCP | X | X |
-+---------------------------------------------------------------+
-| DCE | X | X |
-+---------------------------------------------------------------+
-
-Licensed Software: Designer tools and modules
-
-The modules and/or tools that are included in the respective product - Qt for
-Design Studio Professional (DSP), Qt for Design Studio Enterprise (DSE) - are
-marked with "X" in the below table.
-
-Designer tools provides no Redistributables.
-
-+---------------------------------------------+
-| | DSP | DSE |
-+---------------------------------------------+
-| Qt Design Studio | X | X |
-+---------------------------------------------+
-| Qt Design Bridges | | X |
-+---------------------------------------------+
-| QML Live on host | X | X |
-+---------------------------------------------+
-| QML Live on target | | X |
-+---------------------------------------------+
-| Variant Management | | X |
-+---------------------------------------------+
-| Shader creation tools | | X |
-+---------------------------------------------+
-| Profiling tools | | X |
-+---------------------------------------------+
-| Simulink support | | X |
-+---------------------------------------------+
-
-
-Both DSP and DSE can be used to create an user interface for use cases covered
-by ADP, ADE, DCP and DCE.
-
-Licensed Software: QA Tools
-
-The modules and/or tools that are included in the respective QA Tools product
-- Squish (both Tester and execution Licenses), Coco or Test Center - are marked
-with "X" in the below table. Optional features that will need additional
-licenses are marked with "O". QA Tools include no Redistributables.
-
-+---------------------------------------------------------------------+
-| | Squish | Coco | Test Center |
-+---------------------------------------------------------------------+
-| Squish IDE | X | | |
-+---------------------------------------------------------------------+
-| QA Tool-specific command line tools | X | X | X |
-+---------------------------------------------------------------------+
-| Coverage Browser | | X | |
-+---------------------------------------------------------------------+
-| HTML interface | | | X |
-+---------------------------------------------------------------------+
-| Qt Support Module | X | | |
-+---------------------------------------------------------------------+
-| Java support module | X | | |
-+---------------------------------------------------------------------+
-| Windows support module | X | | |
-+---------------------------------------------------------------------+
-| iOS support module | X | | |
-+---------------------------------------------------------------------+
-| Android support module | X | | |
-+---------------------------------------------------------------------+
-| Web support module | X | | |
-+---------------------------------------------------------------------+
-| macOS support module | X | | |
-+---------------------------------------------------------------------+
-| VNC support module | X | | |
-+---------------------------------------------------------------------+
-| MCU support module | X | | |
-+---------------------------------------------------------------------+
-| C and C++ language module | | X | |
-+---------------------------------------------------------------------+
-| C# language module | | X | |
-+---------------------------------------------------------------------+
-| QML language module | | X | |
-+---------------------------------------------------------------------+
-| Tester Cross-Compilation Add-On | O | O | |
-+---------------------------------------------------------------------+
-
-License capabilities for Squish
-
-License capabilities that are included in the Squish Tester and Execution
-Licenses are marked with "X" in the below table.
-
-+-----------------------------------------------------------------------------+
-| | Squish Tester License | Squish Execution License |
-+-----------------------------------------------------------------------------+
-| Ability to create, edit, | X | |
-| and debug test cas | | |
-+-----------------------------------------------------------------------------+
-| Ability to execute test | X | X |
-| cases | | |
-+-----------------------------------------------------------------------------+
-
-Install and use capabilities for QA Tools
-
-Install and use capabilities that are included in the respective QA Tools
-products are defined in the below table.
-
-+-----------------------------------------------------------------------------+
-| | Squish | Squish | Coco | Test |
-| | Tester | Execution | License | Center |
-| | License | License | | License |
-+-----------------------------------------------------------------------------+
-| Number of installation | Unlimited | Unlimited | Unlimited | One(1) |
-| instances per license | | | | |
-+-----------------------------------------------------------------------------+
-| Number of concurrent | Limited by| Limited by | Limited by | Limited by |
-| users | number of | number of | number of | number of |
-| | Squish | Squish | Coco | Test Center |
-| | Tester | Execution | Tester | Licenses |
-| | Licenses | Licenses | Licenses | |
-+-----------------------------------------------------------------------------+
-
-
-APPENDIX 2: PRICING
-
-Separate template
-
-APPENDIX 3: ADD-ON PRODUCTS TO LICENSED SOFTWARE
-
-Intentionally left blank.
-
-APPENDIX 4: SMALL BUSINESS AND STARTUP
-
-The provisions of this Appendix 4 are applicable for companies with an annual
-revenue, including funding, equivalent to maximum of 250,000 USD (in applicable
-currency) during the latest full calendar year, as evidenced by duly audited
-records of the Licensee and approved by The Qt Company ("Start-up Company").
-
-Start-up Companies are qualified for a discounted License Fee for maximum of
-four (4) Development Licenses ("Start-up Development License") unless otherwise
-agreed between the parties.
-
-Start-up Development License entitles the respective Designated User for
-Support only for Install Support as defined in Appendix 9, Support Terms.
-
-Upon expiry of the respective Development License Term, the Start-up
-Development Licenses shall be automatically extended, pursuant to Section 3.1
-of the Agreement, for a Renewal Term either as new Start-up Development
-Licenses (if the Licensee still qualifies as a Start-up Company), or as normal
-then standard list price Development Licenses (if the Licensee no longer
-qualifies as a Start-up Company).
-
-APPENDIX 5: NON-COMMERCIAL AND EDUCATIONAL USE
-
-The provisions of this Appendix 5 are applicable for non-commercial use of the
-Licensed Software by the Licensee.
-
-For the purpose of this Appendix 5, the following additional definitions
-(replacing the relevant definition of the Agreement, where applicable) shall be
-applicable:
-
-"Demo Units" shall mean (i) hardware development platform, which incorporates
-the Licensed Software along with Licensee's software and/or hardware, and (ii)
-prototype versions of Applications or Devices.
-
-"Designated User(s)" shall mean the employees and students of the Licensee.
-
-"Licensee Products" shall mean Applications and/or Devices.
-
-"Permitted Purpose" shall mean (i) Licensee's internal evaluation and testing
-of Licensed Software, (ii) building Demo Units as well as (iii) educational
-use.
-
-"Agreement Term" shall mean a period of twelve (12) months or any such other
-period as may be agreed between the Parties.
-
-For the purpose of this Appendix 5, the following changes shall be agreed with
-respect to relevant Sections of the Agreement:
- I. Recital (A) shall be replaced in its entirety to read as follows:
- "(A) Licensee wishes to use the Licensed Software for the Permitted
- Purpose."
- II. Section 3.1 shall be replaced in its entirety to read as follows:
- "The Qt Company grants to Licensee a personal, non-exclusive,
- non-transferable, revocable, royalty-free license, valid for the
- Agreement Term, to use, modify and copy the Licensed Software solely
- for the Permitted Purpose. Licensee may install copies of the Licensed
- Software on five (5) computers per Designated User, provided that only
- the Designated Users who have a valid Development License may use the
- Licensed Software. Licensee may demonstrate the Demo Units, provided
- that such demonstrations must be conducted by Licensee, and the Demo
- Units must remain in Licensee's possession and under Licensee's control
- at all times.
- For clarity, this Agreement does not (i) entitle Licensee to use
- Licensed Software to create Applications or Devices (other than
- prototypes thereof) or (ii) carry any distribution rights to Licensee,
- but such rights are subject to and conditional upon conclusion of a
- separate license agreement with The Qt Company."
- III. Sections 3.2, 3.3, 3.5, 3.6, 8 and 10 shall be deleted.
- IV. Section 3.4 shall be replaced in its entirety to read as follows:
- "Licensee shall not:
- - remove or alter any copyright, trademark or other proprietary rights
- notice contained in any portion of the Licensed Software;
- - transfer, publish, sublicense, disclose, display or otherwise make
- the Licensed Software available to any third party (except that
- Licensee may demonstrate the Demo Units pursuant to Section 3.1);
- - in any way combine, incorporate or integrate Licensed Software with,
- or use Licensed Software for creation of, any software created with
- or incorporating Open Source Qt; Licensee shall cause all Designated
- Users who make use of the licenses granted under this Agreement, to
- be contractually bound to comply with the relevant terms of this
- Agreement and not to use the Licensed Software beyond the terms
- hereof. Licensee shall be responsible for any and all actions and
- omissions of its Designated Users relating to the Licensed Software
- and use thereof. Any use of Licensed Software beyond the provisions
- of this Agreement is strictly prohibited and requires an additional
- license from The Qt Company."
- V. Section 12 shall be replaced in its entirety to read as follows:
- "This Agreement shall enter into force upon due acceptance by both
- Parties and remain in force for the Agreement Term, unless and until
- terminated pursuant to the terms of Section 12.
- Upon termination of the Agreement, Licensee shall cease using the
- Licensed Software. All other copies of Licensed Software in the
- possession or control of Licensee must be erased or destroyed. An
- officer of Licensee must, upon request, promptly deliver to The Qt
- Company a written confirmation that this has occurred."
-
-Except for the modifications specified above, this Appendix carries no change
-to the terms of the Agreement which shall remain in full force.
-
-APPENDIX 6: LICENSE REPORTING
-
-Separate template
-
-APPENDIX 7: MARKETING RIGHTS
-
-This Appendix 7 has the purpose to grant visibility through The Qt Company
-marketing channels of the usage of Qt and related product and service in
-Licensee product. Following related marketing right are agreed between the Qt
-Company and the Licensee.
-
-1. LICENSEE NAME AND LICENSEE LOGO
-
-The Qt Company has the right to use Licensee name and Licensee logo in public
-channel, in respect of the value proposition that the Qt company provided to
-the Licensee.
-
-2. MARKETING CONTENT COOPERATION
-
-2.1. LICENSEE CASES
-
-The Licensee is open to collaborate on content creation for marketing and
-communication purpose. The Licensee will nominate one responsible that will be
-in charge to support The Qt company with this content creation, according to
-content format paragraph, answering technical questions or sharing professional
-picture or video of required content. The Qt Company will have the right to
-advertise this in Content Format and Channel as mentioned in paragraph 3 and 4.
-
-2.2. FINAL PRODUCT REFERRAL
-
-Licensee agree that The Qt Company could connect their software product and
-services with the Licensee device or application, that the Licensee has created
-using The Qt Company technology and competence. Licensee will provide high
-quality picture, and video of the created final product where the Qt technology
-is running into. The Qt Company will have the right to advertise this in
-Content Format and Channel as mentioned in paragraph 3 and 4.
-
-3. CONTENT FORMAT
-
-- Video
-- Written Licensee case
-- Press release
-- Social media posts
-- Emails
-- Event booth Graphics
-- Printed material
-
-4. CHANNELS
-
-- Social media
-- The Qt Company resource center and website
-- Email to the Qt company contact database
-- Events
-- Online webinars
-- Public speech
-- Public presentations
-
-APPENDIX 8: INTENTIONALLY LEFT BLANK
-
-APPENDIX 9: SUPPORT TERMS
-Version 2023-04
-
-These Qt support terms and conditions (“Support Terms”) set forth the legal
-framework, where under The Qt Company (“The Qt Company”) provides support
-services (as herein defined) to the Licensee.
-
-1 DEFINITIONS
-
-“Application Code” shall mean a computer software program written strictly
-using the Qt programming language, by or for the Licensee, with a user
-interface, enabling the Licensee or their users to accomplish a specific task
-and display any results of the task on the display monitor or screen.
-
-“Customer Portal” shall mean The Qt Company’s web-based service and support
-user interface located at https://account.qt.io/ or at another location
-designated by The Qt Company. Customer Portal is used by a Designated User with
-Qt Account, and it provides downloads, license management, license certificate
-and other services for Designated Users.
-
-“Dedicated Contact” shall mean the employee of The Qt Company who will be the
-first point of contact for all Designated Users’ requests for Support.
-
-“Errors” shall mean an error, flaw, mistake, failure, or fault in Licensed
-Software that prevents it from behaving as described in the relevant
-documentation or as agreed between the Parties. Designated User can follow the
-state and progress of Errors in Customer Portal.
-
-“Extended Support” shall mean a continuation to the normal Support period,
-which allows Designated Users to receive selected Support (Standard Support or
-Premium Support) for a version of Licensed Software that is no longer generally
-supported by The Qt Company.
-
-”Install Support” shall mean Support that is limited to installation-related
-Error(s) on Development Platforms specified as supported host platforms for
-each Qt release under doc.qt.io. Install Support covers also operational use of
-the QA Tools, but not operational use of Qt Software.
-
-“Maintenance Release” shall mean a release or version of Licensed Software
-containing bug fixes, error corrections and other changes targeted to
-maintaining and improving product stability and quality. Maintenance Releases
-are generally depicted as a change to the third digit of Licensed Software
-version number.
-
-“Platforms” shall mean both Development Platforms and Deployment Platforms.
-Supported host and target Platforms may vary from for each Qt release as
-defined under doc.qt.io.
-
-“Premium Support” shall mean an upgraded level of Support that The Qt Company
-provides pursuant to these Support Terms to Licensee if Licensee has purchased
-Premium Support instead of Standard Support. Premium Support also covers what
-is included in Standard Support. Premium Support shall always be purchased for
-all Designated User(s) in the respective development team of the Licensee.
-
-“Qt Account” shall mean the Qt Account for a Designated User used for using Qt
-services and Customer Portal. A Qt Account is mapped to the Licensee company
-with the corporate email domain or domains.
-
-”Qualification Kit” shall mean a set of documents and validation test cases
-used for product certification needs as defined in section 2.6.
-
-“Response Time” shall mean the period of time from when Licensee notifies The
-Qt Company about an Error or requests Support until The Qt Company provides
-Licensee with a response that addresses (but not necessarily resolves) the
-reported Error or provides the requested Support.
-
-“Standard Support” shall mean standard level of Support that The Qt Company
-provides pursuant to these Support Terms to Licensee. Standard Support also
-covers what is included in Install Support.
-
-“Security Issue” shall mean an Error that may cause a vulnerability in a system
-or application that uses the Licensed Software.
-
-“Support” shall mean developer assistance that is provided by The Qt Company to
-assist eligible Designated Users in Licensed Software installation, usage and
-functionality problem resolution for Error(s) and Error workarounds pursuant to
-the terms of these Support Terms. Support for different products is available
-as specified in the below table (‘X’ marking the Support that is included in
-the license price, optional Add-on Support services are marked as ‘O’):
-
-+-----------------------------------------------------------------------------+
-| | Install| Standard| Premium| Extended| Qualification|
-| | Support| Support | Support| Support | Kit |
-+-----------------------------------------------------------------------------+
-| DSP | X | X | O | O | |
-+-----------------------------------------------------------------------------+
-| DSE | X | X | O | O | |
-+-----------------------------------------------------------------------------+
-| ADP | X | | | | |
-+-----------------------------------------------------------------------------+
-| ADE | X | X | O | O | |
-+-----------------------------------------------------------------------------+
-| DCP | X | X | O | O | |
-+-----------------------------------------------------------------------------+
-| DCE | X | X | O | O | |
-+-----------------------------------------------------------------------------+
-| Squish | X | X | O | | O |
-+-----------------------------------------------------------------------------+
-| Coco | X | X | O | | O |
-+-----------------------------------------------------------------------------+
-| Test Center | X | X | O | | O |
-+-----------------------------------------------------------------------------+
-| Axivion Suite | X | X | | | |
-+-----------------------------------------------------------------------------+
-| Architecture Analysis | X | X | | | |
-+-----------------------------------------------------------------------------+
-| Static Code Analysis | X | X | | | |
-+-----------------------------------------------------------------------------+
-| Static Coverage | X | X | | | |
-| Analysis Professional | | | | | |
-+-----------------------------------------------------------------------------+
-| Qt Insight | | X | | | |
-+-----------------------------------------------------------------------------+
-
-“Support Validity Term” shall mean the Development License Term or any other
-fixed time period agreed between the Parties during which time the Licensee is
-eligible to receive Support from The Qt Company.
-
-2 SUPPORT SERVICES
-
-2.1 Support Services Provided by The Qt Company
-
-Subject to these Support Terms and during the Support Validity Term, The Qt
-Company will via its Customer Portal, provide Designated User(s) with Support
-for the Licensed Software which Licensee has licensed under the Agreement. The
-Qt Company will make commercially reasonable efforts to solve any Errors
-reported by Designated User(s). Resolution of an Error may be provided through
-Designated User(s) themselves downloading of a later released version of the
-applicable Licensed Software product(s) or providing the Designated User with a
-workaround addressing such Error or providing the Designated User with an
-updated tool configuration.
-
-2.2 Licensee's Obligations
-
-To report an Error, the Designated User shall register the Error on the
-Customer Portal. If the Designated User considers the reported Error to be a
-Security Issue, the Error shall be marked as a Security Issue.
-
-The Designated User must provide adequate information and documentation to The
-Qt Company to enable it to recreate the Error or problem for which the
-Designated User has sought assistance. To ensure efficient handling of Errors,
-the Designated User must provide the following information, where relevant:
-- A clear, detailed description of the problem, question or suggestion;
-- Identification of which Licensed Software product and version is affected;
-- Identification of the operating environment (e.g. operating system, hardware
- Platform, build tools, tool configuration, etc.) on which the problem exists;
-- Marking the issue as a Security Issue, when reporting a Security Issue;
-- On Standard Support: A complete and compilable test case of not more than 500
- lines of code that demonstrates the problem;
-- On Premium Support: A complete and compilable test case that demonstrates the
- problem or access to Application Code source codes.
-
-Additional relevant content, such as screenshots, etc.
-Additional content should be included as attachments. The preferred image
-formats are JPEG and PNG. Compressed content should be included in zip or
-tar.gz archives. Executable content and documents in platform specific formats
-such as Microsoft Office' are not accepted.
-
-In order for The Qt Company to provide prompt handling of Errors, the
-Designated User shall promptly respond to any requests from The Qt Company for
-additional information.
-
-2.3 Support Limitations
-
-General limitations:
-
-Each version or release of the Licensed Software will be Supported under
-Standard Support or Premium Support only for limited time period as set forth
-in doc.qt.io or in documentation provided with the respective Licensed Software
-product. If nothing is documented, a release of Licensed Software is supported
-for one (1) year from the release date of the version x.y.0 and Long Term
-Support (LTS) Releases are supported for a period of three (3) years from the
-release date of the LTS version x.y.0.
-
-The Qt Company shall only provide Support for Designated User(s) through
-Customer Portal.Support is made available for the entire development teams
-only: It is not allowed to purchase Support only for some members of the
-development team, and all Designated Users of the respective development team
-must be eligible for the same level of Support.
-
-Support is not provided for snapshots, preview releases, beta releases or
-release candidates.
-
-The Qt Company shall have no obligation to provide Support for 3rd party
-components, hardware or operating system specific problems or problems arising
-from improper use, accident, neglect, or modification of Qt.
-
-Limitations with Install Support:
-
-Support limited to (i) Error(s) regarding installation and setting up of the Qt
-development environment on host Platforms, or (ii) Errors impacting operational
-use of the QA Tools.
-
-Limitations with Standard Support:
-
-The Qt Company shall not provide Support for third-party software or problems
-caused by third-party software even if such third-party software is distributed
-together with Licensed Software product(s).
-
-The Qt Company shall only provide Support for Error(s) that are reported on and
-can be reproduced on Platforms that are officially supported for the release of
-the Licensed Software.
-
-Limitations with Premium support:
-
-The Qt Company shall not provide Support for third-party software or problems
-caused by third-party software. However, if such third-party software is
-distributed together with Licensed Software, The Qt Company will make
-commercially reasonable efforts to solve such problems.
-
-The Qt Company shall only provide Support for Error(s) that can be reproduced
-on Platforms that are officially supported for the release of the Licensed
-Software. If the Error is on a Platform that is not supported, The Qt Company
-will make commercially reasonable efforts to provide a solution on closest
-corresponding supported Platform.
-
-Premium Support is optional and purchased for an agreed bucket of hours
-(“Bucket”). Hours can be used by any Designated User in the respective
-development team. To encourage continuous usage of the Support, ten percent
-(10%) of the purchased Bucket shall automatically expire (regardless of whether
-such support hours are actually used or not by the Licensee) each month after
-three (3) months from the purchase of the Premium Support.
-
-2.4 Handling of Security Issues
-
-The reported Errors marked as Security Issues will be assessed by experts to
-determine the severity of the issue and to verify if it indeed is a valid
-Security Issue. The Designated User who reported the issue may be contacted for
-more details. If the reported issue is not deemed to be a Security Issue, it
-will be treated as a normal Error and handled accordingly.
-
-A verified Security Issue will be fixed as soon as possible. Qt Company will
-notify all Licensees via appropriate channels about the Security Errors and
-availability of patches for Licensed Software. Typically, a fix for the
-Security Issue is included in the next Maintenance Release of Licensed
-Software.
-
-If the Security Issue is reported in a third-party library used in Licensed
-Software, The Qt Company will notify the relevant third party of such Security
-Issue detected in their library. When the Security Issue is fixed in the
-third-party library, the new version of the third-party library will be in the
-next feasible Maintenance Release of the Licensed Software. If a fixed version
-of the third-party library is not available, The Qt Company may instead decide
-to include documentation regarding the issue, or a patch for this third-party
-library.
-
-All known Security Issues in Licensed Software will be mentioned as part of the
-change notes released with each version of Licensed Software.
-
-2.5 Extended Support
-
-Extended Support extends the Support Validity Term for a release of Licensed
-Software that is no longer generally supported.
-
-Extended Support includes and is by default provided with Standard Support
-rules and limitations, unless Extended Support is purchased together with
-Premium Support in which case Premium Support rules and limitations will apply.
-
-Extended Support is optional and purchased with annual fee and separately per
-each Licensee product. Extended Support will need definition of (i) Licensee
-product, (ii) used Platform(s) and (iii) Licensed Software version(s). For
-avoidance of doubt, Extended Support requires that the Designated User has a
-valid license for the respective Licensed Software.
-
-2.6 Qualification Kit
-
-The Qt Company shall provide a set of documents and validation tests that
-enable the Licensee to qualify QA testing tool (subject to a separate fee) or
-Qt Safe Renderer for the purpose of safety certification of Licensee end-to-end
-solution. Exact complied safety standards may vary between products, used
-features, use case, and industry.
-
-3 RESPONSE TIME
-
-In performing Support, The Qt Company shall commit to following, non-binding,
-Response Times:
-
-Standard Support: Errors and Support requests will have a Response Time not to
-exceed two (2) business days.
-
-Premium Support: Errors and Support requests will have a Response Time not to
-exceed one (1) business day.
-
-Security Issues: Errors that are Security Issues will have a Response Time not
-to exceed one (1) business day.
-
-For complex issues, The Qt Company may provide an initial response to the
-Designated User and then follow up, without undue delay, with additional
-communication before an Error is properly addressed or Support provided.
-
-4 ADDITIONAL SERVICES IN PREMIUM SUPPORT
-
-The Designated User(s) will be assigned a Dedicated Contact to handle requests
-for Support. Dedicated Contact is subject to change in cases such as sick
-leave, vacation and other similar reasons.
-
-The Designated User(s) can on request ask The Qt Company to access their
-computer remotely in order to resolve problems directly.
-
-The Designated User(s) can request a session via Instant Messaging or phone
-call in the support request to The Qt Company.
-
-Premium Support can assist Licensee in implementing new features, bug fixes
-and accessing patches in Licensed Software or Application Code.
-
-All Support requests will be handled with high priority.
-
-5 MAINTENANCE RELEASES, UPDATES AND UPGRADES
-
-Under the Support the Licensee is eligible for Maintenance Releases and Updates
-that The Qt Company generally makes available to customers who has purchased
-Support. Unless otherwise decided by The Company at its free and absolute
-discretion, Upgrades will not be provided under the Support.
-
-The primary focus of Maintenance Releases is product quality. Therefore, each
-Maintenance Release typically includes the following types of changes to the
-previous version of Licensed Software:
-- Bug fixes caused by changes to previously working code;
-- Fixes related to build issues on supported Platforms;
-- Error corrections specific to a single Platform that are not present on other
- Platforms;
-- Corrections to Security Issues;
-- Critical Error corrections such as crashes, data corruption, loss of data,
- race conditions; and
-- Updates to documentation and license information when deemed necessary by
- The Qt Company.
-
-The primary focus of Updates is introducing new features to Licensed Software
-and covering new platforms. Therefore, each Updates typically includes the
-following types of changes to the previous version of Licensed Software:
-- New platform support;
-- New toolchain support;
-- New features and Qt modules;
-
-6 WARRANTY DISCLAIMER
-
-The Qt Company makes no warranties that the Support provided will be successful
-in resolving any difficulties or problems or in diagnosing faults reported by
-Licensee. Support is provided to Licensee on an "as is" basis. To the maximum
-extent permitted by applicable law, The Qt Company disclaims all warranties and
-conditions, either express or implied, including, but not limited to, implied
-warranties of merchantability and fitness for a particular purpose for the
-Support provided by The Qt Company to Licensee.
-
-APPENDIX 10: CONVERSION TO SUBSCRIPTION
-
-Subject to the terms of this Appendix Licensee's current development licenses
-("Current Licenses") for commercial version of Qt Software and the license
-agreements governing such Current Licenses ("Existing Agreements") are being
-replaced by this Agreement and subscription based Development Licenses
-governed hereunder, as further specified below.
-
-+---------------------------------------------------------------------------+
-| Existing Agreement(s) | <Trolltech, Nokia, Digia, The Qt Company> and |
-| signing parties, version | <Licensee> <Version of the Agreement, e.g. 2,0,|
-| and date of signatures | 3.2 or 4.1> <Date of the agreement signatures> |
-| thereof | |
-+---------------------------------------------------------------------------+
-
-Parties hereby agree on conversion of Current Licenses listed in attached
-Exhibit A to the subscription licenses listed in attached Exhibit B for use
-through License Term. As of the date hereof,
-
-i. Licensee's Current Licenses as listed in Exhibit A shall terminate and be
-replaced with the Subscription licenses listed in Exhibit B and;
-ii. Existing Agreements are terminated.
-
-Prices for the conversion of Current Licenses are defined in Appendix 2
-Pricing or Quote.
-
-Notwithstanding anything in this Appendix to the contrary, and in addition to
-any payments due pursuant to this Appendix, Licensee remains fully obligated to
-fulfill any and all outstanding payment obligations to The Qt Company under any
-applicable Existing Agreements. For the avoidance of doubt, if any payments
-remain outstanding on the Current Licenses under the applicable terms Licensee
-will continue to make such payments in accordance with the applicable order
-documentation, notwithstanding the fact that the Current Licenses are being
-converted to Development Licenses pursuant to this Appendix.
-
-APPENDIX 11: TERMS OF USE - QT INSIGHT TRACKER LIBRARY
-Version 1.0
-
-Qt Insight Tracker Library ("Tracker Library") is a software module used to
-collect end user data from Customer's Application and Devices relating to The
-Qt Company's Qt Insight online service the Customer is ordering from The Qt
-Company under a separate service agreement ("Service Agreement").
-
-Unless otherwise set forth herein, definitions written in capital letters used
-herein shall have the meaning set forth in the Service Agreement.
-
-Subject to these terms The Qt Company grants to Customer a worldwide,
-non-exclusive, non-transferable, royalty-free, revocable (for cause) right and
-license, valid for the term of the Service Agreement, to
- (i) use, copy and modify Tracker Library for the purpose of including it
- into the Devices and Applications and solely for the purpose of being
- used only in conjunction with Insight Cloud or Insight Private Cloud,
- and
- (ii) distribute, by itself or through its Contractors, Tracker Library as
- installed, incorporated, or integrated into Applications and/or
- Devices.
-
-Use of Tracker Library in a way or for the purpose other than the above is
-strictly prohibited. Tracker Library is licensed to the Customer in all
-respects "as is".
-
-TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE QT COMPANY ON BEHALF OF
-ITSELF AND ITS LICENSORS, SUPPLIERS AND AFFILIATES, DISCLAIMS ALL OTHER
-WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
-NON-INFRINGEMENT WITH REGARD TO THE TRACKER LIBRARY. THE QT COMPANY DOES NOT
-WARRANT THAT THE TRACKER LIBRARY WILL SATISFY CUSTOMER'S REQUIREMENTS OR THAT
-IT WILL OPERATE WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE
-UNINTERRUPTED.
-IN NO EVENT SHALL THE QT COMPANY BE LIABLE TO THE CUSTOMER FOR ANY LOSS OF
-PROFIT, LOSS OF DATA, LOSS OF BUSINESS OR GOODWILL OR ANY OTHER INDIRECT,
-SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE COST, DAMAGES OR EXPENSE OF ANY
-KIND, HOWSOEVER ARISING UNDER OR IN CONNECTION WITH THE USE OF THE TRACKER
-LIBRARY.
-
-THE TOTAL MAXIMUM LIABILITY OF THE QT COMPANY UNDER THESE TERMS SHALL IN NO
-EVENT EXCEED 10,000 EUROS.
diff --git a/LICENSE.GPL2 b/LICENSES/GPL-2.0-only.txt
index d159169d..d159169d 100644
--- a/LICENSE.GPL2
+++ b/LICENSES/GPL-2.0-only.txt
diff --git a/LICENSE.GPL3 b/LICENSES/GPL-3.0-only.txt
index 94a9ed02..94a9ed02 100644
--- a/LICENSE.GPL3
+++ b/LICENSES/GPL-3.0-only.txt
diff --git a/LICENSE.LGPL3 b/LICENSES/LGPL-3.0-only.txt
index 65c5ca88..65c5ca88 100644
--- a/LICENSE.LGPL3
+++ b/LICENSES/LGPL-3.0-only.txt
diff --git a/LICENSES/LicenseRef-Qt-Commercial.txt b/LICENSES/LicenseRef-Qt-Commercial.txt
new file mode 100644
index 00000000..825b1f35
--- /dev/null
+++ b/LICENSES/LicenseRef-Qt-Commercial.txt
@@ -0,0 +1,8 @@
+Licensees holding valid commercial Qt licenses may use this software in
+accordance with the the terms contained in a written agreement between
+you and The Qt Company. Alternatively, the terms and conditions that were
+accepted by the licensee when buying and/or downloading the
+software do apply.
+
+For the latest licensing terms and conditions, see https://www.qt.io/terms-conditions.
+For further information use the contact form at https://www.qt.io/contact-us.
diff --git a/LICENSES/Qt-GPL-exception-1.0.txt b/LICENSES/Qt-GPL-exception-1.0.txt
new file mode 100644
index 00000000..d0322bf0
--- /dev/null
+++ b/LICENSES/Qt-GPL-exception-1.0.txt
@@ -0,0 +1,22 @@
+The Qt Company GPL Exception 1.0
+
+Exception 1:
+
+As a special exception you may create a larger work which contains the
+output of this application and distribute that work under terms of your
+choice, so long as the work is not otherwise derived from or based on
+this application and so long as the work does not in itself generate
+output that contains the output from this application in its original
+or modified form.
+
+Exception 2:
+
+As a special exception, you have permission to combine this application
+with Plugins licensed under the terms of your choice, to produce an
+executable, and to copy and distribute the resulting executable under
+the terms of your choice. However, the executable must be accompanied
+by a prominent notice offering all users of the executable the entire
+source code to this application, excluding the source code of the
+independent modules, but including any changes you have made to this
+application, under the terms of this license.
+
diff --git a/README.md b/README.md
index b39e770a..ccf35c37 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@ System requirements
-------------------
* C++ compiler supporting the C++17 standard
-* CMake 3.16 or newer
-* Ninja 1.8 or newer
+* CMake
+* Ninja
* Python 3
For more details, see also https://doc.qt.io/qt-6/build-sources.html
@@ -29,7 +29,7 @@ Windows:
1. Open a command prompt.
2. Ensure that the following tools can be found in the path:
- * Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 8.1 or later)
+ * Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 11.2 or later)
* Python 3 ([https://www.python.org/downloads/windows/] or from Microsoft Store)
```
@@ -98,7 +98,7 @@ to your `PATH` environment variable to access them.
Building Qt from git
====================
-See http://wiki.qt.io/Building_Qt_6_from_Git and README.git
+See http://wiki.qt.io/Building_Qt_6_from_Git and [README.git](README.git)
for more information.
See http://wiki.qt.io/Qt_6 for the reference platforms.
diff --git a/README.md.template b/README.md.template
new file mode 100644
index 00000000..0b757877
--- /dev/null
+++ b/README.md.template
@@ -0,0 +1,39 @@
+## Qt Package/Repository Name
+
+### Package Brief
+
+### Documentation
+The documentation can be found in the following places:
+* The online Qt documentation:
+ * [<Qt module> documentation](https://doc.qt.io/qt-6/<qtmodule>-index.html)
+* Build from source:
+ * [Building Qt Documentation](https://wiki.qt.io/Building_Qt_Documentation)
+
+*Note that the documentation links in this document will always be for the
+latest Qt 6 version. If you need to browse the documentation for a specific
+version, you can [browse the archives](https://doc.qt.io/archives/).*
+
+### Build Process
+Building the package/repository does depend on the Qt packages listed in dependencies.yaml.
+Further dependencies to system packages are listed in the configure output.
+
+See the [documentation](https://doc.qt.io/qt-6/build-sources.html) for general
+advice on building the Qt framework and its modules from sources. Further
+information on how to build from source is also available in the
+[wiki](https://wiki.qt.io/Building_Qt_6_from_Git).
+
+### Report an Issue
+If you spot a bug, follow [these](https://doc.qt.io/qt-6/bughowto.html)
+steps to report it.
+
+### Contribute to Qt
+We welcome contributions to Qt! If you'd like to contribute, read the
+[Qt Contribution Guidelines](https://wiki.qt.io/Qt_Contribution_Guidelines).
+
+### Licensing
+Qt is available under various licenses. For details, check out the
+[license documentation](https://doc.qt.io/qt-6/licensing.html).
+
+*Note that this README.md.template serves as a guideline for README.md files,
+and that further sections can be added to individual README.md files if
+necessary.*
diff --git a/_clang-format b/_clang-format
index 085320ad..2fa7c0b0 100644
--- a/_clang-format
+++ b/_clang-format
@@ -28,8 +28,8 @@ CommentPragmas: "^!|^:|^ SPDX-License-Identifier:"
# We want a space between the type and the star for pointer types.
PointerBindsToType: false
-# We use template< without space.
-SpaceAfterTemplateKeyword: false
+# We generally use "template <" with space.
+SpaceAfterTemplateKeyword: true
# We want to break before the operators, but not before a '='.
BreakBeforeBinaryOperators: NonAssignment
@@ -106,3 +106,9 @@ AlignEscapedNewlines: Left
# initializer list in list-initialization.
SpaceBeforeCpp11BracedList: false
+---
+# Use the Google-based style for .proto files.
+Language: Proto
+BasedOnStyle: Google
+IndentWidth: 4
+ColumnLimit: 100
diff --git a/cmake/3rdparty/cmake/Copyright.txt b/cmake/3rdparty/cmake/Copyright.txt
new file mode 100644
index 00000000..2074109b
--- /dev/null
+++ b/cmake/3rdparty/cmake/Copyright.txt
@@ -0,0 +1,136 @@
+CMake - Cross Platform Makefile Generator
+Copyright 2000-2024 Kitware, Inc. and Contributors
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+* Neither the name of Kitware, Inc. nor the names of Contributors
+ may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+------------------------------------------------------------------------------
+
+The following individuals and institutions are among the Contributors:
+
+* Aaron C. Meadows <cmake@shadowguarddev.com>
+* Adriaan de Groot <groot@kde.org>
+* Aleksey Avdeev <solo@altlinux.ru>
+* Alexander Neundorf <neundorf@kde.org>
+* Alexander Smorkalov <alexander.smorkalov@itseez.com>
+* Alexey Sokolov <sokolov@google.com>
+* Alex Merry <alex.merry@kde.org>
+* Alex Turbov <i.zaufi@gmail.com>
+* Andreas Pakulat <apaku@gmx.de>
+* Andreas Schneider <asn@cryptomilk.org>
+* André Rigland Brodtkorb <Andre.Brodtkorb@ifi.uio.no>
+* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf
+* Benjamin Eikel
+* Bjoern Ricks <bjoern.ricks@gmail.com>
+* Brad Hards <bradh@kde.org>
+* Christopher Harvey
+* Christoph Grüninger <foss@grueninger.de>
+* Clement Creusot <creusot@cs.york.ac.uk>
+* Daniel Blezek <blezek@gmail.com>
+* Daniel Pfeifer <daniel@pfeifer-mail.de>
+* Dawid Wróbel <me@dawidwrobel.com>
+* Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+* Eran Ifrah <eran.ifrah@gmail.com>
+* Esben Mose Hansen, Ange Optimization ApS
+* Geoffrey Viola <geoffrey.viola@asirobots.com>
+* Google Inc
+* Gregor Jasny
+* Helio Chissini de Castro <helio@kde.org>
+* Ilya Lavrenov <ilya.lavrenov@itseez.com>
+* Insight Software Consortium <insightsoftwareconsortium.org>
+* Intel Corporation <www.intel.com>
+* Jan Woetzel
+* Jordan Williams <jordan@jwillikers.com>
+* Julien Schueller
+* Kelly Thompson <kgt@lanl.gov>
+* Konstantin Podsvirov <konstantin@podsvirov.pro>
+* Laurent Montel <montel@kde.org>
+* Mario Bensi <mbensi@ipsquad.net>
+* Martin Gräßlin <mgraesslin@kde.org>
+* Mathieu Malaterre <mathieu.malaterre@gmail.com>
+* Matthaeus G. Chajdas
+* Matthias Kretz <kretz@kde.org>
+* Matthias Maennich <matthias@maennich.net>
+* Michael Hirsch, Ph.D. <www.scivision.co>
+* Michael Stürmer
+* Miguel A. Figueroa-Villanueva
+* Mike Durso <rbprogrammer@gmail.com>
+* Mike Jackson
+* Mike McQuaid <mike@mikemcquaid.com>
+* Nicolas Bock <nicolasbock@gmail.com>
+* Nicolas Despres <nicolas.despres@gmail.com>
+* Nikita Krupen'ko <krnekit@gmail.com>
+* NVIDIA Corporation <www.nvidia.com>
+* OpenGamma Ltd. <opengamma.com>
+* Patrick Stotko <stotko@cs.uni-bonn.de>
+* Per Øyvind Karlsen <peroyvind@mandriva.org>
+* Peter Collingbourne <peter@pcc.me.uk>
+* Petr Gotthard <gotthard@honeywell.com>
+* Philip Lowman <philip@yhbt.com>
+* Philippe Proulx <pproulx@efficios.com>
+* Raffi Enficiaud, Max Planck Society
+* Raumfeld <raumfeld.com>
+* Roger Leigh <rleigh@codelibre.net>
+* Rolf Eike Beer <eike@sf-mail.de>
+* Roman Donchenko <roman.donchenko@itseez.com>
+* Roman Kharitonov <roman.kharitonov@itseez.com>
+* Ruslan Baratov
+* Sebastian Holtermann <sebholt@xwmw.org>
+* Stephen Kelly <steveire@gmail.com>
+* Sylvain Joubert <joubert.sy@gmail.com>
+* The Qt Company Ltd.
+* Thomas Sondergaard <ts@medical-insight.com>
+* Tobias Hunger <tobias.hunger@qt.io>
+* Todd Gamblin <tgamblin@llnl.gov>
+* Tristan Carel
+* University of Dundee
+* Vadim Zhukov
+* Will Dicharry <wdicharry@stellarscience.com>
+
+See version control history for details of individual contributions.
+
+The above copyright and license notice applies to distributions of
+CMake in source and binary form. Third-party software packages supplied
+with CMake under compatible licenses provide their own copyright notices
+documented in corresponding subdirectories or source files.
+
+------------------------------------------------------------------------------
+
+CMake was initially developed by Kitware with the following sponsorship:
+
+ * National Library of Medicine at the National Institutes of Health
+ as part of the Insight Segmentation and Registration Toolkit (ITK).
+
+ * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
+ Visualization Initiative.
+
+ * National Alliance for Medical Image Computing (NAMIC) is funded by the
+ National Institutes of Health through the NIH Roadmap for Medical Research,
+ Grant U54 EB005149.
+
+ * Kitware, Inc.
diff --git a/cmake/3rdparty/cmake/QtIRRunCMake.cmake b/cmake/3rdparty/cmake/QtIRRunCMake.cmake
new file mode 100644
index 00000000..dd6a10de
--- /dev/null
+++ b/cmake/3rdparty/cmake/QtIRRunCMake.cmake
@@ -0,0 +1,349 @@
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+# file Copyright.txt or https://cmake.org/licensing for details.
+#
+# Original file location was Tests/RunCMake/RunCMake.cmake
+
+foreach(
+ arg
+ IN ITEMS
+ RunCMake_GENERATOR
+ RunCMake_SOURCE_DIR
+ RunCMake_BINARY_DIR
+ )
+ if(NOT DEFINED ${arg})
+ message(FATAL_ERROR "${arg} not given!")
+ endif()
+endforeach()
+
+function(run_cmake test)
+ if(DEFINED ENV{RunCMake_TEST_FILTER})
+ set(test_and_variant "${test}${RunCMake_TEST_VARIANT_DESCRIPTION}")
+ if(NOT test_and_variant MATCHES "$ENV{RunCMake_TEST_FILTER}")
+ return()
+ endif()
+ unset(test_and_variant)
+ endif()
+
+ set(top_src "${RunCMake_SOURCE_DIR}")
+ set(top_bin "${RunCMake_BINARY_DIR}")
+ if(EXISTS ${top_src}/${test}-result.txt)
+ file(READ ${top_src}/${test}-result.txt expect_result)
+ string(REGEX REPLACE "\n+$" "" expect_result "${expect_result}")
+ elseif(DEFINED RunCMake_TEST_EXPECT_RESULT)
+ set(expect_result "${RunCMake_TEST_EXPECT_RESULT}")
+ else()
+ set(expect_result 0)
+ endif()
+
+ string(TOLOWER ${CMAKE_HOST_SYSTEM_NAME} platform_name)
+ #remove all additional bits from cygwin/msys name
+ if(platform_name MATCHES cygwin)
+ set(platform_name cygwin)
+ endif()
+ if(platform_name MATCHES msys)
+ set(platform_name msys)
+ endif()
+
+ foreach(o IN ITEMS stdout stderr config)
+ if(RunCMake-${o}-file AND EXISTS ${top_src}/${RunCMake-${o}-file})
+ file(READ ${top_src}/${RunCMake-${o}-file} expect_${o})
+ string(REGEX REPLACE "\n+$" "" expect_${o} "${expect_${o}}")
+ elseif(EXISTS ${top_src}/${test}-${o}-${platform_name}.txt)
+ file(READ ${top_src}/${test}-${o}-${platform_name}.txt expect_${o})
+ string(REGEX REPLACE "\n+$" "" expect_${o} "${expect_${o}}")
+ elseif(EXISTS ${top_src}/${test}-${o}.txt)
+ file(READ ${top_src}/${test}-${o}.txt expect_${o})
+ string(REGEX REPLACE "\n+$" "" expect_${o} "${expect_${o}}")
+ elseif(DEFINED RunCMake_TEST_EXPECT_${o})
+ string(REGEX REPLACE "\n+$" "" expect_${o} "${RunCMake_TEST_EXPECT_${o}}")
+ else()
+ unset(expect_${o})
+ endif()
+ endforeach()
+ foreach(o IN ITEMS stdout stderr config)
+ if(DEFINED RunCMake_TEST_NOT_EXPECT_${o})
+ string(REGEX REPLACE "\n+$" "" not_expect_${o} "${RunCMake_TEST_NOT_EXPECT_${o}}")
+ endif()
+ endforeach()
+ if (NOT expect_stderr)
+ if (NOT RunCMake_DEFAULT_stderr)
+ set(RunCMake_DEFAULT_stderr "^$")
+ endif()
+ set(expect_stderr ${RunCMake_DEFAULT_stderr})
+ endif()
+
+ if (NOT RunCMake_TEST_SOURCE_DIR)
+ set(RunCMake_TEST_SOURCE_DIR "${top_src}")
+ endif()
+ if(NOT RunCMake_TEST_BINARY_DIR)
+ set(RunCMake_TEST_BINARY_DIR "${top_bin}/${test}-build")
+ endif()
+ if(NOT RunCMake_TEST_NO_CLEAN)
+ file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}")
+ endif()
+ file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}")
+ if(RunCMake-prep-file AND EXISTS ${top_src}/${RunCMake-prep-file})
+ include(${top_src}/${RunCMake-prep-file})
+ else()
+ include(${top_src}/${test}-prep.cmake OPTIONAL)
+ endif()
+ if(RunCMake_TEST_OUTPUT_MERGE)
+ set(actual_stderr_var actual_stdout)
+ set(actual_stderr "")
+ else()
+ set(actual_stderr_var actual_stderr)
+ endif()
+ if(DEFINED RunCMake_TEST_TIMEOUT)
+ set(maybe_timeout TIMEOUT ${RunCMake_TEST_TIMEOUT})
+ else()
+ set(maybe_timeout "")
+ endif()
+ if(RunCMake-stdin-file AND EXISTS ${top_src}/${RunCMake-stdin-file})
+ set(maybe_input_file INPUT_FILE ${top_src}/${RunCMake-stdin-file})
+ elseif(EXISTS ${top_src}/${test}-stdin.txt)
+ set(maybe_input_file INPUT_FILE ${top_src}/${test}-stdin.txt)
+ else()
+ set(maybe_input_file "")
+ endif()
+ if(NOT RunCMake_TEST_COMMAND)
+ if(NOT DEFINED RunCMake_TEST_OPTIONS)
+ set(RunCMake_TEST_OPTIONS "")
+ endif()
+ if(APPLE)
+ list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0025=NEW)
+ endif()
+ if(RunCMake_TEST_LCC AND NOT RunCMake_TEST_NO_CMP0129)
+ list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0129=NEW)
+ endif()
+ if(RunCMake_MAKE_PROGRAM)
+ list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_MAKE_PROGRAM=${RunCMake_MAKE_PROGRAM}")
+ endif()
+ set(RunCMake_TEST_COMMAND ${CMAKE_COMMAND})
+ if(NOT RunCMake_TEST_NO_SOURCE_DIR)
+ list(APPEND RunCMake_TEST_COMMAND "${RunCMake_TEST_SOURCE_DIR}")
+ endif()
+ list(APPEND RunCMake_TEST_COMMAND -G "${RunCMake_GENERATOR}")
+ if(RunCMake_GENERATOR_PLATFORM)
+ list(APPEND RunCMake_TEST_COMMAND -A "${RunCMake_GENERATOR_PLATFORM}")
+ endif()
+ if(RunCMake_GENERATOR_TOOLSET)
+ list(APPEND RunCMake_TEST_COMMAND -T "${RunCMake_GENERATOR_TOOLSET}")
+ endif()
+ if(RunCMake_GENERATOR_INSTANCE)
+ list(APPEND RunCMake_TEST_COMMAND "-DCMAKE_GENERATOR_INSTANCE=${RunCMake_GENERATOR_INSTANCE}")
+ endif()
+ list(APPEND RunCMake_TEST_COMMAND
+ -DRunCMake_TEST=${test}
+ --no-warn-unused-cli
+ )
+ else()
+ set(RunCMake_TEST_OPTIONS "")
+ endif()
+ if(NOT DEFINED RunCMake_TEST_RAW_ARGS)
+ set(RunCMake_TEST_RAW_ARGS "")
+ endif()
+ if(NOT RunCMake_TEST_COMMAND_WORKING_DIRECTORY)
+ set(RunCMake_TEST_COMMAND_WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}")
+ endif()
+ string(CONCAT _code [[execute_process(
+ COMMAND ${RunCMake_TEST_COMMAND}
+ ${RunCMake_TEST_OPTIONS}
+ ]] "${RunCMake_TEST_RAW_ARGS}\n" [[
+ WORKING_DIRECTORY "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}"
+ OUTPUT_VARIABLE actual_stdout
+ ERROR_VARIABLE ${actual_stderr_var}
+ RESULT_VARIABLE actual_result
+ ENCODING UTF8
+ ${maybe_timeout}
+ ${maybe_input_file}
+ )]])
+ if(DEFINED ENV{PWD})
+ set(old_pwd "$ENV{PWD}")
+ else()
+ set(old_pwd)
+ endif()
+ # Emulate a shell using this directory.
+ set(ENV{PWD} "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}")
+ cmake_language(EVAL CODE "${_code}")
+ if(DEFINED old_pwd)
+ set(ENV{PWD} "${old_pwd}")
+ else()
+ set(ENV{PWD})
+ endif()
+ set(msg "")
+ if(NOT "${actual_result}" MATCHES "${expect_result}")
+ string(APPEND msg "Result is [${actual_result}], not [${expect_result}].\n")
+ endif()
+ set(config_file "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}/CMakeFiles/CMakeConfigureLog.yaml")
+ if(EXISTS "${config_file}")
+ file(READ "${config_file}" actual_config)
+ else()
+ set(actual_config "")
+ endif()
+
+ # Special case: remove ninja no-op line from stderr, but not stdout.
+ # Test cases that look for it should use RunCMake_TEST_OUTPUT_MERGE.
+ string(REGEX REPLACE "(^|\r?\n)ninja: no work to do\\.\r?\n" "\\1" actual_stderr "${actual_stderr}")
+
+ # Remove incidental content from both stdout and stderr.
+ string(CONCAT ignore_line_regex
+ "(^|\n)((==[0-9]+=="
+ "|BullseyeCoverage"
+ "|[a-z]+\\([0-9]+\\) malloc:"
+ "|clang[^:]*: warning: the object size sanitizer has no effect at -O0, but is explicitly enabled:"
+ "|flang-new: warning: argument unused during compilation: .-flang-experimental-exec."
+ "|icp?x: remark: Note that use of .-g. without any optimization-level option will turn off most compiler optimizations"
+ "|ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations"
+ "|lld-link: warning: procedure symbol record for .* refers to PDB item index [0-9A-Fa-fx]+ which is not a valid function ID record"
+ "|Error kstat returned"
+ "|Hit xcodebuild bug"
+ "|Recompacting log\\.\\.\\."
+
+ "|LICENSE WARNING:"
+ "|Your license to use PGI[^\n]*expired"
+ "|Please obtain a new version at"
+ "|contact PGI Sales at"
+ "|ic(p?c|l): remark #10441: The Intel\\(R\\) C\\+\\+ Compiler Classic \\(ICC\\) is deprecated"
+
+ "|[^\n]*install_name_tool: warning: changes being made to the file will invalidate the code signature in:"
+ "|[^\n]*(createItemModels|_NSMainThread|Please file a bug at)"
+ "|[^\n]*xcodebuild[^\n]*DVTAssertions: Warning"
+ "|[^\n]*xcodebuild[^\n]*DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default"
+ "|[^\n]*xcodebuild[^\n]*DVTPlugInManager"
+ "|[^\n]*xcodebuild[^\n]*DVTSDK: Warning: SDK path collision for path"
+ "|[^\n]*xcodebuild[^\n]*Requested but did not find extension point with identifier"
+ "|[^\n]*xcodebuild[^\n]*nil host used in call to allows.*HTTPSCertificateForHost"
+ "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type"
+ "|[^\n]*objc[^\n]*: Class [^\n]* One of the two will be used. Which one is undefined."
+ "|[^\n]*is a member of multiple groups"
+ "|[^\n]*offset in archive not a multiple of 8"
+ "|[^\n]*from Time Machine by path"
+ "|[^\n]*Bullseye Testing Technology"
+ ${RunCMake_TEST_EXTRA_IGNORE_LINE_REGEX}
+ ")[^\n]*\n)+"
+ )
+ if(RunCMake_IGNORE_POLICY_VERSION_DEPRECATION)
+ string(REGEX REPLACE [[
+^CMake Deprecation Warning at [^
+]*CMakeLists.txt:1 \(cmake_minimum_required\):
+ Compatibility with CMake < 3\.5 will be removed from a future version of
+ CMake.
+
+ Update the VERSION argument <min> value or use a \.\.\.<max> suffix to tell
+ CMake that the project does not need compatibility with older versions\.
++
+]] "" actual_stderr "${actual_stderr}")
+ endif()
+ foreach(o IN ITEMS stdout stderr config)
+ string(REGEX REPLACE "\r\n" "\n" actual_${o} "${actual_${o}}")
+ string(REGEX REPLACE "${ignore_line_regex}" "\\1" actual_${o} "${actual_${o}}")
+ string(REGEX REPLACE "\n+$" "" actual_${o} "${actual_${o}}")
+ if(DEFINED expect_${o})
+ if(NOT "${actual_${o}}" MATCHES "${expect_${o}}")
+ string(APPEND msg "${o} does not match that expected.\n")
+ endif()
+ endif()
+ if(DEFINED not_expect_${o})
+ if("${actual_${o}}" MATCHES "${not_expect_${o}}")
+ string(APPEND msg "${o} matches that not expected.\n")
+ endif()
+ endif()
+ endforeach()
+ unset(RunCMake_TEST_FAILED)
+ if(RunCMake-check-file AND EXISTS ${top_src}/${RunCMake-check-file})
+ include(${top_src}/${RunCMake-check-file})
+ else()
+ include(${top_src}/${test}-check.cmake OPTIONAL)
+ endif()
+ if(RunCMake_TEST_FAILED)
+ set(msg "${RunCMake_TEST_FAILED}\n${msg}")
+ endif()
+ if(msg)
+ string(REPLACE ";" "\" \"" command "\"${RunCMake_TEST_COMMAND}\"")
+ if(RunCMake_TEST_OPTIONS)
+ string(REPLACE ";" "\" \"" options "\"${RunCMake_TEST_OPTIONS}\"")
+ string(APPEND command " ${options}")
+ endif()
+ if(RunCMake_TEST_RAW_ARGS)
+ string(APPEND command " ${RunCMake_TEST_RAW_ARGS}")
+ endif()
+ string(APPEND msg "Command was:\n command> ${command}\n")
+ endif()
+ if(msg)
+ foreach(o IN ITEMS stdout stderr config)
+ if(DEFINED expect_${o})
+ string(REGEX REPLACE "\n" "\n expect-${o}> " expect_${o} " expect-${o}> ${expect_${o}}")
+ string(APPEND msg "Expected ${o} to match:\n${expect_${o}}\n")
+ endif()
+ if(NOT o STREQUAL "config" OR DEFINED expect_${o})
+ string(REGEX REPLACE "\n" "\n actual-${o}> " actual_${o} " actual-${o}> ${actual_${o}}")
+ string(APPEND msg "Actual ${o}:\n${actual_${o}}\n")
+ endif()
+ endforeach()
+ message(SEND_ERROR "${test}${RunCMake_TEST_VARIANT_DESCRIPTION} - FAILED:\n${msg}")
+ else()
+ message(STATUS "${test}${RunCMake_TEST_VARIANT_DESCRIPTION} - PASSED")
+ endif()
+endfunction()
+
+function(run_cmake_command test)
+ set(RunCMake_TEST_COMMAND "${ARGN}")
+ run_cmake(${test})
+endfunction()
+
+function(run_cmake_script test)
+ set(RunCMake_TEST_COMMAND ${CMAKE_COMMAND} ${ARGN} -P ${RunCMake_SOURCE_DIR}/${test}.cmake)
+ run_cmake(${test})
+endfunction()
+
+function(run_cmake_with_options test)
+ set(RunCMake_TEST_OPTIONS "${ARGN}")
+ run_cmake(${test})
+endfunction()
+
+function(run_cmake_with_raw_args test args)
+ set(RunCMake_TEST_RAW_ARGS "${args}")
+ run_cmake(${test})
+endfunction()
+
+function(ensure_files_match expected_file actual_file)
+ if(NOT EXISTS "${expected_file}")
+ message(FATAL_ERROR "Expected file does not exist:\n ${expected_file}")
+ endif()
+ if(NOT EXISTS "${actual_file}")
+ message(FATAL_ERROR "Actual file does not exist:\n ${actual_file}")
+ endif()
+ file(READ "${expected_file}" expected_file_content)
+ file(READ "${actual_file}" actual_file_content)
+ if(NOT "${expected_file_content}" STREQUAL "${actual_file_content}")
+ message(FATAL_ERROR "Actual file content does not match expected:\n
+ \n
+ expected file: ${expected_file}\n
+ expected content:\n
+ ${expected_file_content}\n
+ \n
+ actual file: ${actual_file}\n
+ actual content:\n
+ ${actual_file_content}\n
+ ")
+ endif()
+endfunction()
+
+# Get the user id on unix if possible.
+function(get_unix_uid var)
+ set("${var}" "" PARENT_SCOPE)
+ if(UNIX)
+ set(ID "id")
+ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS" AND EXISTS "/usr/xpg4/bin/id")
+ set (ID "/usr/xpg4/bin/id")
+ endif()
+ execute_process(COMMAND ${ID} -u $ENV{USER} OUTPUT_VARIABLE uid ERROR_QUIET
+ RESULT_VARIABLE status OUTPUT_STRIP_TRAILING_WHITESPACE)
+ if(status EQUAL 0)
+ set("${var}" "${uid}" PARENT_SCOPE)
+ endif()
+ endif()
+endfunction()
+
+# Protect RunCMake tests from calling environment.
+unset(ENV{MAKEFLAGS})
diff --git a/cmake/3rdparty/cmake/QtIRTestHelpers.cmake b/cmake/3rdparty/cmake/QtIRTestHelpers.cmake
new file mode 100644
index 00000000..804e20f0
--- /dev/null
+++ b/cmake/3rdparty/cmake/QtIRTestHelpers.cmake
@@ -0,0 +1,39 @@
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+# file Copyright.txt or https://cmake.org/licensing for details.
+#
+# Original file location was Tests/RunCMake/CMakeLists.txt
+
+macro(add_RunCMake_test test)
+ set(TEST_ARGS ${ARGN})
+ if ("${ARGV1}" STREQUAL "TEST_DIR")
+ if ("${ARGV2}" STREQUAL "")
+ message(FATAL_ERROR "Invalid args")
+ endif()
+ set(Test_Dir ${ARGV2})
+ list(REMOVE_AT TEST_ARGS 0)
+ list(REMOVE_AT TEST_ARGS 0)
+ else()
+ set(Test_Dir ${test})
+ endif()
+ if(CMAKE_C_COMPILER_ID STREQUAL "LCC")
+ list(APPEND TEST_ARGS -DRunCMake_TEST_LCC=1)
+ endif()
+ add_test(NAME RunCMake.${test} COMMAND ${CMAKE_CMAKE_COMMAND}
+ -DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR}
+ -DRunCMake_GENERATOR_IS_MULTI_CONFIG=${_isMultiConfig}
+ -DRunCMake_GENERATOR=${CMAKE_GENERATOR}
+ -DRunCMake_GENERATOR_INSTANCE=${CMAKE_GENERATOR_INSTANCE}
+ -DRunCMake_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
+ -DRunCMake_GENERATOR_TOOLSET=${CMAKE_GENERATOR_TOOLSET}
+ -DRunCMake_MAKE_PROGRAM=${CMake_TEST_EXPLICIT_MAKE_PROGRAM}
+ -DRunCMake_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}/${Test_Dir}
+ -DRunCMake_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}/${test}
+ ${${test}_ARGS}
+ ${TEST_ARGS}
+ -P "${CMAKE_CURRENT_SOURCE_DIR}/${Test_Dir}/RunCMakeTest.cmake"
+ )
+ set_tests_properties("RunCMake.${test}" PROPERTIES LABELS "CMake;run")
+ if(${test} MATCHES ^CMP)
+ set_property(TEST "RunCMake.${test}" APPEND PROPERTY LABELS "policy")
+ endif()
+endmacro()
diff --git a/cmake/3rdparty/cmake/qt_attribution.json b/cmake/3rdparty/cmake/qt_attribution.json
new file mode 100644
index 00000000..8ba8a1e7
--- /dev/null
+++ b/cmake/3rdparty/cmake/qt_attribution.json
@@ -0,0 +1,16 @@
+{
+ "Id": "cmake-test-modules",
+ "Name": "cmake-test-modules",
+ "QDocModule": "qtcore",
+ "QtUsage": "Used as part of the build system.",
+ "QtParts" : [ "tests" ],
+
+ "Description": "CMake helpers for running CMake tests.",
+ "Homepage": "https://cmake.org/",
+ "Version": "3.29.0",
+
+ "License": "BSD 3-Clause \"New\" or \"Revised\" License",
+ "LicenseId": "BSD-3-Clause",
+ "LicenseFile": "Copyright.txt",
+ "Copyright": "Copyright © 2000-2024 Kitware, Inc. and Contributors"
+}
diff --git a/cmake/QtIRCommandLineHelpers.cmake b/cmake/QtIRCommandLineHelpers.cmake
new file mode 100644
index 00000000..65c5d6aa
--- /dev/null
+++ b/cmake/QtIRCommandLineHelpers.cmake
@@ -0,0 +1,405 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# This file contains a modified subset of the qtbase/QtProcessConfigureArgs.cmake commands
+# with renamed functions, because we need similar logic for init-repository, but
+# we can't access qtbase before we clone it.
+
+# Call a function with the given arguments.
+function(qt_ir_call_function func)
+ set(call_code "${func}(")
+ math(EXPR n "${ARGC} - 1")
+ foreach(i RANGE 1 ${n})
+ string(APPEND call_code "\"${ARGV${i}}\" ")
+ endforeach()
+ string(APPEND call_code ")")
+ string(REPLACE "\\" "\\\\" call_code "${call_code}")
+ if(${CMAKE_VERSION} VERSION_LESS "3.18.0")
+ set(incfile qt_tmp_func_call.cmake)
+ file(WRITE "${incfile}" "${call_code}")
+ include(${incfile})
+ file(REMOVE "${incfile}")
+ else()
+ cmake_language(EVAL CODE "${call_code}")
+ endif()
+endfunction()
+
+# Show an error.
+function(qt_ir_add_error)
+ message(FATAL_ERROR ${ARGV})
+endfunction()
+
+# Check if there are still unhandled command line arguments.
+function(qt_ir_args_has_next_command_line_arg out_var)
+ qt_ir_get_unhandled_args(args)
+
+ list(LENGTH args n)
+ if(n GREATER 0)
+ set(result TRUE)
+ else()
+ set(result FALSE)
+ endif()
+ set(${out_var} ${result} PARENT_SCOPE)
+endfunction()
+
+# Get the next unhandled command line argument without popping it.
+function(qt_ir_args_peek_next_command_line_arg out_var)
+ qt_ir_get_unhandled_args(args)
+ list(GET args 0 result)
+ set(${out_var} ${result} PARENT_SCOPE)
+endfunction()
+
+# Get the next unhandled command line argument.
+function(qt_ir_args_get_next_command_line_arg out_var)
+ qt_ir_get_unhandled_args(args)
+ list(POP_FRONT args result)
+ qt_ir_set_unhandled_args("${args}")
+ set(${out_var} ${result} PARENT_SCOPE)
+endfunction()
+
+# Helper macro to parse the arguments for the command line options.
+macro(qt_ir_commandline_option_parse_arguments)
+ set(options UNSUPPORTED)
+ set(oneValueArgs TYPE NAME SHORT_NAME ALIAS VALUE DEFAULT_VALUE)
+ set(multiValueArgs VALUES MAPPING)
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+endmacro()
+
+# We use this to define the command line options that init-repository accepts.
+# Arguments
+# name - name of the long form option
+# e.g. 'module-subset' will parse '--module-subset'
+# UNSUPPORTED - mark the option as unsupported in the cmake port of init-repository,
+# which means we will fall back to calling the perl script instead
+# TYPE - the type of the option, currently we support boolean, string and void
+# VALUE - the value to be set for a 'void' type option
+# VALUES - the valid values for an option
+# MAPPING - currently unused
+# SHORT_NAME - an alternative short name flag,
+# e.g. 'f' will parse -f for --force
+# ALIAS - mark the option as an alias of another option, both will have the
+# same value when retrieved.
+# DEFAULT_VALUE - the default value to be set for the option when it's not specified
+# on the command line
+#
+# NOTE: Make sure to update the SHORT_NAME code path when adding new options.
+function(qt_ir_commandline_option_helper name)
+ qt_ir_commandline_option_parse_arguments(${ARGN})
+
+ set(unsupported_options "${commandline_known_unsupported_options}")
+ if(arg_UNSUPPORTED)
+ set(commandline_option_${name}_unsupported
+ "${arg_UNSUPPORTED}" PARENT_SCOPE)
+ list(APPEND unsupported_options "${name}")
+ endif()
+ set(commandline_known_unsupported_options "${unsupported_options}" PARENT_SCOPE)
+
+ set(commandline_known_options
+ "${commandline_known_options};${name}" PARENT_SCOPE)
+
+ set(commandline_option_${name}_type "${arg_TYPE}" PARENT_SCOPE)
+
+ if(NOT "${arg_VALUE}" STREQUAL "")
+ set(commandline_option_${name}_value "${arg_VALUE}" PARENT_SCOPE)
+ endif()
+
+ if(arg_VALUES)
+ set(commandline_option_${name}_values ${arg_VALUES} PARENT_SCOPE)
+ elseif(arg_MAPPING)
+ set(commandline_option_${name}_mapping ${arg_MAPPING} PARENT_SCOPE)
+ endif()
+
+ if(NOT "${arg_SHORT_NAME}" STREQUAL "")
+ set(commandline_option_${name}_short_name "${arg_SHORT_NAME}" PARENT_SCOPE)
+ endif()
+
+ if(NOT "${arg_ALIAS}" STREQUAL "")
+ set(commandline_option_${name}_alias "${arg_ALIAS}" PARENT_SCOPE)
+ endif()
+
+ # Should be last, in case alias was specified
+ if(NOT "${arg_DEFAULT_VALUE}" STREQUAL "")
+ set(commandline_option_${name}_default_value "${arg_DEFAULT_VALUE}" PARENT_SCOPE)
+ qt_ir_command_line_set_input("${name}" "${arg_DEFAULT_VALUE}")
+ endif()
+endfunction()
+
+# Defines an option that init-repository understands.
+# Uses qt_ir_commandline_option_helper to define both long and short option names.
+macro(qt_ir_commandline_option name)
+ # Define the main option
+ qt_ir_commandline_option_helper("${name}" ${ARGN})
+
+ qt_ir_commandline_option_parse_arguments(${ARGN})
+
+ # Define the short name option if it's requested
+ if(NOT "${arg_SHORT_NAME}" STREQUAL ""
+ AND "${commandline_option_${arg_SHORT_NAME}_type}" STREQUAL "")
+ set(unsupported "")
+ if(arg_UNSUPPORTED)
+ set(unsupported "${arg_UNSUPPORTED}")
+ endif()
+
+ qt_ir_commandline_option_helper("${arg_SHORT_NAME}"
+ TYPE "${arg_TYPE}"
+ ALIAS "${name}"
+ VALUE "${arg_VALUE}"
+ VALUES ${arg_VALUES}
+ MAPPING ${arg_MAPPING}
+ DEFAULT_VALUE ${arg_DEFAULT_VALUE}
+ ${unsupported}
+ )
+ endif()
+endmacro()
+
+# Saves the value of a command line option into a global property.
+function(qt_ir_command_line_set_input name val)
+ if(NOT "${commandline_option_${name}_alias}" STREQUAL "")
+ set(name "${commandline_option_${name}_alias}")
+ endif()
+
+ set_property(GLOBAL PROPERTY _qt_ir_input_${name} "${val}")
+ set_property(GLOBAL APPEND PROPERTY _qt_ir_inputs ${name})
+endfunction()
+
+# Appends a value of a command line option into a global property.
+# Currently unused
+function(qt_ir_command_line_append_input name val)
+ if(NOT "${commandline_option_${name}_alias}" STREQUAL "")
+ set(name "${commandline_option_${name}_alias}")
+ endif()
+
+ get_property(oldval GLOBAL PROPERTY _qt_ir_input_${name})
+ if(NOT "${oldval}" STREQUAL "")
+ string(PREPEND val "${oldval};")
+ endif()
+ qt_ir_command_line_set_input(${name} "${val}" )
+endfunction()
+
+# Checks if the value of a command line option is valid.
+function(qt_ir_validate_value opt val out_var)
+ set(${out_var} TRUE PARENT_SCOPE)
+
+ set(valid_values ${commandline_option_${arg}_values})
+ list(LENGTH valid_values n)
+ if(n EQUAL 0)
+ return()
+ endif()
+
+ foreach(v ${valid_values})
+ if(val STREQUAL v)
+ return()
+ endif()
+ endforeach()
+
+ set(${out_var} FALSE PARENT_SCOPE)
+ list(JOIN valid_values " " valid_values_str)
+ qt_ir_add_error("Invalid value '${val}' supplied to command line option '${opt}'."
+ "\nAllowed values: ${valid_values_str}\n")
+endfunction()
+
+# Sets / handles the value of a command line boolean option.
+function(qt_ir_commandline_boolean arg val nextok)
+ if("${val}" STREQUAL "")
+ set(val "yes")
+ endif()
+ if(NOT val STREQUAL "yes" AND NOT val STREQUAL "no")
+ message(FATAL_ERROR
+ "Invalid value '${val}' given for boolean command line option '${arg}'.")
+ endif()
+ qt_ir_command_line_set_input("${arg}" "${val}")
+endfunction()
+
+# Sets / handles the value of a command line string option.
+function(qt_ir_commandline_string arg val nextok)
+ if(nextok)
+ qt_ir_args_get_next_command_line_arg(val)
+
+ if("${val}" MATCHES "^-")
+ qt_ir_add_error("No value supplied to command line options '${arg}'.")
+ endif()
+ endif()
+ qt_ir_validate_value("${arg}" "${val}" success)
+ if(success)
+ qt_ir_command_line_set_input("${arg}" "${val}")
+ endif()
+endfunction()
+
+# Sets / handles the value of a command line void option.
+# This is an option like --force, which doesn't take any arguments.
+# Currently unused
+function(qt_ir_commandline_void arg val nextok)
+ if(NOT "${val}" STREQUAL "")
+ qt_i_add_error("Command line option '${arg}' expects no argument ('${val}' given).")
+ endif()
+ if(DEFINED commandline_option_${arg}_value)
+ set(val ${commandline_option_${arg}_value})
+ endif()
+ if("${val}" STREQUAL "")
+ set(val yes)
+ endif()
+ qt_ir_command_line_set_input("${arg}" "${val}")
+endfunction()
+
+# Reads the command line arguments from the optfile_path.
+function(qt_ir_get_raw_args_from_optfile optfile_path out_var)
+ file(STRINGS "${optfile_path}" args)
+ qt_ir_escape_semicolons(args "${args}")
+ set(${out_var} "${args}" PARENT_SCOPE)
+endfunction()
+
+# Reads the optfile_path, iterates over the given command line arguments,
+# sets the input for recongized options.
+#
+# Handles the following styles of CLI arguments:
+# --no-foo / --disable-foo
+# -no-foo / -disable-foo
+# --foo=<values>
+# --foo <values>
+# -foo <values>
+# --foo
+# -foo
+# --f
+# -f
+#
+# Currently handles the following types of CLI arguments:
+# string
+# boolean
+# void
+#
+# IGNORE_UNKNOWN_ARGS tells the function not to fail if it encounters an unknown
+# option, and instead append it to a global list of unknown options.
+# It is needed when the script is called from the configure script with
+# configure-only-known options.
+function(qt_ir_process_args_from_optfile optfile_path)
+ set(options IGNORE_UNKNOWN_ARGS)
+ set(oneValueArgs "")
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ qt_ir_get_raw_args_from_optfile("${optfile_path}" configure_args)
+ qt_ir_set_unhandled_args("${configure_args}")
+
+ while(1)
+ qt_ir_args_has_next_command_line_arg(has_next)
+ if(NOT has_next)
+ break()
+ endif()
+ qt_ir_args_get_next_command_line_arg(arg)
+
+ # parse out opt and val
+ set(nextok FALSE)
+ if(arg MATCHES "^--?(disable|no)-(.*)")
+ set(opt "${CMAKE_MATCH_2}")
+ set(val "no")
+ elseif(arg MATCHES "^--([^=]+)=(.*)")
+ set(opt "${CMAKE_MATCH_1}")
+ set(val "${CMAKE_MATCH_2}")
+ elseif(arg MATCHES "^--(.*)")
+ set(nextok TRUE)
+ set(opt "${CMAKE_MATCH_1}")
+ unset(val)
+ elseif(arg MATCHES "^-(.*)")
+ set(nextok TRUE)
+ set(opt "${CMAKE_MATCH_1}")
+ unset(val)
+ else()
+ if(NOT arg_IGNORE_UNKNOWN_ARGS)
+ qt_ir_add_error("Invalid command line parameter '${arg}'.")
+ else()
+ message(DEBUG "Unknown command line parameter '${arg}'. Collecting.")
+ qt_ir_append_unknown_args("${arg}")
+ continue()
+ endif()
+ endif()
+
+ set(type "${commandline_option_${opt}_type}")
+
+ if("${type}" STREQUAL "")
+ if(NOT arg_IGNORE_UNKNOWN_ARGS)
+ qt_ir_add_error("Unknown command line option '${arg}'.")
+ else()
+ message(DEBUG "Unknown command line option '${arg}'. Collecting.")
+ qt_ir_append_unknown_args("${arg}")
+ continue()
+ endif()
+ endif()
+
+ if(NOT COMMAND "qt_ir_commandline_${type}")
+ qt_ir_add_error("Unknown type '${type}' for command line option '${opt}'.")
+ endif()
+ qt_ir_call_function("qt_ir_commandline_${type}" "${opt}" "${val}" "${nextok}")
+ endwhile()
+endfunction()
+
+# Shows help for the command line options.
+function(qt_ir_show_help)
+ set(help_file "${CMAKE_CURRENT_LIST_DIR}/QtIRHelp.txt")
+ if(EXISTS "${help_file}")
+ file(READ "${help_file}" content)
+ message("${content}")
+ endif()
+
+ message([[
+General Options:
+-help, -h ............ Display this help screen
+]])
+endfunction()
+
+# Gets the unhandled command line args.
+function(qt_ir_get_unhandled_args out_var)
+ get_property(args GLOBAL PROPERTY _qt_ir_unhandled_args)
+ set(${out_var} "${args}" PARENT_SCOPE)
+endfunction()
+
+# Sets the unhandled command line args.
+function(qt_ir_set_unhandled_args args)
+ set_property(GLOBAL PROPERTY _qt_ir_unhandled_args "${args}")
+endfunction()
+
+# Adds to the unknown command line args.
+function(qt_ir_append_unknown_args args)
+ set_property(GLOBAL APPEND PROPERTY _qt_ir_unknown_args ${args})
+endfunction()
+
+# Gets the unhandled command line args.
+function(qt_ir_get_unknown_args out_var)
+ get_property(args GLOBAL PROPERTY _qt_ir_unknown_args)
+ set(${out_var} "${args}" PARENT_SCOPE)
+endfunction()
+
+# Gets the unsupported options that init-repository.pl supports, but the cmake port does
+# not support.
+function(qt_ir_get_unsupported_options out_var)
+ set(${out_var} "${commandline_known_unsupported_options}" PARENT_SCOPE)
+endfunction()
+
+# Get the value of a command line option.
+function(qt_ir_get_option_value name out_var)
+ if(NOT "${commandline_option_${name}_alias}" STREQUAL "")
+ set(name "${commandline_option_${name}_alias}")
+ endif()
+
+ get_property(value GLOBAL PROPERTY _qt_ir_input_${name})
+ set(${out_var} "${value}" PARENT_SCOPE)
+endfunction()
+
+# Set the value of a command line option manually.
+function(qt_ir_set_option_value name value)
+ if(NOT "${commandline_option_${name}_alias}" STREQUAL "")
+ set(name "${commandline_option_${name}_alias}")
+ endif()
+
+ qt_ir_command_line_set_input("${name}" "${value}")
+endfunction()
+
+# Get the value of a command line option as a cmakke flag option, to be passed
+# to functions that use cmake_parse_arguments.
+function(qt_ir_get_option_as_cmake_flag_option cli_name cmake_option_name out_var)
+ qt_ir_get_option_value("${cli_name}" bool_value)
+ set(cmake_option "")
+ if(bool_value)
+ set(cmake_option "${cmake_option_name}")
+ endif()
+ set(${out_var} "${cmake_option}" PARENT_SCOPE)
+endfunction()
diff --git a/cmake/QtIRGitHelpers.cmake b/cmake/QtIRGitHelpers.cmake
new file mode 100644
index 00000000..288f4ac7
--- /dev/null
+++ b/cmake/QtIRGitHelpers.cmake
@@ -0,0 +1,1151 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# Returns the git version.
+function(qt_ir_get_git_version out_var)
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+
+ set(extra_args "")
+ if(perl_identical_output_for_tests)
+ set(extra_args FORCE_QUIET)
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git version ${extra_args}
+ OUT_OUTPUT_VAR git_output
+ ERROR_MESSAGE "Failed to retrieve git version")
+
+ string(REGEX REPLACE "^git version ([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\1.\\2.\\3"
+ version "${git_output}")
+ if(NOT version)
+ message(FATAL_ERROR "Failed to parse git version: ${git_output}, expected [d]+.[d]+.[d]+")
+ endif()
+
+ set(${out_var} "${version}" PARENT_SCOPE)
+endfunction()
+
+# Returns the git version, but caches the result in a global property.
+function(qt_ir_get_git_version_cached out_var)
+ get_property(version GLOBAL PROPERTY _qt_git_version)
+ if(NOT version)
+ qt_ir_get_git_version(version)
+ endif()
+
+ set_property(GLOBAL PROPERTY _qt_git_version "${version}")
+
+ set(${out_var} "${version}" PARENT_SCOPE)
+endfunction()
+
+# Returns whether git supports the git submodule --progress option.
+function(qt_ir_is_git_progress_supported out_var)
+ qt_ir_get_git_version_cached(version)
+ if(version VERSION_GREATER_EQUAL "2.11")
+ set(${out_var} TRUE PARENT_SCOPE)
+ else()
+ set(${out_var} FALSE PARENT_SCOPE)
+ endif()
+endfunction()
+
+# Get the mirror with trailing slashes removed.
+function(qt_ir_get_mirror out_var)
+ qt_ir_get_option_value(mirror mirror)
+ qt_ir_get_option_value(berlin berlin)
+ qt_ir_get_option_value(oslo oslo)
+
+ if(berlin)
+ set(mirror "git://hegel/qt/")
+ elseif(oslo)
+ set(mirror "git://qilin/qt/")
+ endif()
+
+ # Replace any double trailing slashes from end of mirror
+ string(REGEX REPLACE "//+$" "/" mirror "${mirror}")
+
+ set(${out_var} "${mirror}" PARENT_SCOPE)
+endfunction()
+
+# Sets up the commit template for a submodule.
+function(qt_ir_setup_commit_template commit_template_dir working_directory)
+ set(template "${commit_template_dir}/.commit-template")
+ if(NOT EXISTS "${template}")
+ return()
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config commit.template "${template}"
+ ERROR_MESSAGE "Failed to setup commit template"
+ WORKING_DIRECTORY "${working_directory}")
+endfunction()
+
+# Initializes a list of submodules. This does not them, but just
+# sets up the .git/config file submodule.$submodule_name.url based on the .gitmodules template file.
+function(qt_ir_run_git_submodule_init submodules working_directory)
+ set(submodule_dirs "")
+ foreach(submodule_name IN LISTS submodules)
+ set(submodule_path "${${prefix}_${submodule_name}_path}")
+ list(APPEND submodule_dirs "${submodule_name}")
+ endforeach()
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git submodule init ${submodule_dirs}
+ ERROR_MESSAGE "Failed to git submodule init ${submodule_dirs}"
+ WORKING_DIRECTORY "${working_directory}")
+
+ qt_ir_setup_commit_template("${working_directory}" "${working_directory}")
+endfunction()
+
+# Add gerrit remotes to the repository.
+function(qt_ir_add_git_remotes repo_name working_directory)
+ set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/qt/")
+ set(gerrit_repo_url "${gerrit_ssh_base}")
+
+ qt_ir_get_option_value(codereview-username username)
+
+ # If given a username, make a "verbose" remote.
+ # Otherwise, rely on proper SSH configuration.
+ if(username)
+ string(REPLACE "@USER@" "${username}@" gerrit_repo_url "${gerrit_repo_url}")
+ string(REPLACE "@PORT@" ":29418" gerrit_repo_url "${gerrit_repo_url}")
+ else()
+ string(REPLACE "@USER@" "" gerrit_repo_url "${gerrit_repo_url}")
+ string(REPLACE "@PORT@" "" gerrit_repo_url "${gerrit_repo_url}")
+ endif()
+
+ string(APPEND gerrit_repo_url "${repo_name}")
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config remote.gerrit.url "${gerrit_repo_url}"
+ ERROR_MESSAGE "Failed to set gerrit repo url"
+ WORKING_DIRECTORY "${working_directory}")
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS
+ git config remote.gerrit.fetch "+refs/heads/*:refs/remotes/gerrit/*" "/heads/"
+ ERROR_MESSAGE "Failed to set gerrit repo fetch refspec"
+ WORKING_DIRECTORY "${working_directory}")
+endfunction()
+
+# Handles the copy-objects option, which is used to detach alternates.
+# A copy of all git objects are made from the alternate repository to the current repository.
+# Then the alternates reference is removed.
+function(qt_ir_handle_detach_alternates working_directory)
+ qt_ir_get_option_value(copy-objects should_detach)
+ if(NOT should_detach)
+ return()
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git repack -a
+ ERROR_MESSAGE "Failed to repack objects to detach alternates"
+ WORKING_DIRECTORY "${working_directory}")
+
+ set(alternates_path "${working_directory}/.git/objects/info/alternates")
+ if(EXISTS "${alternates_path}")
+ file(REMOVE "${alternates_path}")
+ if(EXISTS "${alternates_path}")
+ message(FATAL_ERROR "Failed to remove alternates file: ${alternates_path}")
+ endif()
+ endif()
+endfunction()
+
+# Clones a submodule, unless it was previously cloned.
+# When cloning, checks out a specific branch if requested, otherwise does not
+# checkout any files yet, mimicking a bare repo.
+# Sets up an alternates link if requested.
+# Detaches alternates if requested.
+# Fetches refs if requested.
+# Adds a gerrit git remote.
+# Sets up the commit template for the submodule.
+function(qt_ir_clone_one_submodule submodule_name)
+ set(options
+ CHECKOUT_BRANCH
+ FETCH
+ )
+ set(oneValueArgs
+ ALTERNATES
+ BASE_URL
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ qt_ir_get_working_directory_from_arg(working_directory)
+
+ set(clone_args "")
+ set(submodule_path "${${prefix}_${submodule_name}_path}")
+
+ if(arg_ALTERNATES)
+ # alternates is a qt5 repo, so the submodule will be under that.
+ set(alternates_dir "${arg_ALTERNATES}/${submodule_path}/.git")
+ if(EXISTS "${alternates_dir}")
+ list(APPEND clone_args --reference "${arg_ALTERNATES}/${submodule_path}")
+ else()
+ message(WARNING "'${arg_ALTERNATES}/${submodule_path}' not found, "
+ "ignoring alternate for this submodule")
+ endif()
+ endif()
+
+ if(NOT EXISTS "${working_directory}/${submodule_path}/.git")
+ set(should_clone TRUE)
+ else()
+ set(should_clone FALSE)
+ endif()
+
+ set(submodule_base_git_path "${${prefix}_${submodule_name}_base_git_path}")
+
+ set(submodule_url "${submodule_base_git_path}")
+ qt_ir_has_url_scheme("${submodule_url}" has_url_scheme)
+ if(NOT has_url_scheme AND arg_BASE_URL)
+ set(submodule_url "${arg_BASE_URL}${submodule_url}")
+ endif()
+
+ qt_ir_get_mirror(mirror_url)
+ set(mirror "")
+ if(NOT has_url_scheme AND mirror_url AND (should_clone OR arg_FETCH))
+ set(mirror "${mirror_url}${submodule_base_git_path}")
+ endif()
+
+ set(mirror_or_original_url "${submodule_url}")
+ if(mirror)
+ # Only use the mirror if it can be reached.
+ # Access a non-existing ref so no output is shown. It should still
+ # succeed if the mirror is accessible.
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git ls-remote "${mirror}" "test/if/mirror/exists"
+ WORKING_DIRECTORY "${working_directory}"
+ NO_HANDLE_ERROR
+ OUT_RESULT_VAR proc_result)
+ if(NOT proc_result EQUAL 0)
+ message("mirror [${mirror}] is not accessible; ${submodule_url} will be used")
+ set(mirror "")
+ else()
+ set(mirror_or_original_url "${mirror}")
+ endif()
+ endif()
+
+ set(submodule_branch "${${prefix}_${submodule_name}_branch}")
+
+ qt_ir_is_git_progress_supported(is_git_progress_supported)
+ qt_ir_get_option_value(quiet quiet)
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+
+ set(progress_args "")
+ if(is_git_progress_supported AND NOT quiet AND NOT perl_identical_output_for_tests)
+ set(progress_args --progress)
+ endif()
+
+ if(should_clone)
+ if(arg_CHECKOUT_BRANCH)
+ list(APPEND clone_args --branch "${submodule_branch}")
+ else()
+ list(APPEND clone_args --no-checkout)
+ endif()
+ list(APPEND clone_args ${progress_args})
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git clone ${clone_args} "${mirror_or_original_url}" "${submodule_path}"
+ ERROR_MESSAGE "Failed to clone submodule '${submodule_name}'"
+ WORKING_DIRECTORY "${working_directory}")
+ endif()
+
+ set(submodule_working_dir "${working_directory}/${submodule_path}")
+
+ if(mirror)
+ # This is only for the user's convenience - we make no use of it.
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config "remote.mirror.url" "${mirror}"
+ ERROR_MESSAGE "Failed to set git config remote.mirror.url to ${mirror}"
+ WORKING_DIRECTORY "${submodule_working_dir}")
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config "remote.mirror.fetch" "+refs/heads/*:refs/remotes/mirror/*"
+ ERROR_MESSAGE "Failed to set git config remote.mirror.fetch"
+ WORKING_DIRECTORY "${submodule_working_dir}")
+ endif()
+
+ if(NOT should_clone AND arg_FETCH)
+ # If we didn't clone, fetch from the right location. We always update
+ # the origin remote, so that submodule update --remote works.
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config remote.origin.url "${mirror_or_original_url}"
+ ERROR_MESSAGE "Failed to set remote origin url"
+ WORKING_DIRECTORY "${submodule_working_dir}")
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git fetch origin ${progress_args}
+ ERROR_MESSAGE "Failed to fetch origin"
+ WORKING_DIRECTORY "${submodule_working_dir}")
+ endif()
+
+ if(NOT (should_clone OR arg_FETCH) OR mirror)
+ # Leave the origin configured to the canonical URL. It's already correct
+ # if we cloned/fetched without a mirror; otherwise it may be anything.
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config remote.origin.url "${submodule_url}"
+ ERROR_MESSAGE "Failed to set remote origin url"
+ WORKING_DIRECTORY "${submodule_working_dir}")
+endif()
+
+ set(commit_template_dir "${working_directory}")
+ qt_ir_setup_commit_template("${commit_template_dir}" "${submodule_working_dir}")
+
+ if(NOT has_url_scheme)
+ qt_ir_add_git_remotes("${submodule_base_git_path}" "${submodule_working_dir}")
+ endif()
+
+ qt_ir_handle_detach_alternates("${submodule_working_dir}")
+endfunction()
+
+# Get list of submodules that were previously initialized, by looking at the .git/config file.
+function(qt_ir_get_already_initialized_submodules prefix
+ out_var_already_initialized_submodules
+ parent_repo_base_git_path
+ working_directory
+ )
+
+ qt_ir_parse_git_config_file_contents("${prefix}"
+ READ_GIT_CONFIG
+ PARENT_REPO_BASE_GIT_PATH "${parent_repo_base_git_path}"
+ WORKING_DIRECTORY "${working_directory}"
+ )
+
+ set(${out_var_already_initialized_submodules} "${${prefix}_submodules}" PARENT_SCOPE)
+endfunction()
+
+# If init-repository --force is called with a different subset, remove
+# previously initialized submodules from the .git/config file.
+# Also mark submodules as ignored if requested.
+function(qt_ir_handle_submodule_removal_and_ignoring prefix
+ included_submodules
+ parent_repo_base_git_path
+ working_directory
+ )
+
+ qt_ir_get_option_value(ignore-submodules ignore_submodules)
+
+ qt_ir_get_already_initialized_submodules("${prefix}"
+ already_initialized_submodules
+ "${parent_repo_base_git_path}"
+ "${working_directory}")
+
+ foreach(submodule_name IN LISTS already_initialized_submodules)
+ if(NOT submodule_name IN_LIST included_submodules)
+ # If a submodule is not included in the list of submodules to be initialized,
+ # and it was previously initialized, then remove it from the config.
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config --remove-section "submodule.${submodule_name}"
+ ERROR_MESSAGE "Failed to deinit submodule '${submodule_name}'"
+ WORKING_DIRECTORY "${working_directory}")
+ continue()
+ endif()
+ if(ignore_submodules)
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config "submodule.${submodule_name}.ignore" all
+ ERROR_MESSAGE "Failed to ignore submodule '${submodule_name}'"
+ WORKING_DIRECTORY "${working_directory}")
+ endif()
+ endforeach()
+endfunction()
+
+# Checks if the submodule is dirty (has uncommited changes).
+function(qt_ir_check_if_dirty_submodule submodule_name working_directory out_is_dirty)
+ set(submodule_path "${working_directory}/${${prefix}_${submodule_name}_path}")
+ if(NOT EXISTS "${submodule_path}/.git")
+ return()
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ FORCE_QUIET
+ COMMAND_ARGS git status --porcelain --untracked=no --ignore-submodules=all
+ WORKING_DIRECTORY "${submodule_path}"
+ ERROR_MESSAGE "Failed to get dirty status for '${submodule_name}'"
+ OUT_OUTPUT_VAR git_output)
+
+ string(STRIP "${git_output}" git_output)
+ string(REPLACE "\n" ";" git_lines "${git_output}")
+
+ # After a git clone --no-checkout, git status reports all files as
+ # staged for deletion, but we still want to update the submodule.
+ # It's unlikely that a genuinely dirty index would have _only_ this
+ # type of modifications, and it doesn't seem like a horribly big deal
+ # to lose them anyway, so ignore them.
+ # @sts = grep(!/^D /, @sts);
+ # Filter list that starts with the regex
+ list(FILTER git_lines EXCLUDE REGEX "^D ")
+
+ if(git_lines)
+ message(STATUS "${submodule_name} is dirty.")
+ set(is_dirty TRUE)
+ else()
+ set(is_dirty FALSE)
+ endif()
+
+ set(${out_is_dirty} "${is_dirty}" PARENT_SCOPE)
+endfunction()
+
+# Checks if any submodules are dirty and exits early if any are.
+function(qt_ir_handle_dirty_submodule submodules working_directory)
+ set(any_is_dirty FALSE)
+ foreach(submodule_name IN LISTS submodules)
+ qt_ir_check_if_dirty_submodule("${submodule_name}" "${working_directory}" is_dirty)
+ if(is_dirty)
+ set(any_is_dirty TRUE)
+ endif()
+ endforeach()
+
+ if(any_is_dirty)
+ message(FATAL_ERROR "Dirty submodule(s) present; cannot proceed.")
+ endif()
+endfunction()
+
+# If the branch option is set, checkout the branch specified in the .gitmodules file.
+function(qt_ir_handle_branch_option prefix submodule_name working_directory)
+ set(branch_name "${${prefix}_${submodule_name}_branch}")
+ if(NOT branch_name)
+ message(FATAL_ERROR "No branch defined for submodule '${submodule_name}'")
+ endif()
+
+ set(repo_dir "${working_directory}/${${prefix}_${submodule_name}_path}")
+ qt_ir_execute_process_and_log_and_handle_error(
+ FORCE_QUIET
+ COMMAND_ARGS git rev-parse -q --verify ${branch_name}
+ WORKING_DIRECTORY "${repo_dir}"
+ NO_HANDLE_ERROR
+ OUT_RESULT_VAR proc_result)
+
+ # If the branch exists locally, check it out.
+ # Otherwise check it out from origin and create a local branch.
+ if(proc_result EQUAL 0)
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git checkout ${branch_name}
+ WORKING_DIRECTORY "${repo_dir}"
+ ERROR_MESSAGE
+ "Failed to checkout branch '${branch_name}' in submodule '${submodule_name}'")
+ else()
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git checkout -b ${branch_name} origin/${branch_name}
+ WORKING_DIRECTORY "${repo_dir}"
+ ERROR_MESSAGE
+ "Failed to checkout branch '${branch_name}' in submodule '${submodule_name}'")
+ endif()
+endfunction()
+
+# If the update option is set, update the submodules, without fetching.
+function(qt_ir_handle_update_option will_checkout_branch working_directory)
+ set(extra_args "")
+ if(will_checkout_branch)
+ list(APPEND extra_args --remote --rebase)
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git submodule update --force --no-fetch ${extra_args}
+ ERROR_MESSAGE "Failed to update submodule '${submodule_name}'"
+ WORKING_DIRECTORY "${working_directory}")
+endfunction()
+
+# Looks for the 'default' and 'existing' keys, and replaces them with appropriate
+# values, while making sure to prepend '-' to the values if the original key had it.
+function(qt_ir_handle_dash_in_module_subset_expansion out_var
+ module_subset already_initialized_submodules)
+
+ set(expanded_module_subset "")
+ foreach(submodule_name IN LISTS module_subset)
+ set(has_dash FALSE)
+ string(REGEX REPLACE "^(-)" "" submodule_name "${submodule_name}")
+ if(CMAKE_MATCH_1)
+ set(has_dash TRUE)
+ endif()
+
+ # Replace the default keyword in the input, with the the list of default submodules types,
+ # which will be further replaced.
+ if(submodule_name STREQUAL "default")
+ set(replacement "preview;essential;addon;deprecated")
+ # Replace the existing keyword, with the list of already initialized submodules
+ # from a previous run.
+ elseif(submodule_name STREQUAL "existing")
+ set(replacement "${already_initialized_submodules}")
+
+ if(has_dash)
+ # We can't properly support this with the existing algorithm, because we will
+ # then exclude it also after dependency resolution, and it can cause an empty list
+ # of submodules in certain situations.
+ message(FATAL_ERROR "Excluding existing submodules with '-existing' "
+ "is not supported, just don't include them.")
+ endif()
+ else()
+ set(replacement "${submodule_name}")
+ endif()
+
+ # Prepend dash to all expanded values
+ if(has_dash)
+ list(TRANSFORM replacement PREPEND "-")
+ endif()
+
+ list(APPEND expanded_module_subset "${replacement}")
+ endforeach()
+
+ set(${out_var} "${expanded_module_subset}" PARENT_SCOPE)
+endfunction()
+
+# Processes the given module subset using values that were set by parsing the .gitmodules file.
+#
+# The module subset is a comma-separated list of module names, with an optional '-' at the start.
+# If a - is present, the module (or special expanded keyword) is excluded from the subset.
+# If the value is empty, the default subset is used on initial runs, or the previously
+# existing submodules are used on subsequent runs.
+# If the value is "all", all known submodules are included.
+# If the value is a status like 'addon' or 'essential', only submodules with that status are
+# included.
+# If the value is 'existing', only submodules that were previously initialized are included.
+# This evaluates to an empty list for the first script run.
+# If the value is a module name, only that module is included.
+# The modules to exclude are also set separately, so they can be excluded even after dependency
+# resolution which is done later.
+function(qt_ir_process_module_subset_values prefix)
+ set(options
+ PREVIOUSLY_INITIALIZED
+ )
+ set(oneValueArgs
+ OUT_VAR_INCLUDE
+ OUT_VAR_EXCLUDE
+ )
+ set(multiValueArgs
+ ALREADY_INITIALIZED_SUBMODULES
+ EXTRA_IMPLICIT_SUBMODULES
+ MODULE_SUBSET
+ )
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ string(REPLACE "," ";" module_subset "${arg_MODULE_SUBSET}")
+
+ # If a module subset is not specified, either use the default list for the very first run,
+ # or use the previously initialized submodules for a subsequent run.
+ #
+ # If the are no previously initialized submodules, and 'existing' is specified, default
+ # to 'default'. This handles the case when someone runs git submodule deinit --all --force,
+ # where git initrepository.initialized config key is still true, and then runs
+ # configure -init-submodules. Without defaulting to default, we would end up with an empty
+ # subset and configure would fail.
+ if(NOT module_subset)
+ if(arg_PREVIOUSLY_INITIALIZED)
+ if(arg_ALREADY_INITIALIZED_SUBMODULES)
+ set(module_subset "existing")
+ else()
+ message(DEBUG "No previously initialized submodules detected even though "
+ "'existing' was specified, defaulting to 'default'")
+ set(module_subset "default")
+ endif()
+ else()
+ set(module_subset "default")
+ endif()
+ endif()
+
+
+ qt_ir_handle_dash_in_module_subset_expansion(
+ expanded_module_subset "${module_subset}" "${arg_ALREADY_INITIALIZED_SUBMODULES}")
+
+ set(include_modules "")
+ set(exclude_modules "")
+
+ if(arg_EXTRA_IMPLICIT_SUBMODULES)
+ list(APPEND include_modules ${arg_EXTRA_IMPLICIT_SUBMODULES})
+ endif()
+
+ foreach(value IN LISTS expanded_module_subset ${prefix}_submodules_to_remove)
+ # An '-' at the start means we should exclude those modules.
+ string(REGEX REPLACE "^(-)" "" value "${value}")
+ set(list_op "APPEND")
+ if(CMAKE_MATCH_1)
+ set(list_op "REMOVE_ITEM")
+ endif()
+
+ if(value STREQUAL "all")
+ list(${list_op} include_modules "${${prefix}_submodules}")
+ if("${list_op}" STREQUAL "REMOVE_ITEM")
+ list(APPEND exclude_modules "${${prefix}_submodules}")
+ endif()
+ elseif(value IN_LIST ${prefix}_statuses)
+ list(${list_op} include_modules "${${prefix}_status_${value}_submodules}")
+ if("${list_op}" STREQUAL "REMOVE_ITEM")
+ list(APPEND exclude_modules "${${prefix}_status_${value}_submodules}")
+ endif()
+ elseif(NOT "${${prefix}_${value}_path}" STREQUAL "")
+ list(${list_op} include_modules "${value}")
+ if("${list_op}" STREQUAL "REMOVE_ITEM")
+ list(APPEND exclude_modules "${value}")
+ endif()
+ else()
+ if(list_op STREQUAL "REMOVE_ITEM")
+ message(WARNING "Excluding non-existent module: ${value}")
+ else()
+ message(FATAL_ERROR
+ "Invalid module subset specified, module name is non-existent: ${value}")
+ endif()
+ endif()
+ endforeach()
+
+ set(${arg_OUT_VAR_INCLUDE} "${include_modules}" PARENT_SCOPE)
+ set(${arg_OUT_VAR_EXCLUDE} "${exclude_modules}" PARENT_SCOPE)
+endfunction()
+
+# Sort the modules and add dependencies if dependency resolving is enabled.
+function(qt_ir_get_module_subset_including_deps prefix out_var initial_modules)
+ qt_ir_get_option_value(resolve-deps resolve_deps)
+ qt_ir_get_option_value(optional-deps include_optional_deps)
+ if(resolve_deps)
+ set(exclude_optional_deps "")
+ if(NOT include_optional_deps)
+ set(exclude_optional_deps EXCLUDE_OPTIONAL_DEPS)
+ endif()
+
+ qt_internal_sort_module_dependencies("${initial_modules}" out_repos
+ ${exclude_optional_deps}
+ PARSE_GITMODULES
+ GITMODULES_PREFIX_VAR "${prefix}"
+ )
+ else()
+ set(out_repos "${initial_modules}")
+ endif()
+
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+ if(NOT perl_identical_output_for_tests)
+ message(DEBUG "repos that will be initialized after dependency handling: ${out_repos}")
+ endif()
+
+ set(${out_var} "${out_repos}" PARENT_SCOPE)
+endfunction()
+
+# Check whether init-repository has been run before, perl style.
+# We assume that if the submodule qtbase has been initialized, then init-repository has been run.
+function(qt_ir_check_if_already_initialized_perl_style out_var_is_initialized working_directory)
+ set(cmd git config --get submodule.qtbase.url)
+
+ set(extra_args "")
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+ if(perl_identical_output_for_tests)
+ list(APPEND extra_args FORCE_QUIET)
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS ${cmd}
+ OUT_RESULT_VAR git_result
+ OUT_OUTPUT_VAR git_output
+ OUT_ERROR_VAR git_error
+ ${extra_args}
+ NO_HANDLE_ERROR
+ WORKING_DIRECTORY "${working_directory}")
+
+ if(git_result EQUAL 1 AND NOT git_output)
+ set(is_initialized FALSE)
+ elseif(git_result EQUAL 0 AND git_output)
+ set(is_initialized TRUE)
+ else()
+ message(FATAL_ERROR "Failed to get result of ${cmd}: ${git_output}")
+ endif()
+
+ set(${out_var_is_initialized} "${is_initialized}" PARENT_SCOPE)
+endfunction()
+
+# Check whether init-repository has been run before, cmake style.
+# Check for the presence of the initrepository.initialized git config key.
+function(qt_ir_check_if_already_initialized_cmake_style out_var_is_initialized working_directory)
+ set(options
+ FORCE_QUIET
+ )
+ set(oneValueArgs "")
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ set(cmd git config --get initrepository.initialized)
+
+ set(extra_args "")
+ if(arg_FORCE_QUIET)
+ list(APPEND extra_args FORCE_QUIET)
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS ${cmd}
+ OUT_RESULT_VAR git_result
+ OUT_OUTPUT_VAR git_output
+ OUT_ERROR_VAR git_error
+ ${extra_args}
+ NO_HANDLE_ERROR
+ WORKING_DIRECTORY "${working_directory}")
+
+ if(git_result EQUAL 1 AND NOT git_output)
+ set(is_initialized FALSE)
+ elseif(git_result EQUAL 0 AND git_output)
+ set(is_initialized TRUE)
+ else()
+ message(FATAL_ERROR "Failed to get result of ${cmd}: ${git_output}")
+ endif()
+
+ set(${out_var_is_initialized} "${is_initialized}" PARENT_SCOPE)
+endfunction()
+
+# Check whether init-repository has been run before.
+# The CMake and perl script do it differently, choose which way to do it based
+# on the active options.
+function(qt_ir_check_if_already_initialized out_var_is_initialized working_directory)
+ qt_ir_get_option_value(perl-init-check perl_init_check)
+ if(perl_init_check)
+ qt_ir_check_if_already_initialized_perl_style(is_initialized "${working_directory}")
+ else()
+ qt_ir_check_if_already_initialized_cmake_style(is_initialized "${working_directory}")
+ endif()
+
+ set(${out_var_is_initialized} "${is_initialized}" PARENT_SCOPE)
+endfunction()
+
+# Marks the repository as initialized.
+# The perl script used to determine this by checking whether the qtbase submodule was initialized.
+# In the CMake script, we instead opt to set an explicit marker in the repository.
+function(qt_ir_set_is_initialized working_directory)
+ # If emulating perl style initialization check, don't set the marker and exit early.
+ qt_ir_get_option_value(perl-init-check perl_init_check)
+ if(perl_init_check)
+ return()
+ endif()
+
+ set(cmd git config initrepository.initialized true)
+
+ set(extra_args "")
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+ if(perl_identical_output_for_tests)
+ list(APPEND extra_args FORCE_QUIET)
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS ${cmd}
+ ERROR_MESSAGE "Failed to mark repository as initialized"
+ ${extra_args}
+ WORKING_DIRECTORY "${working_directory}")
+endfunction()
+
+# If the repository has already been initialized, exit early.
+function(qt_ir_handle_if_already_initialized out_var_should_exit working_directory)
+ set(should_exit FALSE)
+
+ qt_ir_check_if_already_initialized(is_initialized "${working_directory}")
+ qt_ir_get_option_value(force force)
+ qt_ir_get_option_value(quiet quiet)
+ qt_ir_is_called_from_configure(is_called_from_configure)
+
+ if(is_initialized)
+ if(NOT force)
+ set(should_exit TRUE)
+ if(NOT quiet AND NOT is_called_from_configure)
+ message(
+ "Will not reinitialize already initialized repository (use -f to force)!")
+ endif()
+ endif()
+ endif()
+
+ set(${out_var_should_exit} ${should_exit} PARENT_SCOPE)
+endfunction()
+
+# Parses git remote.origin.url and extracts the base url and the repository name.
+#
+# base_url example: git://code.qt.io/qt
+# repo name example: qt5 or tqtc-qt5
+function(qt_ir_get_qt5_repo_name_and_base_url)
+ set(options "")
+ set(oneValueArgs
+ OUT_VAR_QT5_REPO_NAME
+ OUT_VAR_BASE_URL
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ if(NOT arg_WORKING_DIRECTORY)
+ message(FATAL_ERROR "qt_ir_get_qt5_repo_name_and_base_url: No working directory specified")
+ endif()
+ set(working_directory "${arg_WORKING_DIRECTORY}")
+
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+
+ set(extra_args "")
+ if(perl_identical_output_for_tests)
+ set(extra_args FORCE_QUIET)
+ endif()
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS git config remote.origin.url ${extra_args}
+ ERROR_MESSAGE "No origin remote found for qt5 repository"
+ OUT_OUTPUT_VAR git_output
+ WORKING_DIRECTORY "${working_directory}")
+
+ string(STRIP "${git_output}" git_output)
+
+ # Remove the .git at the end, with an optional slash
+ string(REGEX REPLACE ".git/?$" "" qt5_repo_name "${git_output}")
+
+ # Remove the tqtc- prefix, if it exists, and the qt5 suffix and that will be the base_url
+ # The qt5_repo_name is qt5 or tqtc-qt5.
+ string(REGEX REPLACE "((tqtc-)?qt5)$" "" base_url "${qt5_repo_name}")
+ set(qt5_repo_name "${CMAKE_MATCH_1}")
+
+ if(NOT qt5_repo_name)
+ set(qt5_repo_name "qt5")
+ endif()
+
+ if(NOT base_url)
+ message(FATAL_ERROR "Failed to parse base url from origin remote: ${git_output}")
+ endif()
+
+ set(${arg_OUT_VAR_QT5_REPO_NAME} "${qt5_repo_name}" PARENT_SCOPE)
+ set(${arg_OUT_VAR_BASE_URL} "${base_url}" PARENT_SCOPE)
+endfunction()
+
+# Creates a symlink or a forwarding script to the target path.
+# Use for setting up git hooks.
+function(qt_ir_ensure_link source_path target_path)
+ qt_ir_get_option_value(force-hooks force_hooks)
+ if(EXISTS "${target_path}" AND NOT force_hooks)
+ return()
+ endif()
+
+ # In case we have a dead symlink or pre-existing hook
+ file(REMOVE "${target_path}")
+
+ qt_ir_get_option_value(quiet quiet)
+ if(NOT quiet)
+ message("Aliasing ${source_path}\n as ${target_path} ...")
+ endif()
+
+ if(NOT CMAKE_HOST_WIN32)
+ file(CREATE_LINK "${source_path}" "${target_path}" RESULT result SYMBOLIC)
+ # Don't continue upon success. If symlinking failed, fallthrough to creating
+ # a forwarding script.
+ if(result EQUAL 0)
+ return()
+ endif()
+ endif()
+
+ # Windows doesn't do (proper) symlinks. As the post_commit script needs
+ # them to locate itself, we write a forwarding script instead.
+
+ # Make the path palatable for MSYS.
+ string(REGEX REPLACE "^(.):/" "/\\1/" source_path "${source_path}")
+
+ set(contents "#!/bin/sh\nexec ${source_path} \"$@\"\n")
+ file(WRITE "${target_path}" "${contents}")
+endfunction()
+
+# Installs the git hooks from the qtrepotools module.
+function(qt_ir_install_git_hooks)
+ set(options "")
+ set(oneValueArgs
+ PARENT_REPO_BASE_GIT_PATH
+ TOP_LEVEL_SRC_PATH
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ if(NOT arg_WORKING_DIRECTORY)
+ message(FATAL_ERROR "qt_ir_install_git_hooks: No working directory specified")
+ endif()
+ set(working_directory "${arg_WORKING_DIRECTORY}")
+
+ if(NOT arg_PARENT_REPO_BASE_GIT_PATH)
+ message(FATAL_ERROR "qt_ir_install_git_hooks: No PARENT_REPO_BASE_GIT_PATH specified")
+ endif()
+ set(parent_repo_base_git_path "${arg_PARENT_REPO_BASE_GIT_PATH}")
+
+ if(NOT arg_TOP_LEVEL_SRC_PATH)
+ message(FATAL_ERROR "qt_ir_install_git_hooks: No TOP_LEVEL_SRC_PATH specified")
+ endif()
+ set(top_level_src_path "${arg_TOP_LEVEL_SRC_PATH}")
+
+ set(hooks_dir "${top_level_src_path}/qtrepotools/git-hooks")
+ if(NOT EXISTS "${hooks_dir}")
+ message("Warning: cannot find Git hooks, qtrepotools module might be absent")
+ return()
+ endif()
+
+ set(prefix ir_hooks)
+ qt_ir_parse_git_config_file_contents("${prefix}"
+ READ_GIT_CONFIG_LOCAL
+ PARENT_REPO_BASE_GIT_PATH "${parent_repo_base_git_path}"
+ WORKING_DIRECTORY "${working_directory}"
+ )
+
+ foreach(submodule_name IN LISTS ${prefix}_submodules)
+ set(submodule_git_dir "${working_directory}/${submodule_name}/.git")
+ if(NOT IS_DIRECTORY "${submodule_git_dir}")
+ # Get first line
+ file(STRINGS "${submodule_git_dir}" submodule_git_dir_contents LIMIT_COUNT 1)
+
+ # Remove the gitdir: prefix
+ string(REGEX REPLACE "^(gitdir: )" "" submodule_git_dir
+ "${submodule_git_dir_contents}")
+ if("${CMAKE_MATCH_1}" STREQUAL "")
+ message(FATAL_ERROR "Malformed .git file ${submodule_git_dir}")
+ endif()
+
+ # Make it an absolute path, because gitdir: is usually relative to the submodule
+ get_filename_component(submodule_git_dir "${submodule_git_dir}"
+ ABSOLUTE BASE_DIR "${working_directory}/${submodule_name}")
+
+ # Untested
+ set(common_dir "${submodule_git_dir}/commondir")
+ if(EXISTS "${common_dir}")
+ file(STRINGS "${common_dir}" common_dir_contents LIMIT_COUNT 1)
+ string(STRIP "${common_dir_contents}" common_dir_path)
+ set(submodule_git_dir "${submodule_git_dir}/${common_dir_path}")
+ get_filename_component(submodule_git_dir "${submodule_git_dir}" ABSOLUTE)
+ endif()
+ endif()
+ qt_ir_ensure_link("${hooks_dir}/gerrit_commit_msg_hook"
+ "${submodule_git_dir}/hooks/commit-msg")
+ qt_ir_ensure_link("${hooks_dir}/git_post_commit_hook"
+ "${submodule_git_dir}/hooks/post-commit")
+ qt_ir_ensure_link("${hooks_dir}/clang-format-pre-commit"
+ "${submodule_git_dir}/hooks/pre-commit")
+ endforeach()
+endfunction()
+
+# Saves the list of top-level submodules that should be included and excluded.
+# Will be used to pass these values to the top-level configure script.
+function(qt_ir_set_top_level_submodules included_submodules excluded_submodules)
+ set_property(GLOBAL PROPERTY _qt_ir_top_level_included_submodules "${included_submodules}")
+ set_property(GLOBAL PROPERTY _qt_ir_top_level_excluded_submodules "${excluded_submodules}")
+endfunction()
+
+# Gets the list of top-level submodules that should be included and excluded.
+function(qt_ir_get_top_level_submodules out_included_submodules out_excluded_submodules)
+ get_property(included GLOBAL PROPERTY _qt_ir_top_level_included_submodules)
+ get_property(excluded GLOBAL PROPERTY _qt_ir_top_level_excluded_submodules)
+
+ set(${out_included_submodules} "${included}" PARENT_SCOPE)
+ set(${out_excluded_submodules} "${excluded}" PARENT_SCOPE)
+endfunction()
+
+# Parses the .gitmodules file and proceses the submodules based on the module-subset option
+# or the given SUBMODULES argument.
+# Also adds dependencies if requested.
+#
+# This is a macro because we want the variables set by
+# qt_ir_parse_gitmodules_file_contents to be available in the calling scope, because it's
+# essentially setting a dictionarty, and we don't want to propagate all the variables manually.
+macro(qt_ir_get_submodules prefix out_var_submodules)
+ set(options
+ PREVIOUSLY_INITIALIZED
+ PROCESS_SUBMODULES_FROM_COMMAND_LINE
+ )
+ set(oneValueArgs
+ PARENT_REPO_BASE_GIT_PATH
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs
+ ALREADY_INITIALIZED_SUBMODULES
+ SUBMODULES
+ )
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ qt_ir_get_working_directory_from_arg(working_directory)
+
+ # Parse the .gitmodules content here, so the parsed data is available downstream
+ # in other functions and recursive calls of the same function.
+ qt_ir_parse_git_config_file_contents("${prefix}"
+ READ_GITMODULES
+ PARENT_REPO_BASE_GIT_PATH "${arg_PARENT_REPO_BASE_GIT_PATH}"
+ WORKING_DIRECTORY "${working_directory}"
+ )
+
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+ set(extra_implict_submodules "")
+
+ # Get which modules should be initialized, based on the module-subset option.
+ if(arg_PROCESS_SUBMODULES_FROM_COMMAND_LINE)
+ qt_ir_get_option_value(module-subset initial_module_subset)
+
+ # Implicitly add qtrepotools, so we can install git hooks and don't get the
+ # missing qtrepotools warning.
+ if(NOT perl_identical_output_for_tests)
+ list(APPEND extra_implict_submodules "qtrepotools")
+ qt_ir_is_verbose(verbose)
+ if(verbose)
+ message("Implicitly adding qtrepotools to the list of submodules "
+ "to initialize for access to git commit hooks, etc. "
+ "(use --module-subset=<values>,-qtrepotools to exclude it)")
+ endif()
+ endif()
+
+ if(NOT perl_identical_output_for_tests)
+ message(DEBUG "module-subset from command line: ${initial_module_subset}")
+ endif()
+ elseif(arg_SUBMODULES)
+ set(initial_module_subset "${arg_SUBMODULES}")
+ if(NOT perl_identical_output_for_tests)
+ message(DEBUG "module-subset from args: ${initial_module_subset}")
+ endif()
+ else()
+ message(FATAL_ERROR "No submodules specified")
+ endif()
+
+ qt_ir_get_cmake_flag(PREVIOUSLY_INITIALIZED previously_initialized_opt)
+ qt_ir_process_module_subset_values("${prefix}"
+ ${previously_initialized_opt}
+ ${perl_identical_output_opt}
+ ALREADY_INITIALIZED_SUBMODULES ${arg_ALREADY_INITIALIZED_SUBMODULES}
+ EXTRA_IMPLICIT_SUBMODULES ${extra_implict_submodules}
+ MODULE_SUBSET "${initial_module_subset}"
+ OUT_VAR_INCLUDE processed_module_subset
+ OUT_VAR_EXCLUDE modules_to_exclude
+ )
+ if(NOT perl_identical_output_for_tests)
+ message(DEBUG "Processed module subset: ${processed_module_subset}")
+ endif()
+
+ # We only resolve dependencies for the top-level call, not for recursive calls.
+ if(arg_PROCESS_SUBMODULES_FROM_COMMAND_LINE)
+ # Resolve which submodules should be initialized, including dependencies.
+ qt_ir_get_module_subset_including_deps("${prefix}"
+ submodules_with_deps "${processed_module_subset}")
+
+ # Then remove any explicitly specified submodules.
+ set(submodules_with_deps_and_excluded "${submodules_with_deps}")
+ if(modules_to_exclude)
+ list(REMOVE_ITEM submodules_with_deps_and_excluded ${modules_to_exclude})
+ endif()
+
+ if(NOT perl_identical_output_for_tests AND modules_to_exclude)
+ message(DEBUG "Repos that will be excluded after dependency handling: ${modules_to_exclude}")
+ endif()
+
+ set(submodules "${submodules_with_deps_and_excluded}")
+ qt_ir_set_top_level_submodules("${submodules}" "${modules_to_exclude}")
+ else()
+ set(submodules "${processed_module_subset}")
+ endif()
+
+ # Remove duplicates
+ set(submodules_maybe_duplicates "${submodules}")
+ list(REMOVE_DUPLICATES submodules)
+ if(NOT perl_identical_output_for_tests AND NOT submodules STREQUAL submodules_maybe_duplicates)
+ message(DEBUG "Removed duplicates from submodules, final list: ${submodules}")
+ endif()
+
+ set(${out_var_submodules} "${submodules}" PARENT_SCOPE)
+endmacro()
+
+# Recursively initialize submodules starting from the given current working directory.
+# This is the equivalent of the perl script's git_clone_all_submodules function.
+function(qt_ir_handle_init_submodules prefix)
+ set(options
+ CHECKOUT_BRANCH
+ PREVIOUSLY_INITIALIZED
+ PROCESS_SUBMODULES_FROM_COMMAND_LINE
+ )
+ set(oneValueArgs
+ ALTERNATES
+ BASE_URL
+ PARENT_REPO_BASE_GIT_PATH
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs
+ ALREADY_INITIALIZED_SUBMODULES
+ SUBMODULES
+ )
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ qt_ir_get_working_directory_from_arg(working_directory)
+
+ # Get the submodules that should be initialized.
+ qt_ir_get_cmake_flag(PROCESS_SUBMODULES_FROM_COMMAND_LINE
+ process_submodules_from_command_line_opt)
+ qt_ir_get_cmake_flag(PREVIOUSLY_INITIALIZED
+ previously_initialized_opt)
+ qt_ir_get_submodules(${prefix} submodules
+ ${process_submodules_from_command_line_opt}
+ ${previously_initialized_opt}
+ ALREADY_INITIALIZED_SUBMODULES ${arg_ALREADY_INITIALIZED_SUBMODULES}
+ PARENT_REPO_BASE_GIT_PATH "${arg_PARENT_REPO_BASE_GIT_PATH}"
+ SUBMODULES "${arg_SUBMODULES}"
+ WORKING_DIRECTORY "${working_directory}"
+ )
+
+ qt_ir_get_option_value(perl-identical-output perl_identical_output_for_tests)
+ if(NOT submodules AND NOT perl_identical_output_for_tests)
+ message("No submodules were given to initialize or they were all excluded.")
+ return()
+ endif()
+
+ # Initialize the submodules, but don't clone them yet.
+ qt_ir_run_git_submodule_init("${submodules}" "${working_directory}")
+
+ # Deinit submodules that are not in the list of submodules to be initialized.
+ qt_ir_handle_submodule_removal_and_ignoring("${prefix}"
+ "${submodules}" "${arg_PARENT_REPO_BASE_GIT_PATH}" "${working_directory}")
+
+ # Check for dirty submodules.
+ qt_ir_handle_dirty_submodule("${submodules}" "${working_directory}")
+
+ qt_ir_get_cmake_flag(CHECKOUT_BRANCH branch_flag)
+ qt_ir_get_option_as_cmake_flag_option(fetch "FETCH" fetch_flag)
+
+ # Manually clone each submodule if it was not previously cloned, so we can easily
+ # use reference (alternates) repos, mirrors, etc.
+ # If already cloned, just fetch new data.
+ #
+ # Note that manually cloning the submodules, as opposed to running git submodule update,
+ # places the .git directories inside the submodule directories, but latest git versions
+ # expect it in $super_repo/.git/modules.
+ # When de-initializing submodules manually, git will absorb the .git directories into the super
+ # repo.
+ # In case if the super repo already has a copy of the submodule .git dir, git will fail
+ # to absorb the .git dir and error out. In that case the already existing .git dir needs to be
+ # removed manually, there is no git command to do it afaik.
+ foreach(submodule_name IN LISTS submodules)
+ qt_ir_clone_one_submodule(${submodule_name}
+ ALTERNATES ${arg_ALTERNATES}
+ BASE_URL ${arg_BASE_URL}
+ WORKING_DIRECTORY "${working_directory}"
+ ${branch_flag}
+ ${fetch_flag}
+ )
+ endforeach()
+
+ # Checkout branches instead of the default detached HEAD.
+ if(branch_flag)
+ foreach(submodule_name IN LISTS submodules)
+ qt_ir_handle_branch_option("${prefix}" ${submodule_name} "${working_directory}")
+ endforeach()
+ endif()
+
+ qt_ir_get_option_value(update will_update)
+ if(will_update)
+
+ # Update the checked out refs without fetching.
+ qt_ir_handle_update_option("${branch_flag}" "${working_directory}")
+
+ # Recursively initialize submodules of submodules.
+ foreach(submodule_name IN LISTS submodules)
+ set(submodule_path "${${prefix}_${submodule_name}_path}")
+ set(submodule_gitmodules_path "${working_directory}/${submodule_path}/.gitmodules")
+
+ if(EXISTS "${submodule_gitmodules_path}")
+ set(alternates_option "")
+ if(arg_ALTERNATES)
+ set(alternates_option ALTERNATES "${arg_ALTERNATES}/${submodule_name}")
+ endif()
+
+ set(submodule_base_git_path "${${prefix}_${submodule_name}_base_git_path}")
+
+ qt_ir_handle_init_submodules(
+ # Use a different prefix to store new gitmodules data
+ ir_sub_${submodule_name}
+
+ # Check out all submodules recursively
+ SUBMODULES "all"
+
+ BASE_URL "${base_url}"
+ PARENT_REPO_BASE_GIT_PATH "${submodule_base_git_path}"
+ WORKING_DIRECTORY "${working_directory}/${submodule_name}"
+
+ # The CHECKOUT_BRANCH option is not propagated on purpose
+ ${alternates_option}
+ )
+ endif()
+ endforeach()
+ endif()
+endfunction()
diff --git a/cmake/QtIRHelp.txt b/cmake/QtIRHelp.txt
new file mode 100644
index 00000000..9d6f5749
--- /dev/null
+++ b/cmake/QtIRHelp.txt
@@ -0,0 +1,134 @@
+Usage:
+ ./init-repository [options]
+
+ This script may be run after an initial `git clone' of the Qt supermodule
+ in order to check out all submodules. It fetches them from canonical URLs
+ inferred from the clone's origin.
+
+Options:
+ Global options:
+
+ --force, -f
+ Force initialization (even if the submodules are already checked
+ out).
+
+ --force-hooks
+ Force initialization of hooks (even if there are already hooks in
+ checked out submodules).
+
+ --quiet, -q
+ Be quiet. Will exit cleanly if the repository is already
+ initialized.
+
+ --verbose
+ Adds a bit more output when executing processes
+
+ --no-resolve-deps
+ By default, each submodule specified via the module-subset option
+ will have its required and optional dependencies also initialized.
+ This option can be passed to disable automatic initialization of
+ dependencies, so that the exact list passed to module-subset is
+ initialized.
+
+ --no-optional-deps
+ By default, each submodule specified via the module-subset option
+ will have its optional dependencies also initialized.
+ This option can be passed to initialize only required dependencies of
+ the given module-subset.
+
+ Module options:
+
+ --module-subset=<module1>,<module2>... / -submodules <module1>,<module2>...
+ Only initialize the specified subset of modules given as the
+ argument. Specified modules must already exist in .gitmodules. The
+ string "all" results in cloning all known modules. The strings
+ "essential", "addon", "preview", "deprecated", "obsolete",
+ "additionalLibrary", and "ignore" refer to classes of modules
+ identified by "status=" lines in the .gitmodules file.
+ You can use "existing" to to reference already initialized submodules.
+ Additionally, "qtrepotools" is implicitly always added to ensure
+ relevant git commit hooks are available. It can be excluded as described
+ below.
+ You can use "default" in the subset as a short-hand for
+ "essential,addon,preview,deprecated", which corresponds to the set of
+ maintained modules included in standard Qt releases; this is also the
+ default module subset when this option is not given when first running
+ init-repositoy. If init-repository is rerun a second time (with --force)
+ the default is to initialize the "existing" submodules, rather than the
+ default subset. Entries may be prefixed with a dash to exclude them
+ from a bigger set, e.g. "all,-ignore" or "existing,-qttools".
+ For compatibility with qt's configure script, -submodules is an alias
+ of --module-subset. Note the difference in dashes and the equal sign.
+
+ --no-update
+ Skip the `git submodule update' command.
+
+ --no-fetch
+ Skip the `git fetch' commands. Implied by --no-update.
+
+ --branch
+ Instead of checking out specific SHA1s, check out the submodule
+ branches that correspond with the current supermodule commit. By
+ default, this option will cause local commits in the submodules to
+ be rebased. With --no-update, the branches will be checked out, but
+ their heads will not move.
+
+ --ignore-submodules
+ Set git config to ignore submodules by default when doing operations
+ on the qt5 repo, such as `pull', `fetch', `diff' etc.
+
+ After using this option, pass `--ignore-submodules=none' to git to
+ override it as needed.
+
+ Repository options:
+
+ --berlin
+ Switch to internal URLs and make use of the Berlin git mirrors.
+ (Implies `--mirror').
+
+ --oslo
+ Switch to internal URLs and make use of the Oslo git mirrors.
+ (Implies `--mirror').
+
+ --codereview-username <Gerrit/JIRA username>
+ Specify the user name for the (potentially) writable `gerrit' remote
+ for each module, for use with the Gerrit code review tool.
+
+ If this option is omitted, the gerrit remote is created without a
+ username and port number, and thus relies on a correct SSH
+ configuration.
+
+ --alternates <path to other Qt5 repo>
+ Adds alternates for each submodule to another full qt5 checkout.
+ This makes this qt5 checkout very small, as it will use the object
+ store of the alternates before unique objects are stored in its own
+ object store.
+
+ This option has no effect when using `--no-update'.
+
+ NOTE: This will make this repo dependent on the alternate, which is
+ potentially dangerous! The dependency can be broken by also using
+ the `--copy-objects' option, or by running "git repack -a" in each
+ submodule, where required. Please read the note about the `--shared'
+ option in the documentation of `git clone' for more information.
+
+ --copy-objects
+ When `--alternates' is used, automatically do a "git repack -a" in
+ each submodule after cloning, to ensure that the repositories are
+ independent from the source used as a reference for cloning.
+
+ Note that this negates the disk usage benefits gained from the use
+ of `--alternates'.
+ --mirror <url-base>
+ Uses <url-base> as the base URL for submodule git mirrors.
+
+ For example:
+
+ --mirror user\@machine:/foo/bar/qt/
+
+ ...will use the following as a mirror for qtbase:
+
+ user\@machine:/foo/bar/qt/qtbase.git
+
+ The mirror is permitted to contain a subset of the submodules; any
+ missing modules will fall back to the canonical URLs.
diff --git a/cmake/QtIRHelpers.cmake b/cmake/QtIRHelpers.cmake
new file mode 100644
index 00000000..8e2af7f8
--- /dev/null
+++ b/cmake/QtIRHelpers.cmake
@@ -0,0 +1,367 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# Includes all helper files for access to necessary functions.
+macro(qt_ir_include_all_helpers)
+ include(QtIRCommandLineHelpers)
+ include(QtIRGitHelpers)
+ include(QtIROptionsHelpers)
+ include(QtIRParsingHelpers)
+ include(QtIRProcessHelpers)
+ include(QtIRTestHelpers)
+ include(QtTopLevelHelpers)
+endmacro()
+
+# Convenience macro to get the working directory from the arguments passed to
+# cmake_parse_arguments. Saves a few lines and makes reading the code slightly
+# easier.
+macro(qt_ir_get_working_directory_from_arg out_var)
+ if(NOT arg_WORKING_DIRECTORY)
+ message(FATAL_ERROR "No working directory specified")
+ endif()
+ set(${out_var} "${arg_WORKING_DIRECTORY}")
+endmacro()
+
+# Convenience function to set the variable to the name of cmake_parse_arguments
+# flag option if it is active.
+function(qt_ir_get_cmake_flag flag_name out_var)
+ if(arg_${flag_name})
+ set(${out_var} "${flag_name}" PARENT_SCOPE)
+ else()
+ set(${out_var} "" PARENT_SCOPE)
+ endif()
+endfunction()
+
+# There are some init-repository options that we do not want to allow when called from
+# configure. Make sure we error out when they are set by the user.
+function(qt_ir_validate_options_for_configure)
+ set(disallowed_options
+ # Disallow mirror options, because users should set up a proper git mirror manually,
+ # not via configure.
+ mirror
+ oslo
+ berlin
+ )
+ foreach(disallowed_option IN LISTS disallowed_options)
+ qt_ir_get_option_value(${disallowed_option} value)
+ if(value)
+ set(msg
+ "Initialization option '${disallowed_option}' is not supported by configure. "
+ "If you think this option should be supported, please let us know at "
+ "https://bugreports.qt.io/"
+ )
+ message(FATAL_ERROR ${msg})
+ endif()
+ endforeach()
+endfunction()
+
+# Handle the case when init-repository is called from the configure script.
+function(qt_ir_handle_called_from_configure top_level_src_path out_var_exit_reason)
+ # Nothing special to do if we're not called from configure.
+ qt_ir_is_called_from_configure(is_called_from_configure)
+ if(NOT is_called_from_configure)
+ set(${out_var_exit_reason} FALSE PARENT_SCOPE)
+ return()
+ endif()
+
+ # Check whether qtbase was cloned, if not, tell the user how to initialize
+ # the repos as part of the configure script.
+ qt_ir_get_option_value(init-submodules init_submodules)
+ set(configure_script "${top_level_src_path}/qtbase/configure")
+ if(NOT EXISTS "${configure_script}" AND NOT init_submodules)
+ set(msg "Oops. It looks like you didn't initialize any submodules yet.\nCall configure "
+ "with the -init-submodules option to automatically clone a default set of "
+ "submodules before configuring Qt.\nYou can also pass "
+ "-submodules submodule2,submodule3 to clone a particular set of submodules "
+ "and their dependencies. See ./init-repository --help for more information on values "
+ "accepted by --module-subset (which gets its values from -submodules).")
+ message(${msg})
+ set(${out_var_exit_reason} NEED_INIT_SUBMODULES PARENT_SCOPE)
+ return()
+ endif()
+
+ # Don't do init-repository things when called from configure, qtbase exists and the
+ # -init-submodules option is not passed. We assume the repo was already
+ # initialized.
+ if(NOT init_submodules)
+ set(${out_var_exit_reason} ALREADY_INITIALIZED PARENT_SCOPE)
+ return()
+ endif()
+
+ qt_ir_validate_options_for_configure()
+
+ # -init_submodules implies --force
+ qt_ir_set_option_value(force TRUE)
+
+ set(${out_var_exit_reason} FALSE PARENT_SCOPE)
+endfunction()
+
+# Returns a list of command line arguments with the init-repository specific
+# options removed, which are not recognized by configure.
+# It also handles -submodules values like 'essential', 'existing' and '-qtsvg' and transforms them
+# into the final list of submodules to be included and excluded, which are then translated
+# to configure -submodules and -skip options.
+function(qt_ir_get_args_from_optfile_configure_filtered optfile_path out_var)
+ cmake_parse_arguments(arg "ALREADY_INITIALIZED" "" "" ${ARGV})
+
+ # Get args unknown to init-repository, and pass them to configure as-is.
+ qt_ir_get_unknown_args(unknown_args)
+
+ set(filtered_args ${unknown_args})
+ set(extra_configure_args "")
+ set(extra_cmake_args "")
+
+ # If the -submodules or --module-subset options were specified, transform
+ # the values into something configure understands and pass them to configure.
+ qt_ir_get_option_value(module-subset submodules)
+ if(submodules)
+ qt_ir_get_top_level_submodules(include_submodules exclude_submodules)
+ if(NOT include_submodules AND arg_ALREADY_INITIALIZED)
+ set(include_submodules "${submodules}")
+ endif()
+
+ # qtrepotools is always implicitly cloned, but it doesn't actually
+ # have a CMakeLists.txt, so remove it.
+ list(REMOVE_ITEM include_submodules "qtrepotools")
+
+ # Make sure to explicitly pass -DBUILD_<module>=ON, in case they were
+ # skipped before, otherwise configure might fail.
+ if(include_submodules)
+ set(explicit_build_submodules "${include_submodules}")
+ list(TRANSFORM explicit_build_submodules PREPEND "-DBUILD_")
+ list(TRANSFORM explicit_build_submodules APPEND "=ON")
+ list(APPEND extra_cmake_args ${explicit_build_submodules})
+ endif()
+
+ list(JOIN include_submodules "," include_submodules)
+ list(JOIN exclude_submodules "," exclude_submodules)
+
+ # Handle case when the -skip argument is already passed.
+ # In that case read the passed values, merge with new ones,
+ # remove both the -skip and its values, and re-add it later.
+ list(FIND filtered_args "-skip" skip_index)
+ if(exclude_submodules AND skip_index GREATER -1)
+ list(LENGTH filtered_args filtered_args_length)
+ math(EXPR skip_args_index "${skip_index} + 1")
+
+ if(skip_args_index LESS filtered_args_length)
+ list(GET filtered_args "${skip_args_index}" skip_args)
+ string(REPLACE "," ";" skip_args "${skip_args}")
+ list(APPEND skip_args ${exclude_submodules})
+ list(REMOVE_DUPLICATES skip_args)
+ list(JOIN skip_args "," exclude_submodules)
+ list(REMOVE_AT filtered_args "${skip_args_index}")
+ list(REMOVE_AT filtered_args "${skip_index}")
+ endif()
+ endif()
+
+ # Handle case when only '-submodules existing' is passed and the
+ # subset ends up empty.
+ if(include_submodules)
+ list(APPEND extra_configure_args "-submodules" "${include_submodules}")
+ endif()
+ if(exclude_submodules)
+ list(APPEND extra_configure_args "-skip" "${exclude_submodules}")
+ endif()
+ endif()
+
+ # Insert the extra arguments into the proper positions before and after '--'.
+ list(FIND filtered_args "--" cmake_args_index)
+
+ # -- is not found
+ if(cmake_args_index EQUAL -1)
+ # Append extra configure args if present
+ if(extra_configure_args)
+ list(APPEND filtered_args ${extra_configure_args})
+ endif()
+ # Append extra cmake args if present, but make sure to add -- first at the end
+ if(extra_cmake_args)
+ list(APPEND filtered_args "--")
+ list(APPEND filtered_args ${extra_cmake_args})
+ endif()
+ else()
+ # -- is found, that means we probably have cmake args
+ # Insert extra configure args if present, before the -- index.
+ if(extra_configure_args)
+ list(INSERT filtered_args "${cmake_args_index}" ${extra_configure_args})
+ endif()
+ # Find the -- index again, because it might have moved
+ list(FIND filtered_args "--" cmake_args_index)
+ # Compute the index of the argument after the --.
+ math(EXPR cmake_args_index "${cmake_args_index} + 1")
+ # Insert extra cmake args if present, after the -- index.
+ if(extra_cmake_args)
+ list(INSERT filtered_args "${cmake_args_index}" ${extra_cmake_args})
+ endif()
+ endif()
+
+ # Pass --help if it was requested.
+ qt_ir_is_help_requested(show_help)
+ if(show_help)
+ list(APPEND filtered_args "-help")
+ endif()
+
+ set(${out_var} "${filtered_args}" PARENT_SCOPE)
+endfunction()
+
+# Checks whether any of the arguments passed on the command line are options
+# that are marked as unsupported in the cmake port of init-repository.
+function(qt_ir_check_if_unsupported_options_used out_var out_var_option_name)
+ qt_ir_get_unsupported_options(unsupported_options)
+
+ set(unsupported_options_used FALSE)
+ foreach(unsupported_option IN LISTS unsupported_options)
+ qt_ir_get_option_value(${unsupported_option} value)
+ if(value)
+ set(${out_var_option_name} "${unsupported_option}" PARENT_SCOPE)
+ set(unsupported_options_used TRUE)
+ break()
+ endif()
+ endforeach()
+ set(${out_var} "${unsupported_options_used}" PARENT_SCOPE)
+endfunction()
+
+# When an unsupported option is used, show an error message and tell the user
+# to run the perly script manually.
+function(qt_ir_show_error_how_to_run_perl opt_file unsupported_option_name)
+ qt_ir_get_raw_args_from_optfile("${opt_file}" args)
+ qt_ir_prettify_command_args(args "${args}")
+
+ set(perl_cmd "perl ./init-repository.pl ${args}")
+
+ message(FATAL_ERROR
+ "Option '${unsupported_option_name}' is not implemented in the cmake "
+ "port of init-repository. Please let us know if this option is really "
+ "important for you at https://bugreports.qt.io/. Meanwhile, you can "
+ "still run the perl script directly. \n ${perl_cmd}")
+endfunction()
+
+# Check whether help was requested.
+function(qt_ir_is_help_requested out_var)
+ qt_ir_get_option_value(help value)
+ set(${out_var} "${value}" PARENT_SCOPE)
+endfunction()
+
+# Check whether the verbose option was used.
+function(qt_ir_is_verbose out_var)
+ qt_ir_get_option_value(verbose value)
+ set(${out_var} "${value}" PARENT_SCOPE)
+endfunction()
+
+function(qt_ir_is_called_from_configure out_var)
+ qt_ir_get_option_value(from-configure value)
+ set(${out_var} "${value}" PARENT_SCOPE)
+endfunction()
+
+# Main logic of the script.
+function(qt_ir_run_after_args_parsed top_level_src_path out_var_exit_reason)
+ set(${out_var_exit_reason} FALSE PARENT_SCOPE)
+
+ qt_ir_is_called_from_configure(is_called_from_configure)
+
+ qt_ir_is_help_requested(show_help)
+ if(show_help AND NOT is_called_from_configure)
+ qt_ir_show_help()
+ set(${out_var_exit_reason} SHOWED_HELP PARENT_SCOPE)
+ return()
+ endif()
+
+ set(working_directory "${top_level_src_path}")
+
+ qt_ir_handle_if_already_initialized(already_initialized "${working_directory}")
+ if(already_initialized)
+ set(${out_var_exit_reason} ALREADY_INITIALIZED PARENT_SCOPE)
+ return()
+ endif()
+
+ # This will be used by the module subset processing to determine whether we
+ # should re-initialize the previously initialized (existing) subset.
+ qt_ir_check_if_already_initialized_cmake_style(is_initialized
+ "${working_directory}" FORCE_QUIET)
+ set(previously_initialized_option "")
+ if(is_initialized)
+ set(previously_initialized_option PREVIOUSLY_INITIALIZED)
+ endif()
+
+
+ # Ge the name of the qt5 repo (tqtc- or not) and the base url for all other repos
+ qt_ir_get_qt5_repo_name_and_base_url(
+ OUT_VAR_QT5_REPO_NAME qt5_repo_name
+ OUT_VAR_BASE_URL base_url
+ WORKING_DIRECTORY "${working_directory}")
+
+ qt_ir_get_already_initialized_submodules("${prefix}"
+ already_initialized_submodules
+ "${qt5_repo_name}"
+ "${working_directory}")
+
+ # Get some additional options to pass down.
+ qt_ir_get_option_value(alternates alternates)
+ qt_ir_get_option_as_cmake_flag_option(branch "CHECKOUT_BRANCH" checkout_branch_option)
+
+ # The prefix for the cmake-style 'dictionary' that will be used by various functions.
+ set(prefix "ir_top")
+
+ # Initialize and clone the submodules
+ qt_ir_handle_init_submodules("${prefix}"
+ ALTERNATES "${alternates}"
+ ALREADY_INITIALIZED_SUBMODULES "${already_initialized_submodules}"
+ BASE_URL "${base_url}"
+ PARENT_REPO_BASE_GIT_PATH "${qt5_repo_name}"
+ PROCESS_SUBMODULES_FROM_COMMAND_LINE
+ WORKING_DIRECTORY "${working_directory}"
+ ${checkout_branch_option}
+ ${previously_initialized_option}
+ )
+
+ # Add gerrit remotes.
+ qt_ir_add_git_remotes("${qt5_repo_name}" "${working_directory}")
+
+ # Install commit and other various hooks.
+ qt_ir_install_git_hooks(
+ PARENT_REPO_BASE_GIT_PATH "${qt5_repo_name}"
+ TOP_LEVEL_SRC_PATH "${top_level_src_path}"
+ WORKING_DIRECTORY "${working_directory}"
+ )
+
+ # Mark the repo as being initialized.
+ qt_ir_set_is_initialized("${working_directory}")
+endfunction()
+
+# Entrypoint of the init-repository script.
+function(qt_ir_run_main_script top_level_src_path out_var_exit_reason)
+ set(${out_var_exit_reason} FALSE PARENT_SCOPE)
+
+ # Windows passes backslash paths.
+ file(TO_CMAKE_PATH "${top_level_src_path}" top_level_src_path)
+
+ qt_ir_set_known_command_line_options()
+
+ # If called from configure, there might be arguments that init-repository doesn't know about
+ # because they are meant for configure. In that case ignore unknown arguments.
+ qt_ir_get_option_value(from-configure from_configure)
+ if(from_configure)
+ set(ignore_unknown_args "IGNORE_UNKNOWN_ARGS")
+ else()
+ set(ignore_unknown_args "")
+ endif()
+
+ qt_ir_process_args_from_optfile("${OPTFILE}" "${ignore_unknown_args}")
+
+ qt_ir_handle_called_from_configure("${top_level_src_path}" exit_reason)
+ if(exit_reason)
+ set(${out_var_exit_reason} "${exit_reason}" PARENT_SCOPE)
+ return()
+ endif()
+
+ qt_ir_check_if_unsupported_options_used(
+ unsupported_options_used option_name)
+ if(unsupported_options_used)
+ qt_ir_show_error_how_to_run_perl("${OPTFILE}" "${option_name}")
+ endif()
+
+ qt_ir_run_after_args_parsed("${top_level_src_path}" exit_reason)
+ set(${out_var_exit_reason} "${exit_reason}" PARENT_SCOPE)
+
+ # TODO: Consider using cmake_language(EXIT <exit-code>) when cmake 3.29 is released.
+endfunction()
diff --git a/cmake/QtIROptionsHelpers.cmake b/cmake/QtIROptionsHelpers.cmake
new file mode 100644
index 00000000..d87c7463
--- /dev/null
+++ b/cmake/QtIROptionsHelpers.cmake
@@ -0,0 +1,48 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# Declare command line options known to init-repository.
+macro(qt_ir_set_known_command_line_options)
+ # Implemented options
+
+ # Note alternates is a qt specific option name, but it uses
+ # git submodule's --reference option underneath which also implies --shared.
+ # It essentially uses the git object storage of another repo, to avoid
+ # cloning the same objects and thus saving space.
+ qt_ir_commandline_option(alternates TYPE string)
+
+ qt_ir_commandline_option(berlin TYPE boolean)
+ qt_ir_commandline_option(branch TYPE boolean)
+ qt_ir_commandline_option(codereview-username TYPE string)
+ qt_ir_commandline_option(copy-objects TYPE boolean)
+ qt_ir_commandline_option(fetch TYPE boolean DEFAULT_VALUE yes)
+ qt_ir_commandline_option(force SHORT_NAME f TYPE boolean)
+ qt_ir_commandline_option(force-hooks TYPE boolean)
+ qt_ir_commandline_option(help SHORT_NAME h TYPE boolean)
+ qt_ir_commandline_option(ignore-submodules TYPE boolean)
+ qt_ir_commandline_option(mirror TYPE string)
+ qt_ir_commandline_option(module-subset TYPE string)
+ qt_ir_commandline_option(optional-deps TYPE boolean DEFAULT_VALUE yes)
+ qt_ir_commandline_option(oslo TYPE boolean)
+ qt_ir_commandline_option(perl-identical-output TYPE boolean)
+ qt_ir_commandline_option(perl-init-check TYPE boolean)
+ qt_ir_commandline_option(quiet SHORT_NAME q TYPE boolean)
+ qt_ir_commandline_option(resolve-deps TYPE boolean DEFAULT_VALUE yes)
+ qt_ir_commandline_option(update TYPE boolean DEFAULT_VALUE yes)
+ qt_ir_commandline_option(verbose TYPE boolean)
+
+ # These are used when init-repository is called from configure.
+ qt_ir_commandline_option(from-configure TYPE boolean)
+ # Implies force.
+ qt_ir_commandline_option(init-submodules TYPE boolean)
+ # We alias qtbase's submodules option to init-repository module-subset.
+ qt_ir_commandline_option(submodules ALIAS module-subset TYPE string)
+
+ set_property(GLOBAL PROPERTY _qt_ir_known_command_line_options "${commandline_known_options}")
+endmacro()
+
+# Gets list of known command line options.
+function(qt_ir_get_known_command_line_options out_var)
+ get_property(values GLOBAL PROPERTY _qt_ir_known_command_line_options)
+ set(${out_var} "${values}" PARENT_SCOPE)
+endfunction()
diff --git a/cmake/QtIRParsingHelpers.cmake b/cmake/QtIRParsingHelpers.cmake
new file mode 100644
index 00000000..d7d3f20e
--- /dev/null
+++ b/cmake/QtIRParsingHelpers.cmake
@@ -0,0 +1,237 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# Retrieves the contents of either .git/config or .gitmodules files for further parsing.
+function(qt_ir_get_git_config_contents out_var)
+ set(options
+ READ_GITMODULES
+ READ_GIT_CONFIG
+ READ_GIT_CONFIG_LOCAL
+ )
+ set(oneValueArgs
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ if(arg_READ_GITMODULES)
+ set(args -f .gitmodules)
+ set(file_message ".gitmodules")
+ elseif(arg_READ_GIT_CONFIG)
+ set(args "")
+ set(file_message ".git/config")
+ elseif(arg_READ_GIT_CONFIG_LOCAL)
+ set(args "--local")
+ set(file_message ".local .git/config")
+ else()
+ message(FATAL_ERROR "qt_ir_get_git_config_contents: No option specified")
+ endif()
+
+ qt_ir_get_working_directory_from_arg(working_directory)
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ FORCE_QUIET
+ COMMAND_ARGS git config --list ${args}
+ OUT_OUTPUT_VAR git_output
+ WORKING_DIRECTORY "${working_directory}"
+ ERROR_MESSAGE "Failed to get ${file_message} contents for parsing")
+
+ string(STRIP "${git_output}" git_output)
+ set(${out_var} "${git_output}" PARENT_SCOPE)
+endfunction()
+
+# Checks whether the given url has a scheme like https:// or is just a
+# relative path.
+function(qt_ir_has_url_scheme url out_var)
+ string(REGEX MATCH "^[a-z][a-z0-9+\-.]*://" has_url_scheme "${url}")
+
+ if(has_url_scheme)
+ set(${out_var} TRUE PARENT_SCOPE)
+ else()
+ set(${out_var} FALSE PARENT_SCOPE)
+ endif()
+endfunction()
+
+# Parses a key-value line from a .git/config or .gitmodules file
+macro(qt_ir_parse_git_key_value)
+ string(REGEX REPLACE "^submodule\\.([^.=]+)\\.([^.=]+)=(.*)$" "\\1;\\2;\\3"
+ parsed_line "${line}")
+
+ list(LENGTH parsed_line parsed_line_length)
+ set(submodule_name "")
+ set(key "")
+ set(value "")
+ if(parsed_line_length EQUAL 3)
+ list(GET parsed_line 0 submodule_name)
+ list(GET parsed_line 1 key)
+ list(GET parsed_line 2 value)
+ endif()
+endmacro()
+
+# Parses a url line from a .gitmodules file
+# e.g. line - 'submodule.qtbase.url=../qtbase.git'
+#
+# Arguments
+#
+# submodule_name
+# submodule name, the key in 'submodule.${submodule_name}.url'
+# e.g. 'qtbase'
+# url_value
+# the url where to clone a repo from
+# in perl script it was called $base
+# e.g. '../qtbase.git', 'https://code.qt.io/playground/qlitehtml.git'
+# parent_repo_base_git_path
+# the base git path of the parent of the submodule
+# it is either a relative dir or a full url
+# in the perl script it was called $my_repo_base,
+# it was passed as first arg to git_clone_all_submodules,
+# it was passed the value of $subbases{$module} when doing recursive submodule cloning
+# e.g. 'qt5', 'tqtc-qt5', 'qtdeclarative.git', 'https://code.qt.io/playground/qlitehtml.git'
+#
+# Outputs
+#
+# ${out_var_prefix}_${submodule_name}_url
+# just the value of ${url_value}
+# ${out_var_prefix}_${submodule_name}_base_git_path
+# the whole url if it has a scheme, otherwise it's the value of
+# ${url_value} relative to ${parent_repo_base_git_path}, so all the ../ are collapsed
+# e.g. 'qtdeclarative.git'
+# 'https://code.qt.io/playground/qlitehtml.git',
+macro(qt_ir_parse_git_url_key out_var_prefix submodule_name url_value parent_repo_base_git_path)
+ qt_ir_has_url_scheme("${url_value}" has_url_scheme)
+ if(NOT has_url_scheme)
+ set(base_git_path "${parent_repo_base_git_path}/${url_value}")
+
+ # The exact code perl code was while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
+ # That got rid of ../ and ../../ in the path, but it broke down
+ # when more than two ../ were present.
+ # We just use ABSOLUTE to resolve the path and get rid of all ../
+ # Note the empty BASE_DIR is important, otherwise the path is relative to
+ # ${CMAKE_CURRENT_SOURCE_DIR}.
+ get_filename_component(base_git_path "${base_git_path}" ABSOLUTE BASE_DIR "")
+ else()
+ set(base_git_path "${url_value}")
+ endif()
+
+ set(${out_var_prefix}_${submodule_name}_url "${url_value}" PARENT_SCOPE)
+ set(${out_var_prefix}_${submodule_name}_base_git_path "${base_git_path}" PARENT_SCOPE)
+endmacro()
+
+# Parses a .git/config or .gitmodules file contents and sets variables for each submodule
+# starting with ${out_var_prefix}_
+# These include:
+# ${out_var_prefix}_${submodule_name}_path
+# the path to the submodule relative to the parent repo
+# ${out_var_prefix}_${submodule_name}_branch
+# the branch that should be checked out when the branch option is used
+# ${out_var_prefix}_${submodule_name}_url
+# the url key as encountered in the config
+# ${out_var_prefix}_${submodule_name}_base_git_path
+# the git base path of the submodule, either a full url or a relative path
+# ${out_var_prefix}_${submodule_name}_update
+# the status of the submodule, can be 'none'
+# ${out_var_prefix}_${submodule_name}_status
+# the status of the submodule, can be 'essential', 'addon', etc
+# ${out_var_prefix}_${submodule_name}_depends
+# the list of submodules that this submodule depends on
+# ${out_var_prefix}_${submodule_name}_recommends
+# the list of submodules that this submodule recommends to be used with
+# ${out_var_prefix}_submodules
+# a list of all known submodule names encountered in the file
+# ${out_var_prefix}_submodules_to_remove
+# a list of all submodules to remove due to update == 'none'
+# ${out_var_prefix}_statuses to
+# a list of all known submodule statuses like 'essential', 'addon', etc
+# ${out_var_prefix}_status_${status}_submodules
+# a list of all submodules with the specific status
+function(qt_ir_parse_git_config_file_contents out_var_prefix)
+ set(options
+ READ_GITMODULES
+ READ_GIT_CONFIG
+ READ_GIT_CONFIG_LOCAL
+ )
+ set(oneValueArgs
+ PARENT_REPO_BASE_GIT_PATH
+ WORKING_DIRECTORY
+ )
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ qt_ir_get_working_directory_from_arg(working_directory)
+
+ if(NOT arg_PARENT_REPO_BASE_GIT_PATH)
+ message(FATAL_ERROR
+ "qt_ir_parse_git_config_file_contents: No base PARENT_REPO_BASE_GIT_PATH specified")
+ endif()
+ set(parent_repo_base_git_path "${arg_PARENT_REPO_BASE_GIT_PATH}")
+
+ if(arg_READ_GITMODULES)
+ set(read_git_config READ_GITMODULES)
+ elseif(arg_READ_GIT_CONFIG)
+ set(read_git_config READ_GIT_CONFIG)
+ elseif(arg_READ_GIT_CONFIG_LOCAL)
+ set(read_git_config READ_GIT_CONFIG_LOCAL)
+ else()
+ message(FATAL_ERROR
+ "qt_ir_parse_gitmodules_file_contents: No valid git config file specified")
+ endif()
+
+ qt_ir_get_git_config_contents(contents
+ ${read_git_config}
+ WORKING_DIRECTORY "${working_directory}"
+ )
+ string(REPLACE "\n" ";" lines "${contents}")
+
+ set(known_submodules "")
+ set(statuses "")
+ set(submodules_to_remove "")
+
+ foreach(line IN LISTS lines)
+ qt_ir_parse_git_key_value()
+ if(NOT submodule_name OR NOT key OR value STREQUAL "")
+ continue()
+ endif()
+
+ list(APPEND known_submodules "${submodule_name}")
+
+ if(key STREQUAL "path")
+ set(${out_var_prefix}_${submodule_name}_path "${value}" PARENT_SCOPE)
+ elseif(key STREQUAL "branch")
+ set(${out_var_prefix}_${submodule_name}_branch "${value}" PARENT_SCOPE)
+ elseif(key STREQUAL "url")
+ qt_ir_parse_git_url_key(
+ "${out_var_prefix}" "${submodule_name}" "${value}" "${parent_repo_base_git_path}")
+ elseif(key STREQUAL "update")
+ # Some repo submodules had a update = none key in their .gitmodules
+ # in which case we're supposed to skip initialzing those submodules,
+ # which the perl script did by adding -${submodule_name} to the subset.
+ # See qtdeclarative Change-Id: I633404f1c00d83dcbdca06a1d287623190323028
+ set(${out_var_prefix}_${submodule_name}_update "${value}" PARENT_SCOPE)
+ if(value STREQUAL "none")
+ list(APPEND submodules_to_remove "-${submodule_name}")
+ endif()
+ elseif(key STREQUAL "status")
+ set(status_submodules "${${out_var_prefix}_status_${value}_submodules}")
+ list(APPEND status_submodules "${submodule_name}")
+ list(REMOVE_DUPLICATES status_submodules)
+ list(APPEND statuses "${value}")
+
+ set(${out_var_prefix}_status_${value}_submodules "${status_submodules}")
+ set(${out_var_prefix}_status_${value}_submodules "${status_submodules}" PARENT_SCOPE)
+ set(${out_var_prefix}_${submodule_name}_status "${value}" PARENT_SCOPE)
+ elseif(key STREQUAL "depends")
+ string(REPLACE " " ";" value "${value}")
+ set(${out_var_prefix}_${submodule_name}_depends "${value}" PARENT_SCOPE)
+ elseif(key STREQUAL "recommends")
+ string(REPLACE " " ";" value "${value}")
+ set(${out_var_prefix}_${submodule_name}_recommends "${value}" PARENT_SCOPE)
+ endif()
+ endforeach()
+
+ list(REMOVE_DUPLICATES known_submodules)
+ list(REMOVE_DUPLICATES submodules_to_remove)
+ list(REMOVE_DUPLICATES statuses)
+ set(${out_var_prefix}_submodules "${known_submodules}" PARENT_SCOPE)
+ set(${out_var_prefix}_submodules_to_remove "${submodules_to_remove}" PARENT_SCOPE)
+ set(${out_var_prefix}_statuses "${statuses}" PARENT_SCOPE)
+endfunction()
diff --git a/cmake/QtIRProcessHelpers.cmake b/cmake/QtIRProcessHelpers.cmake
new file mode 100644
index 00000000..cddd2736
--- /dev/null
+++ b/cmake/QtIRProcessHelpers.cmake
@@ -0,0 +1,185 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# A low-level execute_process wrapper that can be used to execute a single command
+# while controlling the verbosity and error handling.
+function(qt_ir_execute_process)
+ set(options
+ QUIET
+ )
+ set(oneValueArgs
+ WORKING_DIRECTORY
+ OUT_RESULT_VAR
+ OUT_OUTPUT_VAR
+ OUT_ERROR_VAR
+ )
+ set(multiValueArgs
+ COMMAND_ARGS
+ EP_EXTRA_ARGS
+ )
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ if(NOT arg_COMMAND_ARGS)
+ message(FATAL_ERROR "Missing arguments to qt_ir_execute_process")
+ endif()
+
+ if(arg_WORKING_DIRECTORY)
+ set(working_dir_value "${arg_WORKING_DIRECTORY}")
+ else()
+ set(working_dir_value ".")
+ endif()
+ set(working_dir WORKING_DIRECTORY "${working_dir_value}")
+
+ set(result_variable "")
+ if(arg_OUT_RESULT_VAR)
+ set(result_variable RESULT_VARIABLE proc_result)
+ endif()
+
+ set(swallow_output "")
+ if(arg_OUT_OUTPUT_VAR OR arg_QUIET)
+ list(APPEND swallow_output OUTPUT_VARIABLE proc_output)
+ endif()
+ if(arg_OUT_ERROR_VAR OR arg_QUIET)
+ list(APPEND swallow_output ERROR_VARIABLE proc_error)
+ endif()
+ if(NOT arg_QUIET)
+ set(working_dir_message "")
+
+ qt_ir_is_verbose(verbose)
+ if(verbose)
+ set(working_dir_message " current working dir: ")
+ if(NOT working_dir_value STREQUAL ".")
+ string(APPEND working_dir_message "${working_dir_value}")
+ endif()
+ endif()
+
+ qt_ir_prettify_command_args(command_args_string "${arg_COMMAND_ARGS}")
+ message("+ ${command_args_string}${working_dir_message}")
+ endif()
+
+ qt_ir_unescape_semicolons(arg_COMMAND_ARGS "${arg_COMMAND_ARGS}")
+ execute_process(
+ COMMAND ${arg_COMMAND_ARGS}
+ ${working_dir}
+ ${result_variable}
+ ${swallow_output}
+ ${arg_EP_EXTRA_ARGS}
+ )
+
+ if(arg_OUT_RESULT_VAR)
+ set(${arg_OUT_RESULT_VAR} "${proc_result}" PARENT_SCOPE)
+ endif()
+ if(arg_OUT_OUTPUT_VAR)
+ set(${arg_OUT_OUTPUT_VAR} "${proc_output}" PARENT_SCOPE)
+ endif()
+ if(arg_OUT_ERROR_VAR)
+ set(${arg_OUT_ERROR_VAR} "${proc_error}" PARENT_SCOPE)
+ endif()
+endfunction()
+
+# Guards the escaped semicolon sequences with square brackets.
+function(qt_ir_escape_semicolons out_var input_string)
+ string(REPLACE "\;" "[[;]]" ${out_var} "${input_string}")
+ set(${out_var} "${${out_var}}" PARENT_SCOPE)
+endfunction()
+
+# Removes the square bracket guards around semicolons and escape them.
+function(qt_ir_unescape_semicolons out_var input_string)
+ string(REPLACE "[[;]]" "\;" ${out_var} "${input_string}")
+ set(${out_var} "${${out_var}}" PARENT_SCOPE)
+endfunction()
+
+# Converts the command line arguments to a nice bash runnable string
+function(qt_ir_prettify_command_args output args)
+ list(JOIN args " " ${output})
+ qt_ir_unescape_semicolons(${output} "${${output}}")
+ set(${output} "${${output}}" PARENT_SCOPE)
+endfunction()
+
+# A higher level execute_process wrapper that can be used to execute a single command
+# that is a bit more opinionated and expects options related to init-repository
+# functionality.
+# It handles queietness, error handling and logging.
+# It also allows for slightly more compact syntax for calling processes.
+function(qt_ir_execute_process_and_log_and_handle_error)
+ set(options
+ NO_HANDLE_ERROR
+ FORCE_VERBOSE
+ FORCE_QUIET
+ )
+ set(oneValueArgs
+ WORKING_DIRECTORY
+ OUT_RESULT_VAR
+ OUT_OUTPUT_VAR
+ OUT_ERROR_VAR
+ ERROR_MESSAGE
+ )
+ set(multiValueArgs
+ COMMAND_ARGS
+ EP_EXTRA_ARGS
+ )
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ qt_ir_get_option_value(quiet quiet)
+ set(quiet_option "")
+ if((quiet OR arg_FORCE_QUIET) AND NOT arg_FORCE_VERBOSE)
+ set(quiet_option "QUIET")
+ endif()
+
+ set(working_dir "")
+ if(arg_WORKING_DIRECTORY)
+ set(working_dir WORKING_DIRECTORY "${arg_WORKING_DIRECTORY}")
+ endif()
+
+ set(extra_args "")
+ if(arg_EP_EXTRA_ARGS)
+ set(extra_args EP_EXTRA_ARGS "${arg_EP_EXTRA_ARGS}")
+ endif()
+
+ set(out_output_var "")
+ if(arg_OUT_OUTPUT_VAR OR quiet)
+ set(out_output_var OUT_OUTPUT_VAR proc_output)
+ endif()
+
+ set(out_error_var "")
+ if(arg_OUT_ERROR_VAR OR quiet)
+ set(out_error_var OUT_ERROR_VAR proc_error)
+ endif()
+
+ qt_ir_execute_process(
+ ${quiet_option}
+ COMMAND_ARGS ${arg_COMMAND_ARGS}
+ OUT_RESULT_VAR proc_result
+ ${extra_args}
+ ${working_dir}
+ ${out_output_var}
+ ${out_error_var}
+ )
+
+ if(NOT proc_result EQUAL 0 AND NOT arg_NO_HANDLE_ERROR)
+ set(error_message "")
+ if(arg_ERROR_MESSAGE)
+ set(error_message "${arg_ERROR_MESSAGE}\n")
+ endif()
+
+ qt_ir_prettify_command_args(cmd "${arg_COMMAND_ARGS}")
+ string(APPEND error_message "${cmd} exited with status: ${proc_result}\n")
+ if(proc_output)
+ string(APPEND error_message "stdout: ${proc_output}\n")
+ endif()
+ if(proc_error)
+ string(APPEND error_message "stderr: ${proc_error}\n")
+ endif()
+ message(FATAL_ERROR "${error_message}")
+ endif()
+
+ if(arg_OUT_RESULT_VAR)
+ set(${arg_OUT_RESULT_VAR} "${proc_result}" PARENT_SCOPE)
+ endif()
+ if(arg_OUT_OUTPUT_VAR)
+ set(${arg_OUT_OUTPUT_VAR} "${proc_output}" PARENT_SCOPE)
+ endif()
+ if(arg_OUT_ERROR_VAR)
+ set(${arg_OUT_ERROR_VAR} "${proc_error}" PARENT_SCOPE)
+ endif()
+endfunction()
diff --git a/cmake/QtIRScript.cmake b/cmake/QtIRScript.cmake
new file mode 100644
index 00000000..fc5ffba9
--- /dev/null
+++ b/cmake/QtIRScript.cmake
@@ -0,0 +1,17 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+cmake_minimum_required(VERSION 3.16)
+
+# Sets up the include paths for all the helpers init-repository uses.
+macro(qt_ir_setup_include_paths)
+ list(APPEND CMAKE_MODULE_PATH
+ "${CMAKE_CURRENT_LIST_DIR}"
+ "${CMAKE_CURRENT_LIST_DIR}/3rdparty/cmake"
+ )
+ include(QtIRHelpers)
+endmacro()
+
+qt_ir_setup_include_paths()
+qt_ir_include_all_helpers()
+qt_ir_run_main_script("${CMAKE_CURRENT_SOURCE_DIR}" exit_reason)
diff --git a/cmake/QtSortModuleDependencies.cmake b/cmake/QtSortModuleDependencies.cmake
new file mode 100644
index 00000000..2f8cdb59
--- /dev/null
+++ b/cmake/QtSortModuleDependencies.cmake
@@ -0,0 +1,16 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# The script produces the list of qt submodules that are required to build the submodules listed
+# in the QT_BUILD_SUBMODULES variable. The resulting list preserves the required build order.
+# Usage:
+# cmake [-DQT_BUILD_SUBMODULES="<repo;..>"] [-BUILD_<repo>=<TRUE|FALSE>] \
+# -P <path/to>/qt6/cmake/QtSortModuleDependencies.cmake
+cmake_minimum_required(VERSION 3.16)
+
+include(${CMAKE_CURRENT_LIST_DIR}/QtTopLevelHelpers.cmake)
+
+qt_internal_collect_modules_only(result "${QT_BUILD_SUBMODULES}")
+
+list(JOIN result " " result)
+message("${result}")
diff --git a/cmake/QtSynchronizeRepo.cmake b/cmake/QtSynchronizeRepo.cmake
index b56ac2c2..eabd5c7c 100644
--- a/cmake/QtSynchronizeRepo.cmake
+++ b/cmake/QtSynchronizeRepo.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
# This script is to be called (ideally from a git-sync-to alias script):
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -P cmake/QtSynchronizeRepo.cmake
# Or as follows (ideally from a git-qt-foreach alias script):
diff --git a/cmake/QtTopLevelConfigureScript.cmake b/cmake/QtTopLevelConfigureScript.cmake
new file mode 100644
index 00000000..304bf7b7
--- /dev/null
+++ b/cmake/QtTopLevelConfigureScript.cmake
@@ -0,0 +1,17 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+cmake_minimum_required(VERSION 3.16)
+
+# Sets up the include paths for all the helpers configure uses.
+macro(qt_tl_setup_include_paths)
+ list(APPEND CMAKE_MODULE_PATH
+ "${CMAKE_CURRENT_LIST_DIR}"
+ "${CMAKE_CURRENT_LIST_DIR}/3rdparty/cmake"
+ )
+ include(QtTopLevelHelpers)
+endmacro()
+
+qt_tl_setup_include_paths()
+qt_tl_include_all_helpers()
+qt_tl_run_main_script()
diff --git a/cmake/QtTopLevelHelpers.cmake b/cmake/QtTopLevelHelpers.cmake
index abce0eeb..7fe21e4f 100644
--- a/cmake/QtTopLevelHelpers.cmake
+++ b/cmake/QtTopLevelHelpers.cmake
@@ -1,3 +1,62 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+macro(qt_tl_include_all_helpers)
+ include(QtIRHelpers)
+ qt_ir_include_all_helpers()
+endmacro()
+
+function(qt_tl_run_toplevel_configure top_level_src_path)
+ cmake_parse_arguments(arg "ALREADY_INITIALIZED" "" "" ${ARGV})
+
+ qt_ir_get_cmake_flag(ALREADY_INITIALIZED arg_ALREADY_INITIALIZED)
+
+ # Filter out init-repository specific arguments before passing them to
+ # configure.
+ qt_ir_get_args_from_optfile_configure_filtered("${OPTFILE}" configure_args
+ ${arg_ALREADY_INITIALIZED})
+ # Get the path to the qtbase configure script.
+ set(qtbase_dir_name "qtbase")
+ set(configure_path "${top_level_src_path}/${qtbase_dir_name}/configure")
+ if(CMAKE_HOST_WIN32)
+ string(APPEND configure_path ".bat")
+ endif()
+
+ if(NOT EXISTS "${configure_path}")
+ message(FATAL_ERROR
+ "The required qtbase/configure script was not found: ${configure_path}\n"
+ "Try re-running configure with --init-submodules")
+ endif()
+
+ # Make a build directory for qtbase in the current build directory.
+ set(qtbase_build_dir "${CMAKE_CURRENT_BINARY_DIR}/${qtbase_dir_name}")
+ file(MAKE_DIRECTORY "${qtbase_build_dir}")
+
+ qt_ir_execute_process_and_log_and_handle_error(
+ COMMAND_ARGS "${configure_path}" -top-level ${configure_args}
+ WORKING_DIRECTORY "${qtbase_build_dir}"
+ FORCE_VERBOSE
+ )
+endfunction()
+
+function(qt_tl_run_main_script)
+ if(NOT TOP_LEVEL_SRC_PATH)
+ message(FATAL_ERROR "Assertion: configure TOP_LEVEL_SRC_PATH is not set")
+ endif()
+
+ # Tell init-repository it is called from configure.
+ qt_ir_set_option_value(from-configure TRUE)
+
+ # Run init-repository in-process.
+ qt_ir_run_main_script("${TOP_LEVEL_SRC_PATH}" exit_reason)
+ if(exit_reason AND NOT exit_reason STREQUAL "ALREADY_INITIALIZED")
+ return()
+ endif()
+
+ # Then run configure out-of-process.
+ qt_tl_run_toplevel_configure("${TOP_LEVEL_SRC_PATH}" ${exit_reason})
+endfunction()
+
# Populates $out_module_list with all subdirectories that have a CMakeLists.txt file
function(qt_internal_find_modules out_module_list)
set(module_list "")
@@ -15,7 +74,7 @@ endfunction()
# poor man's yaml parser, populating $out_dependencies with all dependencies
# in the $depends_file
# Each entry will be in the format dependency/sha1/required
-function(qt_internal_parse_dependencies depends_file out_dependencies)
+function(qt_internal_parse_dependencies_yaml depends_file out_dependencies)
file(STRINGS "${depends_file}" lines)
set(eof_marker "---EOF---")
list(APPEND lines "${eof_marker}")
@@ -48,7 +107,7 @@ function(qt_internal_parse_dependencies depends_file out_dependencies)
endif()
endforeach()
message(DEBUG
- "qt_internal_parse_dependencies for ${depends_file}\n dependencies: ${dependencies}")
+ "qt_internal_parse_dependencies_yaml for ${depends_file}\n dependencies: ${dependencies}")
set(${out_dependencies} "${dependencies}" PARENT_SCOPE)
endfunction()
@@ -99,8 +158,22 @@ endfunction()
# Keyword arguments:
#
# PARSED_DEPENDENCIES is a list of dependencies of module in the format that
-# qt_internal_parse_dependencies returns. If this argument is not provided, dependencies.yaml of the
-# module is parsed.
+# qt_internal_parse_dependencies_yaml returns.
+# If this argument is not provided, either a module's dependencies.yaml or .gitmodules file is
+# used as the source of dependencies, depending on whether PARSE_GITMODULES option is enabled.
+#
+# PARSE_GITMODULES is a boolean that controls whether the .gitmodules or the dependencies.yaml
+# file of the repo are used for extracting dependencies. Defaults to FALSE, so uses
+# dependencies.yaml by default.
+#
+# EXCLUDE_OPTIONAL_DEPS is a boolean that controls whether optional dependencies are excluded from
+# the final result.
+#
+# GITMODULES_PREFIX_VAR is the prefix of all the variables containing dependencies for the
+# PARSE_GITMODULES mode.
+# The function expects the following variables to be set in the parent scope
+# ${arg_GITMODULES_PREFIX_VAR}_${submodule_name}_depends
+# ${arg_GITMODULES_PREFIX_VAR}_${submodule_name}_recommends
#
# IN_RECURSION is an internal option that is set when the function is in recursion.
#
@@ -111,10 +184,13 @@ endfunction()
#
# NORMALIZE_REPO_NAME_IF_NEEDED Will remove 'tqtc-' from the beginning of submodule dependencies
# if a tqtc- named directory does not exist.
+#
+# SKIP_MODULES Modules that should be skipped from evaluation completely.
function(qt_internal_resolve_module_dependencies module out_ordered out_revisions)
- set(options IN_RECURSION NORMALIZE_REPO_NAME_IF_NEEDED)
- set(oneValueArgs REVISION SKIPPED_VAR)
- set(multiValueArgs PARSED_DEPENDENCIES)
+ set(options IN_RECURSION NORMALIZE_REPO_NAME_IF_NEEDED PARSE_GITMODULES
+ EXCLUDE_OPTIONAL_DEPS)
+ set(oneValueArgs REVISION SKIPPED_VAR GITMODULES_PREFIX_VAR)
+ set(multiValueArgs PARSED_DEPENDENCIES SKIP_MODULES)
cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
# Clear the property that stores the repositories we've already seen.
@@ -122,10 +198,10 @@ function(qt_internal_resolve_module_dependencies module out_ordered out_revision
set_property(GLOBAL PROPERTY _qt_internal_seen_repos)
endif()
- # Bail out if we've seen the module already.
+ # Bail out if we've seen the module already or it was skipped explicitly from command line.
qt_internal_resolve_module_dependencies_set_skipped(FALSE)
get_property(seen GLOBAL PROPERTY _qt_internal_seen_repos)
- if(module IN_LIST seen)
+ if(module IN_LIST seen OR module IN_LIST arg_SKIP_MODULES)
qt_internal_resolve_module_dependencies_set_skipped(TRUE)
return()
endif()
@@ -141,10 +217,42 @@ function(qt_internal_resolve_module_dependencies module out_ordered out_revision
if(DEFINED arg_PARSED_DEPENDENCIES)
set(dependencies "${arg_PARSED_DEPENDENCIES}")
else()
- set(depends_file "${CMAKE_CURRENT_SOURCE_DIR}/${module}/dependencies.yaml")
set(dependencies "")
- if(EXISTS "${depends_file}")
- qt_internal_parse_dependencies("${depends_file}" dependencies)
+
+ if(NOT arg_PARSE_GITMODULES)
+ set(depends_file "${CMAKE_CURRENT_SOURCE_DIR}/${module}/dependencies.yaml")
+ if(EXISTS "${depends_file}")
+ qt_internal_parse_dependencies_yaml("${depends_file}" dependencies)
+
+ if(arg_EXCLUDE_OPTIONAL_DEPS)
+ set(filtered_dependencies "")
+ foreach(dependency IN LISTS dependencies)
+ string(REPLACE "/" ";" dependency_split "${dependency}")
+ list(GET dependency_split 2 required)
+ if(required)
+ list(APPEND filtered_dependencies "${dependency}")
+ endif()
+ endforeach()
+ set(dependencies "${filtered_dependencies}")
+ endif()
+ endif()
+ else()
+ set(depends "${${arg_GITMODULES_PREFIX_VAR}_${dependency}_depends}")
+ foreach(dependency IN LISTS depends)
+ if(dependency)
+ # The HEAD value is not really used, but we need to add something.
+ list(APPEND dependencies "${dependency}/HEAD/TRUE")
+ endif()
+ endforeach()
+
+ set(recommends "${${arg_GITMODULES_PREFIX_VAR}_${dependency}_recommends}")
+ if(NOT arg_EXCLUDE_OPTIONAL_DEPS)
+ foreach(dependency IN LISTS recommends)
+ if(dependency)
+ list(APPEND dependencies "${dependency}/HEAD/FALSE")
+ endif()
+ endforeach()
+ endif()
endif()
endif()
@@ -171,11 +279,30 @@ function(qt_internal_resolve_module_dependencies module out_ordered out_revision
set_property(GLOBAL APPEND PROPERTY QT_REQUIRED_DEPS_FOR_${module} ${dependency})
endif()
+ set(parse_gitmodules "")
+ if(arg_PARSE_GITMODULES)
+ set(parse_gitmodules "PARSE_GITMODULES")
+ endif()
+
+ set(exclude_optional_deps "")
+ if(arg_EXCLUDE_OPTIONAL_DEPS)
+ set(exclude_optional_deps "EXCLUDE_OPTIONAL_DEPS")
+ endif()
+
+ set(extra_options "")
+ if(arg_SKIP_MODULES)
+ list(APPEND extra_options SKIP_MODULES ${arg_SKIP_MODULES})
+ endif()
+
qt_internal_resolve_module_dependencies(${dependency} dep_ordered dep_revisions
REVISION "${revision}"
SKIPPED_VAR skipped
IN_RECURSION
${normalize_arg}
+ ${parse_gitmodules}
+ ${exclude_optional_deps}
+ GITMODULES_PREFIX_VAR ${arg_GITMODULES_PREFIX_VAR}
+ ${extra_options}
)
if(NOT skipped)
list(APPEND ordered ${dep_ordered})
@@ -197,20 +324,49 @@ endfunction()
# Arguments:
# modules is the initial list of repos.
# out_all_ordered is the variable name where the result is stored.
+# PARSE_GITMODULES and GITMODULES_PREFIX_VAR are keyowrd arguments that change the
+# source of dependencies parsing from dependencies.yaml to .gitmodules.
+# EXCLUDE_OPTIONAL_DEPS is a keyword argument that excludes optional dependencies from the result.
+# See qt_internal_resolve_module_dependencies for details.
+#
+# SKIP_MODULES Modules that should be skipped from evaluation completely.
#
# See qt_internal_resolve_module_dependencies for side effects.
function(qt_internal_sort_module_dependencies modules out_all_ordered)
+ set(options PARSE_GITMODULES EXCLUDE_OPTIONAL_DEPS)
+ set(oneValueArgs GITMODULES_PREFIX_VAR)
+ set(multiValueArgs SKIP_MODULES)
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ set(parse_gitmodules "")
+ if(arg_PARSE_GITMODULES)
+ set(parse_gitmodules "PARSE_GITMODULES")
+ endif()
+
+ set(exclude_optional_deps "")
+ if(arg_EXCLUDE_OPTIONAL_DEPS)
+ set(exclude_optional_deps "EXCLUDE_OPTIONAL_DEPS")
+ endif()
# Create a fake repository "all_selected_repos" that has all repositories from the input as
- # required dependency. The format must match what qt_internal_parse_dependencies produces.
+ # required dependency. The format must match what qt_internal_parse_dependencies_yaml produces.
set(all_selected_repos_as_parsed_dependencies)
foreach(module IN LISTS modules)
list(APPEND all_selected_repos_as_parsed_dependencies "${module}/HEAD/FALSE")
endforeach()
+ set(extra_args "")
+ if(arg_SKIP_MODULES)
+ set(extra_args SKIP_MODULES ${arg_SKIP_MODULES})
+ endif()
+
qt_internal_resolve_module_dependencies(all_selected_repos ordered unused_revisions
PARSED_DEPENDENCIES ${all_selected_repos_as_parsed_dependencies}
NORMALIZE_REPO_NAME_IF_NEEDED
+ ${exclude_optional_deps}
+ ${parse_gitmodules}
+ GITMODULES_PREFIX_VAR ${arg_GITMODULES_PREFIX_VAR}
+ ${extra_args}
)
# Drop "all_selected_repos" from the output. It depends on all selected repos, thus it must be
@@ -505,3 +661,41 @@ function(qt_internal_foreach_repo_run)
)
message("Successes: ${count_success}")
endfunction()
+
+# The function collects repos and dependencies that are required to build
+# repos listed in ARGN. If the BUILD_<repo> is defined the 'repo' will be
+# excluded from the list.
+function(qt_internal_collect_modules_only out_repos)
+ set(initial_modules "${ARGN}")
+ get_filename_component(qt5_repo_dir "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE)
+
+ # Overriding CMAKE_CURRENT_SOURCE_DIR is ugly but works
+ set(CMAKE_CURRENT_SOURCE_DIR "${qt5_repo_dir}")
+ if(NOT initial_modules)
+ qt_internal_find_modules(initial_modules)
+ endif()
+
+ qt_internal_sort_module_dependencies("${initial_modules}" ${out_repos})
+ foreach(module IN LISTS ${out_repos})
+ # Check for unmet dependencies
+ if(DEFINED BUILD_${module} AND NOT BUILD_${module})
+ list(REMOVE_ITEM ${out_repos} ${module})
+ continue()
+ endif()
+ get_property(required_deps GLOBAL PROPERTY QT_REQUIRED_DEPS_FOR_${module})
+ get_property(dependencies GLOBAL PROPERTY QT_DEPS_FOR_${module})
+ foreach(dep IN LISTS dependencies)
+ set(required FALSE)
+ if(dep IN_LIST required_deps)
+ set(required TRUE)
+ endif()
+ if(required AND DEFINED BUILD_${dep} AND NOT BUILD_${dep})
+ set(BUILD_${module} FALSE)
+ list(REMOVE_ITEM ${out_repos} ${module})
+ break()
+ endif()
+ endforeach()
+ endforeach()
+
+ set(${out_repos} "${${out_repos}}" PARENT_SCOPE)
+endfunction()
diff --git a/cmake/QtWriteArgsFile.cmake b/cmake/QtWriteArgsFile.cmake
new file mode 100644
index 00000000..336f8550
--- /dev/null
+++ b/cmake/QtWriteArgsFile.cmake
@@ -0,0 +1,92 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+# This script writes its arguments to the file determined by OUT_FILE.
+# Each argument appears on a separate line.
+# This is used for writing the init-repository.opt file.
+#
+# This script takes the following arguments:
+# IN_FILE: The input file. The whole command line as one string, or one argument per line.
+# REDO_FILE: A file containing extra commands to be joined with IN_FILE.
+# OUT_FILE: The output file. One argument per line.
+# SKIP_ARGS: Number of arguments to skip from the front of the arguments list.
+# IGNORE_ARGS: List of arguments to be ignored, i.e. that are not written.
+#
+# If the REDO_FILE is given, its parameters will be merged with IN_FILE parameters
+# and be written into the OUT_FILE.
+
+cmake_minimum_required(VERSION 3.16)
+
+# Read arguments from IN_FILE and separate them.
+file(READ "${IN_FILE}" raw_args)
+# To catch cases where the path ends with an `\`, e.g., `-prefix "C:\Path\"`
+string(REPLACE "\\\"" "\"" raw_args "${raw_args}")
+string(REPLACE ";" "[[;]]" raw_args "${raw_args}")
+
+separate_arguments(args NATIVE_COMMAND "${raw_args}")
+
+string(REPLACE "\;" ";" args "${args}")
+string(REPLACE "[[;]]" "\;" args "${args}")
+
+if(DEFINED REDO_FILE)
+ file(READ "${REDO_FILE}" raw_redo_args)
+ separate_arguments(redo_args NATIVE_COMMAND "${raw_redo_args}")
+
+ if(args)
+ list(FIND args "--" args_ddash_loc)
+ list(FIND redo_args "--" redo_ddash_loc)
+ if("${redo_ddash_loc}" STREQUAL "-1")
+ if("${args_ddash_loc}" STREQUAL "-1")
+ list(LENGTH args args_ddash_loc)
+ endif()
+ # Avoid adding an empty line for an empty -redo
+ if(NOT "${redo_args}" STREQUAL "")
+ list(INSERT args ${args_ddash_loc} "${redo_args}")
+ endif()
+ else()
+ # Handling redo's configure options
+ list(SUBLIST redo_args 0 ${redo_ddash_loc} redo_config_args)
+ if(redo_config_args)
+ if("${args_ddash_loc}" STREQUAL "-1")
+ list(APPEND args "${redo_config_args}")
+ else()
+ list(INSERT args ${args_ddash_loc} "${redo_config_args}")
+ endif()
+ endif()
+
+ # Handling redo's CMake options
+ list(LENGTH redo_args redo_args_len)
+ math(EXPR redo_ddash_loc "${redo_ddash_loc} + 1")
+ # Catch an unlikely case of -redo being called with an empty --, ie., `-redo --`
+ if(NOT ${redo_ddash_loc} STREQUAL ${redo_args_len})
+ list(SUBLIST redo_args ${redo_ddash_loc} -1 redo_cmake_args)
+ endif()
+
+ if(DEFINED redo_cmake_args)
+ if("${args_ddash_loc}" STREQUAL "-1")
+ list(APPEND args "--")
+ endif()
+ list(APPEND args "${redo_cmake_args}")
+ endif()
+ endif()
+ else()
+ list(APPEND args "${redo_args}")
+ endif()
+endif()
+
+# Skip arguments if requested
+if(DEFINED SKIP_ARGS)
+ foreach(i RANGE 1 ${SKIP_ARGS})
+ list(POP_FRONT args)
+ endforeach()
+endif()
+
+# Write config.opt
+set(content "")
+foreach(arg IN LISTS args)
+ if(NOT arg IN_LIST IGNORE_ARGS)
+ string(APPEND content "${arg}\n")
+ endif()
+endforeach()
+
+file(WRITE "${OUT_FILE}" "${content}")
diff --git a/coin/conan/profiles/baseprofiles/android-arm64-clang b/coin/conan/profiles/baseprofiles/android-arm64-clang
deleted file mode 100644
index ab7f0155..00000000
--- a/coin/conan/profiles/baseprofiles/android-arm64-clang
+++ /dev/null
@@ -1,10 +0,0 @@
-[settings]
- os=Android
- os.api_level=8
- arch=armv8
- compiler=clang
- compiler.version=11
- compiler.libcxx=c++_shared
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/android-armv7-clang b/coin/conan/profiles/baseprofiles/android-armv7-clang
deleted file mode 100644
index 2512d2e3..00000000
--- a/coin/conan/profiles/baseprofiles/android-armv7-clang
+++ /dev/null
@@ -1,10 +0,0 @@
-[settings]
- os=Android
- os.api_level=8
- arch=armv7
- compiler=clang
- compiler.version=11
- compiler.libcxx=c++_shared
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/android-x86-clang b/coin/conan/profiles/baseprofiles/android-x86-clang
deleted file mode 100644
index 765dea62..00000000
--- a/coin/conan/profiles/baseprofiles/android-x86-clang
+++ /dev/null
@@ -1,10 +0,0 @@
-[settings]
- os=Android
- os.api_level=8
- arch=x86
- compiler=clang
- compiler.version=11
- compiler.libcxx=c++_shared
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/android-x86_64-clang b/coin/conan/profiles/baseprofiles/android-x86_64-clang
deleted file mode 100644
index a750ab01..00000000
--- a/coin/conan/profiles/baseprofiles/android-x86_64-clang
+++ /dev/null
@@ -1,10 +0,0 @@
-[settings]
- os=Android
- os.api_level=8
- arch=x86_64
- compiler=clang
- compiler.version=11
- compiler.libcxx=c++_shared
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/linux-webassembly-x86_64-clang b/coin/conan/profiles/baseprofiles/linux-webassembly-x86_64-clang
deleted file mode 100644
index 5b6edb6d..00000000
--- a/coin/conan/profiles/baseprofiles/linux-webassembly-x86_64-clang
+++ /dev/null
@@ -1,9 +0,0 @@
-[settings]
- os=Emscripten
- arch=wasm
- compiler=clang
- compiler.version=10
- compiler.libcxx=libstdc++
- build_type=Release
-[options]
-*:shared=False
diff --git a/coin/conan/profiles/baseprofiles/linux-x86_64-gcc b/coin/conan/profiles/baseprofiles/linux-x86_64-gcc
deleted file mode 100644
index 65bc7a7e..00000000
--- a/coin/conan/profiles/baseprofiles/linux-x86_64-gcc
+++ /dev/null
@@ -1,9 +0,0 @@
-[settings]
- os=Linux
- arch=x86_64
- compiler=gcc
- compiler.version=9.3
- compiler.libcxx=libstdc++11
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/linux-x86_64-gcc-debug-developer b/coin/conan/profiles/baseprofiles/linux-x86_64-gcc-debug-developer
deleted file mode 100644
index 7b023dbd..00000000
--- a/coin/conan/profiles/baseprofiles/linux-x86_64-gcc-debug-developer
+++ /dev/null
@@ -1,9 +0,0 @@
-[settings]
- os=Linux
- arch=x86_64
- compiler=gcc
- compiler.version=9.3
- compiler.libcxx=libstdc++11
- build_type=Debug
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/macos-ios-arm64-clang b/coin/conan/profiles/baseprofiles/macos-ios-arm64-clang
deleted file mode 100644
index 99f44206..00000000
--- a/coin/conan/profiles/baseprofiles/macos-ios-arm64-clang
+++ /dev/null
@@ -1,10 +0,0 @@
-[settings]
- os=iOS
- os.version=13.0
- arch=armv8
- compiler=apple-clang
- compiler.version=11.0
- compiler.libcxx=libc++
- build_type=Release
-[options]
-*:shared=False
diff --git a/coin/conan/profiles/baseprofiles/macos-universal-clang b/coin/conan/profiles/baseprofiles/macos-universal-clang
deleted file mode 100644
index dbcb4ca2..00000000
--- a/coin/conan/profiles/baseprofiles/macos-universal-clang
+++ /dev/null
@@ -1,10 +0,0 @@
-[settings]
- os=Macos
- os.version=11.0
- arch=x86_64
- compiler=apple-clang
- compiler.version=12.0
- compiler.libcxx=libc++
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/macos-webassembly-x86_64-clang b/coin/conan/profiles/baseprofiles/macos-webassembly-x86_64-clang
deleted file mode 100644
index 5b6edb6d..00000000
--- a/coin/conan/profiles/baseprofiles/macos-webassembly-x86_64-clang
+++ /dev/null
@@ -1,9 +0,0 @@
-[settings]
- os=Emscripten
- arch=wasm
- compiler=clang
- compiler.version=10
- compiler.libcxx=libstdc++
- build_type=Release
-[options]
-*:shared=False
diff --git a/coin/conan/profiles/baseprofiles/windows-arm64-msvc2019_64 b/coin/conan/profiles/baseprofiles/windows-arm64-msvc2019_64
deleted file mode 100644
index 3b02d2ec..00000000
--- a/coin/conan/profiles/baseprofiles/windows-arm64-msvc2019_64
+++ /dev/null
@@ -1,11 +0,0 @@
-[settings]
- os=Windows
- arch=armv8
- compiler=msvc
- compiler.version=19.28
- compiler.cppstd=17
- compiler.runtime=dynamic
- compiler.runtime_type=Release
- build_type=Release
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/windows-webassembly-x86_64-clang b/coin/conan/profiles/baseprofiles/windows-webassembly-x86_64-clang
deleted file mode 100644
index 34670885..00000000
--- a/coin/conan/profiles/baseprofiles/windows-webassembly-x86_64-clang
+++ /dev/null
@@ -1,9 +0,0 @@
-[settings]
- os=Emscripten
- arch=wasm
- compiler=clang
- compiler.version=10
- compiler.libcxx=libstdc++
- build_type=RelWithDebInfo
-[options]
-*:shared=False
diff --git a/coin/conan/profiles/baseprofiles/windows-x86_64-mingw b/coin/conan/profiles/baseprofiles/windows-x86_64-mingw
deleted file mode 100644
index 0e416548..00000000
--- a/coin/conan/profiles/baseprofiles/windows-x86_64-mingw
+++ /dev/null
@@ -1,9 +0,0 @@
-[settings]
- os=Windows
- arch=x86_64
- compiler=gcc
- compiler.version=11
- compiler.libcxx=libstdc++
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64 b/coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64
deleted file mode 100644
index 541b5ffc..00000000
--- a/coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64
+++ /dev/null
@@ -1,11 +0,0 @@
-[settings]
- os=Windows
- arch=x86_64
- compiler=msvc
- compiler.version=19.28
- compiler.cppstd=17
- compiler.runtime=dynamic
- compiler.runtime_type=Release
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64-developer b/coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64-developer
deleted file mode 100644
index 541b5ffc..00000000
--- a/coin/conan/profiles/baseprofiles/windows-x86_64-msvc2019_64-developer
+++ /dev/null
@@ -1,11 +0,0 @@
-[settings]
- os=Windows
- arch=x86_64
- compiler=msvc
- compiler.version=19.28
- compiler.cppstd=17
- compiler.runtime=dynamic
- compiler.runtime_type=Release
- build_type=RelWithDebInfo
-[options]
-*:shared=True
diff --git a/coin/conan/profiles/ci-linux-webassembly-x86_64-clang b/coin/conan/profiles/ci-linux-webassembly-x86_64-clang
deleted file mode 100644
index fd882af5..00000000
--- a/coin/conan/profiles/ci-linux-webassembly-x86_64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./linux-webassembly-x86_64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-linux-x86_64-gcc b/coin/conan/profiles/ci-linux-x86_64-gcc
deleted file mode 100644
index aad823d4..00000000
--- a/coin/conan/profiles/ci-linux-x86_64-gcc
+++ /dev/null
@@ -1,6 +0,0 @@
-include(./linux-x86_64-gcc)
-
-[options]
-qtbase:headersclean=True
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOpenGL_GL_PREFERENCE=LEGACY -DFEATURE_system_harfbuzz=OFF -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer b/coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer
deleted file mode 100644
index 759fa629..00000000
--- a/coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./linux-x86_64-gcc-debug-developer)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-macos-ios-arm64-clang b/coin/conan/profiles/ci-macos-ios-arm64-clang
deleted file mode 100644
index 5e2848c9..00000000
--- a/coin/conan/profiles/ci-macos-ios-arm64-clang
+++ /dev/null
@@ -1 +0,0 @@
-include(./macos-ios-arm64-clang)
diff --git a/coin/conan/profiles/ci-macos-universal-clang b/coin/conan/profiles/ci-macos-universal-clang
deleted file mode 100644
index a08572ae..00000000
--- a/coin/conan/profiles/ci-macos-universal-clang
+++ /dev/null
@@ -1,6 +0,0 @@
-include(./macos-universal-clang)
-
-[options]
-qtbase:headersclean=True
-qtbase:cmake_args_qtbase='-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT=$POSTGRESQLBINPATH/..'
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-macos-webassembly-x86_64-clang b/coin/conan/profiles/ci-macos-webassembly-x86_64-clang
deleted file mode 100644
index ad273d36..00000000
--- a/coin/conan/profiles/ci-macos-webassembly-x86_64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./macos-webassembly-x86_64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-unix-android-arm64-clang b/coin/conan/profiles/ci-unix-android-arm64-clang
deleted file mode 100644
index afd47468..00000000
--- a/coin/conan/profiles/ci-unix-android-arm64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-arm64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-unix-android-armv7-clang b/coin/conan/profiles/ci-unix-android-armv7-clang
deleted file mode 100644
index e8b892de..00000000
--- a/coin/conan/profiles/ci-unix-android-armv7-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-armv7-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-unix-android-x86-clang b/coin/conan/profiles/ci-unix-android-x86-clang
deleted file mode 100644
index f37d6a29..00000000
--- a/coin/conan/profiles/ci-unix-android-x86-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-x86-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-unix-android-x86_64-clang b/coin/conan/profiles/ci-unix-android-x86_64-clang
deleted file mode 100644
index 39201c75..00000000
--- a/coin/conan/profiles/ci-unix-android-x86_64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-x86_64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-android-arm64-clang b/coin/conan/profiles/ci-windows-android-arm64-clang
deleted file mode 100644
index 754d500c..00000000
--- a/coin/conan/profiles/ci-windows-android-arm64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-arm64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-android-armv7-clang b/coin/conan/profiles/ci-windows-android-armv7-clang
deleted file mode 100644
index a99e30da..00000000
--- a/coin/conan/profiles/ci-windows-android-armv7-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-armv7-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-android-x86-clang b/coin/conan/profiles/ci-windows-android-x86-clang
deleted file mode 100644
index 8d32a6ae..00000000
--- a/coin/conan/profiles/ci-windows-android-x86-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-x86-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-android-x86_64-clang b/coin/conan/profiles/ci-windows-android-x86_64-clang
deleted file mode 100644
index 714509eb..00000000
--- a/coin/conan/profiles/ci-windows-android-x86_64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./android-x86_64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-arm64-msvc2019_64 b/coin/conan/profiles/ci-windows-arm64-msvc2019_64
deleted file mode 100644
index cdc2a414..00000000
--- a/coin/conan/profiles/ci-windows-arm64-msvc2019_64
+++ /dev/null
@@ -1,4 +0,0 @@
-include(./windows-arm64-msvc2019_64)
-
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DQT_QMAKE_TARGET_MKSPEC=win32-arm64-msvc -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_msvc_obj_debug_info=ON"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-webassembly-x86_64-clang b/coin/conan/profiles/ci-windows-webassembly-x86_64-clang
deleted file mode 100644
index 96020590..00000000
--- a/coin/conan/profiles/ci-windows-webassembly-x86_64-clang
+++ /dev/null
@@ -1,5 +0,0 @@
-include(./windows-webassembly-x86_64-clang)
-
-[options]
-qtbase:cmake_args_qtbase="-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DFEATURE_pkg_config=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
diff --git a/coin/conan/profiles/ci-windows-x86_64-mingw b/coin/conan/profiles/ci-windows-x86_64-mingw
deleted file mode 100644
index 931d5413..00000000
--- a/coin/conan/profiles/ci-windows-x86_64-mingw
+++ /dev/null
@@ -1,6 +0,0 @@
-include(./windows-x86_64-mingw)
-
-[options]
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR=%OPENSSL_INCLUDE_x64%\.. -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DPostgreSQL_ROOT=%POSTGRESQL_LIB_x64%\.."
-*:cmake_args_leaf_module="-DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-
diff --git a/coin/conan/profiles/ci-windows-x86_64-msvc2019_64 b/coin/conan/profiles/ci-windows-x86_64-msvc2019_64
deleted file mode 100644
index 2797fe58..00000000
--- a/coin/conan/profiles/ci-windows-x86_64-msvc2019_64
+++ /dev/null
@@ -1,7 +0,0 @@
-include(./windows-x86_64-msvc2019_64)
-
-[options]
-qtbase:headersclean=True
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR=%OPENSSL_INCLUDE_x64%\.. -DPostgreSQL_ROOT=%POSTGRESQL_LIB_x64%\.. -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-
diff --git a/coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer b/coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer
deleted file mode 100644
index 0427e86e..00000000
--- a/coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer
+++ /dev/null
@@ -1,7 +0,0 @@
-include(./windows-x86_64-msvc2019_64-developer)
-
-[options]
-qtbase:headersclean=True
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR=%OPENSSL_INCLUDE_x64%\.. -DFEATURE_system_zlib=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-*:cmake_args_leaf_module="-DFEATURE_system_zlib=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
-
diff --git a/coin/conan/profiles/linux-webassembly-x86_64-clang b/coin/conan/profiles/linux-webassembly-x86_64-clang
deleted file mode 100644
index dc8279bb..00000000
--- a/coin/conan/profiles/linux-webassembly-x86_64-clang
+++ /dev/null
@@ -1,11 +0,0 @@
-include(baseprofiles/linux-webassembly-x86_64-clang)
-
-[options]
-qtbase:release=True
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:nomake=examples;tests
-qtbase:cmake_args_qtbase="-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/linux-x86_64-gcc b/coin/conan/profiles/linux-x86_64-gcc
deleted file mode 100644
index 7f6b20ff..00000000
--- a/coin/conan/profiles/linux-x86_64-gcc
+++ /dev/null
@@ -1,19 +0,0 @@
-include(baseprofiles/linux-x86_64-gcc)
-
-[options]
-qtbase:release=True
-qtbase:nomake=tests;examples
-qtbase:separate_debug_info=True
-qtbase:force_debug_info=True
-qtbase:bundled_xcb_xinput=True
-qtbase:libudev=False
-qtbase:doubleconversion=qt
-qtbase:pcre=qt
-qtbase:libjpeg=qt
-qtbase:libpng=qt
-qtbase:icu=True
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOpenGL_GL_PREFERENCE=LEGACY -DFEATURE_system_harfbuzz=OFF"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/linux-x86_64-gcc-debug-developer b/coin/conan/profiles/linux-x86_64-gcc-debug-developer
deleted file mode 100644
index a1b9c10e..00000000
--- a/coin/conan/profiles/linux-x86_64-gcc-debug-developer
+++ /dev/null
@@ -1,11 +0,0 @@
-include(baseprofiles/linux-x86_64-gcc-debug-developer)
-
-[options]
-qtbase:debug=True
-qtbase:nomake=tests;examples
-qtbase:developer_build=True
-qtbase:cmake_args_qtbase=""
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/macos-ios-arm64-clang b/coin/conan/profiles/macos-ios-arm64-clang
deleted file mode 100644
index 1f227225..00000000
--- a/coin/conan/profiles/macos-ios-arm64-clang
+++ /dev/null
@@ -1,11 +0,0 @@
-include(baseprofiles/macos-ios-arm64-clang)
-
-[options]
-qtbase:debug_and_release=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_SYSTEM_NAME=iOS"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/macos-universal-clang b/coin/conan/profiles/macos-universal-clang
deleted file mode 100644
index bb85a2fd..00000000
--- a/coin/conan/profiles/macos-universal-clang
+++ /dev/null
@@ -1,13 +0,0 @@
-include(baseprofiles/macos-universal-clang)
-
-[options]
-qtbase:release=True
-qtbase:nomake=examples;tests
-qtbase:force_debug_info=True
-qtbase:separate_debug_info=True
-qtbase:framework=True
-qtbase:cmake_args_qtbase='-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DODBC_ROOT=/usr/local/opt/libiodbc'
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/macos-webassembly-x86_64-clang b/coin/conan/profiles/macos-webassembly-x86_64-clang
deleted file mode 100644
index 85d146ce..00000000
--- a/coin/conan/profiles/macos-webassembly-x86_64-clang
+++ /dev/null
@@ -1,11 +0,0 @@
-include(baseprofiles/macos-webassembly-x86_64-clang)
-
-[options]
-qtbase:release=True
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:nomake=examples;tests
-qtbase:cmake_args_qtbase="-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/unix-android-arm64-clang b/coin/conan/profiles/unix-android-arm64-clang
deleted file mode 100644
index a8547c8b..00000000
--- a/coin/conan/profiles/unix-android-arm64-clang
+++ /dev/null
@@ -1,16 +0,0 @@
-include(baseprofiles/unix-android-arm64-clang)
-
-[options]
-qtbase:release=True
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:platform=android-clang
-qtbase:android_abis=arm64-v8a
-qtbase:android_ndk=$ANDROID_NDK_ROOT
-qtbase:android_sdk=$ANDROID_SDK_ROOT
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/unix-android-armv7-clang b/coin/conan/profiles/unix-android-armv7-clang
deleted file mode 100644
index 48c66e75..00000000
--- a/coin/conan/profiles/unix-android-armv7-clang
+++ /dev/null
@@ -1,16 +0,0 @@
-include(baseprofiles/unix-android-armv7-clang)
-
-[options]
-qtbase:release=True
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:platform=android-clang
-qtbase:android_abis=armeabi-v7a
-qtbase:android_ndk=$ANDROID_NDK_ROOT
-qtbase:android_sdk=$ANDROID_SDK_ROOT
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/unix-android-x86-clang b/coin/conan/profiles/unix-android-x86-clang
deleted file mode 100644
index 312fb17f..00000000
--- a/coin/conan/profiles/unix-android-x86-clang
+++ /dev/null
@@ -1,16 +0,0 @@
-include(baseprofiles/unix-android-x86-clang)
-
-[options]
-qtbase:release=True
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:platform=android-clang
-qtbase:android_abis=x86
-qtbase:android_ndk=$ANDROID_NDK_ROOT
-qtbase:android_sdk=$ANDROID_SDK_ROOT
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/unix-android-x86_64-clang b/coin/conan/profiles/unix-android-x86_64-clang
deleted file mode 100644
index ee7173f8..00000000
--- a/coin/conan/profiles/unix-android-x86_64-clang
+++ /dev/null
@@ -1,16 +0,0 @@
-include(baseprofiles/unix-android-x86_64-clang)
-
-[options]
-qtbase:release=True
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:platform=android-clang
-qtbase:android_abis=x86_64
-qtbase:android_ndk=$ANDROID_NDK_ROOT
-qtbase:android_sdk=$ANDROID_SDK_ROOT
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=$OPENSSL_ANDROID_HOME -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-android-arm64-clang b/coin/conan/profiles/windows-android-arm64-clang
deleted file mode 100644
index d0a2c674..00000000
--- a/coin/conan/profiles/windows-android-arm64-clang
+++ /dev/null
@@ -1,17 +0,0 @@
-include(baseprofiles/windows-android-arm64-clang)
-
-[options]
-qtbase:release=True
-qtbase:pkg_config=False
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=%QT_HOST_PATH%
-qtbase:platform=android-clang
-qtbase:android_abis=arm64-v8a
-qtbase:android_ndk=%ANDROID_NDK_ROOT%
-qtbase:android_sdk=%ANDROID_SDK_ROOT%
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-android-armv7-clang b/coin/conan/profiles/windows-android-armv7-clang
deleted file mode 100644
index 15df7c81..00000000
--- a/coin/conan/profiles/windows-android-armv7-clang
+++ /dev/null
@@ -1,17 +0,0 @@
-include(baseprofiles/windows-android-armv7-clang)
-
-[options]
-qtbase:release=True
-qtbase:pkg_config=False
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=%QT_HOST_PATH%
-qtbase:platform=android-clang
-qtbase:android_abis=armeabi-v7a
-qtbase:android_ndk=%ANDROID_NDK_ROOT%
-qtbase:android_sdk=%ANDROID_SDK_ROOT%
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-android-x86-clang b/coin/conan/profiles/windows-android-x86-clang
deleted file mode 100644
index 408f7842..00000000
--- a/coin/conan/profiles/windows-android-x86-clang
+++ /dev/null
@@ -1,17 +0,0 @@
-include(baseprofiles/windows-android-x86-clang)
-
-[options]
-qtbase:release=True
-qtbase:pkg_config=False
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=%QT_HOST_PATH%
-qtbase:platform=android-clang
-qtbase:android_abis=x86
-qtbase:android_ndk=%ANDROID_NDK_ROOT%
-qtbase:android_sdk=%ANDROID_SDK_ROOT%
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-android-x86_64-clang b/coin/conan/profiles/windows-android-x86_64-clang
deleted file mode 100644
index e2201cc8..00000000
--- a/coin/conan/profiles/windows-android-x86_64-clang
+++ /dev/null
@@ -1,17 +0,0 @@
-include(baseprofiles/windows-android-x86_64-clang)
-
-[options]
-qtbase:release=True
-qtbase:pkg_config=False
-qtbase:force_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:qt_host_path=%QT_HOST_PATH%
-qtbase:platform=android-clang
-qtbase:android_abis=x86_64
-qtbase:android_ndk=%ANDROID_NDK_ROOT%
-qtbase:android_sdk=%ANDROID_SDK_ROOT%
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR=%OPENSSL_ANDROID_HOME% -DCMAKE_TOOLCHAIN_FILE=%ANDROID_NDK_ROOT%/build/cmake/android.toolchain.cmake -DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-arm64-msvc2019_64 b/coin/conan/profiles/windows-arm64-msvc2019_64
deleted file mode 100644
index 83ef439f..00000000
--- a/coin/conan/profiles/windows-arm64-msvc2019_64
+++ /dev/null
@@ -1,11 +0,0 @@
-include(baseprofiles/windows-arm64-msvc2019_64)
-
-[options]
-qtbase:release=True
-qtbase:qt_host_path=$QT_HOST_PATH
-qtbase:nomake=tests
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DQT_QMAKE_TARGET_MKSPEC=win32-arm64-msvc -DFEATURE_msvc_obj_debug_info=ON"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-webassembly-x86_64-clang b/coin/conan/profiles/windows-webassembly-x86_64-clang
deleted file mode 100644
index cb41288f..00000000
--- a/coin/conan/profiles/windows-webassembly-x86_64-clang
+++ /dev/null
@@ -1,12 +0,0 @@
-include(baseprofiles/windows-webassembly-x86_64-clang)
-
-[options]
-qtbase:release=True
-qtbase:qt_host_path=%QT_HOST_PATH%
-qtbase:nomake=examples;tests
-qtbase:force_debug_info=True
-qtbase:cmake_args_qtbase="-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten"
-*:cmake_args_leaf_module="-DFEATURE_pkg_config=OFF"
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-x86_64-mingw b/coin/conan/profiles/windows-x86_64-mingw
deleted file mode 100644
index 6a728c7a..00000000
--- a/coin/conan/profiles/windows-x86_64-mingw
+++ /dev/null
@@ -1,15 +0,0 @@
-include(baseprofiles/windows-x86_64-mingw)
-
-[options]
-qtbase:release=True
-qtbase:force_debug_info=True
-qtbase:separate_debug_info=True
-qtbase:nomake=examples;tests
-qtbase:zlib=qt
-qtbase:libjpeg=qt
-qtbase:freetype=qt
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DFEATURE_system_tiff=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++"
-*:cmake_args_leaf_module="-DFEATURE_system_tiff=OFF"
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/conan/profiles/windows-x86_64-msvc2019_64 b/coin/conan/profiles/windows-x86_64-msvc2019_64
deleted file mode 100644
index a8cd1371..00000000
--- a/coin/conan/profiles/windows-x86_64-msvc2019_64
+++ /dev/null
@@ -1,13 +0,0 @@
-include(baseprofiles/windows-x86_64-msvc2019_64)
-
-[options]
-qtbase:nomake=tests
-qtbase:debug_and_release=True
-qtbase:force_debug_info=True
-qtbase:zlib=None
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DFEATURE_msvc_obj_debug_info=ON"
-*:cmake_args_leaf_module=""
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
-
diff --git a/coin/conan/profiles/windows-x86_64-msvc2019_64-developer b/coin/conan/profiles/windows-x86_64-msvc2019_64-developer
deleted file mode 100644
index 39803809..00000000
--- a/coin/conan/profiles/windows-x86_64-msvc2019_64-developer
+++ /dev/null
@@ -1,14 +0,0 @@
-include(baseprofiles/windows-x86_64-msvc2019_64-developer)
-
-[options]
-qtbase:nomake=tests
-qtbase:debug_and_release=True
-qtbase:force_debug_info=True
-qtbase:developer_build=True
-qtbase:headersclean=True
-qtbase:make=examples
-qtbase:cmake_args_qtbase="-DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DFEATURE_msvc_obj_debug_info=ON -DFEATURE_system_zlib=OFF"
-*:cmake_args_leaf_module="-DFEATURE_system_zlib=OFF"
-[build_requires]
-[env]
-CONAN_CMAKE_GENERATOR=Ninja
diff --git a/coin/platform_configs/address_sanitizer_platforms.yaml b/coin/platform_configs/address_sanitizer_platforms.yaml
index 6f6ac075..0db6392b 100644
--- a/coin/platform_configs/address_sanitizer_platforms.yaml
+++ b/coin/platform_configs/address_sanitizer_platforms.yaml
@@ -1,14 +1,12 @@
Version: 2
Configurations:
-
- Id: 'opensuse-15.4-host-asan'
- Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
+ Id: 'opensuse-15.5-host-asan'
+ Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
Compiler: 'GCC'
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'UseAddressSanitizer']
Configure arguments: '-nomake examples -developer-build'
Environment variables: [
- 'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
- 'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer',
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
]
diff --git a/coin/platform_configs/boot2qt-manifest.yaml b/coin/platform_configs/boot2qt-manifest.yaml
new file mode 100644
index 00000000..8eec64a3
--- /dev/null
+++ b/coin/platform_configs/boot2qt-manifest.yaml
@@ -0,0 +1,4 @@
+Version: 2
+Module only: True
+Include: [yocto.yaml]
+Configurations: []
diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml
index 962fb566..9d254d3e 100644
--- a/coin/platform_configs/cmake_platforms.yaml
+++ b/coin/platform_configs/cmake_platforms.yaml
@@ -12,8 +12,8 @@ Configurations:
Id: 'ubuntu-22.04-documentation'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'
- Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure', 'DoNotRunTests']
- Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
+ Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
+ Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
-
Id: 'ubuntu-22.04'
@@ -23,14 +23,14 @@ Configurations:
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
]
# Test on Ubuntu 22.04 X11
-
Id: 'ubuntu-22.04-documentation-x11-tests'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'
- Features: ['Sccache', 'TestOnly']
+ Features: ['Sccache', 'TestDocs', 'TestOnly']
Platform dependency: 'ubuntu-22.04-documentation'
-
Id: 'ubuntu-22.04-x11-tests'
@@ -38,21 +38,38 @@ Configurations:
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'ubuntu-22.04'
+# Build on Ubuntu 24.04 ARM64 and test on both X11 and Wayland later
+-
+ Id: 'ubuntu-24.04-arm64'
+ Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['UseConfigure', 'DoNotRunTests']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
+ ]
+# Test on Ubuntu 24.04 ARM64 X11
+-
+ Id: 'ubuntu-24.04-arm64-x11-tests'
+ Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['TestOnly', 'InsignificantTests']
+ Platform dependency: 'ubuntu-24.04-arm64'
-
- Id: 'opensuse-15.4-developer-build'
- Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
+ Id: 'opensuse-15.5-developer-build'
+ Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
Compiler: 'GCC'
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-nomake examples -developer-build'
Environment variables: [
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
- 'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer',
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
]
-
- Id: 'sles-15_sp4-static'
- Template: 'qtci-linux-SLES-15_SP4-x86_64-50'
+ Id: 'sles-15_sp5-static'
+ Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'DisableTests', 'UseConfigure']
Configure arguments: '-nomake examples -static -no-sql-mysql'
@@ -62,229 +79,258 @@ Configurations:
]
-
Id: 'windows-10_22h2-msvc2019'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
- Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure']
+ Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
- Id: 'windows-11_22h2-msvc2019'
- Template: 'qtci-windows-11_22H2-x86_64-50'
+ Id: 'windows-11_23H2-msvc2019'
+ Template: 'qtci-windows-11_23H2-x86_64-52'
Compiler: 'MSVC2019'
- Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure']
+ Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
Id: 'windows-10_22h2-msvc2022'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2022'
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
- Id: 'windows-11_22h2-msvc2022'
- Template: 'qtci-windows-11_22H2-x86_64-50'
+ Id: 'windows-11_23H2-msvc2022'
+ Template: 'qtci-windows-11_23H2-x86_64-52'
Compiler: 'MSVC2022'
- Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
- Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
+ Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'Packaging']
+ Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
+ ]
+-
+ Id: 'windows-11_22h2-arm64-msvc2022'
+ Template: 'qtci-windows-11_22H2-aarch64-51'
+ Compiler: 'MSVC2022'
+ Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'InsignificantTests']
+ Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20 -no-sql-psql'
+ Environment variables: [
+ 'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
+ 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
+ 'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
]
-
Id: 'windows-10_22h2-msvc2019-developer-build'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
- Features: ['Sccache', 'Conan', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
+ Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
Environment variables: [
- 'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
+ 'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
Id: 'windows-10_22h2-msvc2019-arm64'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Target arch: 'arm64'
- Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging', 'UseConfigure']
+ Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'UseConfigure']
Platform dependency: 'windows-10_22h2-msvc2019-developer-build'
Environment variables: [
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-arm64-msvc2019_64',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
- Id: 'windows-11_22h2-msvc2019-developer-build'
- Template: 'qtci-windows-11_22H2-x86_64-50'
+ Id: 'windows-11_23H2-msvc2019-developer-build'
+ Template: 'qtci-windows-11_23H2-x86_64-52'
Compiler: 'MSVC2019'
Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
- Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
+ Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
Environment variables: [
- 'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
+ 'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
- Id: 'windows-11_22h2-msvc2019-arm64'
- Template: 'qtci-windows-11_22H2-x86_64-50'
+ Id: 'windows-11_23H2-msvc2019-arm64'
+ Template: 'qtci-windows-11_23H2-x86_64-52'
Compiler: 'MSVC2019'
Target arch: 'arm64'
- Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging', 'UseConfigure']
- Platform dependency: 'windows-11_22h2-msvc2019-developer-build'
+ Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'UseConfigure']
+ Platform dependency: 'windows-11_23H2-msvc2019-developer-build'
Environment variables: [
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-arm64-msvc2019_64',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
- Id: 'rhel-8.6'
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Id: 'rhel-8.8'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies']
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
- 'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON'
]
-
- Id: 'rhel-9.0'
- Template: 'qtci-linux-RHEL-9.0-x86_64-50'
+ Id: 'rhel-9.2'
+ Template: 'qtci-linux-RHEL-9.2-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies']
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
- 'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
]
+# Build on Debian-11.6 and split test on Wayland and offscreen later
-
Id: 'debian-11.6-arm64'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
- Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'InsignificantTests']
- Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
+ Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
+ ]
+# Test on Debian-11.6 offscreen
+-
+ Id: 'debian-11.6-arm64-offscreen-tests'
+ Template: 'qtci-linux-Debian-11.6-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'InsignificantTests', 'TestOnly']
Environment variables: [
- 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'QT_QPA_PLATFORM=offscreen'
]
-
+ Platform dependency: 'debian-11.6-arm64'
-
Id: 'ios-universal'
- Template: 'qtci-macos-12-x86_64-106'
+ Template: 'qtci-macos-13-x86_64-103'
Target os: 'IOS_ANY'
Target arch: 'arm64'
Compiler: 'Clang'
Target compiler: 'Clang'
Platform dependency: 'macos-universal-on-x86_64'
- Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure']
+ Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang',
- 'CONAN_PROFILE=coin/conan/profiles/ci-macos-ios-arm64-clang'
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}}'
]
-
- Id: 'windows-10_22h2-mingw11'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Id: 'windows-10_22h2-mingw13'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'Mingw'
Features: ['Packaging', 'Sccache', 'UseConfigure']
- Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples -qt-zlib -qt-freetype -qt-libjpeg'
+ Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
Environment variables: [
- 'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
- 'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}}',
+ 'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
+ 'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
]
-
Id: 'windows-10_22h2-llvm'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'Clang'
Features: ['Sccache', 'UseConfigure']
- Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples -qt-zlib -qt-freetype -qt-libjpeg'
+ Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
Environment variables: [
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
- 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}}',
+ 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
'LLVM_INSTALL_DIR=C:\llvm-mingw',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_llvm_mingw}}',
]
-
- Id: 'windows-11_22h2-llvm'
- Template: 'qtci-windows-11_22H2-x86_64-50'
+ Id: 'windows-11_23H2-llvm'
+ Template: 'qtci-windows-11_23H2-x86_64-52'
Compiler: 'Clang'
- Features: ['Sccache', 'UseConfigure']
- Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples -qt-zlib -qt-freetype -qt-libjpeg'
+ Features: ['Packaging','Sccache', 'UseConfigure']
+ Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
Environment variables: [
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
- 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}}',
+ 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
'LLVM_INSTALL_DIR=C:\llvm-mingw',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_llvm_mingw}}',
]
-
- Id: 'windows-10_22h2-mingw11-developer-build'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Id: 'windows-10_22h2-mingw13-developer-build'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'Mingw'
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
- Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples -qt-zlib -qt-freetype -qt-libjpeg'
+ Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
Environment variables: [
- 'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
- 'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}}',
+ 'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
+ 'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
]
-
- Id: 'windows-11_22h2-mingw11-developer-build'
- Template: 'qtci-windows-11_22H2-x86_64-50'
+ Id: 'windows-11_23H2-mingw13-developer-build'
+ Template: 'qtci-windows-11_23H2-x86_64-52'
Compiler: 'Mingw'
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
- Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples -qt-zlib -qt-freetype -qt-libjpeg'
+ Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
Environment variables: [
- 'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
- 'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
- 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}}',
+ 'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
+ 'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
- 'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
+ ]
+-
+ Id: 'jammy-arm64-debian-pkg-packaging'
+ Template: 'qtci-linux-Debian-11.6-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
+ Environment variables: [
+ 'DEBIAN_RULES_REF=6.8_dev',
+ 'COIN_TARGET_DIST=tqtc-jammy',
+ 'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
+ 'COIN_SBUILD_CHROOT=jammy-arm64-sbuild',
+ 'COIN_EXTRA_DEBIAN_REPO=deb http://ports.ubuntu.com/ubuntu-ports/ jammy main universe multiverse',
+ 'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
+ ]
+-
+ Id: 'jammy-amd64-debian-pkg-packaging'
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'GCC'
+ Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
+ Environment variables: [
+ 'DEBIAN_RULES_REF=6.8_dev',
+ 'COIN_TARGET_DIST=tqtc-jammy',
+ 'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
+ 'COIN_SBUILD_CHROOT=jammy-amd64-sbuild',
+ 'COIN_EXTRA_DEBIAN_REPO=deb http://archive.ubuntu.com/ubuntu/ jammy main universe multiverse',
+ 'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
]
diff --git a/coin/platform_configs/cmake_platforms_qemu.yaml b/coin/platform_configs/cmake_platforms_qemu.yaml
index 5a1055c2..891a19df 100644
--- a/coin/platform_configs/cmake_platforms_qemu.yaml
+++ b/coin/platform_configs/cmake_platforms_qemu.yaml
@@ -7,12 +7,12 @@ Configurations:
Target arch: 'armv7'
Compiler: 'GCC'
Platform dependency: 'ubuntu-22.04'
- Features: ['Sccache', 'UseConfigure']
+ Features: ['Sccache', 'UseConfigure', 'Insignificant']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
- "QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
+ "QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',
@@ -24,12 +24,12 @@ Configurations:
Target arch: 'arm64'
Compiler: 'GCC'
Platform dependency: 'ubuntu-22.04'
- Features: ['Sccache', 'UseConfigure']
+ Features: ['Sccache', 'UseConfigure', 'Insignificant']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
- "QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
+ "QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',
@@ -46,7 +46,7 @@ Configurations:
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
- "QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
+ "QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',
diff --git a/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml b/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
index 0bd9da48..21b9b30d 100644
--- a/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
+++ b/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
@@ -12,8 +12,9 @@ Configurations:
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
- 'QT_CMAKE_DIR=/opt/cmake-3.24.2/bin',
+ 'QT_CMAKE_DIR=/opt/cmake-3.27.7/bin',
'QNX_TEST_ENV=LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
]
-
Id: 'qnx-710-arm64-on-linux'
@@ -27,6 +28,7 @@ Configurations:
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
]
-
Id: 'qnx-710-armv7-on-linux'
@@ -40,4 +42,5 @@ Configurations:
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-armv7le.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
]
diff --git a/coin/platform_configs/cmake_platforms_qemu_vxworks.yaml b/coin/platform_configs/cmake_platforms_qemu_vxworks.yaml
new file mode 100644
index 00000000..319f6a34
--- /dev/null
+++ b/coin/platform_configs/cmake_platforms_qemu_vxworks.yaml
@@ -0,0 +1,15 @@
+Version: 2
+Configurations:
+-
+ Id: 'vxworks-imx6'
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Target os: 'VxWorks'
+ Target arch: 'ARMv7'
+ Compiler: 'Clang'
+ Target compiler: 'Clang'
+ Platform dependency: 'ubuntu-22.04'
+ Features: ['VMSize8', 'UseConfigure', 'DisableTests']
+ Environment variables: [
+ 'TARGET_CONFIGURE_ARGS=-release -developer-build -force-debug-info -qpa eglfs -nomake examples',
+ 'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target'
+ ]
diff --git a/coin/platform_configs/cmake_platforms_static_tests.yaml b/coin/platform_configs/cmake_platforms_static_tests.yaml
index ab34c2b2..e6a98abb 100644
--- a/coin/platform_configs/cmake_platforms_static_tests.yaml
+++ b/coin/platform_configs/cmake_platforms_static_tests.yaml
@@ -1,8 +1,8 @@
Version: 2
Configurations:
-
- Id: 'sles-15_sp4-minimal-static'
- Template: 'qtci-linux-SLES-15_SP4-x86_64-50'
+ Id: 'sles-15_sp5-minimal-static'
+ Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
Configure arguments: '-nomake examples -static -no-sql-mysql'
@@ -11,7 +11,7 @@ Configurations:
]
-
Id: 'windows-10_22h2-minimal-static'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
Configure arguments: '-release -force-debug-info -static -nomake examples -qt-zlib'
@@ -22,8 +22,8 @@ Configurations:
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
- Id: 'macos-11-minimal-static'
- Template: 'qtci-macos-11-x86_64-106'
+ Id: 'macos-minimal-static'
+ Template: 'qtci-macos-13-x86_64-103'
Compiler: 'Clang'
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
Configure arguments: '-nomake examples -release -force-debug-info -static -no-framework'
diff --git a/coin/platform_configs/cmake_platforms_target_android.yaml b/coin/platform_configs/cmake_platforms_target_android.yaml
index 19039c66..b3c940c2 100644
--- a/coin/platform_configs/cmake_platforms_target_android.yaml
+++ b/coin/platform_configs/cmake_platforms_target_android.yaml
@@ -2,72 +2,64 @@ Version: 2
Configurations:
-
Id: 'android-arm64-on-macos'
- Template: 'qtci-macos-12-x86_64-106'
+ Template: 'qtci-macos-13-x86_64-103'
Target os: 'Android_ANY'
Target arch: 'arm64'
Compiler: 'Clang'
Target compiler: 'Clang'
Platform dependency: 'macos-universal-on-x86_64'
- Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
+ Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis arm64-v8a',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang',
- 'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-arm64-clang',
- 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}}',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
]
-
Id: 'android-armv7-on-windows'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'armv7'
Compiler: 'Mingw'
Target compiler: 'Clang'
- Platform dependency: 'windows-10_22h2-mingw11'
- Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
+ Platform dependency: 'windows-10_22h2-mingw13'
+ Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
Environment variables: [
- 'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
+ 'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis armeabi-v7a -no-feature-pkg-config',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-android-armv7-clang',
- 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}}',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
]
-
- Id: 'android-6-x86-on-linux'
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Id: 'android-9-x86-on-linux'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'GCC'
Target compiler: 'Clang'
- Platform dependency: 'rhel-8.6'
- Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
+ Platform dependency: 'rhel-8.8'
+ Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
- 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}}',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
- 'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
- 'ANDROID_EMULATOR=@emulator_x86_api_23',
- 'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
+ 'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
+ 'ANDROID_EMULATOR=emulator_x86_api_28'
]
-
- Id: 'android-13-x86_64-on-linux'
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Id: 'android-14-x86_64-on-linux'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
- Platform dependency: 'rhel-8.6'
- Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
+ Platform dependency: 'rhel-8.8'
+ Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
- 'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
- 'ANDROID_EMULATOR=@emulator_x86_64_api_33'
+ 'ANDROID_EMULATOR=emulator_x86_64_api_34'
]
diff --git a/coin/platform_configs/cmake_platforms_wasm.yaml b/coin/platform_configs/cmake_platforms_wasm.yaml
index 6104f3e2..34b26141 100644
--- a/coin/platform_configs/cmake_platforms_wasm.yaml
+++ b/coin/platform_configs/cmake_platforms_wasm.yaml
@@ -2,11 +2,11 @@ Version: 2
Configurations:
-
Id: 'webassembly-linux-thread-asyncify'
- Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
+ Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
Target os: 'WebAssembly'
Compiler: 'GCC'
- Platform dependency: 'opensuse-15.4-developer-build'
- Features: ['Sccache', 'DisableTests', 'UseConfigure']
+ Platform dependency: 'opensuse-15.5-developer-build'
+ Features: ['Sccache', 'DoNotRunTests', 'UseConfigure']
Environment variables: [
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
"TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread \
@@ -14,32 +14,29 @@ Configurations:
]
-
Id: 'webassembly-windows'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Target os: 'WebAssembly'
Compiler: 'Mingw'
Target compiler: 'Clang'
- Platform dependency: 'windows-10_22h2-mingw11'
+ Platform dependency: 'windows-10_22h2-mingw13'
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
Environment variables: [
- 'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW1120}}\bin;{{.Env.Path}}',
+ 'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples',
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
- 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}}',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
- 'CONAN_PROFILE=coin/conan/profiles/ci-windows-webassembly-x86_64-clang',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
]
-
- Id: 'webassembly-macos-thread'
- Template: 'qtci-macos-12-x86_64-106'
+ Id: 'webassembly-linux-thread'
+ Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
Target os: 'WebAssembly'
- Compiler: 'Clang'
- Target compiler: 'Clang'
- Platform dependency: 'macos-universal-on-x86_64'
+ Compiler: 'GCC'
+ Platform dependency: 'opensuse-15.5-developer-build'
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
Environment variables: [
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread',
- 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
]
diff --git a/coin/platform_configs/flashing-wizard.yaml b/coin/platform_configs/flashing-wizard.yaml
index 009aeb05..18d281fa 100644
--- a/coin/platform_configs/flashing-wizard.yaml
+++ b/coin/platform_configs/flashing-wizard.yaml
@@ -7,7 +7,7 @@ Configurations:
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
-
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
@@ -18,13 +18,13 @@ Configurations:
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
-
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Target arch: 'x86'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
-
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Compiler: 'GCC'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
diff --git a/coin/platform_configs/ios-tests.yaml b/coin/platform_configs/ios-tests.yaml
index 9b04515f..a1b6b42a 100644
--- a/coin/platform_configs/ios-tests.yaml
+++ b/coin/platform_configs/ios-tests.yaml
@@ -2,7 +2,7 @@ Version: 2
Configurations:
-
Id: "ios-tests-on-macos"
- Template: 'qtci-macos-12-x86_64-106'
+ Template: 'qtci-macos-13-x86_64-103'
Target os: 'IOS_ANY'
Target arch: 'arm64'
Compiler: 'Clang'
diff --git a/coin/platform_configs/linux_android_tests_developer.yaml b/coin/platform_configs/linux_android_tests_developer.yaml
index 7f07ffa2..43115150 100644
--- a/coin/platform_configs/linux_android_tests_developer.yaml
+++ b/coin/platform_configs/linux_android_tests_developer.yaml
@@ -2,18 +2,16 @@ Version: 2
Configurations:
-
Id: 'android-x86-developer-build-testrun-on-linux'
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'GCC'
Target compiler: 'Clang'
- Platform dependency: 'rhel-8.6'
+ Platform dependency: 'rhel-8.8'
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc',
- 'CONAN_INSTALL_DIR={{.InstallDir}}/target',
- 'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang',
- 'ANDROID_EMULATOR=@emulator_x86_api_23']
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
+ 'ANDROID_EMULATOR=emulator_x86_api_28']
diff --git a/coin/platform_configs/linux_android_tests_multi_abi.yaml b/coin/platform_configs/linux_android_tests_multi_abi.yaml
index 0c75b934..95966de6 100644
--- a/coin/platform_configs/linux_android_tests_multi_abi.yaml
+++ b/coin/platform_configs/linux_android_tests_multi_abi.yaml
@@ -1,26 +1,28 @@
Version: 2
Configurations:
-
- Id: 'rhel_8.4_android_multi'
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Id: 'rhel_8.8_android_multi'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'multi'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: [
- 'rhel-8.6',
- 'android-6-x86-on-linux',
- 'android-13-x86_64-on-linux'
+ 'rhel-8.8',
+ 'android-9-x86-on-linux',
+ 'android-14-x86_64-on-linux'
]
Features: [
'Sccache',
+ 'WarningsAreErrors',
'AndroidTestRun',
'MinimalAndroidMultiABITests',
'InstallDepsPerPlatformSubdir'
]
Environment variables: [
- 'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.6',
- 'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-6-x86-on-linux',
- 'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-13-x86_64-on-linux',
- 'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
+ 'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.8',
+ 'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-9-x86-on-linux',
+ 'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-14-x86_64-on-linux',
+ 'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
+ 'ANDROID_EMULATOR=emulator_x86_api_28'
]
diff --git a/coin/platform_configs/macos.yaml b/coin/platform_configs/macos.yaml
index 8fe91fa8..9af04ac8 100644
--- a/coin/platform_configs/macos.yaml
+++ b/coin/platform_configs/macos.yaml
@@ -9,21 +9,20 @@ Configurations:
-
Id: 'macos-universal-on-x86_64'
- Template: 'qtci-macos-12-x86_64-106'
+ Template: 'qtci-macos-14-x86_64-105'
Compiler: 'Clang'
Target arch: 'x86_64-arm64'
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
Environment variables: [
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
- 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
- 'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
- 'CONAN_PROFILE=coin/conan/profiles/ci-macos-universal-clang'
+ 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
+ 'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
]
-
Id: 'macos-universal-on-arm64'
- Template: 'qtci-macos-12-arm64'
+ Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Target arch: 'x86_64-arm64'
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
@@ -31,46 +30,78 @@ Configurations:
Environment variables: [
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"',
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
]
# Test on all supported macOS versions (deployment targets)
+ # On x86_64
+
-
- Id: 'macos-11-x86_64-tests'
- Template: 'qtci-macos-11-x86_64-106'
+ Id: 'macos-12-x86_64-tests'
+ Template: 'qtci-macos-12-x86_64-106'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64'
-
- Id: 'macos-11-arm64-tests'
- Template: 'qtci-macos-11.0-arm64'
+ Id: 'macos-13-x86_64-tests'
+ Template: 'qtci-macos-13-x86_64-103'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64'
-
+ Id: 'macos-14-x86_64-tests'
+ Template: 'qtci-macos-14-x86_64-105'
+ Compiler: 'Clang'
+ Features: ['Sccache', 'TestOnly', 'Packaging']
+ Platform dependency: 'macos-universal-on-x86_64'
+
+ # And arm64
+
+ -
Id: 'macos-12-arm64-tests'
Template: 'qtci-macos-12-arm64'
Compiler: 'Clang'
- Features: ['Sccache', 'TestOnly', 'Packaging']
+ Features: ['TestOnly', 'Packaging']
+ Platform dependency: 'macos-universal-on-x86_64'
+ -
+ Id: 'macos-12-arm64-tart-tests'
+ Template: 'qtci-macos-12-arm-102'
+ Compiler: 'Clang'
+ Features: ['TestOnly', 'InsignificantTests']
Platform dependency: 'macos-universal-on-x86_64'
-
Id: 'macos-13-arm64-tests'
Template: 'qtci-macos-13-arm64'
Compiler: 'Clang'
- Features: ['Sccache', 'TestOnly', 'Packaging']
+ Features: ['TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64'
-
- Id: 'macos-12-x86_64-tests'
- Template: 'qtci-macos-12-x86_64-106'
+ Id: 'macos-13-arm64-tart-tests'
+ Template: 'qtci-macos-13-arm-107'
Compiler: 'Clang'
- Features: ['Sccache', 'TestOnly', 'Packaging']
+ Features: ['TestOnly', 'InsignificantTests']
+ Platform dependency: 'macos-universal-on-x86_64'
+ -
+ Id: 'macos-14-arm64-tests'
+ Template: 'qtci-macos-14-arm-106'
+ Compiler: 'Clang'
+ Features: ['TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64'
+
+ # Test the universal packaging built on arm64
+
-
Id: 'macos-12-arm-on-arm64-tests'
Template: 'qtci-macos-12-arm64'
Compiler: 'Clang'
- Features: ['Sccache', 'TestOnly']
+ Features: ['TestOnly']
+ Platform dependency: 'macos-universal-on-arm64'
+ -
+ Id: 'macos-12-arm-on-arm64-tart-tests'
+ Template: 'qtci-macos-12-arm-102'
+ Compiler: 'Clang'
+ Features: ['TestOnly', 'InsignificantTests']
Platform dependency: 'macos-universal-on-arm64'
-
Id: 'macos-12-arm-on-x86_64-tests'
@@ -78,6 +109,18 @@ Configurations:
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-universal-on-arm64'
+ -
+ Id: 'macos-13-arm-on-x86_64-tests'
+ Template: 'qtci-macos-13-x86_64-103'
+ Compiler: 'Clang'
+ Features: ['Sccache', 'TestOnly']
+ Platform dependency: 'macos-universal-on-arm64'
+ -
+ Id: 'macos-14-arm-on-x86_64-tests'
+ Template: 'qtci-macos-14-x86_64-105'
+ Compiler: 'Clang'
+ Features: ['Sccache', 'TestOnly']
+ Platform dependency: 'macos-universal-on-arm64'
# =========================================================================
# Developer build. Single architecture builds.
@@ -86,58 +129,56 @@ Configurations:
# Build on recent macOS version with latest Xcode
-
- Id: 'macos-12-x86_64-developer-build'
- Template: 'qtci-macos-12-x86_64-106'
+ Id: 'macos-14-x86_64-developer-build'
+ Template: 'qtci-macos-14-x86_64-105'
Compiler: 'Clang'
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
Environment variables: [
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
]
-
- Id: 'macos-12-arm64-developer-build'
- Template: 'qtci-macos-12-arm64'
+ Id: 'macos-14-arm64-developer-build'
+ Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -framework'
Environment variables: [
+ 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
]
- # Note: We do not include OpenSSL or PostgreSQL in this build,
- # as the M1 CI machines are not provisioned for that yet.
# Test on all supported macOS versions (deployment targets)
-
- -
- Id: 'macos-11-x86_64-developer-build-tests'
- Template: 'qtci-macos-11-x86_64-106'
- Compiler: 'Clang'
- Features: ['Sccache', 'TestOnly']
- Platform dependency: 'macos-12-x86_64-developer-build'
-
- Id: 'macos-11-arm64-developer-build-tests'
- Template: 'qtci-macos-11.0-arm64'
+ Id: 'macos-12-arm64-developer-build-tests'
+ Template: 'qtci-macos-12-arm64'
Compiler: 'Clang'
Features: ['TestOnly']
- Platform dependency: 'macos-12-arm64-developer-build'
+ Platform dependency: 'macos-14-arm64-developer-build'
-
- Id: 'macos-12-x86_64-developer-build-tests'
- Template: 'qtci-macos-12-x86_64-106'
+ Id: 'macos-12-arm64-tart-developer-build-tests'
+ Template: 'qtci-macos-12-arm-102'
Compiler: 'Clang'
- Features: ['Sccache', 'TestOnly']
- Platform dependency: 'macos-12-x86_64-developer-build'
+ Features: ['TestOnly', 'InsignificantTests']
+ Platform dependency: 'macos-14-arm64-developer-build'
-
- Id: 'macos-12-arm64-developer-build-tests'
- Template: 'qtci-macos-12-arm64'
+ Id: 'macos-13-arm64-developer-build-tests'
+ Template: 'qtci-macos-13-arm64'
Compiler: 'Clang'
Features: ['TestOnly']
- Platform dependency: 'macos-12-arm64-developer-build'
+ Platform dependency: 'macos-14-arm64-developer-build'
-
- Id: 'macos-13-arm64-developer-build-tests'
- Template: 'qtci-macos-13-arm64'
+ Id: 'macos-13-arm64-tart-developer-build-tests'
+ Template: 'qtci-macos-13-arm-107'
+ Compiler: 'Clang'
+ Features: ['TestOnly', 'InsignificantTests']
+ Platform dependency: 'macos-14-arm64-developer-build'
+ -
+ Id: 'macos-14-arm64-developer-build-tests'
+ Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['TestOnly']
- Platform dependency: 'macos-12-arm64-developer-build'
+ Platform dependency: 'macos-14-arm64-developer-build'
diff --git a/coin/platform_configs/meta-boot2qt-aws.yaml b/coin/platform_configs/meta-boot2qt-aws.yaml
new file mode 100644
index 00000000..8eec64a3
--- /dev/null
+++ b/coin/platform_configs/meta-boot2qt-aws.yaml
@@ -0,0 +1,4 @@
+Version: 2
+Module only: True
+Include: [yocto.yaml]
+Configurations: []
diff --git a/coin/platform_configs/meta-boot2qt-qcom.yaml b/coin/platform_configs/meta-boot2qt-qcom.yaml
new file mode 100644
index 00000000..8eec64a3
--- /dev/null
+++ b/coin/platform_configs/meta-boot2qt-qcom.yaml
@@ -0,0 +1,4 @@
+Version: 2
+Module only: True
+Include: [yocto.yaml]
+Configurations: []
diff --git a/coin/platform_configs/meta-boot2qt-riscv.yaml b/coin/platform_configs/meta-boot2qt-riscv.yaml
new file mode 100644
index 00000000..8eec64a3
--- /dev/null
+++ b/coin/platform_configs/meta-boot2qt-riscv.yaml
@@ -0,0 +1,4 @@
+Version: 2
+Module only: True
+Include: [yocto.yaml]
+Configurations: []
diff --git a/coin/platform_configs/meta-qsr.yaml b/coin/platform_configs/meta-qsr.yaml
new file mode 100644
index 00000000..8eec64a3
--- /dev/null
+++ b/coin/platform_configs/meta-qsr.yaml
@@ -0,0 +1,4 @@
+Version: 2
+Module only: True
+Include: [yocto.yaml]
+Configurations: []
diff --git a/coin/platform_configs/nightly_macos13.yaml b/coin/platform_configs/nightly_macos13.yaml
deleted file mode 100644
index d011cedd..00000000
--- a/coin/platform_configs/nightly_macos13.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-Version: 2
-Module only: True
-Include: [
- macos.yaml: [
- "macos-12-x86_64-developer-build"
- ]
-]
-Configurations:
--
- Id: 'macos-13-x86_64-developer-build-tests'
- Template: 'qtci-macos-13-x86_64-103'
- Compiler: 'Clang'
- Features: ['TestOnly']
- Platform dependency: 'macos-12-x86_64-developer-build'
diff --git a/coin/platform_configs/nightly_macos14_arm.yaml b/coin/platform_configs/nightly_macos14_arm.yaml
new file mode 100644
index 00000000..b7c965bd
--- /dev/null
+++ b/coin/platform_configs/nightly_macos14_arm.yaml
@@ -0,0 +1,20 @@
+Version: 2
+Module only: True
+Configurations:
+-
+ Id: 'macos-14-arm64-developer-build'
+ Template: 'qtci-macos-14-arm64'
+ Compiler: 'Clang'
+ Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
+ Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
+ 'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
+ ]
+-
+ Id: 'macos-14-arm64-developer-build-tests'
+ Template: 'qtci-macos-14-arm64'
+ Compiler: 'Clang'
+ Features: ['Sccache', 'TestOnly']
+ Platform dependency: 'macos-14-arm64-developer-build'
diff --git a/coin/platform_configs/nightly_qnx710_host_windows.yaml b/coin/platform_configs/nightly_qnx710_host_windows.yaml
index 614a982f..e3fcb969 100644
--- a/coin/platform_configs/nightly_qnx710_host_windows.yaml
+++ b/coin/platform_configs/nightly_qnx710_host_windows.yaml
@@ -7,7 +7,7 @@ Include: [
Configurations:
-
Id: 'qnx-710-arm64-on-windows'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Target os: 'QNX_710'
Target arch: 'arm64'
Compiler: 'MSVC2019'
@@ -16,6 +16,6 @@ Configurations:
Features: ['DisableTests', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples -no-pch',
- 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}\qnx-toolchain-aarch64le.cmake -DCMAKE_LIBRARY_PATH={{.Env.QNX_710}}\target\qnx7\aarch64le\lib;{{.Env.QNX_710}}\target\qnx7\aarch64le\usr\lib -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -G "Ninja"',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}\qnx-toolchain-aarch64le.cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -G "Ninja"',
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON'
]
diff --git a/coin/platform_configs/nightly_qt5_axivion.yaml b/coin/platform_configs/nightly_qt5_axivion.yaml
index e757eac3..a1c871b1 100644
--- a/coin/platform_configs/nightly_qt5_axivion.yaml
+++ b/coin/platform_configs/nightly_qt5_axivion.yaml
@@ -9,5 +9,5 @@ Configurations:
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
]
diff --git a/coin/platform_configs/nightly_qtapplicationmanager_axivion.yaml b/coin/platform_configs/nightly_qtapplicationmanager_axivion.yaml
new file mode 100644
index 00000000..3fa51260
--- /dev/null
+++ b/coin/platform_configs/nightly_qtapplicationmanager_axivion.yaml
@@ -0,0 +1,14 @@
+Version: 2
+Module only: True
+Configurations:
+-
+ Id: 'ubuntu-22.04-axivion'
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'UseConfigure', 'DisableTests', 'Axivion_qtapplicationmanager', 'VMSize8']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
+ ]
+
diff --git a/coin/platform_configs/nightly_ubuntu_20.04_c++17.yaml b/coin/platform_configs/nightly_ubuntu_20.04_c++17.yaml
index a5edd7c4..6bbe3739 100644
--- a/coin/platform_configs/nightly_ubuntu_20.04_c++17.yaml
+++ b/coin/platform_configs/nightly_ubuntu_20.04_c++17.yaml
@@ -9,5 +9,5 @@ Configurations:
Configure arguments: '-nomake examples -release -c++std c++17 -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
- 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON'
]
diff --git a/coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml b/coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml
new file mode 100644
index 00000000..d2293ba5
--- /dev/null
+++ b/coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml
@@ -0,0 +1,14 @@
+Version: 2
+Module only: True
+Configurations:
+-
+ Id: 'ubuntu-22.04-lcov'
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'UseConfigure', 'lcov', 'VMSize8', 'DisableTests']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
+ ]
+
diff --git a/coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml b/coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml
index 5ff87ffd..d95746e8 100644
--- a/coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml
+++ b/coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml
@@ -5,7 +5,7 @@ Configurations:
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure']
- Configure arguments: '-make examples -developer-build -c++std c++20 -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
+ Configure arguments: '-make examples -developer-build -c++std c++20 -qtlibinfix TestInfix -qtnamespace TestNamespace'
-
Id: 'Ubuntu-22.04-xwayland-host'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
@@ -13,7 +13,8 @@ Configurations:
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
- 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
]
-
# default.yaml
diff --git a/coin/platform_configs/nightly_ubuntu_24_04_arm64_documentation.yaml b/coin/platform_configs/nightly_ubuntu_24_04_arm64_documentation.yaml
new file mode 100644
index 00000000..da7a8c17
--- /dev/null
+++ b/coin/platform_configs/nightly_ubuntu_24_04_arm64_documentation.yaml
@@ -0,0 +1,18 @@
+Version: 2
+Configurations:
+# cmake_platforms.yaml
+# Build on Ubuntu 24.04 ARM64 and test on both X11 and Wayland later
+-
+ Id: 'ubuntu-24.04-arm64-documentation'
+ Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['Documentation', 'UseConfigure', 'DoNotRunTests']
+ Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
+ Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
+# Test on Ubuntu 24.04 ARM64 X11
+-
+ Id: 'ubuntu-24.04-arm64-documentation-x11-tests'
+ Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['TestDocs', 'TestOnly', 'InsignificantTests']
+ Platform dependency: 'ubuntu-24.04-arm64-documentation'
diff --git a/coin/platform_configs/nightly_vxworks.yaml b/coin/platform_configs/nightly_vxworks.yaml
new file mode 100644
index 00000000..afbf9dbb
--- /dev/null
+++ b/coin/platform_configs/nightly_vxworks.yaml
@@ -0,0 +1,11 @@
+Version: 2
+Module only: True
+Include: [
+ cmake_platforms.yaml: [
+ "ubuntu-22.04"
+ ],
+ cmake_platforms_qemu_vxworks.yaml: [
+ "vxworks-imx6"
+ ]
+]
+Configurations: []
diff --git a/coin/platform_configs/precheck.yaml b/coin/platform_configs/precheck.yaml
index 2ad3e463..68d8f9b7 100644
--- a/coin/platform_configs/precheck.yaml
+++ b/coin/platform_configs/precheck.yaml
@@ -3,6 +3,8 @@ Module only: True
Include: [
cmake_platforms.yaml: [
"ubuntu-22.04",
+ "ubuntu-22.04-documentation",
+ "ubuntu-22.04-documentation-x11-tests",
"windows-10_22h2-msvc2019-developer-build",
"ios-universal"
],
diff --git a/coin/platform_configs/qmake2cmake.yaml b/coin/platform_configs/qmake2cmake.yaml
index 876d07e8..73bdaff6 100644
--- a/coin/platform_configs/qmake2cmake.yaml
+++ b/coin/platform_configs/qmake2cmake.yaml
@@ -2,15 +2,15 @@ Version: 2
Module only: True
Configurations:
-
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Features: ['DisableTests']
-
- Template: 'qtci-macos-12-x86_64-106'
+ Template: 'qtci-macos-13-x86_64-103'
Compiler: 'Clang'
Features: ['DisableTests']
-
- Template: 'qtci-linux-RHEL-9.0-x86_64-50'
+ Template: 'qtci-linux-RHEL-9.2-x86_64-51'
Compiler: 'GCC'
Features: ['DisableTests']
-
diff --git a/coin/platform_configs/qt-creator.yaml b/coin/platform_configs/qt-creator.yaml
index 4f9204c0..8b7cc6d9 100644
--- a/coin/platform_configs/qt-creator.yaml
+++ b/coin/platform_configs/qt-creator.yaml
@@ -2,33 +2,34 @@ Version: 2
Module only: True
Configurations:
-
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
Configure arguments: ''
Environment variables: []
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
-
- Template: 'qtci-windows-10-x86-4'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
Configure arguments: ''
Environment variables: []
- Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'x86']
+ Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
-
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
- Compiler: 'GCC'
- Features: ['Packaging', 'Sccache', 'DebugAndRelease']
+ Template: 'qtci-windows-10-x86-4'
+ Compiler: 'MSVC2019'
+ Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
Configure arguments: ''
Environment variables: []
+ Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'x86']
-
- Template: 'qtci-linux-RHEL-9.0-x86_64-50'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Compiler: 'GCC'
- Features: ['Qt5', 'Sccache', 'DebugAndRelease']
+ Features: ['Packaging', 'Sccache', 'DebugAndRelease']
Configure arguments: ''
Environment variables: []
-
- Template: 'qtci-macos-11-x86_64-106'
+ Template: 'qtci-macos-12-x86_64-106'
Compiler: 'Clang'
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
Configure arguments: ''
diff --git a/coin/platform_configs/qt3d.yaml b/coin/platform_configs/qt3d.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qt3d.yaml
+++ b/coin/platform_configs/qt3d.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qt5.yaml b/coin/platform_configs/qt5.yaml
index a9157b9f..512c7051 100644
--- a/coin/platform_configs/qt5.yaml
+++ b/coin/platform_configs/qt5.yaml
@@ -1,5 +1,16 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
-Configurations: []
+Configurations:
+# Test on Debian-11.6 Wayland
+-
+ Id: 'debian-11.6-arm64-wayland-tests'
+ Template: 'qtci-linux-Debian-11.6-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
+ ]
+ Platform dependency: 'debian-11.6-arm64'
diff --git a/coin/platform_configs/qtactiveqt.yaml b/coin/platform_configs/qtactiveqt.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtactiveqt.yaml
+++ b/coin/platform_configs/qtactiveqt.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtapplicationmanager.yaml b/coin/platform_configs/qtapplicationmanager.yaml
index c3233842..781c6370 100644
--- a/coin/platform_configs/qtapplicationmanager.yaml
+++ b/coin/platform_configs/qtapplicationmanager.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+ ]
Configurations: []
diff --git a/coin/platform_configs/qtbase-new-compiler-testing.yaml b/coin/platform_configs/qtbase-new-compiler-testing.yaml
new file mode 100644
index 00000000..19361ff9
--- /dev/null
+++ b/coin/platform_configs/qtbase-new-compiler-testing.yaml
@@ -0,0 +1,14 @@
+Version: 2
+Configurations:
+# Test gcc-12 on RHEL 9.2
+-
+ Id: 'rhel-9.2-gcc12'
+ Template: 'qtci-linux-RHEL-9.2-x86_64-51'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
+ Configure arguments: '-developer-build -nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-pcre -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'PATH=/opt/rh/gcc-toolset-12/root/usr/bin/:{{.Env.PATH}}',
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
+ ]
diff --git a/coin/platform_configs/qtbase.yaml b/coin/platform_configs/qtbase.yaml
index 95d80e8c..0b847e1e 100644
--- a/coin/platform_configs/qtbase.yaml
+++ b/coin/platform_configs/qtbase.yaml
@@ -5,6 +5,10 @@ Include: [
integrity.yaml,
ios-tests.yaml,
address_sanitizer_platforms.yaml,
- linux_android_tests_multi_abi.yaml
+ linux_android_tests_multi_abi.yaml,
+ wasm_qtbase_tests.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ qtlite.yaml,
+ qtbase-new-compiler-testing.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtcharts.yaml b/coin/platform_configs/qtcharts.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtcharts.yaml
+++ b/coin/platform_configs/qtcharts.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtcoap.yaml b/coin/platform_configs/qtcoap.yaml
index c3233842..781c6370 100644
--- a/coin/platform_configs/qtcoap.yaml
+++ b/coin/platform_configs/qtcoap.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+ ]
Configurations: []
diff --git a/coin/platform_configs/qtconnectivity.yaml b/coin/platform_configs/qtconnectivity.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtconnectivity.yaml
+++ b/coin/platform_configs/qtconnectivity.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtdatavis3d.yaml b/coin/platform_configs/qtdatavis3d.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtdatavis3d.yaml
+++ b/coin/platform_configs/qtdatavis3d.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtdeclarative.yaml b/coin/platform_configs/qtdeclarative.yaml
index 3776bcfc..60fa62c8 100644
--- a/coin/platform_configs/qtdeclarative.yaml
+++ b/coin/platform_configs/qtdeclarative.yaml
@@ -3,6 +3,9 @@ Include: [
cmake_platforms.yaml,
integrity.yaml,
ios-tests.yaml,
- cmake_platforms_static_tests.yaml
+ address_sanitizer_platforms.yaml,
+ cmake_platforms_static_tests.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ qtlite.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtdeviceutilities.yaml b/coin/platform_configs/qtdeviceutilities.yaml
index c3233842..781c6370 100644
--- a/coin/platform_configs/qtdeviceutilities.yaml
+++ b/coin/platform_configs/qtdeviceutilities.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+ ]
Configurations: []
diff --git a/coin/platform_configs/qtdltlogging.yaml b/coin/platform_configs/qtdltlogging.yaml
index c3233842..7e8e4a89 100644
--- a/coin/platform_configs/qtdltlogging.yaml
+++ b/coin/platform_configs/qtdltlogging.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtdoc.yaml b/coin/platform_configs/qtdoc.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtdoc.yaml
+++ b/coin/platform_configs/qtdoc.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtgraphs.yaml b/coin/platform_configs/qtgraphs.yaml
index 8e519caa..1480ffd8 100644
--- a/coin/platform_configs/qtgraphs.yaml
+++ b/coin/platform_configs/qtgraphs.yaml
@@ -1,5 +1,7 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtgrpc.yaml b/coin/platform_configs/qtgrpc.yaml
index c3233842..6dd6b81e 100644
--- a/coin/platform_configs/qtgrpc.yaml
+++ b/coin/platform_configs/qtgrpc.yaml
@@ -1,3 +1,7 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qthttpserver.yaml b/coin/platform_configs/qthttpserver.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qthttpserver.yaml
+++ b/coin/platform_configs/qthttpserver.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtimageformats.yaml b/coin/platform_configs/qtimageformats.yaml
index 82ab0218..c2aada96 100644
--- a/coin/platform_configs/qtimageformats.yaml
+++ b/coin/platform_configs/qtimageformats.yaml
@@ -1,6 +1,8 @@
Version: 2
Include: [
cmake_platforms.yaml,
- integrity.yaml
+ address_sanitizer_platforms.yaml,
+ integrity.yaml,
+ cmake_platforms_qemu_vxworks.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtinterfaceframework.yaml b/coin/platform_configs/qtinterfaceframework.yaml
index c3233842..364ae5b0 100644
--- a/coin/platform_configs/qtinterfaceframework.yaml
+++ b/coin/platform_configs/qtinterfaceframework.yaml
@@ -1,3 +1,16 @@
Version: 2
-Include: [cmake_platforms.yaml]
-Configurations: []
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+ ]
+Configurations:
+-
+ Id: 'ubuntu-22.04-axivion'
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'UseConfigure', 'DisableTests','Axivion_qtinterfaceframework', 'Insignificant', 'VMSize8']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
+ ]
diff --git a/coin/platform_configs/qtivi.yaml b/coin/platform_configs/qtivi.yaml
index c3233842..781c6370 100644
--- a/coin/platform_configs/qtivi.yaml
+++ b/coin/platform_configs/qtivi.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+ ]
Configurations: []
diff --git a/coin/platform_configs/qtlanguageserver.yaml b/coin/platform_configs/qtlanguageserver.yaml
index 82ab0218..c2aada96 100644
--- a/coin/platform_configs/qtlanguageserver.yaml
+++ b/coin/platform_configs/qtlanguageserver.yaml
@@ -1,6 +1,8 @@
Version: 2
Include: [
cmake_platforms.yaml,
- integrity.yaml
+ address_sanitizer_platforms.yaml,
+ integrity.yaml,
+ cmake_platforms_qemu_vxworks.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtlite.yaml b/coin/platform_configs/qtlite.yaml
new file mode 100644
index 00000000..b339c0e6
--- /dev/null
+++ b/coin/platform_configs/qtlite.yaml
@@ -0,0 +1,205 @@
+Version: 2
+Configurations:
+-
+ Id: 'debian-11.6-static-qtlite-arm64'
+ Template: 'qtci-linux-Debian-11.6-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['UseConfigure', 'DisableTests']
+ Configure arguments: >
+ -nomake examples
+ -release
+ -optimize-size
+ -static
+ -ltcg
+ -reduce-exports
+ -gc-binaries
+ -feature-linuxfb
+ -disable-deprecated-up-to 0x070000
+ -no-feature-abstractbutton
+ -no-feature-abstractslider
+ -no-feature-accessibility
+ -no-feature-action
+ -no-feature-androiddeployqt
+ -no-feature-appstore-compliant
+ -no-feature-backtrace
+ -no-feature-batch_test_support
+ -no-feature-brotli
+ -no-feature-calendarwidget
+ -no-feature-cborstreamwriter
+ -no-feature-clipboard
+ -no-feature-colordialog
+ -no-feature-columnview
+ -no-feature-commandlinkbutton
+ -no-feature-completer
+ -no-feature-concatenatetablesproxymodel
+ -no-feature-contextmenu
+ -no-feature-cssparser
+ -no-feature-cups
+ -no-feature-datawidgetmapper
+ -no-feature-datetimeedit
+ -no-feature-datetimeparser
+ -no-feature-dbus
+ -no-feature-desktopservices
+ -no-feature-dial
+ -no-feature-dnslookup
+ -no-feature-dockwidget
+ -no-feature-dom
+ -no-feature-dtls
+ -no-feature-eglfs
+ -no-feature-errormessage
+ -no-feature-filesystemiterator
+ -no-feature-filesystemmodel
+ -no-feature-filesystemwatcher
+ -no-feature-fontcombobox
+ -no-feature-fontdialog
+ -no-feature-fscompleter
+ -no-feature-future
+ -no-feature-gestures
+ -no-feature-gif
+ -no-feature-graphicseffect
+ -no-feature-graphicsview
+ -no-feature-gssapi
+ -no-feature-harfbuzz
+ -no-feature-highdpiscaling
+ -no-feature-hijricalendar
+ -no-feature-http
+ -no-feature-ico
+ -no-feature-icu
+ -no-feature-identityproxymodel
+ -no-feature-im
+ -no-feature-imageformat_bmp
+ -no-feature-imageformat_jpeg
+ -no-feature-imageformat_ppm
+ -no-feature-imageformat_xbm
+ -no-feature-image_heuristic_mask
+ -no-feature-imageio-text-loading
+ -no-feature-image_text
+ -no-feature-inputdialog
+ -no-feature-islamiccivilcalendar
+ -no-feature-jalalicalendar
+ -no-feature-jpeg
+ -no-feature-keysequenceedit
+ -no-feature-lcdnumber
+ -no-feature-libinput
+ -no-feature-library
+ -no-feature-lineedit
+ -no-feature-linux-netlink
+ -no-feature-localserver
+ -no-feature-macdeployqt
+ -no-feature-mainwindow
+ -no-feature-mdiarea
+ -no-feature-menu
+ -no-feature-menubar
+ -no-feature-messagebox
+ -no-feature-mimetype
+ -no-feature-movie
+ -no-feature-mtdev
+ -no-feature-multiprocess
+ -no-feature-networkdiskcache
+ -no-feature-networkinterface
+ -no-feature-networkproxy
+ -no-feature-ocsp
+ -no-feature-opengl
+ -no-feature-openssl
+ -no-feature-pcre2
+ -no-feature-pdf
+ -no-feature-permissions
+ -no-feature-picture
+ -no-feature-printdialog
+ -no-feature-printer
+ -no-feature-printpreviewdialog
+ -no-feature-printpreviewwidget
+ -no-feature-printsupport
+ -no-feature-private_tests
+ -no-feature-process
+ -no-feature-processenvironment
+ -no-feature-progressbar
+ -no-feature-progressdialog
+ -no-feature-proxymodel
+ -no-feature-radiobutton
+ -no-feature-raster-64bit
+ -no-feature-raster-fp
+ -no-feature-resizehandler
+ -no-feature-rubberband
+ -no-feature-sanitize_fuzzer_no_link
+ -no-feature-schannel
+ -no-feature-scroller
+ -no-feature-securetransport
+ -no-feature-sessionmanager
+ -no-feature-settings
+ -no-feature-sha3-fast
+ -no-feature-sharedmemory
+ -no-feature-shortcut
+ -no-feature-sizegrip
+ -no-feature-socks5
+ -no-feature-sortfilterproxymodel
+ -no-feature-splashscreen
+ -no-feature-sql
+ -no-feature-sqlmodel
+ -no-feature-sql-sqlite
+ -no-feature-sspi
+ -no-feature-stackedwidget
+ -no-feature-statusbar
+ -no-feature-statustip
+ -no-feature-style-stylesheet
+ -no-feature-syntaxhighlighter
+ -no-feature-systemsemaphore
+ -no-feature-systemtrayicon
+ -no-feature-tabletevent
+ -no-feature-tablewidget
+ -no-feature-testlib
+ -no-feature-textbrowser
+ -no-feature-texthtmlparser
+ -no-feature-textmarkdownreader
+ -no-feature-textmarkdownwriter
+ -no-feature-textodfwriter
+ -no-feature-timezone
+ -no-feature-toolbar
+ -no-feature-toolbox
+ -no-feature-topleveldomain
+ -no-feature-transposeproxymodel
+ -no-feature-treewidget
+ -no-feature-udpsocket
+ -no-feature-undocommand
+ -no-feature-undogroup
+ -no-feature-undostack
+ -no-feature-undoview
+ -no-feature-valgrind
+ -no-feature-vkgen
+ -no-feature-vnc
+ -no-feature-vulkan
+ -no-feature-wasm-exceptions
+ -no-feature-wasm-simd128
+ -no-feature-whatsthis
+ -no-feature-wheelevent
+ -no-feature-widgets
+ -no-feature-widgettextcontrol
+ -no-feature-windeployqt
+ -no-feature-wizard
+ -no-feature-xkbcommon
+ -no-feature-xml
+ -qpa linuxfb
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=
+ -DFEATURE_qdoc=off
+ -DFEATURE_qml_debug=off
+ -DFEATURE_qml_jit=off
+ -DFEATURE_qml_locale=off
+ -DFEATURE_qml_network=off
+ -DFEATURE_qml_profiler=off
+ -DFEATURE_quickcontrols2_fusion=off
+ -DFEATURE_quickcontrols2_imagine=off
+ -DFEATURE_quickcontrols2_ios=off
+ -DFEATURE_quickcontrols2_macos=off
+ -DFEATURE_quickcontrols2_material=off
+ -DFEATURE_quickcontrols2_universal=off
+ -DFEATURE_quickcontrols2_windows=off
+ -DFEATURE_quick_designer=off
+ -DFEATURE_quick_particles=off
+ -DFEATURE_quick_pixmap_cache_threaded_download=off
+ -DFEATURE_quick_shadereffect=off
+ -DFEATURE_quicktemplates2_calendar=off
+ -DFEATURE_quicktemplates2_hover=off
+ -DFEATURE_quicktemplates2_multitouch=off'
+ ]
diff --git a/coin/platform_configs/qtlocation.yaml b/coin/platform_configs/qtlocation.yaml
index c3233842..7e8e4a89 100644
--- a/coin/platform_configs/qtlocation.yaml
+++ b/coin/platform_configs/qtlocation.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtlottie.yaml b/coin/platform_configs/qtlottie.yaml
index 8e519caa..7e8e4a89 100644
--- a/coin/platform_configs/qtlottie.yaml
+++ b/coin/platform_configs/qtlottie.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtmqtt.yaml b/coin/platform_configs/qtmqtt.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtmqtt.yaml
+++ b/coin/platform_configs/qtmqtt.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtmultimedia.yaml b/coin/platform_configs/qtmultimedia.yaml
index 8e519caa..1480ffd8 100644
--- a/coin/platform_configs/qtmultimedia.yaml
+++ b/coin/platform_configs/qtmultimedia.yaml
@@ -1,5 +1,7 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtnetworkauth.yaml b/coin/platform_configs/qtnetworkauth.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtnetworkauth.yaml
+++ b/coin/platform_configs/qtnetworkauth.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtopcua.yaml b/coin/platform_configs/qtopcua.yaml
index 8e519caa..7e8e4a89 100644
--- a/coin/platform_configs/qtopcua.yaml
+++ b/coin/platform_configs/qtopcua.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtpositioning.yaml b/coin/platform_configs/qtpositioning.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtpositioning.yaml
+++ b/coin/platform_configs/qtpositioning.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtquick3d.yaml b/coin/platform_configs/qtquick3d.yaml
index 82ab0218..af00afb2 100644
--- a/coin/platform_configs/qtquick3d.yaml
+++ b/coin/platform_configs/qtquick3d.yaml
@@ -1,6 +1,8 @@
Version: 2
Include: [
cmake_platforms.yaml,
- integrity.yaml
+ integrity.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtquick3dphysics.yaml b/coin/platform_configs/qtquick3dphysics.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtquick3dphysics.yaml
+++ b/coin/platform_configs/qtquick3dphysics.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtquickeffectmaker.yaml b/coin/platform_configs/qtquickeffectmaker.yaml
index c3233842..7e8e4a89 100644
--- a/coin/platform_configs/qtquickeffectmaker.yaml
+++ b/coin/platform_configs/qtquickeffectmaker.yaml
@@ -1,3 +1,6 @@
Version: 2
-Include: [cmake_platforms.yaml]
+Include: [
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtquicktimeline.yaml b/coin/platform_configs/qtquicktimeline.yaml
index 8e519caa..1480ffd8 100644
--- a/coin/platform_configs/qtquicktimeline.yaml
+++ b/coin/platform_configs/qtquicktimeline.yaml
@@ -1,5 +1,7 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtremoteobjects.yaml b/coin/platform_configs/qtremoteobjects.yaml
index 82ab0218..6d378d5e 100644
--- a/coin/platform_configs/qtremoteobjects.yaml
+++ b/coin/platform_configs/qtremoteobjects.yaml
@@ -1,6 +1,7 @@
Version: 2
Include: [
cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml,
integrity.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtsaferenderer-runtime.yaml b/coin/platform_configs/qtsaferenderer-runtime.yaml
index dc437366..a95c0295 100644
--- a/coin/platform_configs/qtsaferenderer-runtime.yaml
+++ b/coin/platform_configs/qtsaferenderer-runtime.yaml
@@ -8,16 +8,16 @@ Include: [
cmake_platforms.yaml: [
"ubuntu-22.04",
"ubuntu-22.04-documentation",
- "opensuse-15.4-developer-build",
- "sles-15_sp4-static",
+ "opensuse-15.5-developer-build",
+ "sles-15_sp5-static",
"windows-10_22h2-msvc2019",
"windows-10_22h2-msvc2022",
"windows-10_22h2-msvc2019-developer-build",
- "rhel-8.4",
- "windows-10_22h2-mingw11",
- "windows-10_22h2-mingw11-developer-build",
+ "rhel-8.8",
+ "windows-10_22h2-mingw13",
+ "windows-10_22h2-mingw13-developer-build",
"windows-10_22h2-llvm",
- "windows-11_22h2-msvc2019"
+ "windows-11_23H2-msvc2019"
],
cmake_platforms_qemu_qnx710.yaml: [
"qnx-710-x86_64-developer-build-on-linux",
@@ -26,6 +26,11 @@ Include: [
],
integrity.yaml: [
"integrity-arm64"
+ ],
+ cmake_platforms_qemu.yaml: [
+ "qemu-arm64-developer-build",
+ "qemu-armv7-developer-build",
+ "qemu-mips64-developer-build"
]
]
Configurations:
@@ -37,15 +42,44 @@ Configurations:
Compiler: 'GCC'
Platform dependency: 'ubuntu-22.04'
Features: ['UseConfigure', 'DoNotRunTests', 'DisableTests', 'Axivion_QSR']
- Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
- 'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd -qtlibinfix TestInfix',
+ 'TARGET_CONFIGURE_ARGS=-release -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd -qtlibinfix TestInfix',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
- "QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
+ "QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',
]
-
+-
+ Id: 'Axivion-qnx-710-arm64-on-linux'
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Target os: 'QNX_710'
+ Target arch: 'arm64'
+ Compiler: 'GCC'
+ Target compiler: 'QCC'
+ Platform dependency: 'ubuntu-22.04'
+ Features: ['UseConfigure', 'DoNotRunTests', 'DisableTests', 'Axivion_QSR']
+ Environment variables: [
+ 'TARGET_CONFIGURE_ARGS=-release -no-dbus -nomake examples -qtlibinfix TestInfix',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
+ ]
+-
+ Id: "Axivion-integrity-arm64"
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'GCC'
+ Target os: 'INTEGRITY'
+ Platform dependency: 'ubuntu-22.04'
+ Features: ['UseConfigure', 'DoNotRunTests', 'DisableTests', 'Axivion_QSR', 'VMSize16']
+ Environment variables: [
+ 'TARGET_CONFIGURE_ARGS=-nomake examples -device integrity-armv8-SA8155P -no-feature-library -no-feature-printdialog -no-dbus -no-feature-gtk3 -no-feature-glib -no-feature-libudev -qt-harfbuzz -qt-pcre -no-sql-mysql -no-feature-brotli',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE=/home/qt/integrity_toolchain/toolchain.cmake -DCMAKE_C_COMPILER=cxintarm64 -DCMAKE_CXX_COMPILER=cxintarm64 -DBUILD_qtdoc=OFF -DBUILD_qttranslations=OFF -DUNIX=ON --debug-trycompile',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_system_webp=OFF -DQT_FEATURE_timezone=OFF',
+ 'INTEGRITY_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/integrity',
+ 'INTEGRITY_BSP=platform-sa8155', 'INTEGRITY_BUILD_TARGET=rel',
+ 'QC_MULTIMEDIA_INC_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/include/amss/multimedia',
+ 'GL_INC_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/include/public',
+ 'GL_LIB_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/base:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/display:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/graphics:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/platform/:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/build/integrity/prebuilt/',
+ 'PATH=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/comp:$PATH',
+ ]
diff --git a/coin/platform_configs/qtsaferenderer.yaml b/coin/platform_configs/qtsaferenderer.yaml
index 6ef75b37..ec0d6832 100644
--- a/coin/platform_configs/qtsaferenderer.yaml
+++ b/coin/platform_configs/qtsaferenderer.yaml
@@ -8,14 +8,14 @@ Include: [
cmake_platforms.yaml: [
"ubuntu-22.04",
"ubuntu-22.04-documentation",
- "opensuse-15.4-developer-build",
- "sles-15_sp4-static",
+ "opensuse-15.5-developer-build",
+ "sles-15_sp5-static",
"windows-10_22h2-msvc2019",
"windows-10_22h2-msvc2022",
- "rhel-8.4",
- "windows-10_22h2-mingw11",
+ "rhel-8.8",
+ "windows-10_22h2-mingw13",
"windows-10_22h2-llvm",
- "windows-11_22h2-msvc2019"
+ "windows-11_23H2-msvc2019"
],
cmake_platforms_qemu_qnx710.yaml: [
"qnx-710-x86_64-developer-build-on-linux",
@@ -36,21 +36,23 @@ Configurations:
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
]
-
- Id: 'Linux-RHEL_8_6_Static'
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Id: 'Linux-RHEL_8_8_Static'
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
- 'CONAN_PROFILE=coin/conan/profiles/linux-x86_64-gcc'
+ 'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
]
-
Id: 'Windows-MSVC2019_Static'
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'MSVC2019'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql -plugin-sql-sqlite -plugin-sql-odbc'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
- 'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}']
+ 'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
+ ]
diff --git a/coin/platform_configs/qtscxml.yaml b/coin/platform_configs/qtscxml.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtscxml.yaml
+++ b/coin/platform_configs/qtscxml.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtsensors.yaml b/coin/platform_configs/qtsensors.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtsensors.yaml
+++ b/coin/platform_configs/qtsensors.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtserialbus.yaml b/coin/platform_configs/qtserialbus.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtserialbus.yaml
+++ b/coin/platform_configs/qtserialbus.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtserialport.yaml b/coin/platform_configs/qtserialport.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtserialport.yaml
+++ b/coin/platform_configs/qtserialport.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtshadertools.yaml b/coin/platform_configs/qtshadertools.yaml
index 82ab0218..c2aada96 100644
--- a/coin/platform_configs/qtshadertools.yaml
+++ b/coin/platform_configs/qtshadertools.yaml
@@ -1,6 +1,8 @@
Version: 2
Include: [
cmake_platforms.yaml,
- integrity.yaml
+ address_sanitizer_platforms.yaml,
+ integrity.yaml,
+ cmake_platforms_qemu_vxworks.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtspeech.yaml b/coin/platform_configs/qtspeech.yaml
index 8e519caa..7e8e4a89 100644
--- a/coin/platform_configs/qtspeech.yaml
+++ b/coin/platform_configs/qtspeech.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtsvg.yaml b/coin/platform_configs/qtsvg.yaml
index 82ab0218..c2aada96 100644
--- a/coin/platform_configs/qtsvg.yaml
+++ b/coin/platform_configs/qtsvg.yaml
@@ -1,6 +1,8 @@
Version: 2
Include: [
cmake_platforms.yaml,
- integrity.yaml
+ address_sanitizer_platforms.yaml,
+ integrity.yaml,
+ cmake_platforms_qemu_vxworks.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qttools.yaml b/coin/platform_configs/qttools.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qttools.yaml
+++ b/coin/platform_configs/qttools.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qttranslations.yaml b/coin/platform_configs/qttranslations.yaml
index 8e519caa..7e8e4a89 100644
--- a/coin/platform_configs/qttranslations.yaml
+++ b/coin/platform_configs/qttranslations.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtvehicleservices.yaml b/coin/platform_configs/qtvehicleservices.yaml
new file mode 100644
index 00000000..c3233842
--- /dev/null
+++ b/coin/platform_configs/qtvehicleservices.yaml
@@ -0,0 +1,3 @@
+Version: 2
+Include: [cmake_platforms.yaml]
+Configurations: []
diff --git a/coin/platform_configs/qtvirtualkeyboard.yaml b/coin/platform_configs/qtvirtualkeyboard.yaml
index 8e519caa..1480ffd8 100644
--- a/coin/platform_configs/qtvirtualkeyboard.yaml
+++ b/coin/platform_configs/qtvirtualkeyboard.yaml
@@ -1,5 +1,7 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ cmake_platforms_qemu_vxworks.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtwayland.yaml b/coin/platform_configs/qtwayland.yaml
index 92402966..52d13a7d 100644
--- a/coin/platform_configs/qtwayland.yaml
+++ b/coin/platform_configs/qtwayland.yaml
@@ -1,14 +1,15 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations:
# Test on Ubuntu 22.04 Wayland
-
Id: 'ubuntu-22.04-documentation-wayland-tests'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
Compiler: 'GCC'
- Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
+ Features: ['Sccache', 'TestDocs', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-22.04-documentation'
-
Id: 'ubuntu-22.04-wayland-tests'
@@ -16,3 +17,13 @@ Configurations:
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-22.04'
+# Test on Debian-11.6 Wayland
+-
+ Id: 'debian-11.6-arm64-wayland-tests'
+ Template: 'qtci-linux-Debian-11.6-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
+ ]
+ Platform dependency: 'debian-11.6-arm64'
diff --git a/coin/platform_configs/qtwebchannel.yaml b/coin/platform_configs/qtwebchannel.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtwebchannel.yaml
+++ b/coin/platform_configs/qtwebchannel.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtwebengine.yaml b/coin/platform_configs/qtwebengine.yaml
index 8e519caa..7e8e4a89 100644
--- a/coin/platform_configs/qtwebengine.yaml
+++ b/coin/platform_configs/qtwebengine.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/qtwebkit.yaml b/coin/platform_configs/qtwebkit.yaml
index 2c9f5efd..97910193 100644
--- a/coin/platform_configs/qtwebkit.yaml
+++ b/coin/platform_configs/qtwebkit.yaml
@@ -1,7 +1,7 @@
Version: 2
Configurations:
-
- Template: 'qtci-windows-10_22H2-x86_64-50'
+ Template: 'qtci-windows-10_22H2-x86_64-51'
Compiler: 'Mingw'
Environment variables: ['PATH=C:\MINGW1120_i686\mingw32\bin;$PATH']
Features: ['Packaging', UseLegacyInstructions']
diff --git a/coin/platform_configs/qtwebsockets.yaml b/coin/platform_configs/qtwebsockets.yaml
index 8e519caa..781c6370 100644
--- a/coin/platform_configs/qtwebsockets.yaml
+++ b/coin/platform_configs/qtwebsockets.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
]
Configurations: []
diff --git a/coin/platform_configs/qtwebview.yaml b/coin/platform_configs/qtwebview.yaml
index 8e519caa..7e8e4a89 100644
--- a/coin/platform_configs/qtwebview.yaml
+++ b/coin/platform_configs/qtwebview.yaml
@@ -1,5 +1,6 @@
Version: 2
Include: [
- cmake_platforms.yaml
- ]
+ cmake_platforms.yaml,
+ address_sanitizer_platforms.yaml
+]
Configurations: []
diff --git a/coin/platform_configs/tqtc-android-automotive.yaml b/coin/platform_configs/tqtc-android-automotive.yaml
index d13b6554..0f45f161 100644
--- a/coin/platform_configs/tqtc-android-automotive.yaml
+++ b/coin/platform_configs/tqtc-android-automotive.yaml
@@ -1,9 +1,10 @@
Version: 2
Include: [
cmake_platforms.yaml: [
- 'rhel-8.6',
- 'windows-10_22h2-mingw11',
- 'ubuntu-22.04-documentation'
+ 'rhel-8.8',
+ 'windows-10_22h2-mingw13',
+ 'ubuntu-22.04-documentation',
+ 'ubuntu-22.04-documentation-x11-tests'
],
macos.yaml: [
'macos-universal-on-x86_64'
@@ -11,25 +12,40 @@ Include: [
cmake_platforms_target_android.yaml: [
'android-arm64-on-macos',
'android-armv7-on-windows',
- 'android-x86-on-linux',
- 'android-x86_64-on-linux'
+ 'android-9-x86-on-linux',
+ 'android-14-x86_64-on-linux'
]
]
Configurations:
-
- Id: "automotive-android-x86-on-linux"
- Template: 'qtci-linux-RHEL-8.6-x86_64-50'
+ Id: "automotive-android-13-x86_64-on-linux"
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Target os: 'Android_ANY'
- Target arch: 'x86'
+ Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
- Platform dependency: 'rhel-8.6'
- Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
+ Platform dependency: 'rhel-8.8'
+ Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
- 'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
+ 'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
- 'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc',
- 'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang',
- 'ANDROID_EMULATOR=@automotive_emulator_x86_api_30'
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
+ 'ANDROID_EMULATOR=automotive_emulator_x86_64_api_33'
+ ]
+-
+ Id: "automotive-android-10-x86_64-on-linux"
+ Template: 'qtci-linux-RHEL-8.8-x86_64-50'
+ Target os: 'Android_ANY'
+ Target arch: 'x86_64'
+ Compiler: 'GCC'
+ Target compiler: 'Clang'
+ Platform dependency: 'rhel-8.8'
+ Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
+ Environment variables: [
+ 'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
+ 'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
+ 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
+ 'ANDROID_EMULATOR=automotive_emulator_x86_64_api_29'
]
diff --git a/coin/platform_configs/tqtc-qt-rta.yaml b/coin/platform_configs/tqtc-qt-rta.yaml
index c3233842..31874ccf 100644
--- a/coin/platform_configs/tqtc-qt-rta.yaml
+++ b/coin/platform_configs/tqtc-qt-rta.yaml
@@ -1,3 +1,32 @@
Version: 2
Include: [cmake_platforms.yaml]
-Configurations: []
+Configurations:
+#Ubuntu 20.04
+-
+ Id: 'ubuntu-20.04'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
+ 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
+ ]
+-
+ Id: 'Ubuntu-22.04-arm64-x11'
+ Template: 'qtci-linux-Ubuntu-22.04-aarch64-50'
+ Compiler: 'GCC'
+ Features: ['UseConfigure', 'DoNotRunTests']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
+ ]
+-
+ Id: 'Ubuntu-22.04-arm64-wayland'
+ Template: 'qtci-linux-Ubuntu-22.04-aarch64-51'
+ Compiler: 'GCC'
+ Features: ['UseConfigure', 'DoNotRunTests']
+ Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
+ Environment variables: [
+ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
+ ]
diff --git a/coin/platform_configs/tqtc-qtpip.yaml b/coin/platform_configs/tqtc-qtpip.yaml
new file mode 100644
index 00000000..7bc0741e
--- /dev/null
+++ b/coin/platform_configs/tqtc-qtpip.yaml
@@ -0,0 +1,12 @@
+Version: 2
+Module only: true
+Include: [
+ cmake_platforms.yaml: [
+ "windows-10_22h2-msvc2019",
+ "rhel-8.8"
+ ],
+ macos.yaml: [
+ "macos-universal-on-x86_64"
+ ]
+]
+Configurations: []
diff --git a/coin/platform_configs/tqtc-qtsdk.yaml b/coin/platform_configs/tqtc-qtsdk.yaml
new file mode 100644
index 00000000..a8ee222c
--- /dev/null
+++ b/coin/platform_configs/tqtc-qtsdk.yaml
@@ -0,0 +1,6 @@
+Version: 2
+Include: [
+ cmake_platforms.yaml,
+ qt-creator.yaml
+ ]
+Configurations: []
diff --git a/coin/platform_configs/wasm_qtbase_tests.yaml b/coin/platform_configs/wasm_qtbase_tests.yaml
new file mode 100644
index 00000000..54f340bd
--- /dev/null
+++ b/coin/platform_configs/wasm_qtbase_tests.yaml
@@ -0,0 +1,9 @@
+Version: 2
+Configurations:
+-
+ Id: 'webassembly-linux-thread-asyncify-tests'
+ Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
+ Target os: 'WebAssembly'
+ Compiler: 'GCC'
+ Features: ['Sccache', 'TestOnly']
+ Platform dependency: 'webassembly-linux-thread-asyncify'
diff --git a/coin/platform_configs/webos.yaml b/coin/platform_configs/webos.yaml
index 200a91b7..e0f285fe 100644
--- a/coin/platform_configs/webos.yaml
+++ b/coin/platform_configs/webos.yaml
@@ -2,52 +2,52 @@ Version: 2
Module only: true
Configurations:
- Id: 'webos-emulator-build'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['DoNotRunTests']
Environment variables: ['BUILD_EMULATOR=enabled']
- Id: 'webos-emulator-qtbase-tests'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtbase']
Platform dependency: 'webos-emulator-build'
- Id: 'webos-emulator-qtdeclarative-tests'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtdeclarative']
Platform dependency: 'webos-emulator-build'
- Id: 'webos-emulator-qtwayland-tests'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtwayland']
Platform dependency: 'webos-emulator-build'
- Id: 'webos-emulator-qtshadertools-tests'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtshadertools']
Platform dependency: 'webos-emulator-build'
- Id: 'webos-emulator-qtgraphicaleffects-tests'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: ['MODULE=qtgraphicaleffects']
Platform dependency: 'webos-emulator-build'
- Id: 'webos-raspberry-build'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['DoNotRunTests']
Environment variables: ['BUILD_RASPBERRY=enabled']
- Id: 'webos-ndk-installer-build'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['DoNotRunTests']
Environment variables: ['BUILD_NDK_INSTALLER=enabled']
- Id: 'webos-ndk-install'
- Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
+ Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
Compiler: 'GCC'
Features: ['TestOnly']
Platform dependency: ['webos-raspberry-build', 'webos-ndk-installer-build']
diff --git a/coin/platform_configs/yocto.yaml b/coin/platform_configs/yocto.yaml
index c4d4568c..d7606534 100644
--- a/coin/platform_configs/yocto.yaml
+++ b/coin/platform_configs/yocto.yaml
@@ -41,3 +41,18 @@ Configurations:
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'Yocto'
Target arch: 'TARGET10'
+ -
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'Yocto'
+ Features: ['Insignificant']
+ Target arch: 'INSIGNIFICANT_TARGET1'
+ -
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'Yocto'
+ Features: ['Insignificant']
+ Target arch: 'INSIGNIFICANT_TARGET2'
+ -
+ Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
+ Compiler: 'Yocto'
+ Features: ['Insignificant']
+ Target arch: 'INSIGNIFICANT_TARGET3'
diff --git a/coin/pre-provisioning/qtci-linux-RHEL-8.8-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-RHEL-8.8-x86_64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..a2ed87e0
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-RHEL-8.8-x86_64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,62 @@
+### RED HAT ENTERPRISE LINUX 8.8 ###
+
+Language: English (United States)
+Time & Date: Etc/Coordinated Universal Time
+Software Selection: Server with GUI
+Installation Destination: Automatic partitioning selected
+Root Passowrd: Set
+Network & Host..: Connect
+User Creation
+Beging Installation
+
+Reboot
+
+Licensing: Accept
+Finish Configuration
+
+gnome-initial-setup:
+Language: English (US)
+Typing:English (US)
+Privacy: Location Services: OFF
+Connect Your Online Accounts: Skip
+Start Using Red Hat Enterprise Linux
+
+# Add user to sudoers
+Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
+
+# Configure Settings
+ Notifications:
+ * Notification Popups: OFF
+ * Lock Screen Notifications: OFF
+ Privacy:
+ * Screen Lock: OFF
+ Power:
+ * Blank screen: Never
+ Details:
+ * Time & Date: Time Zone: UTC
+ * run "sudo timedatectl set-timezone Etc/UTC"
+ * Users: Automatic login on
+
+Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
+sudo grub2-mkconfig -o /etc/grub2.cfg
+sudo grub2-mkconfig -o /boot/grub2/grub.cfg
+
+# Add support for virtio driver
+su
+echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
+dracut -f
+
+# Do these from Opennebula UI!
+
+# Enable network connection from right upper corner
+
+ Devices:
+ * Displays: Resolution 1280 x 800
+
+# Fetch and run coin-setup
+Download http://coin/coin/binary/linux_amd64/coin-setup
+# run as qt user
+chmod 755 coin-setup
+run './coin-setup'
+
+Reboot
diff --git a/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh b/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
index 496aec53..aeac4768 100755
--- a/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
+++ b/coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable-automounting.sh b/coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable-automounting.sh
new file mode 100644
index 00000000..645f9f42
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable-automounting.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
+[org/gnome/desktop/media-handling]
+automount=false
+automount-open=false
+EOF
+
+sudo dconf update
+
diff --git a/coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..f12e95f1
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-RHEL-9.2-x86_64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,60 @@
+### RHEL 9.2 ###
+Hard Disk: 500G
+Network: CI
+Video Card: Total Video Memory: 64MB
+Boot options/Firmware: BIOS
+
+Language: English (United States)
+Time & Date: Etc/Coordinated Universal Time
+Software Selection: Server with GUI
+Installation Destination: Automatic partitioning selected
+Root Passowrd: Set
+Network & Host..: Connect
+Beging Installation
+
+Reboot
+
+# Configure Settings
+ Notifications:
+ * Lock Screen Notifications: OFF
+ * Applications: Set notification off
+ Applications:
+ * Disable notifications from all applications
+ Privacy:
+ * Blank Screen Delay: Never
+ * Screen Lock: OFF
+ Power:
+ * Blank screen: Never
+ Displays:
+ * Resolution: 1280 x 800
+ Users:
+ * Automatic login on
+
+# Add user to sudoers
+Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
+
+Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
+sudo grub2-mkconfig -o /etc/grub2.cfg
+sudo grub2-mkconfig -o /boot/grub2/grub.cfg
+
+# Add support for virtio driver
+su
+echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
+dracut -f
+
+# Do these from Opennebula UI!
+
+# Enable network connection from right upper corner
+
+# Fetch and run coin-setup
+Download http://coin/coin/binary/linux_amd64/coin-setup
+# run as qt user
+run './coin-setup'
+
+# Switch to use GNOME Classic user interface
+# GNOME Classic was selected because there's an issue with Starndard (wayland display server). Autotest start failing because terminal session remains in Activities Overview.
+# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3854
+First execute script ./01-disable-automounting.sh (dconf update crash in GNOME Classic)
+logout -> Select user (without it the drop down menu won't appear) -> switch to 'GNOME Classic' from drop down menu in login screen
+
+Reboot
diff --git a/coin/pre-provisioning/qtci-linux-SLES-15_SP5-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-SLES-15_SP5-x86_64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..3f25ec4a
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-SLES-15_SP5-x86_64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,75 @@
+### SUSE Linux Enterprise Server 15 SP5 ###
+
+# Register product #
+Register product at the beginning or later during the
+installation process. Full version allows registering later.
+
+# Installation #
+Language: English (US)
+Keyboard Layout: English (US)
+
+Available Extensions and Modules:
+ Basesystem Module
+ Desktop Applications Module
+ Python 3 Module
+ Server Applications Module
+
+SLES with GNOME
+
+Region: Etc
+Time Zone: UTC
+
+Create user with automatic login
+
+disable firewall
+
+Displays: Resolution 1280x800
+Power: Screen Blank: Never
+Privacy: Screen lock: Automatic screen lock: disable
+Privacy: Screen lock: Show notifications on lock screen: disable
+
+# Add user to sudoers
+Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
+
+sudo su -
+echo 'add_drivers+=" virtio-blk "' >/etc/dracut.conf.d/virtio.conf
+dracut -f
+
+# Add these to /etc/polkit-default-privs.local
+org.freedesktop.udisks2.filesystem-mount yes
+org.freedesktop.udisks2.filesystem-mount-other-seat yes
+org.freedesktop.udisks2.filesystem-mount-system yes
+org.freedesktop.login1.power-off yes
+org.freedesktop.login1.power-off-ignore-inhibit yes
+org.freedesktop.login1.power-off-multiple-sessions yes
+
+# Run this command for changes to take effect
+sudo bash /sbin/set_polkit_default_privs
+
+# Set how DHClient creates CID for compatibility with older DHCP servers
+sudo sed -i 's/DHCLIENT_CREATE_CID=""/DHCLIENT_CREATE_CID="rfc2132"/' /etc/sysconfig/network/dhcp
+systemctl restart wicked
+
+# Create /etc/sysconfig/network/ifcfg-eth1 with values:
+* BOOTPROTO='dhcp'
+* STARTMODE='auto'
+sudo ifup eth1
+
+# If not yet registered - Register product
+# Add 'Available Extensions and Modules'
+* Basesystem Module 15 SP5 x86_64
+* Server Applications Module 15 SP5 x86_64
+* Python 3 Module 15 SP5 x86_64
+* Desktop Applications Module 15 SP5 x86_64
+
+zypper update
+
+* Download and run coin-setup
+
+# Fetch and run coin-setup
+Download http://coin/coin/binary/linux_386/coin-setup
+# run as qt user
+chmod 755 ./coin-setup
+sudo ./coin-setup
+
+sudo reboot now
diff --git a/coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..7501b3e3
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,59 @@
+### Ubuntu 20.04 ###
+Hard Disk: 1TB
+
+Language: English (United States)
+Time & Date: Etc/Coordinated Universal Time
+Software Selection: Desktop image, minimal install
+
+Language: English (US)
+Typing: English (US)
+Privacy: Location Services: OFF
+Connect Your Online Accounts: Skip
+
+
+# Configure Settings
+ Notifications:
+ * Notification Popups: OFF
+ * Lock Screen Notifications: OFF
+ Privacy:
+ * Screen Lock: OFF
+ * File History & Rubbish Bin:
+ * File History: Off
+ * Diagnostics:
+ * Send error reports to Canonical: Never
+ Power:
+ * Blank screen: Never
+ * Automatic suspend: Off
+ Appearance:
+ * Auto-hide the dock: Off
+ Devices:
+ * Displays: Resolution 1280 x 800
+ Details:
+ * Time Zone: UTC
+ * run "sudo timedatectl set-timezone UTC"
+ * Users: Automatic login on
+
+ Software & Updates:
+ * Updates:
+ * Subscribed to: Security updates only
+ * Automatically check for updates: Never
+ * Notify me of a new Ubuntu version: Never
+
+# Add user to sudoers
+Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
+
+Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
+run 'sudo grub2-mkconfig'
+
+# Install ssh server
+run 'sudo apt install openssh-server'
+
+# Disable firewall
+run 'sudo ufw disable'
+
+# Fetch and run coin-setup (in Opennebula)
+Download http://coin/coin/binary/linux_amd64/coin-setup
+run './coin-setup'
+
+Reboot
+
diff --git a/coin/pre-provisioning/qtci-linux-Ubuntu-24.04-aarch64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-Ubuntu-24.04-aarch64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..4b581d78
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-Ubuntu-24.04-aarch64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,60 @@
+### Ubuntu 24.04 ###
+Hard Disk: 1TB
+
+Language: English (United States)
+Time & Date: Etc/Coordinated Universal Time
+Software Selection: Desktop image, minimal install
+
+Language: English (US)
+Typing: English (US)
+Privacy: Location Services: OFF
+Connect Your Online Accounts: Skip
+
+
+# Configure Settings
+ Notifications:
+ * Notification Popups: OFF
+ * Lock Screen Notifications: OFF
+ Privacy:
+ * Screen Lock: OFF
+ * File History & Rubbish Bin:
+ * File History: Off
+ * Diagnostics:
+ * Send error reports to Canonical: Never
+ Power:
+ * Blank screen: Never
+ * Automatic suspend: Off
+ Appearance:
+ * Auto-hide the dock: Off
+ Devices:
+ * Displays: Resolution 1280 x 800 (found 1280 x 768)
+ Details:
+ * Time Zone: UTC
+ * run "sudo timedatectl set-timezone UTC"
+ * Users: Automatic login on
+
+ Software & Updates:
+ * Updates:
+ * Subscribed to: Security updates only
+ * Automatically check for updates: Never
+ * Notify me of a new Ubuntu version: Never
+
+# Add user to sudoers
+Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
+
+Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub (Now it's 1280x768 - is that OK?)
+run 'sudo grub-mkconfig'
+
+# Install ssh server
+run 'sudo apt install openssh-server'
+
+# Disable firewall
+run 'sudo ufw disable'
+
+# Fetch and run coin-setup (in Opennebula)
+Download http://coin/coin/binary/linux_arm64/coin-setup
+run 'chmod +x ./coin-setup' to make it executable
+run './coin-setup'
+
+Reboot
+
diff --git a/coin/pre-provisioning/qtci-linux-openSUSE-15.5-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-openSUSE-15.5-x86_64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..98f6b047
--- /dev/null
+++ b/coin/pre-provisioning/qtci-linux-openSUSE-15.5-x86_64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,35 @@
+### OpenSUSE Leap 15.5 ###
+## KDE ##
+## In qtci-linux-openSUSE-15.5-x86_64-52 > Graphics Platform: X11 (System default) ##
+
+# Installation #
+Language: English (US)
+Keyboard Layout: English (US)
+
+Activate online repositories during installation (yes)
+Use default selections
+
+Desktop with KDE Plasma
+
+Suggested Partitioning - default values
+
+Time Zone: UTC
+
+## Configurations ##
+Before coin-setup add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
+Download and run coin-setup binary - http://10.215.100.35/coin/binary/linux_amd64/coin-setup
+- If IP has changed and Coin name not visible to VM, check from Coin logs which IP works for VMs
+Workspace Behavior - Screen locking - Lock screen automatically - unselect options
+Startup and Shutdown - Behavior - Login Screen - Select Automatically log in with session (System default)
+Notifications
+ Critical notifications - unselect
+ Low priority notifications - unselect
+ Application progress: Show in task manager - unselect
+ Show in notifications - unselect
+ Notification badges: Show in task manager - unselect
+Display and Monitor - Display Configuration - 1280x800
+Power Management: Screen Energy Saving - unselect
+ Suspend Session - unselect
+YaST - Hardware - Sound - Add Dummy soundcard
+
+Reboot
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-10-x86/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/disable-defragment.ps1
+++ b/coin/pre-provisioning/qtci-windows-10-x86/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-10-x86/disable-windefender.ps1
index 5199426a..04130db0 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-10-x86/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-10-x86/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-10-x86/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/msvc2015.txt b/coin/pre-provisioning/qtci-windows-10-x86/msvc2015.txt
index cfd6a4c4..41b8858d 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/msvc2015.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86/msvc2015.txt
@@ -1,7 +1,7 @@
# Install visual studio 2015
version = "2015 update 3"
-installer = "http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_x86_x64_web_installer_6846650.exe"
+installer = "http://ci-files01-hki.ci.qt.io/input/windows/en_visual_studio_professional_2015_x86_x64_web_installer_6846650.exe"
# Select default values
# Make sure these are selected:
* All values from 'Universal Windows App Development Tools'
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/msvc2017.txt b/coin/pre-provisioning/qtci-windows-10-x86/msvc2017.txt
index 99beff16..12b4df21 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/msvc2017.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86/msvc2017.txt
@@ -1,48 +1,12 @@
-############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studio $version version $version_number was installed manually using $installer.
$version = "2017"
# Current version was manually upgraded from the installer
$version_number = "15.9.21"
-$installer = "http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__1312218103.1526017942.exe"
+$installer = "http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__1312218103.1526017942.exe"
# Following components were selected from installer:
# Microsoft.Net.Component.4.5.TargetingPack (.NET Framework 4.5 targeting pack)
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/msvc2017_build_tools.txt b/coin/pre-provisioning/qtci-windows-10-x86/msvc2017_build_tools.txt
index a306bbe4..a7907f59 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/msvc2017_build_tools.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86/msvc2017_build_tools.txt
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\helpers.ps1"
# Install Visual Studio 2017 Build Tools
@@ -43,4 +7,4 @@
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
$url_internal = https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_2017_version_15.0_x86_x64_10254482.exe"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/mu_build_tools_for_visual_studio_2017_version_15.0_x86_x64_10254482.exe"
diff --git a/coin/pre-provisioning/qtci-windows-10-x86/msvc2019.txt b/coin/pre-provisioning/qtci-windows-10-x86/msvc2019.txt
index d8767a96..9d612c9a 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86/msvc2019.txt
@@ -3,11 +3,11 @@
$version = "2019"
# Current version was manually upgraded from the installer
$version_number = "16.4.6"
-$installer = "http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__505064367.1547034421.exe"
+$installer = "http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__505064367.1547034421.exe"
MSVC 2019 build tools (default installation, no additional selections).
* Install after MSVC2019 is installed!
- * Installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+ * Installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Version: 16.4.6
Installed MSVC-2019 Components:
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-defragment.ps1
+++ b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windefender.ps1
index ef44e6d4..17b30db0 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.txt b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.txt
index c4714602..8ee31abf 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.txt
@@ -15,4 +15,4 @@ $installer = "en_visual_studio_professional_2015_with_update_3_x86_x64_web_insta
# -Visual Studio Extensibility Tools Update 3
# NOTE! Windows SDK 10.0.14393 installation failed through visual studio installer so it was installed using $sdk_installer
-$sdk_installer = "http://ci-files01-hki.intra.qt.io/input/windows/sdksetup.exe"
+$sdk_installer = "http://ci-files01-hki.ci.qt.io/input/windows/sdksetup.exe"
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt
index c63fcd50..b9713a49 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt
@@ -7,7 +7,7 @@ $installer = "http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__5050
MSVC 2019 build tools (default installation, no additional selections).
* Install after MSVC2019 is installed!
- * Installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+ * Installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Version: 16.8.1
Installed MSVC-2019 Components:
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt b/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt
index 3e5a3ea0..e6ec797d 100644
--- a/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt
+++ b/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt
@@ -19,7 +19,7 @@ have a VirtIO device installed, and we can't boot with a VirtIO device before
the driver is installed, we have to blindly install the registry entries:
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/vioscsi.reg
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/vioscsi.reg
However, we've seen that the Owner in the registry can be wrong. This entry
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
diff --git a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-defragment.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windefender.ps1
index ef44e6d4..17b30db0 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/msvc2019.txt
index 4e736ce3..107620c4 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/msvc2019.txt
@@ -65,7 +65,7 @@ Windows 10 SDK (10.0.20348.0)
############################################################
### Visual Studio 2019 build tools ###
-Visual studio 2019 build tools version 16.11.2 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+Visual studio 2019 build tools version 16.11.2 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/virtio.txt b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/virtio.txt
index 3e5a3ea0..e6ec797d 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/virtio.txt
+++ b/coin/pre-provisioning/qtci-windows-10_21H1-x86_64/virtio.txt
@@ -19,7 +19,7 @@ have a VirtIO device installed, and we can't boot with a VirtIO device before
the driver is installed, we have to blindly install the registry entries:
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/vioscsi.reg
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/vioscsi.reg
However, we've seen that the Owner in the registry can be wrong. This entry
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-defragment.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windefender.ps1
index ef44e6d4..17b30db0 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2015_update.txt b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2015_update.txt
index b863f91a..5a730029 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2015_update.txt
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2015_update.txt
@@ -1,5 +1,5 @@
### Visual Studio 2015 ###
-Visual Studio 2015 version 14.0.25420.1 Update 3 was installed manually using ISO-image: http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso
+Visual Studio 2015 version 14.0.25420.1 Update 3 was installed manually using ISO-image: http://ci-files01-hki.ci.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso
(Mount the ISO-image by double clicking it and run 'vs_professional.exe')
default plus following components were selected:
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2019.txt
index fc554fcd..b3854a52 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2019.txt
@@ -1,5 +1,5 @@
### Visual Studio 2019 ###
-Visual Studio 2019 version 16.11.7 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__505064367.1547034421.exe
+Visual Studio 2019 version 16.11.7 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__505064367.1547034421.exe
Installed MSVC-2019 Components:
@@ -66,7 +66,7 @@ Windows 10 SDK (10.0.22000.0)
############################################################
### Visual Studio 2019 build tools ###
-Visual studio 2019 build tools version 16.11.7 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+Visual studio 2019 build tools version 16.11.7 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2022.txt b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2022.txt
index 4ae0327d..05695256 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2022.txt
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/msvc2022.txt
@@ -1,5 +1,5 @@
### Visual Studio 2022 Official release ###
-Visual Studio 2022 version 17.0.1 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+Visual Studio 2022 version 17.0.1 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
Installed MSVC-2022 Components:
@@ -60,7 +60,7 @@ Windows Universal C Runtime
############################################################
### Visual Studio 2022 build tools ###
- Visual studio 2022 build tools version 17.0.1 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
+ Visual studio 2022 build tools version 17.0.1 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/virtio.txt b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/virtio.txt
index c3008ae9..9f6ef81f 100644
--- a/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/virtio.txt
+++ b/coin/pre-provisioning/qtci-windows-10_21H2-x86_64/virtio.txt
@@ -6,7 +6,7 @@ to using the VirtIO NIC in KVM.
NOTE! Install these Virtio drivers in Opennebula when using Windows 10 20H2
* Download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.204-1/virtio-win-0.1.204.iso
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/virtio-win-0.1.204.iso
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/virtio-win-0.1.204.iso
* Mount virtio-win-0.1.185.iso by double clicking it.
* Right click 'E:\NetKVM\w10\amd64\netkvm.inf' and select Install
* Right click 'E:\Balloon\w10\amd64\balloon.inf' and select Install
@@ -19,7 +19,7 @@ have a VirtIO device installed, and we can't boot with a VirtIO device before
the driver is installed, we have to blindly install the registry entries:
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/vioscsi.reg
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/vioscsi.reg
However, we've seen that the Owner in the registry can be wrong. This entry
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
diff --git a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windefender.ps1
index ef44e6d4..17b30db0 100644
--- a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2015_update.txt b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2015_update.txt
index e197b212..bafa6c75 100644
--- a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2015_update.txt
+++ b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2015_update.txt
@@ -1,5 +1,5 @@
### Visual Studio 2015 ###
-Visual Studio 2015 version 14.0.25420.1 Update 3 was installed manually using ISO-image: http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso
+Visual Studio 2015 version 14.0.25420.1 Update 3 was installed manually using ISO-image: http://ci-files01-hki.ci.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso
(Mount the ISO-image by double clicking it and run 'vs_professional.exe')
default plus following components were selected:
diff --git a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2019.txt
index 28278630..013c01b4 100644
--- a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2019.txt
@@ -1,5 +1,5 @@
### Visual Studio 2019 ###
-Visual Studio 2019 version 16.11.20 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__505064367.1547034421.exe
+Visual Studio 2019 version 16.11.27 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__505064367.1547034421.exe
Installed MSVC-2019 Components:
@@ -66,7 +66,7 @@ Windows 11 SDK (10.0.22000.0)
############################################################
### Visual Studio 2019 build tools ###
-Visual studio 2019 build tools version 16.11.20 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+Visual studio 2019 build tools version 16.11.27 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2022.txt b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2022.txt
index e9c7b519..09764b39 100644
--- a/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2022.txt
+++ b/coin/pre-provisioning/qtci-windows-10_22H2-x86_64/msvc2022.txt
@@ -1,5 +1,5 @@
### Visual Studio 2022 Official release ###
-Visual Studio 2022 version 17.3.6 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+Visual Studio 2022 version 17.6.4 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
Installed MSVC-2022 Components:
@@ -61,7 +61,7 @@ Windows Universal C Runtime
############################################################
### Visual Studio 2022 build tools ###
- Visual studio 2022 build tools version 17.3.6 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
+ Visual studio 2022 build tools version 17.6.4 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt
index f026095f..5e0451db 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt
@@ -2,7 +2,7 @@
# Create Ubuntu 20.04 and install virt-manager:
Create e.g. Ubuntu 20.04 VM
-Connect to machine and download the ISO-image and virtio-drivers (http://ci-files01-hki.intra.qt.io/input/windows/virtio/virtio-win-0.1.204.iso or https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.204-1/)
+Connect to machine and download the ISO-image and virtio-drivers (http://ci-files01-hki.ci.qt.io/input/windows/virtio/virtio-win-0.1.204.iso or https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.204-1/)
sudo apt update
sudo apt install virt-manager
sudo systemctl start libvirtd
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-defragment.ps1
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windefender.ps1
index ef44e6d4..17b30db0 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2015_update.txt b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2015_update.txt
index b863f91a..5a730029 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2015_update.txt
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2015_update.txt
@@ -1,5 +1,5 @@
### Visual Studio 2015 ###
-Visual Studio 2015 version 14.0.25420.1 Update 3 was installed manually using ISO-image: http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso
+Visual Studio 2015 version 14.0.25420.1 Update 3 was installed manually using ISO-image: http://ci-files01-hki.ci.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso
(Mount the ISO-image by double clicking it and run 'vs_professional.exe')
default plus following components were selected:
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2019.txt
index 439b5de0..16486b08 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2019.txt
@@ -1,5 +1,5 @@
### Visual Studio 2019 ###
-Visual Studio 2019 version 16.11.5 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__505064367.1547034421.exe
+Visual Studio 2019 version 16.11.5 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__505064367.1547034421.exe
Installed MSVC-2019 Components:
@@ -66,7 +66,7 @@ Windows 11 SDK (10.0.22000.0)
############################################################
### Visual Studio 2019 build tools ###
-Visual studio 2019 build tools version 16.11.5 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+Visual studio 2019 build tools version 16.11.5 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2022.txt b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2022.txt
index 5b03d8b2..40487be4 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2022.txt
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/msvc2022.txt
@@ -1,7 +1,7 @@
### Visual Studio 2022 Preview ###
-Visual Studio 2022 version 17.0.0 preview 7.0 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional_2022_preview.exe
+Visual Studio 2022 version 17.0.0 preview 7.0 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional_2022_preview.exe
### Visual Studio 2022 Official release ###
-Visual Studio 2022 version 17.0.1 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+Visual Studio 2022 version 17.0.1 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
Installed MSVC-2022 Components:
@@ -62,10 +62,10 @@ Windows Universal C Runtime
############################################################
### Visual Studio 2022 build tools ###
-Visual studio 2022 build tools version 17.0.0 preview 7.0 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__msvc2022_preview.exe"
+Visual studio 2022 build tools version 17.0.0 preview 7.0 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__msvc2022_preview.exe"
* Only default installation, no additional selections
- Visual studio 2022 build tools version 17.0.1 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
+ Visual studio 2022 build tools version 17.0.1 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
* Only default installation, no additional selections
############################################################
diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/virtio.txt b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/virtio.txt
index fc128d74..e6ec797d 100644
--- a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/virtio.txt
+++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/virtio.txt
@@ -6,7 +6,7 @@ to using the VirtIO NIC in KVM.
NOTE! Install these Virtio drivers in Opennebula when using Windows 10 20H2
* Download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.185-2/virtio-win-0.1.185.iso
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/virtio-win-0.1.185.iso
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/virtio-win-0.1.185.iso
* Mount virtio-win-0.1.185.iso by double clicking it.
* Right click 'E:\NetKVM\w10\amd64\netkvm.inf' and select Install
* Right click 'E:\Balloon\w10\amd64\balloon.inf' and select Install
@@ -19,7 +19,7 @@ have a VirtIO device installed, and we can't boot with a VirtIO device before
the driver is installed, we have to blindly install the registry entries:
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/vioscsi.reg
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/vioscsi.reg
However, we've seen that the Owner in the registry can be wrong. This entry
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..abd3954d
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,64 @@
+# Follow manual pre-setup from intra to install Windows 11 ARM and virtio drivers:
+# "How to create a Windows 11 ARM tier1 image using Qemu"
+
+# Configure Windows after pre-setup
+* Enable Remote Desktop:
+ - Settings - System - Remote Desktop - On
+* Resolution set to 1280x800
+ - Unfortunately not possible, only 1280x1024 is available
+* Coin-setup:
+ - Installing Boostrap agent
+ - Disabling fast boot
+ - Disabling firewall
+ - Disabling UAC
+ - Enabling autologin
+ - Automatic login
+ - Disabling windows updates
+* Turn off Windows defender:
+ - Microsoft Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Microsoft Defender Antivirus'
+ - Edit 'Turn off Microsoft Defender Antivirus' > 'Enabled' > 'Apply'
+ - Reboot on Safe mode:
+ - Open msconfig - Boot tab - enable “Safe boot“ - apply - restart
+ - In Safe mode:
+ - Take Ownership of Defender:
+ - Open properties - Right click "C:\Program Files\Windows Defender\Platform" and select 'Properties'
+ - Open Security tab - Advanced - Owner: Change - Advanced - Find now - Select Administrators - Ok - Ok
+ - Remove all Permissions: Permissions tab - Select 'Disable inheritance' - Remove all entries -Select 'Replace all child object permi…' - Apply
+ - Disable Windows defender also from RegEdit:
+ - Open regedit - Navigate to 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services'
+ - Change the following folders the key Start to 4
+ - Sense (Windows defender advanced threat protection)
+ - WdBoot (Windows defender boot)
+ - WdFilter (Microsoft antimalware file system filter driver)
+ - WdNisDrv (Windows Defender Network Inspection Driver)
+ - WdNisSvc (Windows Defender Network Inspection Service)
+ - WinDefend (Windows Defender Antivirus Service)
+ - mpssvc (Windows Defender Firewall)
+ - NOTE! Without these step windows defender can't be disabled!
+ - Reboot back to normal mode
+* Background defrag disabled: 'Defragment And Optimize Drives' - 'change settings' - unchecked "run on a schedule"
+ - Run in terminal: 'schtasks /Delete /TN "Microsoft\Windows\Defrag\ScheduledDefrag"'
+* Time:
+ - Settings - System - Date & time - Time zone: 'Co-ordinated Universal Time'
+ - Settings - System - Date & time - "Set the time automatically: Off"
+* Regional format:
+ - Settings - Time & language - Language and region - regional format - English (United States)
+* Power saver:
+ - Settings - System - Power - Screen and sleep: set 'When plugged in, turn off my screen after' to 'never'
+* Windows search disabled:
+ - 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'Windows search' - stop & disable
+* Sysmain disabled:
+ - 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'SysMain' - stop & disable
+* Windows update:
+ - Settings - Windows Update - run available updates (Windows update2023-09 Cumulative Update for Windows 11 Version 22H2 for arm64-based Systems (KB5030219))
+ - After reboot disable windows updates:
+ - 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'Windows updates' - stop & disable
+* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
+* (Restart Windows)
+* Google Chrome installed for RTA
+* Virus & threat protection settings:
+ * Check that there's no active antivirus providers
+* Activate Windows
+
+# Next
+Proceed to install pre-provisioning scripts manually to Tier1 image
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-clean-manager.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-clean-manager.ps1
new file mode 100644
index 00000000..45ce141f
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-clean-manager.ps1
@@ -0,0 +1,8 @@
+# This script will disable automatic disk cleanup
+
+. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
+
+Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy`" /V 04 /T REG_dWORD /D 0 /F"
+
+# Maintenance task used by the system to launch a silent auto disk cleanup when running low on free disk space.
+DisableSchedulerTask "DiskCleanup\SilentCleanup"
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-defragment.ps1
new file mode 100644
index 00000000..bb449e56
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-defragment.ps1
@@ -0,0 +1,42 @@
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
+# thus needing its own version.
+Write-Host "Disabling defragmentation"
+$version = Get-CimInstance Win32_OperatingSystem | Select-Object -ExpandProperty Caption
+if ($version -like '*Windows 7*'){
+ $pi = New-Object System.Diagnostics.ProcessStartInfo
+ $pi.FileName = "C:\Windows\System32\schtasks.exe"
+ $pi.RedirectStandardError = $true
+ $pi.UseShellExecute = $false
+ $pi.Arguments = "/Delete /TN `"\Microsoft\Windows\Defrag\ScheduledDefrag`" /F"
+ $prog = New-Object System.Diagnostics.Process
+ $prog.StartInfo = $pi
+ $prog.Start() | Out-Null
+ $err = $prog.StandardError.ReadToEnd()
+ $prog.WaitForExit()
+ if ($prog.ExitCode -eq 0){
+ Write-Host "Scheduled defragmentation removed"
+ } else {
+ if ($err -like '*cannot find the file*'){
+ Write-Host "No scheduled defragmentation task found"
+ exit 0
+ } else {
+ Write-Host "Error while deleting scheduled defragmentation task: $err"
+ }
+ }
+}
+else {
+ try {
+ $state = (Get-ScheduledTask -ErrorAction Stop -TaskName "ScheduledDefrag").State
+ Write-Host "Scheduled defragmentation task found in state: $state"
+ }
+ catch {
+ Write-Host "No scheduled defragmentation task found"
+ exit 0
+ }
+ Write-Host "Unregistering scheduled defragmentation task"
+ Unregister-ScheduledTask -ErrorAction Stop -Confirm:$false -TaskName ScheduledDefrag
+ Write-Host "Scheduled Defragmentation task was cancelled"
+}
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-ntp.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-ntp.ps1
new file mode 100644
index 00000000..22651763
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-ntp.ps1
@@ -0,0 +1,4 @@
+. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
+
+# Disable the NTP from syncing
+Run-Executable "w32tm.exe" "/config /syncfromflags:NO"
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-schedule-tasks.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-schedule-tasks.ps1
new file mode 100644
index 00000000..88b83879
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-schedule-tasks.ps1
@@ -0,0 +1,72 @@
+. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
+
+# This script will remove unneeded Tasks from Task Scheduler
+
+# Application Experience 'Microsoft Compatibility Appraiser' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program."
+DisableSchedulerTask "Application Experience\Microsoft Compatibility Appraiser"
+
+# Application Experience 'ProgramDataUpdater' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program"
+DisableSchedulerTask "Application Experience\ProgramDataUpdater"
+
+# Autochk 'Proxy' - "This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program."
+DisableSchedulerTask "Autochk\Proxy"
+
+# Chkdsk 'ProactiveScan' - "NTFS Volume Health Scan"
+DisableSchedulerTask "Chkdsk\ProactiveScan"
+
+# Chkdsk 'SyspartRepair'
+DeleteSchedulerTask "Chkdsk\SyspartRepair"
+
+# Customer Experience Improvement Program 'Consolidator' - "If the user has consented to participate in the Windows Customer Experience Improvement Program, this job collects and sends usage data to Microsoft."
+DisableSchedulerTask "Customer Experience Improvement Program\Consolidator"
+
+# Customer Experience Improvement Program 'sbCeip' - "The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft. The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows. If the user has not consented to participate in Windows CEIP, this task does not do anything."
+DisableSchedulerTask "Customer Experience Improvement Program\UsbCeip"
+
+# Device Information 'Device'
+DisableSchedulerTask "Device Information\Device"
+
+# Diagnosis 'Scheduled' - "The Windows Scheduled Maintenance Task performs periodic maintenance of the computer system by fixing problems automatically or reporting them through Security and Maintenance."
+DisableSchedulerTask "Diagnosis\Scheduled"
+
+# DiskDiagnostic 'Microsoft-Windows-DiskDiagnosticDataCollector' - "The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program."
+DisableSchedulerTask "DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
+
+# ExploitGuard 'ExploitGuard MDM policy Refresh' - "Task for applying changes to the machine's Exploit Protection settings."
+DisableSchedulerTask "ExploitGuard\ExploitGuard MDM policy Refresh"
+
+# Feedback/Siuf 'DmClient'
+DisableSchedulerTask "Feedback\Siuf\DmClient"
+
+# Feedback/Siuf 'DmClient'OnScenarioDownload'
+DisableSchedulerTask "Feedback\Siuf\DmClientOnScenarioDownload"
+
+# File Classification Infrastructure 'Property Definition Sync'
+DisableSchedulerTask "File Classification Infrastructure\Property Definition Sync"
+
+# InstallService 'ScanForUpdates'
+DisableSchedulerTask "InstallService\ScanForUpdates"
+
+# InstallService 'ScanForUpdatesAsUser'
+DisableSchedulerTask "InstallService\ScanForUpdatesAsUser"
+
+# LanguageComponentsInstaller 'Installation' - "Install language components that match the user's language list."
+DisableSchedulerTask "LanguageComponentsInstaller\Installation"
+
+# LanguageComponentsInstaller 'ReconcileLanguageResources' - "Install language components that match the user's language list."
+DisableSchedulerTask "LanguageComponentsInstaller\ReconcileLanguageResources"
+
+# PI 'Secure-Boot-Update' - "This task updates the Secure Boot variables."
+DisableSchedulerTask "PI\Secure-Boot-Update"
+
+# PI 'Sqm-Tasks' - "This task gathers information about the Trusted Platform Module (TPM), Secure Boot, and Measured Boot."
+DisableSchedulerTask "PI\Sqm-Tasks"
+
+# Power Efficiency Diagnotics 'AnalyzeSystem' - "This task analyzes the system looking for conditions that may cause high energy use."
+DisableSchedulerTask "PushToInstall\Registration"
+
+# Servicing 'StartComponentCleanup'
+DisableSchedulerTask "Servicing\StartComponentCleanup"
+
+# SoftwareProtectionPlatform 'SvcRestartTaskNetwork' - "This task restarts the Software Protection Platform service when a new network is detected"
+DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskNetwork"
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-update-orchestrator.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-update-orchestrator.ps1
new file mode 100644
index 00000000..72473d8f
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-update-orchestrator.ps1
@@ -0,0 +1,13 @@
+# Disable UpdateOrchestrator
+
+$name = "UpdateOrchestrator"
+$path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
+
+takeown /F $path /A /R
+icacls $path /grant Administrators:F /T
+del "$path\Schedule Scan"
+del "$path\Schedule Scan Static Task"
+del "$path\USO_UxBroker"
+
+# Disable Update orchestrator service
+reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /V Start /T REG_dWORD /D 4 /F
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windefender.ps1
new file mode 100644
index 00000000..17b30db0
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windefender.ps1
@@ -0,0 +1,21 @@
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+# NOTE! Windows Defender Antivirus needs to be turned off!
+# Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus'
+# Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply'
+
+. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
+
+Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
+Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableRoutinelyTakingAction /T REG_dWORD /D 1 /F"
+
+# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
+DisableSchedulerTask "Windows Error Reporting\QueueReporting"
+
+# Disable WindowsUpdate from Task Scheduler
+DisableSchedulerTask "WindowsUpdate\Scheduled Start"
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-file-protector.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-file-protector.ps1
new file mode 100644
index 00000000..f1d09fb5
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-file-protector.ps1
@@ -0,0 +1,4 @@
+# Disable Windows File Protection
+# Windows File Protection feature in Microsoft Windows prevents programs from replacing critical Windows system files.
+
+reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V SFCDisable /T REG_dWORD /D 0xffffff9d /F
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-update-medic.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-update-medic.ps1
new file mode 100644
index 00000000..6accbd3b
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-update-medic.ps1
@@ -0,0 +1,25 @@
+# Windows Update Medic Service (WaaSMedicSvc)'PerformRemediation' helps recover update-related services to the supported configuration.
+# WaasMedicSvc keeps re-starting Windows Update, even if it disabled manually.
+# Even Admin user don't have privileged to disable PerformRemediation from Task Scheduler which means that WaaSMedicSvc.dll need's to be removed from the system
+
+$limit = (Get-Date).AddMinutes(20)
+$path = "C:\Windows\System32\WaaSMedicSvc.dll"
+
+DO {
+ takeown /F $path
+ icacls $path /grant Administrators:f
+ Write-host "Deleting $path"
+
+ Try {
+ del $path
+ }
+ Catch [System.UnauthorizedAccessException] {
+ Write-host "Access to the path '$path' is denied."
+ Continue
+ }
+
+ if ((Get-Date) -gt $limit) {
+ exit 1
+ }
+
+}while (Test-Path -Path "$path")
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-updates.ps1
new file mode 100644
index 00000000..62e19814
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/disable-windows-updates.ps1
@@ -0,0 +1,24 @@
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script disables the automatic Windows updates
+
+$service = get-service wuauserv
+if (-not $service) {
+ Write-Host "Windows Update service not found."
+ exit 0
+}
+
+if ($service.Status -eq "Stopped") {
+ Write-Host "Windows Update service already stopped."
+} else {
+ Write-Host "Stopping Windows Update service."
+ Stop-Service -Name "wuauserv" -Force
+}
+
+$startup = Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "wuauserv"} | Select -ExpandProperty "StartMode"
+if ($startup -ne "Disabled") {
+ set-service wuauserv -startup disabled
+} else {
+ Write-Host "Windows Update service startup already disabled."
+}
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/msvc2022.txt b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/msvc2022.txt
new file mode 100644
index 00000000..9fd62d00
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-aarch64/msvc2022.txt
@@ -0,0 +1,74 @@
+### Visual Studio Professional 2022 Official release ###
+Visual Studio Professional 2022 version 17.3.5 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+Visual Studio Professional 2022 was updated to 17.8.2 vith Visual Studio Installer
+
+Installed MSVC-2022 Components:
+
+.NET Framework 4.6.1 SDK
+.NET Framework 4.6.1 targeting pack
+.NET Framework 4.6.2 SDK
+.NET Framework 4.6.2 targeting pack
+.NET Framework 4.8 SDK
+.NET Framework 4.8 targeting pack
+.NET Native
+.NET Portable Library targeting pack
+CLR data typer for SQL Sever
+Connectivity and publishing tools
+Data sources for SQL Server support
+SQL Server Command Linne Utilities
+SQL Server Data Tools
+SQL Server Express 2019 LocalDB
+SQL Server ODBC Driver
+ClickOnce Publishing
+Developer Analytics tools
+NuGet package manager
+Text Template Transformation
+C# and Visual Basic Roslyn compilers
+C++ 2022 Redistributable Update
+C++ Cmake tools for Windows
+C++/CLI support for v143 build tools (14.30-17.0)
+C++/CLI support for v143 build tools (Latest)
+MSBuild
+MSVC v143 - VS 2022 C++ ARM build tools (Latest)
+MSVC v143 - VS 2022 C++ ARM build tools (v14.30-17.0)
+MSVC v143 - VS 2022 C++ ARM64 build tools (Latest)
+MSVC v143 - VS 2022 C++ ARM64 build tools (v14.30-17.0)
+MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest)
+.NET profiling tools
+C++ profiling tools
+JavaScript diagnostics
+Just-In-Time debugger
+C# and Visual Basic
+C++ core features
+JavaSript and TypeScript language support
+Razor Language Services
+Graphics debugger and GPU profiler for DirectX
+Image and 3D model editors
+C++ ATL for latest v143 build tools (ARM)
+C++ ATL for latest v143 build tools (ARM64)
+TypeScript 4.7 SDK
+TypeScript Server
+Windows 10 SDK (10.0.18362.0)
+Windows 10 SDK (10.0.19041.0)
+Windows 10 SDK (10.0.20348.0)
+Windows 11 SDK (10.0.22000.0)
+Windows 11 SDK (10.0.22621.0)
+Windows Universal C Runtime
+
+# NOTE! Work loads were added during installation!
+
+############################################################
+### Visual Studio 2022 build tools ###
+
+ Visual studio 2022 build tools version 17.3.5 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
+ * Only default installation, no additional selections
+ Visual Studio 2022 build tools were updated to 17.6.4 vith Visual Studio Installer
+ * Some of the installed framework versions are out of support and do not get any security updates
+
+############################################################
+### Debugging tools ###
+
+* Check that debugging tools are installed
+ * Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs'
+ - Add feature 'Debugging Tools for Windows'
+############################################################
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-defragment.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-defragment.ps1
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windefender.ps1
index ef44e6d4..17b30db0 100644
--- a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windefender.ps1
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windows-updates.ps1
index 37150fc2..62e19814 100644
--- a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windows-updates.ps1
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2019.txt
index ea065bbc..3d05cf07 100644
--- a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2019.txt
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2019.txt
@@ -1,5 +1,6 @@
### Visual Studio 2019 ###
-Visual Studio 2019 version 16.11.19 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__505064367.1547034421.exe
+Visual Studio 2019 version 16.11.19 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__505064367.1547034421.exe
+Visual Studio 2019 was updated to version 16.11.27 with Visual Studio Installer
Installed MSVC-2019 Components:
@@ -66,8 +67,9 @@ Windows 11 SDK (10.0.22000.0)
############################################################
### Visual Studio 2019 build tools ###
-Visual studio 2019 build tools version 16.11.19 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+Visual studio 2019 build tools version 16.11.19 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
* Only default installation, no additional selections
+Visual studio 2019 build tools were updated to version 16.11.27 with Visual Studio Installer
############################################################
### Debugging tools ###
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2022.txt b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2022.txt
index ef560136..1495863f 100644
--- a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2022.txt
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/msvc2022.txt
@@ -1,5 +1,6 @@
### Visual Studio 2022 Official release ###
-Visual Studio 2022 version 17.3.5 was installed manually using installer: http://ci-files01-hki.intra.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+Visual Studio 2022 version 17.3.5 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+Visual Studio 2022 was updated to 17.6.4 vith Visual Studio Installer
Installed MSVC-2022 Components:
@@ -61,8 +62,10 @@ Windows Universal C Runtime
############################################################
### Visual Studio 2022 build tools ###
- Visual studio 2022 build tools version 17.3.5 was installed manually using installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
+ Visual studio 2022 build tools version 17.3.5 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
* Only default installation, no additional selections
+ Visual Studio 2022 build tools were updated to 17.6.4 vith Visual Studio Installer
+ * Some of the installed framework versions are out of support and do not get any security updates
############################################################
### Debugging tools ###
diff --git a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/virtio.txt b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/virtio.txt
index fc128d74..e6ec797d 100644
--- a/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/virtio.txt
+++ b/coin/pre-provisioning/qtci-windows-11_22H2-x86_64/virtio.txt
@@ -6,7 +6,7 @@ to using the VirtIO NIC in KVM.
NOTE! Install these Virtio drivers in Opennebula when using Windows 10 20H2
* Download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.185-2/virtio-win-0.1.185.iso
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/virtio-win-0.1.185.iso
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/virtio-win-0.1.185.iso
* Mount virtio-win-0.1.185.iso by double clicking it.
* Right click 'E:\NetKVM\w10\amd64\netkvm.inf' and select Install
* Right click 'E:\Balloon\w10\amd64\balloon.inf' and select Install
@@ -19,7 +19,7 @@ have a VirtIO device installed, and we can't boot with a VirtIO device before
the driver is installed, we have to blindly install the registry entries:
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
- cache: http://ci-files01-hki.intra.qt.io/input/windows/virtio/vioscsi.reg
+ cache: http://ci-files01-hki.ci.qt.io/input/windows/virtio/vioscsi.reg
However, we've seen that the Owner in the registry can be wrong. This entry
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/01-enable-dotnet-framework.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/01-enable-dotnet-framework.ps1
new file mode 100644
index 00000000..e7f4c248
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/01-enable-dotnet-framework.ps1
@@ -0,0 +1,22 @@
+# The DirectX SDK installer requires .Net framework 3.5 which isn't installed
+# by default
+
+$netFeature = "NetFx3"
+try {
+ $netFeatureState = (Get-WindowsOptionalFeature -Online -FeatureName "$netFeature").State
+ if ($netFeatureState -eq "Enabled") {
+ Write-Host ".Net Framework is already installed"
+ exit 0
+ }
+} catch {
+ Write-Host "Could not find .Net Framework Windows feature."
+ exit 1
+}
+
+Write-Host "Installing .Net Framework client"
+try {
+ Enable-WindowsOptionalFeature -Online -FeatureName "$netFeature" -All -NoRestart
+} catch {
+ Write-Host "Could not install .Net framework"
+ exit 1
+}
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/README_MANUAL_INSTALLATIONS
new file mode 100644
index 00000000..fa10604a
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/README_MANUAL_INSTALLATIONS
@@ -0,0 +1,140 @@
+# List about manual pre-installations to Tier1 image:
+
+VM Options:
+Boot options/Firmware: BIOS
+
+Language to install: English (United States)
+Time and currency format: English (United States)
+Keyboard or input method: United Kingdom
+Windows 11 Enterprise
+location: finnish
+
+
+# If note "This PC can't run Windows 11" appears
+shift + F10 - regedit - add: HKEY_LOCAL_MACHINE/SYSTEM/Setup/LabConfig
+ 'regedit' to open Registry Editor
+ Go to: HKEY_LOCAL_MACHINE/SYSTEM/Setup/
+ Right click 'Setup' folder: New -> Key -> Name: LabConfig
+add DWORD value BypassTPMCheck with value 1
+ Right click 'LabConfig' folder: New -> DWORD (32-bit) -> Name: BypassTPMCheck
+ Double-click on the BypassTPMCheck, change value to 1
+add DWORD value BypassSecureBootCheck value 1
+ repeat
+Close the regedit and the installation window ('X') to start the installation again.
+
+Load driver - browse - virtio-win-0.1.204 - amd64 - w10
+
+
+Region: Finland
+Keyboard layout: United Kingdom
+Keyboard layout: English (United State)
+
+
+* Sign-in options - Domain join instead
+ - Add user & pw
+* Location - no
+* Find my device - no
+* Diagnostic data - Required only
+* Inking and typing - no
+* Tailored expreriences - no
+* Advertising ID - no
+
+Reboot
+After reboot and startup, go to 'This PC' -> virtio-win-0.1.204 and run virtio-win-qt-x64
+
+# Register the image to OpenNebula now
+# After registering the image and opening a persistent VM out of it in ON, continue to these steps
+
+* Using Windows Remote Desktop Connection (RDP) is recommended
+ - Connect to the tier-1 VM with VNC in OpenNebula
+ - Open CMD, run: ipconfig
+ - Input the IP to RDP. Click "Show options" -> add username. Connect.
+ - You can now copy&paste paths and .ps1 scripts later
+* Resolution set to 1280x800
+ - If 1280x800 is not listed in the settings, select a 1280 width (e.g. 1280x960) and:
+ - regedit -> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration
+ - Select a key/folder and its subkeys (00/00) that has the resolution you just selected
+ - Change every height value (e.g. 960) to 800
+ - Restart Windows
+* Coin-setup:
+* Download the agent executable from the IP that is used in Qt5 dev COIN_DOWNLOAD_URL (check from a build log):
+ http://[COIN IP]/coin/binary/windows_amd64/agent.exe
+* Run the executable. It should do the following configurations to Windows but you should check them.
+ - Installing Bootstrap agent
+ - Disabling fast boot
+ - No related settings in control panel.
+ - Make sure it's disabled: gpedit -> Computer Configuration\Administrative Templates\System\Shutdown\
+ - Require use of fast startup -> set to "Disabled".
+ - Disabling firewall
+ - Disabling UAC
+ - Enabling autologin
+ - regedit -> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
+ - DevicePasswordLessBuildVersion: 2 -> 0
+ - netplwiz -> uncheck: "Users must enter a user name and password...", apply
+ - Disabling windows updates
+ - gpedit -> Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage end user experience
+ - "Configure Automatic Updates" -> "Disabled"
+ - Bootstrap agent CMD window should now pop-up at every Windows start up.
+* Turn off Windows defender:
+ - Microsoft Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Microsoft Defender Antivirus'
+ - Edit 'Turn off Microsoft Defender Antivirus' > 'Enabled' > 'Apply'
+ - Reboot on Safe mode:
+ - Open msconfig - Boot tab - enable “Safe boot“ - apply - restart
+ - In Safe mode:
+ - Take Ownership of Defender:
+ - Open properties - Right click "C:\Program Files\Windows Defender\Platform" and select 'Properties'
+ - Open Security tab - Advanced - Owner: Change - Advanced - Find now - Select Administrators - Ok - Ok
+ - Remove all Permissions: Permissions tab
+ - Select 'Disable inheritance'
+ - Remove all entries
+ - Select 'Replace all child object permi…' - Apply
+ - Disable Windows defender also from RegEdit:
+ - Open regedit - Navigate to 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services'
+ - Change the following folders the key Start to 4
+ - Sense (Windows defender advanced threat protection)
+ - WdBoot (Windows defender boot)
+ - WdFilter (Microsoft antimalware file system filter driver)
+ - WdNisDrv (Windows Defender Network Inspection Driver)
+ - WdNisSvc (Windows Defender Network Inspection Service)
+ - WinDefend (Windows Defender Antivirus Service)
+ - mpssvc (Windows Defender Firewall)
+ - NOTE! Without these step windows defender can't be disabled!
+ - Reboot back to normal mode
+* Background defrag disabled: 'Defragment And Optimize Drives' - 'change settings' - unchecked "run on a schedule"
+ - Run in terminal: 'schtasks /Delete /TN "Microsoft\Windows\Defrag\ScheduledDefrag"'
+* Time:
+ - Settings - Time & language - Date & time - Time zone: 'Coordinated Universal Time'
+ - Settings - System - Date & time - "Set the time automatically: Off"
+* Regional format:
+ - Settings - Time & language - Language and region - regional format - English (United States)
+* Power saver:
+ - Settings - System - Power - Screen and sleep: set 'When plugged in, turn off my screen after' to 'never'
+* Windows search disabled:
+ - 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Tools\Services'
+ - 'Windows search' - properties - stop & Startup type: disabled
+* Sysmain disabled:
+ - 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Tools\Services' - 'SysMain' - stop & disable
+* Windows update:
+ - Settings - Windows Update - run available updates (Windows update2024-02 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5034765))
+ - After reboot disable windows updates:
+ - 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Tools\Services' - 'Windows updates' - stop & disable
+* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
+* Allow running scripts by all users
+ - Open PowerShell, type: Set-ExecutionPolicy -ExecutionPolicy Bypass
+* (Restart Windows)
+* Google Chrome installed for RTA
+* Virus & threat protection settings:
+ * Check that there's no active antivirus providers
+* Disable useless startup apps with Task manager
+ - OneDrive
+ - SecurityHealthSystray
+ - Microsoft Edge
+ - Open Edge and turn off all boosts and background tasks. Task manager should not show Edge processes when Edge is off.
+* Disable clean manager
+ - Settings: System -> Storage -> Storage management -> Storage Sense: Off
+* Run the disable/enable .ps1 scripts
+ - Copy&paste the scripts (+helpers.ps1) to the VM, run them.
+* Install msvc2019 and msvc2022 (follow the msvc2019.txt and msvc2022.txt files)
+ - Open Task Scheduler: Task Scheduler Library > Microsoft > VisualStudio > Updates > right-click: BackgroundDownload > disable
+* Activate Windows
+* When everything seems ready: shut down Windows, Select 'Power off' in OpenNebula.
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-ntp.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-ntp.ps1
new file mode 100644
index 00000000..7f68f8ac
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-ntp.ps1
@@ -0,0 +1,4 @@
+. "$PSScriptRoot\helpers.ps1
+
+# Disable the NTP from syncing
+Run-Executable "w32tm.exe" "/config /syncfromflags:NO"
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-schedule-tasks.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-schedule-tasks.ps1
new file mode 100644
index 00000000..e9223c24
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-schedule-tasks.ps1
@@ -0,0 +1,72 @@
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will remove unneeded Tasks from Task Scheduler
+
+# Application Experience 'Microsoft Compatibility Appraiser' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program."
+DisableSchedulerTask "Application Experience\Microsoft Compatibility Appraiser"
+
+# Application Experience 'ProgramDataUpdater' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program"
+DisableSchedulerTask "Application Experience\ProgramDataUpdater"
+
+# Autochk 'Proxy' - "This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program."
+DisableSchedulerTask "Autochk\Proxy"
+
+# Chkdsk 'ProactiveScan' - "NTFS Volume Health Scan"
+DisableSchedulerTask "Chkdsk\ProactiveScan"
+
+# Chkdsk 'SyspartRepair'
+DeleteSchedulerTask "Chkdsk\SyspartRepair"
+
+# Customer Experience Improvement Program 'Consolidator' - "If the user has consented to participate in the Windows Customer Experience Improvement Program, this job collects and sends usage data to Microsoft."
+DisableSchedulerTask "Customer Experience Improvement Program\Consolidator"
+
+# Customer Experience Improvement Program 'sbCeip' - "The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft. The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows. If the user has not consented to participate in Windows CEIP, this task does not do anything."
+DisableSchedulerTask "Customer Experience Improvement Program\UsbCeip"
+
+# Device Information 'Device'
+DisableSchedulerTask "Device Information\Device"
+
+# Diagnosis 'Scheduled' - "The Windows Scheduled Maintenance Task performs periodic maintenance of the computer system by fixing problems automatically or reporting them through Security and Maintenance."
+DisableSchedulerTask "Diagnosis\Scheduled"
+
+# DiskDiagnostic 'Microsoft-Windows-DiskDiagnosticDataCollector' - "The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program."
+DisableSchedulerTask "DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
+
+# ExploitGuard 'ExploitGuard MDM policy Refresh' - "Task for applying changes to the machine's Exploit Protection settings."
+DisableSchedulerTask "ExploitGuard\ExploitGuard MDM policy Refresh"
+
+# Feedback/Siuf 'DmClient'
+DisableSchedulerTask "Feedback\Siuf\DmClient"
+
+# Feedback/Siuf 'DmClient'OnScenarioDownload'
+DisableSchedulerTask "Feedback\Siuf\DmClientOnScenarioDownload"
+
+# File Classification Infrastructure 'Property Definition Sync'
+DisableSchedulerTask "File Classification Infrastructure\Property Definition Sync"
+
+# InstallService 'ScanForUpdates'
+DisableSchedulerTask "InstallService\ScanForUpdates"
+
+# InstallService 'ScanForUpdatesAsUser'
+DisableSchedulerTask "InstallService\ScanForUpdatesAsUser"
+
+# LanguageComponentsInstaller 'Installation' - "Install language components that match the user's language list."
+DisableSchedulerTask "LanguageComponentsInstaller\Installation"
+
+# LanguageComponentsInstaller 'ReconcileLanguageResources' - "Install language components that match the user's language list."
+DisableSchedulerTask "LanguageComponentsInstaller\ReconcileLanguageResources"
+
+# PI 'Secure-Boot-Update' - "This task updates the Secure Boot variables."
+DisableSchedulerTask "PI\Secure-Boot-Update"
+
+# PI 'Sqm-Tasks' - "This task gathers information about the Trusted Platform Module (TPM), Secure Boot, and Measured Boot."
+DisableSchedulerTask "PI\Sqm-Tasks"
+
+# Power Efficiency Diagnotics 'AnalyzeSystem' - "This task analyzes the system looking for conditions that may cause high energy use."
+DisableSchedulerTask "PushToInstall\Registration"
+
+# Servicing 'StartComponentCleanup'
+DisableSchedulerTask "Servicing\StartComponentCleanup"
+
+# SoftwareProtectionPlatform 'SvcRestartTaskNetwork' - "This task restarts the Software Protection Platform service when a new network is detected"
+DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskNetwork"
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-update-orchestrator.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-update-orchestrator.ps1
new file mode 100644
index 00000000..72473d8f
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-update-orchestrator.ps1
@@ -0,0 +1,13 @@
+# Disable UpdateOrchestrator
+
+$name = "UpdateOrchestrator"
+$path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
+
+takeown /F $path /A /R
+icacls $path /grant Administrators:F /T
+del "$path\Schedule Scan"
+del "$path\Schedule Scan Static Task"
+del "$path\USO_UxBroker"
+
+# Disable Update orchestrator service
+reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /V Start /T REG_dWORD /D 4 /F
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windefender.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windefender.ps1
new file mode 100644
index 00000000..713c5f40
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windefender.ps1
@@ -0,0 +1,21 @@
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+# NOTE! Windows Defender Antivirus needs to be turned off!
+# Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus'
+# Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply'
+
+. "$PSScriptRoot\helpers.ps1"
+
+Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
+Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableRoutinelyTakingAction /T REG_dWORD /D 1 /F"
+
+# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
+DisableSchedulerTask "Windows Error Reporting\QueueReporting"
+
+# Disable WindowsUpdate from Task Scheduler
+DisableSchedulerTask "WindowsUpdate\Scheduled Start"
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-file-protector.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-file-protector.ps1
new file mode 100644
index 00000000..f1d09fb5
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-file-protector.ps1
@@ -0,0 +1,4 @@
+# Disable Windows File Protection
+# Windows File Protection feature in Microsoft Windows prevents programs from replacing critical Windows system files.
+
+reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V SFCDisable /T REG_dWORD /D 0xffffff9d /F
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-update-medic.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-update-medic.ps1
new file mode 100644
index 00000000..6accbd3b
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-update-medic.ps1
@@ -0,0 +1,25 @@
+# Windows Update Medic Service (WaaSMedicSvc)'PerformRemediation' helps recover update-related services to the supported configuration.
+# WaasMedicSvc keeps re-starting Windows Update, even if it disabled manually.
+# Even Admin user don't have privileged to disable PerformRemediation from Task Scheduler which means that WaaSMedicSvc.dll need's to be removed from the system
+
+$limit = (Get-Date).AddMinutes(20)
+$path = "C:\Windows\System32\WaaSMedicSvc.dll"
+
+DO {
+ takeown /F $path
+ icacls $path /grant Administrators:f
+ Write-host "Deleting $path"
+
+ Try {
+ del $path
+ }
+ Catch [System.UnauthorizedAccessException] {
+ Write-host "Access to the path '$path' is denied."
+ Continue
+ }
+
+ if ((Get-Date) -gt $limit) {
+ exit 1
+ }
+
+}while (Test-Path -Path "$path")
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-updates.ps1 b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-updates.ps1
new file mode 100644
index 00000000..62e19814
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/disable-windows-updates.ps1
@@ -0,0 +1,24 @@
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script disables the automatic Windows updates
+
+$service = get-service wuauserv
+if (-not $service) {
+ Write-Host "Windows Update service not found."
+ exit 0
+}
+
+if ($service.Status -eq "Stopped") {
+ Write-Host "Windows Update service already stopped."
+} else {
+ Write-Host "Stopping Windows Update service."
+ Stop-Service -Name "wuauserv" -Force
+}
+
+$startup = Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "wuauserv"} | Select -ExpandProperty "StartMode"
+if ($startup -ne "Disabled") {
+ set-service wuauserv -startup disabled
+} else {
+ Write-Host "Windows Update service startup already disabled."
+}
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2019.txt
new file mode 100644
index 00000000..f8d64dd5
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2019.txt
@@ -0,0 +1,77 @@
+### Visual Studio 2019 ###
+Visual Studio 2019 version 16.11.34 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__505064367.1547034421.exe
+
+Installed MSVC-2019 Components:
+
+.NET Framework 4.5 targeting pack
+.NET Framework 4.5.1 targeting pack
+.NET Framework 4.5.2 targeting pack
+.NET Framework 4.6.1 SDK
+.NET Framework 4.6.1 targeting pack
+.NET Framework 4.6.2 SDK
+.NET Framework 4.6.2 targeting pack
+.NET Framework 4.8 SDK
+.NET Framework 4.8 targeting pack
+.NET Native
+.NET Portable Library targeting pack
+CLR data typer for SQL Sever
+Connectivity and publishing tools
+Data sources for SQL Server support
+SQL ADAL runtime
+SQL Server Command Linne Utilities
+SQL Server Data Tools
+SQL Server Express 2016 LocalDB
+SQL Server ODBC Driver
+ClickOnce Publishing
+Developer Analytics tools
+NuGet package manager
+Text Template Transformation
+C# and Visual Basic Roslyn compilers
+C++ 2019 Redistributable Update
+C++ Cmake tools for Windows
+C++/CLI support for v142 build tools (14.29-16.10)
+MSBuild
+MSVC v142 - VS 2019 C++ ARM build tools (v14.20)
+MSVC v142 - VS 2019 C++ ARM build tools (v14.29-16.10)
+MSVC v142 - VS 2019 C++ ARM64 build tools (Latest)
+MSVC v142 - VS 2019 C++ ARM64 build tools (v14.20)
+MSVC v142 - VS 2019 C++ ARM64 build tools (v14.29-16.10)
+MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.20)
+MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.29-16.10)
+MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest)
+.NET profiling tools
+C++ profiling tools
+JavaScript diagnostics
+Just-In-Time debugger
+C# and Visual Basic
+C++ core features
+JavaSript and TypeScript language support
+Razor Language Services
+Graphics debugger and GPU profiler for DirectX
+Image and 3D model editors
+C++ ATL for latest v142 build tools (ARM)
+C++ ATL for latest v142 build tools (ARM64)
+C++ ATL for latest v142 build tools (x86 & x64)
+TypeScript 4.3 SDK
+Windows 10 SDK (10.0.16299.0)
+Windows 10 SDK (10.0.17134.0)
+Windows 10 SDK (10.0.17763.0)
+Windows 10 SDK (10.0.18362.0)
+Windows 10 SDK (10.0.19041.0)
+Windows 10 SDK (10.0.20348.0)
+Windows 11 SDK (10.0.22000.0)
+
+# NOTE! Work loads were added during installation!
+
+############################################################
+### Visual Studio 2019 build tools ###
+
+Visual studio 2019 build tools version 16.11.34 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
+ * Only default installation, no additional selections (MSBuild Tools)
+
+############################################################
+### Debugging tools ###
+
+* Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs'
+ - Add feature 'Debugging Tools for Windows'
+############################################################
diff --git a/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2022.txt b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2022.txt
new file mode 100644
index 00000000..a5a0c412
--- /dev/null
+++ b/coin/pre-provisioning/qtci-windows-11_23H2-x86_64/msvc2022.txt
@@ -0,0 +1,74 @@
+### Visual Studio 2022 Official release ###
+Visual Studio 2022 version 17.9.1 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
+
+Installed MSVC-2022 Components:
+
+.NET Framework 4.6.1 SDK
+.NET Framework 4.6.1 targeting pack
+.NET Framework 4.6.2 SDK
+.NET Framework 4.6.2 targeting pack
+.NET Framework 4.8 SDK
+.NET Framework 4.8 targeting pack
+.NET Native
+.NET Portable Library targeting pack
+CLR data types for SQL Sever
+Connectivity and publishing tools
+Data sources for SQL Server support
+SQL Server Command Linne Utilities
+SQL Server Data Tools
+SQL Server Express 2019 LocalDB
+SQL Server ODBC Driver
+ClickOnce Publishing
+Developer Analytics tools
+NuGet package manager
+Text Template Transformation
+C# and Visual Basic Roslyn compilers
+C++ 2022 Redistributable Update
+C++ Cmake tools for Windows
+C++/CLI support for v143 build tools (14.30-17.0)
+C++/CLI support for v143 build tools (Latest)
+MSBuild
+MSVC v143 - VS 2022 C++ ARM build tools (Latest)
+MSVC v143 - VS 2022 C++ ARM build tools (v14.30-17.0)
+MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest)
+MSVC v143 - VS 2022 C++ ARM64 build tools (v14.30-17.0)
+MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
+MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.30-17.0)
+.NET profiling tools
+C++ profiling tools
+JavaScript diagnostics
+Just-In-Time debugger
+C# and Visual Basic
+C++ core features
+JavaSript and TypeScript language support
+Razor Language Services
+Graphics debugger and GPU profiler for DirectX
+Image and 3D model editors
+C++ ATL for latest v143 build tools (ARM)
+C++ ATL for latest v143 build tools (ARM64/ARM64EC)
+C++ ATL for latest v143 build tools (x86 & x64)
+TypeScript 4.7 SDK - Deprecated, was not in components anymore. Downloaded 4.7.4 from VS marketplace
+https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.typescript-474
+TypeScript Server
+Windows 10 SDK (10.0.18362.0)
+Windows 10 SDK (10.0.19041.0)
+Windows 10 SDK (10.0.20348.0)
+Windows 11 SDK (10.0.22000.0)
+Windows 11 SDK (10.0.22621.0)
+Windows Universal C Runtime
+
+# NOTE! Work loads were added during installation!
+
+############################################################
+### Visual Studio 2022 build tools ###
+
+ Visual studio 2022 build tools version 17.9.1 was installed manually using installer: "http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2022.exe"
+ * Only default installation, no additional selections
+
+############################################################
+### Debugging tools ###
+
+* Check that debugging tools are installed
+ * Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs'
+ - Add feature 'Debugging Tools for Windows'
+############################################################
diff --git a/coin/provisioning/common/linux/android/gradle_project/.gitignore b/coin/provisioning/common/linux/android/gradle_project/.gitignore
new file mode 100644
index 00000000..aa724b77
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/.gitignore
@@ -0,0 +1,15 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
diff --git a/coin/provisioning/common/linux/android/gradle_project/README.md b/coin/provisioning/common/linux/android/gradle_project/README.md
new file mode 100644
index 00000000..439cd362
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/README.md
@@ -0,0 +1,20 @@
+# Android Gradle Project for COIN
+
+This project is used to at provisioning time to do an Android Gradle build that
+will download Gradle binaries and AGP dependencies, then they will be cached
+allowing consecutive builds, i.e. at test runs to not redownload the Gradle
+binaries which tend to run into network issues and thus improving the
+reliability of the Android integrations on COIN.
+
+The project is a basic empty views Android project that can be created by
+Android Studio, it's Java based. Below is some extra details on relevant files
+that might need updates in the future:
+
+- settings.gradle: mainly sets the the project name
+- under app/src/main/ res/layout/activity_main.xml and src/*/*.java: sets the
+ layout and logic of the app, this shouldn't need to be touched.
+- AndroidManifest.xml / app/build.gradle: Sets project settings like target version.
+- gradle/libs.versions.toml: This sets the version numbers of various dependencies.
+
+Other files required for the project build are gradle wrapper and scripts which
+are fetched by android_linux.sh from qtbase.
diff --git a/coin/provisioning/common/linux/android/gradle_project/app/.gitignore b/coin/provisioning/common/linux/android/gradle_project/app/.gitignore
new file mode 100644
index 00000000..796b96d1
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/coin/provisioning/common/linux/android/gradle_project/app/build.gradle b/coin/provisioning/common/linux/android/gradle_project/app/build.gradle
new file mode 100644
index 00000000..745c08f8
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/app/build.gradle
@@ -0,0 +1,26 @@
+plugins {
+ alias(libs.plugins.androidApplication)
+}
+
+android {
+ namespace 'com.example.gradle_project'
+ compileSdk 34
+
+ defaultConfig {
+ applicationId "com.example.gradle_project"
+ minSdk 23
+ targetSdk 34
+ versionCode 1
+ versionName "1.0"
+ }
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+}
+
+dependencies {
+ implementation libs.appcompat
+ implementation libs.material
+}
diff --git a/coin/provisioning/common/linux/android/gradle_project/app/src/main/AndroidManifest.xml b/coin/provisioning/common/linux/android/gradle_project/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..492c2115
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/app/src/main/AndroidManifest.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools">
+
+ <application
+ android:allowBackup="true"
+ android:label="gradle_project"
+ android:supportsRtl="true"
+ tools:targetApi="34">
+ <activity
+ android:name=".MainActivity"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
diff --git a/coin/provisioning/common/linux/android/gradle_project/app/src/main/java/com/example/gradle_project/MainActivity.java b/coin/provisioning/common/linux/android/gradle_project/app/src/main/java/com/example/gradle_project/MainActivity.java
new file mode 100644
index 00000000..d3575ef9
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/app/src/main/java/com/example/gradle_project/MainActivity.java
@@ -0,0 +1,16 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+package com.example.gradle_project;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+
+public class MainActivity extends AppCompatActivity {
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+ }
+}
diff --git a/coin/provisioning/common/linux/android/gradle_project/app/src/main/res/layout/activity_main.xml b/coin/provisioning/common/linux/android/gradle_project/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..c75d0576
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".MainActivity">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Hello World!"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/coin/provisioning/common/linux/android/gradle_project/build.gradle b/coin/provisioning/common/linux/android/gradle_project/build.gradle
new file mode 100644
index 00000000..602be027
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/build.gradle
@@ -0,0 +1,4 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+plugins {
+alias(libs.plugins.androidApplication) apply false
+}
diff --git a/coin/provisioning/common/linux/android/gradle_project/gradle/libs.versions.toml b/coin/provisioning/common/linux/android/gradle_project/gradle/libs.versions.toml
new file mode 100644
index 00000000..65bc49af
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/gradle/libs.versions.toml
@@ -0,0 +1,16 @@
+[versions]
+agp = "7.4.1"
+appcompat = "1.6.1"
+material = "1.11.0"
+constraintlayout = "2.1.4"
+
+[libraries]
+appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
+material = { group = "com.google.android.material", name = "material", version.ref = "material" }
+constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
+
+[plugins]
+androidApplication = { id = "com.android.application", version.ref = "agp" }
+
+[bundles]
+
diff --git a/coin/provisioning/common/linux/android/gradle_project/settings.gradle b/coin/provisioning/common/linux/android/gradle_project/settings.gradle
new file mode 100644
index 00000000..ca34c7e7
--- /dev/null
+++ b/coin/provisioning/common/linux/android/gradle_project/settings.gradle
@@ -0,0 +1,17 @@
+pluginManagement {
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.name = "gradle_project"
+include ':app'
diff --git a/coin/provisioning/common/linux/android_emulator_launcher.sh b/coin/provisioning/common/linux/android_emulator_launcher.sh
new file mode 100755
index 00000000..fad20148
--- /dev/null
+++ b/coin/provisioning/common/linux/android_emulator_launcher.sh
@@ -0,0 +1,120 @@
+#!/bin/bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+# This util launches the Android emulator and ensures it doesn't stuck/freeze
+# by detecting that and restarting it
+
+set -e
+
+EMULATOR_MAX_RETRIES=5
+ADB_MAX_TIMEOUT=300
+EMULATOR_EXEC="$ANDROID_SDK_ROOT/emulator/emulator"
+ADB_EXEC="$ANDROID_SDK_ROOT/platform-tools/adb"
+LOGCAT_PATH="$COIN_CTEST_RESULTSDIR/emulator_logcat_%iter.txt"
+EMULATOR_RUN_LOG_PATH="$COIN_CTEST_RESULTSDIR/emulator_run_log_%iter.txt"
+
+if [ -z "${ANDROID_EMULATOR}" ]; then
+ echo "No AVD name provided via ANDROID_EMULATOR env variable. Aborting!"
+ exit 1
+fi
+
+function check_for_android_device
+{
+ $ADB_EXEC devices | awk 'NR==2{print $2}' | grep -qE '^(online|device)$'
+}
+
+# WARNING: On the very first boot of the emulator it happens that the device
+# "finishes" booting and getprop shows bootanim=stopped and
+# boot_completed=1. But sometimes not all packages have been installed (`pm
+# list packages` shows only 16 packages installed), and after around half a
+# minute the boot animation starts spinning (bootanim=running) again despite
+# boot_completed=1 all the time. After some minutes the boot animation stops
+# again and the list of packages contains 80 packages. Only then the device is
+# fully booted, and only then is dev.bootcomplete=1.
+#
+# To reproduce the emulator booting as the first time, you have to delete the
+# cached images found inside $HOME/.android/avd/{avd_name}.avd/ especially the
+# "userdata-qemu.img.qcow2" file.
+function check_if_fully_booted
+{
+ # The "getprop" command separates lines with \r\n so we trim them
+ bootanim=$( timeout 1 "$ADB_EXEC" shell getprop init.svc.bootanim | tr -d '\r\n')
+ boot_completed=$(timeout 1 "$ADB_EXEC" shell getprop sys.boot_completed | tr -d '\r\n')
+ bootcomplete=$( timeout 1 "$ADB_EXEC" shell getprop dev.bootcomplete | tr -d '\r\n')
+ echo "bootanim=$bootanim boot_completed=$boot_completed bootcomplete=$bootcomplete"
+ [ "$bootanim" = stopped ] && [ "$boot_completed" = 1 ] && [ "$bootcomplete" = 1 ]
+}
+
+for counter in $(seq ${EMULATOR_MAX_RETRIES})
+do
+ $ADB_EXEC kill-server
+ $ADB_EXEC start-server
+
+ if check_for_android_device
+ then
+ echo "Emulator is already running but it shouldn't be. Terminating it now..."
+ pkill '^qemu-system-' || true
+ sleep 5
+ fi
+
+ LOGCAT_PATH=${LOGCAT_PATH//%iter/${counter}}
+ EMULATOR_RUN_LOG_PATH=${EMULATOR_RUN_LOG_PATH//%iter/${counter}}
+
+ echo "Starting emulator ${ANDROID_EMULATOR}, try ${counter}/${EMULATOR_MAX_RETRIES}" \
+ | tee "${EMULATOR_RUN_LOG_PATH}"
+ $EMULATOR_EXEC -avd "$ANDROID_EMULATOR" \
+ -gpu swiftshader_indirect -no-audio -no-window -no-boot-anim \
+ -cores 4 -memory 16000 -partition-size 4096 \
+ -detect-image-hang -restart-when-stalled -no-snapshot-save \
+ -no-nested-warnings -logcat '*:v' -logcat-output "${LOGCAT_PATH}" \
+ </dev/null >"${EMULATOR_RUN_LOG_PATH}" 2>&1 &
+ emulator_pid=$!
+ disown $emulator_pid
+
+ echo "Waiting ${ADB_MAX_TIMEOUT} seconds for emulated device to appear..."
+ timeout ${ADB_MAX_TIMEOUT} "$ADB_EXEC" wait-for-device
+
+ # Due to some bug in Coin/Go, we can't have the emulator command stream
+ # the output to the console while in the background, as Coin will continue
+ # waiting for it. So, rely on re-directing all output to a log file and
+ # then printing it out after the emulator is started.
+ echo "######## Printing out the emulator command logs ########"
+ cat "${EMULATOR_RUN_LOG_PATH}"
+ echo "########################################################"
+
+ echo "Waiting a few minutes for the emulator to fully boot..."
+ emulator_status=down
+ for _ in $(seq ${ADB_MAX_TIMEOUT})
+ do
+ sleep 1
+
+ if check_for_android_device && check_if_fully_booted
+ then
+ emulator_status=up
+ break
+ fi
+ done
+
+ # If emulator status is still offline after timeout period,
+ # we can assume it's stuck, and we must restart it
+ if [ $emulator_status = up ]
+ then
+ echo "Emulator started successfully"
+ break
+ else
+ if [ "$counter" -lt "$EMULATOR_MAX_RETRIES" ]
+ then
+ echo "Emulator failed to start," \
+ "forcefully killing current instance and re-starting emulator"
+ kill $emulator_pid || true
+ sleep 5
+ elif [ "$counter" -eq "$EMULATOR_MAX_RETRIES" ]
+ then
+ echo "Emulator failed to start, reached maximum number of retries. Aborting\!"
+ exit 2
+ fi
+ fi
+done
+
+exit 0
diff --git a/coin/provisioning/common/linux/android_linux.sh b/coin/provisioning/common/linux/android_linux.sh
index 051dd5d6..98961077 100755
--- a/coin/provisioning/common/linux/android_linux.sh
+++ b/coin/provisioning/common/linux/android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -55,25 +18,34 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-sudo mkdir -p $sdkTargetFolder
+sudo mkdir -p "$sdkTargetFolder"
-basePath="http://ci-files01-hki.intra.qt.io/input/android"
+basePath="http://ci-files01-hki.ci.qt.io/input/android"
toolsVersion="2.1"
toolsFile="commandlinetools-linux-6609375_latest.zip"
-ndkVersionLatest="r25b"
+ndkVersionLatest="r26b"
ndkVersionDefault=$ndkVersionLatest
-sdkBuildToolsVersion="33.0.1"
-sdkApiLevel="android-33"
+sdkBuildToolsVersion="34.0.0"
+sdkApiLevel="android-34"
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
-ndkSha1Latest="e27dcb9c8bcaa77b78ff68c3f23abcf6867959eb"
+ndkSha1Latest="fdf33d9f6c1b3f16e5459d53a82c7d2201edbcc4"
ndkSha1Default=$ndkSha1Latest
-# Android automotive
-sdkApiLevelAutomotive="android-30"
-androidAutomotive11Url="$basePath/${sdkApiLevelAutomotive}_automotive.tar.gz"
-androidAutomotive="android-automotive"
-android11Sha="4a5cd2bea7ce323b724c3ff1faab13d99f9d2be9"
+
+# Android 14 avd zip
+android14SystemZipName="android14system_UE1A_230829_036.tar.gz"
+android14SystemZipSha="ede80c6901e8fad1895c97a86542b8e072bb1ee5"
+android14SystemPath="$basePath/$android14SystemZipName"
+
+# Android Automotive max SDK level image
+sdkApiLevelAutomotiveMax="android-33"
+androidAutomotiveMaxUrl="$basePath/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
+androidAutomotiveMaxSha="b020a938ec46af2510047284406e9bed608cad03"
+# Android Automotive min SDK level image
+sdkApiLevelAutomotiveMin="android-29"
+androidAutomotiveMinUrl="$basePath/${sdkApiLevelAutomotiveMin}_automotive.tar.gz"
+androidAutomotiveMinSha="e6092585c00f87eb3b20a2eb7fdf6add42342d2f"
toolsTargetFile="/tmp/$toolsFile"
toolsSourceFile="$basePath/$toolsFile"
@@ -89,24 +61,30 @@ function InstallNdk() {
ndkVersion=$1
ndkSha1=$2
- if [[ ! -d $targetFolder/android-ndk-$ndkVersion ]]; then
-
- ndkFile="android-ndk-$ndkVersion-linux.zip"
- ndkTargetFile="/tmp/$ndkFile"
- ndkSourceFile="$basePath/$ndkFile"
-
- DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
- echo "Unzipping Android NDK to '$targetFolder'"
- sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
- rm "$ndkTargetFile"
- fi
-
+ ndkFile="android-ndk-$ndkVersion-linux.zip"
+ ndkTargetFile="/tmp/$ndkFile"
+ ndkSourceFile="$basePath/$ndkFile"
+
+ DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
+ echo "Unzipping Android NDK to '$targetFolder'"
+ # Get the package base directory name as string
+ zipBase=$(sudo zipinfo -1 "$ndkTargetFile" 2>/dev/null | awk '!seen {sub("/.*",""); print; seen=1}')
+ sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
+ rm "$ndkTargetFile"
+ androidNdkRoot="${targetFolder}/${zipBase}"
}
InstallNdk $ndkVersionDefault $ndkSha1Default
-SetEnvVar "ANDROID_NDK_ROOT_DEFAULT" "$targetFolder/android-ndk-$ndkVersionDefault"
-InstallNdk $ndkVersionLatest $ndkSha1Latest
-SetEnvVar "ANDROID_NDK_ROOT_LATEST" "$targetFolder/android-ndk-$ndkVersionLatest"
+SetEnvVar "ANDROID_NDK_ROOT_DEFAULT" "$androidNdkRoot"
+
+if [ "$ndkVersionDefault" != "$ndkVersionLatest" ]; then
+ InstallNdk $ndkVersionLatest $ndkSha1Latest
+fi
+SetEnvVar "ANDROID_NDK_ROOT_LATEST" "$androidNdkRoot"
+
+# To be used by vcpkg
+SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersionDefault"
+export ANDROID_NDK_HOME="$targetFolder/android-ndk-$ndkVersionDefault"
echo "Changing ownership of Android files."
if uname -a |grep -q "el7"; then
@@ -132,11 +110,11 @@ if [ "$http_proxy" != "" ]; then
echo "y" | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" --sdk_root=$sdkTargetFolder \
--no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
else
echo "y" | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" --sdk_root=$sdkTargetFolder \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
fi
echo "Checking the contents of Android SDK..."
@@ -147,34 +125,81 @@ SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
# shellcheck disable=SC2129
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersion" >> ~/versions.txt
+cat <<EOB >>~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
-./sdkmanager --install "emulator" --sdk_root=$sdkTargetFolder \
- | eval $sdkmanager_no_progress_bar_cmd
-echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" | eval $sdkmanager_no_progress_bar_cmd
-
-echo "y" | ./sdkmanager --install "system-images;android-33;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
-
+./sdkmanager --install "emulator" --sdk_root="$sdkTargetFolder" \
+ | eval "$sdkmanager_no_progress_bar_cmd"
+
+echo "Download and unzip Android Emulator version 34.1.19"
+emulatorFileName="emulator-linux_x64-11525734.zip"
+emulatorCiUrl="https://ci-files01-hki.ci.qt.io/input/android/$emulatorFileName"
+emulatorUrl="http://dl.google.com/android/repository/$emulatorFileName"
+emulatorTargetFile="$sdkTargetFolder/$emulatorFileName"
+emulatorSha1="d6cc94109b081c5f6042dcb71a453144f7e62ce7"
+DownloadURL "$emulatorCiUrl" "$emulatorUrl" "$emulatorSha1" "$emulatorTargetFile"
+echo "Unzipping the Android Emulator to '$sdkTargetFolder'"
+sudo unzip -o -q "$emulatorTargetFile" -d "$sdkTargetFolder"
+rm "$emulatorTargetFile"
+
+echo "y" | ./sdkmanager --install "system-images;android-28;google_apis;x86" \
+ | eval "$sdkmanager_no_progress_bar_cmd"
+
+echo "Extract stored Android 14 Beta $android14SystemZipName"
+DownloadURL "$android14SystemPath" "$android14SystemPath" "$android14SystemZipSha" \
+ "/tmp/$android14SystemZipName"
+sudo tar -xzf "/tmp/$android14SystemZipName" -C "$sdkTargetFolder/system-images"
echo "Checking the contents of Android SDK again..."
ls -l "$sdkTargetFolder"
-echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
- -k "system-images;android-23;google_apis;x86"
+echo "no" | ./avdmanager create avd -n emulator_x86_api_28 -c 2048M -f \
+ -k "system-images;android-28;google_apis;x86"
+
+echo "no" | ./avdmanager create avd -n emulator_x86_64_api_34 -c 2048M -f \
+ -k "system-images;android-34;google_apis;x86_64"
-echo "no" | ./avdmanager create avd -n emulator_x86_64_api_33 -c 2048M -f \
- -k "system-images;android-33;google_apis;x86_64"
+echo "Install maximum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMax"
+DownloadURL "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxSha" \
+ "/tmp/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
+sudo tar -xzf "/tmp/${sdkApiLevelAutomotiveMax}_automotive.tar.gz" -C "$sdkTargetFolder/system-images"
+echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_33 -c 2048M -f \
+ -k "system-images;${sdkApiLevelAutomotiveMax};android-automotive;x86_64"
-echo "Install $sdkApiLevelAutomotive $androidAutomotive"
-DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \
- "/tmp/${sdkApiLevelAutomotive}_automotive.tar.gz"
-sudo tar -xzf "/tmp/${sdkApiLevelAutomotive}_automotive.tar.gz" -C $sdkTargetFolder/system-images
-echo "no" | ./avdmanager create avd -n automotive_emulator_x86_api_30 -c 2048M -f \
- -k "system-images;${sdkApiLevelAutomotive};${androidAutomotive};x86"
+echo "Install minimum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMin"
+DownloadURL "$androidAutomotiveMinUrl" "$androidAutomotiveMinUrl" "$androidAutomotiveMinSha" \
+ "/tmp/${sdkApiLevelAutomotiveMin}_automotive.tar.gz"
+sudo tar -xzf "/tmp/${sdkApiLevelAutomotiveMin}_automotive.tar.gz" -C $sdkTargetFolder/system-images
+echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_29 -c 2048M -f \
+ -k "system-images;${sdkApiLevelAutomotiveMin};android-automotive;x86_64"
# Purely informative, show the list of avd devices
./avdmanager list avd
+
+# To be used by the VMs to start the emulator for tests
+emulator_script_filename="android_emulator_launcher.sh"
+scripts_dir_name="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
+cp "${scripts_dir_name}/${emulator_script_filename}" "${HOME}"
+ANDROID_EMULATOR_RUNNER="${HOME}/${emulator_script_filename}"
+SetEnvVar "ANDROID_EMULATOR_RUNNER" "$ANDROID_EMULATOR_RUNNER"
+
+# Gradle Caching
+cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
+cd /tmp/gradle_project
+# Get Gradle files from qtbase
+qtbaseGradleUrl="https://code.qt.io/cgit/qt/qtbase.git/plain/src/3rdparty/gradle"
+commit_sha="0d91cc866f2799d56911bcdadabebb137eafcea8"
+curl "$qtbaseGradleUrl/gradle.properties?h=$commit_sha" > gradle.properties
+curl "$qtbaseGradleUrl/gradlew?h=$commit_sha" > gradlew
+curl "$qtbaseGradleUrl/gradlew.bat?h=$commit_sha" > gradlew.bat
+mkdir -p gradle/wrapper
+curl "$qtbaseGradleUrl/gradle/wrapper/gradle-wrapper.jar?h=$commit_sha" > gradle/wrapper/gradle-wrapper.jar
+curl "$qtbaseGradleUrl/gradle/wrapper/gradle-wrapper.properties?h=$commit_sha" > gradle/wrapper/gradle-wrapper.properties
+# Run Gradle
+chmod +x gradlew
+ANDROID_SDK_ROOT="$sdkTargetFolder" sh gradlew build
diff --git a/coin/provisioning/common/linux/apt_wait_loop.sh b/coin/provisioning/common/linux/apt_wait_loop.sh
index 3614f2df..60d5d5ed 100755
--- a/coin/provisioning/common/linux/apt_wait_loop.sh
+++ b/coin/provisioning/common/linux/apt_wait_loop.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/linux/axivion-bauhaus-suite.sh b/coin/provisioning/common/linux/axivion-bauhaus-suite.sh
index 9c596a6d..ab4ce5ef 100755
--- a/coin/provisioning/common/linux/axivion-bauhaus-suite.sh
+++ b/coin/provisioning/common/linux/axivion-bauhaus-suite.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Axivion Bauhaus Suite tool.
@@ -54,28 +17,28 @@ DownloadAndExtract () {
file=$3
DownloadURL "$url" "$url" "$sha" "$file"
- tar -xzvf $file
+ tar -xzvf "$file"
- rm -rf $file
+ rm -rf "$file"
}
# Axivion Bauhaus Suite
-sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-7_6_0-wavefront-2023-03-16-x86_64-gnu_linux.tar.gz"
-targetFile="bauhaus-suite-7_6_0-wavefront-2023-03-16-x86_64-gnu_linux.tar.gz"
-sha1="20bfa8872b90ff11394098a833d536229425535e"
-cd $HOME
+sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-7_7_4-x86_64-gnu_linux.tar.gz"
+targetFile="bauhaus-suite-7_7_4-x86_64-gnu_linux.tar.gz"
+sha1="df17ac0521864a7f1c0b5b3bfded1817cbf47bae"
+cd "$HOME"
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$HOME"
-mkdir $HOME/.bauhaus
+mkdir "$HOME/.bauhaus"
cd "$HOME/.bauhaus"
-wget http://ci-files01-hki.ci.qt.io/input/axivion/Qt_Evaluation_20231231.key
-cd $HOME
+wget http://ci-files01-hki.ci.qt.io/input/axivion/Qt_Evaluation_QSR_INTERN_20250118.key
+cd "$HOME"
#Axivion configuration
-configurationFile="http://ci-files01-hki.ci.qt.io/input/axivion/axivion_config.tar.gz"
+configurationFile="http://ci-files01-hki.ci.qt.io/input/axivion/axivion_config_771_new.tar.gz"
configurationTargetFile="axivion_config.tar.gz"
-configSha1="f3aa53f253fa00c7f3fa64e9fe55aa7f93bc5377"
+configSha1="db77f376e0b3ee0f7a74701790d1c8abe792bebe"
DownloadAndExtract "$configurationFile" "$configSha1" "$configurationTargetFile" "$HOME"
-echo "Axivion Bauhaus Suite = 7.6.0_wavefront-2022-03-16" >> ~/versions.txt
+echo "Axivion Bauhaus Suite = 7.7.4" >> ~/versions.txt
diff --git a/coin/provisioning/common/linux/bootstrap-autostart.sh b/coin/provisioning/common/linux/bootstrap-autostart.sh
index 3e8606ca..d590069e 100755
--- a/coin/provisioning/common/linux/bootstrap-autostart.sh
+++ b/coin/provisioning/common/linux/bootstrap-autostart.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -48,10 +11,10 @@ set -ex
wrapper="${HOME}/bootstrap-agent.sh"
autostart_folder="${HOME}/.config/autostart"
# This directory should exist. Created in base image (tier 1)
-mkdir -p ${autostart_folder}
+mkdir -p "${autostart_folder}"
# Create autostart desktop file and shell wrapper
-sudo tee ${autostart_folder}/coin-bootstrap-agent.desktop <<"EOF"
+sudo tee "${autostart_folder}/coin-bootstrap-agent.desktop" <<"EOF"
[Desktop Entry]
Type=Application
Exec=/home/qt/bootstrap-agent.sh
@@ -60,7 +23,7 @@ X-GNOME-Autostart-enabled=true
Name=Coin
EOF
-sudo tee $wrapper <<"EOF"
+sudo tee "$wrapper" <<"EOF"
#!/bin/sh
# Wait for network to come up
x=0
@@ -122,5 +85,5 @@ fi
EOF
# set owner and permissions
-sudo chown qt:users $wrapper
-sudo chmod 755 $wrapper
+sudo chown qt:users "$wrapper"
+sudo chmod 755 "$wrapper"
diff --git a/coin/provisioning/common/linux/cleanup_cache.sh b/coin/provisioning/common/linux/cleanup_cache.sh
index df5bdea3..acb85965 100755
--- a/coin/provisioning/common/linux/cleanup_cache.sh
+++ b/coin/provisioning/common/linux/cleanup_cache.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called at the end of provisioning, to clean the cache directory
@@ -55,7 +18,7 @@ if grep -q "^$QT_USER:" /etc/passwd; then
else
echo "(WW) user $QT_USER not found."
echo "---- skipping cache cleanup."
- exit 0;
+ exit 0
fi
# assume /home/qt as ~ won't expand into sudo
@@ -69,12 +32,11 @@ if sudo [ -d "$CACHEDIR" ]; then
echo "---- removing content:"
# List files and delete in a loop as wildcard won't expand into sudo
- FILES=`sudo ls -A1 $CACHEDIR`
- while read FILE;
- do
+ sudo ls -A1 "$CACHEDIR" | while read -r FILE
+ do
echo "--- rm -rf $FILE"
sudo rm -rf "$CACHEDIR/$FILE"
- done <<< $FILES
+ done
else
echo "(**) cache in $CACHEDIR is empty."
fi
@@ -83,7 +45,7 @@ else
# replace a cache file with a directory
echo "(WW) $CACHEDIR is a file."
echo "---- removing $CACHEDIR."
- sudo rm -rf "$CACHEDIR"
+ sudo rm -r "$CACHEDIR"
else
echo "(WW) cache directory $CACHEDIR not found."
fi
diff --git a/coin/provisioning/common/linux/cmake_linux.sh b/coin/provisioning/common/linux/cmake_linux.sh
index 8918b7b4..5fadad24 100755
--- a/coin/provisioning/common/linux/cmake_linux.sh
+++ b/coin/provisioning/common/linux/cmake_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2016 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2016 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs CMake
@@ -48,11 +11,11 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-majorminorversion="3.24"
-version="3.24.2"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
+majorminorversion="3.27"
+version="3.27.7"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-x86_64.tar.gz"
-SHA1="12627c808674ee5f5bd3a6982176613bbd3ad9db"
+SHA1="83ab00c8432a71cfc81e933ee7b3c3e14d50ad6f"
targetFolder="/opt/cmake-$version"
appPrefix="cmake-$version-linux-x86_64"
diff --git a/coin/provisioning/common/linux/cmake_min_supported.sh b/coin/provisioning/common/linux/cmake_min_supported.sh
index c4226519..4c64299b 100755
--- a/coin/provisioning/common/linux/cmake_min_supported.sh
+++ b/coin/provisioning/common/linux/cmake_min_supported.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2016 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2016 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs the minimum supported CMake to build Qt
@@ -48,7 +11,7 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
majorminorversion="3.16"
version="3.16.8"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-$version-Linux-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-Linux-x86_64.tar.gz"
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-Linux-x86_64.tar.gz"
SHA1="a4d2f96f475ccc8e1ae1d97cf6c8ce39abaa9d7c"
targetFolder="/opt/cmake-$version"
diff --git a/coin/provisioning/common/linux/disable-cracklib.sh b/coin/provisioning/common/linux/disable-cracklib.sh
index e6cfc7a5..c4a5f9ba 100755
--- a/coin/provisioning/common/linux/disable-cracklib.sh
+++ b/coin/provisioning/common/linux/disable-cracklib.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
sudo chmod -x /etc/cron.daily/cracklib-runtime
diff --git a/coin/provisioning/common/linux/disable-notifications.sh b/coin/provisioning/common/linux/disable-notifications.sh
index 28d21656..802f986c 100755
--- a/coin/provisioning/common/linux/disable-notifications.sh
+++ b/coin/provisioning/common/linux/disable-notifications.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
gsettings set org.gnome.desktop.notifications.application:/update-manager/ enable false
gsettings set org.gnome.desktop.notifications show-banners false
diff --git a/coin/provisioning/common/linux/disable-ntp_linux.sh b/coin/provisioning/common/linux/disable-ntp_linux.sh
index 1b89d2c2..f0712f48 100755
--- a/coin/provisioning/common/linux/disable-ntp_linux.sh
+++ b/coin/provisioning/common/linux/disable-ntp_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -45,9 +8,9 @@ echo "Disable Network Time Protocol (NTP)"
if uname -a |grep -q "Ubuntu\|Debian" ; then
sudo timedatectl set-ntp false
-elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
+elif grep "PRETTY_NAME" /etc/os-release | grep -q "Leap 15"; then
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)
-elif cat /etc/os-release |grep "SUSE Linux Enterprise Server 15"; then
+elif grep -q "SUSE Linux Enterprise Server 15" /etc/os-release; then
sudo timedatectl set-ntp false
else
sudo systemctl disable ntpd || sudo /sbin/chkconfig ntpd off
diff --git a/coin/provisioning/common/linux/disable_kwin_overview.sh b/coin/provisioning/common/linux/disable_kwin_overview.sh
new file mode 100755
index 00000000..988c64c5
--- /dev/null
+++ b/coin/provisioning/common/linux/disable_kwin_overview.sh
@@ -0,0 +1,43 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -e
+set -f
+QT_USER="qt"
+CONFDIR=".config"
+KWINRC="kwinrc"
+KWC5=$(which kwriteconfig5)
+
+if [ -z "$KWC5" ]; then
+ echo "(WW) kwriteconfig5 script not found."
+ echo "---- skipping overview disabling."
+ exit 0;
+fi
+
+echo "---- ensuring window overview is disabled in kwin."
+
+# skip if user qt does not exist
+echo "---- checking user $QT_USER"
+if grep -q "^$QT_USER:" /etc/passwd; then
+ echo "(**) found user $QT_USER"
+else
+ echo "(WW) user $QT_USER not found."
+ echo "---- skipping overview disabling."
+ exit 0;
+fi
+
+CONFIGFILE="/home/$QT_USER/$CONFDIR/$KWINRC"
+
+# Check kwinrc existence
+echo "---- checking for kwinrc."
+if [ -f "$CONFIGFILE" ]; then
+ echo "(**) found kwinrc at $CONFIGFILE. Disabling overview."
+
+ $KWC5 --file "$CONFIGFILE" --group Effect-windowview --key BorderActivateAll "9"
+ $KWC5 --file "$CONFIGFILE" --group Plugins --key windowOverview "false"
+
+else
+ echo "(WW) no kwinrc found at $CONFIGFILE."
+ echo "(WW) exiting."
+fi
diff --git a/coin/provisioning/common/linux/disable_selinux.sh b/coin/provisioning/common/linux/disable_selinux.sh
index 64852e79..a788818e 100755
--- a/coin/provisioning/common/linux/disable_selinux.sh
+++ b/coin/provisioning/common/linux/disable_selinux.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# We need to disable selinux while we are overwriting some binaries
# required by it. If this is not done, ICU provisioning will create
diff --git a/coin/provisioning/common/linux/docker.sh b/coin/provisioning/common/linux/docker.sh
index 65a7b8d9..27673698 100755
--- a/coin/provisioning/common/linux/docker.sh
+++ b/coin/provisioning/common/linux/docker.sh
@@ -1,77 +1,41 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
-
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-
+# shellcheck source=../unix/common.sourced.sh
+source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
+# shellcheck source=../unix/DownloadURL.sh
+source "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-localRepo=http://ci-files01-hki.intra.qt.io/input/docker
+localRepo=http://ci-files01-hki.ci.qt.io/input/docker
upstreamRepo=https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/
-echo '
- 2666840157bab3b77a850236fbf323c423fb564a containerd.io_1.6.9-1_amd64.deb
- ec6a1ad99b19b6a674349fb13bcc10d62c54c404 docker-ce_23.0.0-1~ubuntu.20.04~focal_amd64.deb
- 130774916fa7e2c9997b8fcb4e7696a343f12fb0 docker-ce-cli_23.0.0-1~ubuntu.20.04~focal_amd64.deb
-' \
- | xargs -n2 | while read sha f
-do
- DownloadURL $localRepo/$f $upstreamRepo/$f $sha
-done
+function getEachUpstream () {
+ while read -r sha f
+ do DownloadURL "$localRepo/$f" "$upstreamRepo/$f" "$sha"
+ done
+}
+cat <<EOF | getEachUpstream
+2666840157bab3b77a850236fbf323c423fb564a containerd.io_1.6.9-1_amd64.deb
+ec6a1ad99b19b6a674349fb13bcc10d62c54c404 docker-ce_23.0.0-1~ubuntu.20.04~focal_amd64.deb
+130774916fa7e2c9997b8fcb4e7696a343f12fb0 docker-ce-cli_23.0.0-1~ubuntu.20.04~focal_amd64.deb
+EOF
sudo apt-get -y install ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb
rm -f ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb
-sudo usermod -a -G docker $USER
+sudo usermod -a -G docker "$USER"
sudo docker --version
# Download and install the docker-compose extension from https://github.com/docker/compose/releases
f=docker-compose-$(uname -s)-$(uname -m)
dockerComposeVersion="v2.15.1"
DownloadURL \
- $localRepo/$f-${dockerComposeVersion} \
- https://github.com/docker/compose/releases/download/${dockerComposeVersion}/$f \
+ "$localRepo/$f-${dockerComposeVersion}" \
+ "https://github.com/docker/compose/releases/download/${dockerComposeVersion}/$f" \
bcfd9ea51dee4c19dccdfaeef0e7956ef68bf14f3d175933742061a7271ef0f5
sudo install -m 755 ./docker-compose* /usr/local/bin/docker-compose
sudo docker-compose --version
@@ -81,4 +45,4 @@ rm ./docker-compose*
sudo apt-get install avahi-daemon -y
# Start testserver provisioning
-sudo "$(readlink -f $(dirname ${BASH_SOURCE[0]}))/../shared/testserver/docker_testserver.sh"
+sudo "$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")/../shared/testserver/docker_testserver.sh"
diff --git a/coin/provisioning/common/linux/enable_test_stacktraces.sh b/coin/provisioning/common/linux/enable_test_stacktraces.sh
new file mode 100755
index 00000000..7b5871db
--- /dev/null
+++ b/coin/provisioning/common/linux/enable_test_stacktraces.sh
@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+### Enable automatic stacktraces in case of fatal errors in QTest.
+# This requires that gdb can be found in PATH, and that no
+# kernel security settings like yama.ptrace_scope prevent it.
+
+
+PROVISIONING_DIR="$(dirname "$0")/../.."
+# shellcheck source=../unix/common.sourced.sh
+source "$PROVISIONING_DIR/common/unix/common.sourced.sh"
+
+
+f="/etc/sysctl.d/10-ptrace.conf"
+if [ -f $f ]
+then
+ echo "Modifying $f ..."
+ sudo sed -i '/^kernel\.yama\.ptrace_scope *= *[1-9]$/s/[1-9]$/0/' $f
+ # Reload the modified setting, so that we can verify it right afterwards.
+ sudo sysctl -p $f
+fi
+
+# Verify that yama.ptrace_scope = 0, if it's supported by the kernel.
+ptrace_scope_value=$(sudo sysctl kernel.yama.ptrace_scope 2>/dev/null | sed -E 's/.*([0-9])$/\1/')
+if [ -n "$ptrace_scope_value" ] && [ "$ptrace_scope_value" != 0 ]
+then
+ fatal "kernel.yama.ptrace_scope = $ptrace_scope_value \
+ which means that QTest automatic stacktraces will not work"
+else
+ echo kernel.yama.ptrace_scope = "$ptrace_scope_value"
+fi
+
+
+$CMD_PKG_INSTALL gdb
diff --git a/coin/provisioning/common/linux/fbx_linux.sh b/coin/provisioning/common/linux/fbx_linux.sh
index 6241ec5c..0c1176d1 100755
--- a/coin/provisioning/common/linux/fbx_linux.sh
+++ b/coin/provisioning/common/linux/fbx_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs FBX SDK
@@ -49,7 +12,7 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
set -e
tarballName="fbx20161_2_fbxsdk_linux.tar.gz"
targetFolder="/opt/fbx"
-cachedUrl="http://ci-files01-hki.intra.qt.io/input/fbx/$tarballName"
+cachedUrl="http://ci-files01-hki.ci.qt.io/input/fbx/$tarballName"
officialUrl="http://download.autodesk.com/us/fbx_release_older/2016.1.2/$tarballName"
sha1="b0a08778de025e2c6e90d6fbdb6531f74a3da605"
tmpFolder="/tmp"
diff --git a/coin/provisioning/common/linux/gcc.sh b/coin/provisioning/common/linux/gcc.sh
index 884129c3..243b9ff6 100755
--- a/coin/provisioning/common/linux/gcc.sh
+++ b/coin/provisioning/common/linux/gcc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script builds GCC from sources
@@ -56,13 +19,13 @@ function InstallGCC() {
tmpFolder="/tmp"
- prebuiltGCC="http://ci-files01-hki.intra.qt.io/input/gcc/gcc-$version-prebuilt.tar.gz"
+ prebuiltGCC="http://ci-files01-hki.ci.qt.io/input/gcc/gcc-$version-prebuilt.tar.gz"
prebuiltTarget="$tmpFolder/gcc-$version-prebuilt.tar.gz"
installPrefix="/usr/local"
suffixVersion=$(echo "$version" | cut -d "." -f1,2)
sourceFile="gcc-$version.tar.xz"
- cachedUrl="http://ci-files01-hki.intra.qt.io/input/gcc/$sourceFile"
+ cachedUrl="http://ci-files01-hki.ci.qt.io/input/gcc/$sourceFile"
officialUrl="https://gcc.gnu.org/pub/gcc/releases/gcc-$version/gcc-$version.tar.xz"
targetFile="$tmpFolder/$sourceFile"
diff --git a/coin/provisioning/common/linux/install-cpdb.sh b/coin/provisioning/common/linux/install-cpdb.sh
index 6b2a3351..3a7ae3b9 100755
--- a/coin/provisioning/common/linux/install-cpdb.sh
+++ b/coin/provisioning/common/linux/install-cpdb.sh
@@ -1,39 +1,8 @@
#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# This script install cpdb from sources.
+# This script installs cpdb from sources.
# Requires GCC and Perl to be in PATH.
# The following dependencies should be pre-installed:
# make, autoconf, autopoint, libglib2.0-dev, libdbus-1-dev, libtool
@@ -44,14 +13,14 @@ gitUrl="https://github.com/openprinting/$repName.git"
tmpdir="/tmp"
repDir="$tmpdir/$repName"
prefix="/usr"
-rm -rf $repDir
-cd $tmpdir
-git clone $gitUrl >/dev/null
-cd $repDir
+rm -rf "$repDir"
+cd "$tmpdir"
+git clone -q "$gitUrl"
+cd "$repDir"
# cpdb-libs v2.0b4 with build bug fixed
-git checkout ce848f1571a82ec03881fce127ff28bec8da239e > /dev/null
+git checkout -q ce848f1571a82ec03881fce127ff28bec8da239e
./autogen.sh > /dev/null
-./configure --prefix=$prefix > /dev/null
-make -j$(nproc) > /dev/null && sudo make install > /dev/null
+./configure --prefix="$prefix" > /dev/null
+make "-j$(nproc)" > /dev/null && sudo make install > /dev/null
sudo ldconfig
-rm -rf $repDir
+rm -rf "$repDir"
diff --git a/coin/provisioning/common/linux/install-flite.sh b/coin/provisioning/common/linux/install-flite.sh
index 5e9eeac3..2f89e94e 100755
--- a/coin/provisioning/common/linux/install-flite.sh
+++ b/coin/provisioning/common/linux/install-flite.sh
@@ -1,37 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs flite from sources.
# Requires make, GCC and git to be in PATH.
@@ -47,11 +16,11 @@ gitUrl="https://github.com/festvox/$repName.git"
tmpdir="/tmp"
repDir="$tmpdir/$repName"
prefix="/usr"
-rm -rf $repDir
-cd $tmpdir
-git clone $gitUrl >/dev/null
-cd $repDir
-git checkout v2.2 > /dev/null
-./configure --with-pic --enable-shared --prefix=$prefix > /dev/null
-make -j$(nproc) > /dev/null && sudo make install > /dev/null
-rm -rf $repDir
+rm -rf "$repDir"
+cd "$tmpdir"
+git clone -q "$gitUrl"
+cd "$repDir"
+git checkout -q v2.2
+./configure --with-pic --enable-shared --prefix="$prefix" > /dev/null
+make "-j$(nproc)" > /dev/null && sudo make install > /dev/null
+rm -rf "$repDir"
diff --git a/coin/provisioning/common/linux/install-git.sh b/coin/provisioning/common/linux/install-git.sh
index 834bec9f..9e2804db 100755
--- a/coin/provisioning/common/linux/install-git.sh
+++ b/coin/provisioning/common/linux/install-git.sh
@@ -1,37 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install git from sources.
# Requires GCC and Perl to be in PATH.
@@ -44,21 +13,21 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="2.36.1"
officialUrl="https://github.com/git/git/archive/refs/tags/v$version.tar.gz"
-cachedUrl="http://ci-files01-hki.intra.qt.io/input/git/git-$version.tar.gz"
+cachedUrl="http://ci-files01-hki.ci.qt.io/input/git/git-$version.tar.gz"
targetFile="/tmp/git-$version.tar.gz"
sha="a17c11da2968f280a13832d97f48e9039edac354"
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
sourceDir="/tmp/git-$version-source"
-mkdir $sourceDir
-tar -xzf "$targetFile" -C $sourceDir
+mkdir "$sourceDir"
+tar -xzf "$targetFile" -C "$sourceDir"
cd "$sourceDir/git-$version"
installDir="$HOME/git"
make configure
-./configure --prefix=$installDir
+./configure --prefix="$installDir"
make all
sudo make install
SetEnvVar "PATH" "\"$installDir/bin:\$PATH\""
-$installDir/bin/git --version
+"$installDir/bin/git" --version
diff --git a/coin/provisioning/common/linux/install-nodejs.sh b/coin/provisioning/common/linux/install-nodejs.sh
new file mode 100755
index 00000000..95a8a0e5
--- /dev/null
+++ b/coin/provisioning/common/linux/install-nodejs.sh
@@ -0,0 +1,42 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
+# shellcheck source=../unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
+
+# This script will install node.js 18.16.0
+version="18.16.0"
+
+uname_m="$(uname -m)"
+case "$uname_m" in
+ x86_64|amd64)
+ sha256="44d93d9b4627fe5ae343012d855491d62c7381b236c347f7666a7ad070f26548"
+ pkgname="node-v$version-linux-x64.tar.xz"
+ dirname="node-v$version-linux-x64"
+ ;;
+ arm64|aarch64)
+ sha256="c81dfa0bada232cb4583c44d171ea207934f7356f85f9184b32d0dde69e2e0ea"
+ pkgname="node-v$version-linux-arm64.tar.xz"
+ dirname="node-v$version-linux-arm64"
+ ;;
+ *) fatal "Unknown architecture in uname: $uname_m" 43 ;;
+esac
+
+internalUrl="http://ci-files01-hki.ci.qt.io/input/nodejs/$pkgname"
+externalUrl="https://nodejs.org/dist/v$version/$pkgname"
+
+targetFile="$HOME/$pkgname"
+DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
+echo "Installing nodejs"
+tar -xJf "$targetFile" -C "$HOME"
+rm "$targetFile"
+
+installPrefix="/opt/$dirname"
+sudo mv "$HOME/$dirname" "$installPrefix"
+
+SetEnvVar "PATH" "$installPrefix/bin:\$PATH"
+
+echo "nodejs = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/linux/install-vcpkg-ports-android.sh b/coin/provisioning/common/linux/install-vcpkg-ports-android.sh
new file mode 100755
index 00000000..4733e9aa
--- /dev/null
+++ b/coin/provisioning/common/linux/install-vcpkg-ports-android.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+echo "Installing vcpkg android ports"
+
+pushd "${BASH_SOURCE%/*}/vcpkg" || exit
+cp "${BASH_SOURCE%/*}/../shared/vcpkg-configuration.json" .
+
+"$VCPKG_ROOT/vcpkg" install --triplet x86-android-qt --x-install-root x86-android-qt-tmp --debug
+"$VCPKG_ROOT/vcpkg" install --triplet x86_64-android-qt --x-install-root x86_64-android-qt-tmp --debug
+
+mkdir -p "$VCPKG_ROOT/installed"
+cp -R x86-android-qt-tmp/* "$VCPKG_ROOT/installed/"
+cp -R x86_64-android-qt-tmp/* "$VCPKG_ROOT/installed/"
+
+versions=$(jq -r '.overrides[] | "vcpkg \(.name) for android = \(.version)"' vcpkg.json)
+versions="${versions//vcpkg/\\nvcpkg}"
+echo "$versions" >> ~/versions.txt
+
+rm -rf x86-android-qt-tmp
+rm -rf x86_64-android-qt-tmp
+
+popd || exit
diff --git a/coin/provisioning/common/linux/install-vcpkg-ports.sh b/coin/provisioning/common/linux/install-vcpkg-ports.sh
new file mode 100755
index 00000000..90257841
--- /dev/null
+++ b/coin/provisioning/common/linux/install-vcpkg-ports.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+echo "Installing vcpkg ports"
+
+pushd "${BASH_SOURCE%/*}/vcpkg" || exit
+cp "${BASH_SOURCE%/*}/../shared/vcpkg-configuration.json" .
+
+"$VCPKG_ROOT/vcpkg" install --triplet x64-linux-qt --x-install-root x64-linux-qt-tmp --debug
+
+mkdir -p "$VCPKG_ROOT/installed"
+cp -R x64-linux-qt-tmp/* "$VCPKG_ROOT/installed/"
+
+versions=$(jq -r '.overrides[] | "vcpkg \(.name) = \(.version)"' vcpkg.json)
+versions="${versions//vcpkg/\\nvcpkg}"
+echo "$versions" >> ~/versions.txt
+
+rm -rf x64-linux-qt-tmp
+
+popd || exit
diff --git a/coin/provisioning/common/linux/install-vcpkg.sh b/coin/provisioning/common/linux/install-vcpkg.sh
new file mode 100755
index 00000000..80917beb
--- /dev/null
+++ b/coin/provisioning/common/linux/install-vcpkg.sh
@@ -0,0 +1,59 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
+# shellcheck source=../unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
+# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
+source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
+
+vcpkgVersion=$(grep 'vcpkg_version=' "${BASH_SOURCE%/*}/../shared/vcpkg_version.txt" | cut -d '=' -f 2)
+
+vcpkgRoot="$HOME/vcpkg-$vcpkgVersion"
+vcpkgRepo=$(head -n 1 "${BASH_SOURCE%/*}/../shared/vcpkg_registry_mirror.txt")
+
+echo "Cloning the vcpkg repo"
+git clone "$vcpkgRepo" "$vcpkgRoot"
+git -C "$vcpkgRoot" checkout "tags/$vcpkgVersion"
+
+vcpkgToolReleaseTag=$(grep 'vcpkg_tool_release_tag=' "${BASH_SOURCE%/*}/../shared/vcpkg_tool_release_tag.txt" | cut -d '=' -f 2)
+nonDottedReleaseTag=${vcpkgVersion//-/}
+
+vcpkgToolOfficialUrl="https://github.com/microsoft/vcpkg-tool/archive/refs/tags/$vcpkgToolReleaseTag.tar.gz"
+vcpkgToolCacheUrl="http://ci-files01-hki.ci.qt.io/input/vcpkg/vcpkg-tool-$nonDottedReleaseTag.tar.gz"
+vcpkgToolSHA1="c6029714fca0304779f10c9c1cbe4b061a2fd945"
+vcpkgToolSourceFolder="$HOME/vcpkg-tool-$vcpkgToolReleaseTag"
+vcpkgToolBuildFolder="$HOME/vcpkg-tool-$vcpkgToolReleaseTag/build"
+
+InstallFromCompressedFileFromURL "$vcpkgToolCacheUrl" "$vcpkgToolOfficialUrl" "$vcpkgToolSHA1" "$HOME" ""
+cmake -S "$vcpkgToolSourceFolder" -B "$vcpkgToolBuildFolder" -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DVCPKG_DEVELOPMENT_WARNINGS=OFF
+cmake --build "$vcpkgToolBuildFolder" --parallel
+
+cp "$vcpkgToolBuildFolder/vcpkg" "$vcpkgRoot/"
+rm -rf "$vcpkgToolSourceFolder"
+
+if [ ! -f "$vcpkgRoot/vcpkg" ]
+then
+ echo "Can't find $vcpkgRoot/vcpkg."
+ exit 1
+fi
+
+chmod 755 "$vcpkgRoot/vcpkg"
+touch "$vcpkgRoot/vcpkg.disable-metrics"
+
+# Setting VCPKG_ROOT using Set-EnvVar makes the variable only
+# available during build time. In order to make it available during the
+# provisioning, we need to directly set it via $env:VCPKG_ROOT as well.
+SetEnvVar "VCPKG_ROOT" "$vcpkgRoot"
+export VCPKG_ROOT="$vcpkgRoot"
+
+# Set a source for vcpkg Binary and Asset Cache
+# The `coin/provisioning/common/linux/mount-vcpkg-cache-drive.sh` script is
+# mounting the SMB share located in `vcpkg-server.ci.qt.io/vcpkg` to
+# $HOME/vcpkg-cache/
+export VCPKG_BINARY_SOURCES="files,$HOME/vcpkg-cache/binaries,readwrite"
+export X_VCPKG_ASSET_SOURCES="x-azurl,file:///$HOME/vcpkg-cache/assets,,readwrite"
+
+echo "vcpkg = $vcpkgVersion" >> ~/versions.txt
diff --git a/coin/provisioning/common/linux/install_dwz.sh b/coin/provisioning/common/linux/install_dwz.sh
index 8c035529..2d8af4ff 100755
--- a/coin/provisioning/common/linux/install_dwz.sh
+++ b/coin/provisioning/common/linux/install_dwz.sh
@@ -1,44 +1,7 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
@@ -49,7 +12,7 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="0.13"
sha1="21e6d5878bb84ac6c9ad07b00ed248d8c547bc7d"
-internalUrl="http://ci-files01-hki.intra.qt.io/input/centos/dwz-$version.tar.xz"
+internalUrl="http://ci-files01-hki.ci.qt.io/input/centos/dwz-$version.tar.xz"
externalUrl="https://www.sourceware.org/ftp/dwz/releases/dwz-$version.tar.xz"
targetDir="$HOME/dwz"
diff --git a/coin/provisioning/common/linux/integrity.sh b/coin/provisioning/common/linux/integrity.sh
index cf8e994e..e0d95681 100755
--- a/coin/provisioning/common/linux/integrity.sh
+++ b/coin/provisioning/common/linux/integrity.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs needed toolchains for INTEGRITY
@@ -48,8 +11,8 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-urlToolchainEs7="http://ci-files01-hki.intra.qt.io/input/integrity/integrity_toolchain_es7_05102022.zip"
-urlLibeglmegapack="http://ci-files01-hki.intra.qt.io/input/integrity/integrity_libeglmegapack.zip"
+urlToolchainEs7="http://ci-files01-hki.ci.qt.io/input/integrity/integrity_toolchain_es7_05102022.zip"
+urlLibeglmegapack="http://ci-files01-hki.ci.qt.io/input/integrity/integrity_libeglmegapack.zip"
SHA1_toolchainEs7="a95e11996d89218ac93493484e483d169976f565"
SHA1_Libeglmegapack="7f8ca64132eaea66202ea8db7f71f3300aab0777"
targetFolder="$HOME"
@@ -63,7 +26,7 @@ InstallFromCompressedFileFromURL "$urlToolchainEs7" "$urlToolchainEs7" "$SHA1_to
echo "Install Integrity toolchain addons"
DownloadURL "$urlLibeglmegapack" "$urlLibeglmegapack" "$SHA1_Libeglmegapack" "/tmp/integrity_libeglmegapack.zip"
unzip "/tmp/integrity_libeglmegapack.zip" -d "/tmp"
-mv /tmp/toolchain/* $targetFolder/toolchain
-mv $targetFolder/toolchain $targetFolder/integrity_toolchain
-cp $toolchain_file "$targetFolder/integrity_toolchain/toolchain.cmake"
+mv /tmp/toolchain/* "$targetFolder/toolchain"
+mv "$targetFolder/toolchain" "$targetFolder/integrity_toolchain"
+cp "$toolchain_file" "$targetFolder/integrity_toolchain/toolchain.cmake"
sudo rm -fr /tmp/toolchain
diff --git a/coin/provisioning/common/linux/mimersql.sh b/coin/provisioning/common/linux/mimersql.sh
index 42eba8af..957ad492 100755
--- a/coin/provisioning/common/linux/mimersql.sh
+++ b/coin/provisioning/common/linux/mimersql.sh
@@ -1,54 +1,19 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
SSL_VER=$1
PACK_TYPE=$2
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
+# shellcheck source=../unix/common.sourced.sh
+source "${BASH_SOURCE%/*}/../unix/common.sourced.sh"
+# shellcheck source=../unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
-localRepo=http://ci-files01-hki.intra.qt.io/input/docker
+localRepo=http://ci-files01-hki.ci.qt.io/input/docker
upstreamRepo=http://install.mimer.com/qt
if [ "$SSL_VER" = "openssl-3" ]; then
if [ "$PACK_TYPE" = "rpm" ]; then
diff --git a/coin/provisioning/common/linux/mount-vcpkg-cache-drive.sh b/coin/provisioning/common/linux/mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..6a3a5211
--- /dev/null
+++ b/coin/provisioning/common/linux/mount-vcpkg-cache-drive.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -e
+
+targetDir="$HOME/vcpkg-cache"
+
+# Specify the path to the credential file
+credentialsFile="$HOME/samba_credentials"
+
+sudo mkdir -p "$targetDir"
+
+# Mount the SMB share
+# Check if the mount was successful
+if sudo mount -t cifs //vcpkg-server.ci.qt.io/vcpkg "$targetDir" -o credentials="$credentialsFile",uid="$(id -u)",gid="$(id -g)"
+then
+ echo "SMB share mounted successfully!"
+else
+ echo "Failed to mount SMB share."
+fi
diff --git a/coin/provisioning/common/linux/qnx_710.sh b/coin/provisioning/common/linux/qnx_710.sh
index 790701cf..41d2d103 100755
--- a/coin/provisioning/common/linux/qnx_710.sh
+++ b/coin/provisioning/common/linux/qnx_710.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QNX 7.
@@ -55,9 +18,9 @@ DownloadAndExtract () {
folder=$4
DownloadURL "$url" "$url" "$sha" "$file"
- sudo tar -C $folder -Jxf $file
+ sudo tar -C "$folder" -Jxf "$file"
- rm -rf $file
+ rm -rf "$file"
}
aarch64le_toolchain="${BASH_SOURCE%/*}/../shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake"
@@ -70,36 +33,36 @@ folderName="qnx710"
targetPath="$targetFolder$folderName"
qemuTargetPath="$HOME/QNX"
qemuIpAddress="172.31.1.10"
-qemuNetwork="172.31.1.1"
+export qemuNetwork="172.31.1.1"
qemuSSHuser="root"
qemuSSHurl="$qemuSSHuser@$qemuIpAddress"
qemuLDpath="/proc/boot:/system/lib:/system/lib/dll:/home/qt/work/install/target/lib"
if [ ! -d "$targetFolder" ]; then
- mkdir -p $targetFolder
+ mkdir -p "$targetFolder"
fi
# QNX SDP
-sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx710-windows-linux-20220405.tar.xz"
+sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx710-windows-linux-20240417.tar.xz"
targetFile="qnx710.tar.xz"
-sha1="134af2e0f75d7b7c516f824fafee265b89e51d48"
+sha1="cd2d35004fb2798089e29d9e1226691426632da0"
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
-sudo cp $aarch64le_toolchain $targetPath
-sudo cp $armv7le_toolchain $targetPath
-sudo cp $x8664_toolchain $targetPath
-cp -R $QNX_qemu_bld_files_dir $qemuTargetPath
+sudo cp "$aarch64le_toolchain" "$targetPath"
+sudo cp "$armv7le_toolchain" "$targetPath"
+sudo cp "$x8664_toolchain" "$targetPath"
+cp -R "$QNX_qemu_bld_files_dir" "$qemuTargetPath"
# fc-match tool is missing from QNX SDP and tst_qfont requires it to work corretly
# Download code-only package from https://www.iana.org/time-zones and follow README
# to build tools for QNX x86_64. If need to build new tool create new qnx_qemu_utils
# package which contains it and update required info below
-sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx_qemu_utils_20211208.tar.xz"
+sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx_qemu_utils_20211208.tar.xz"
targetFile="qnx_qemu_utils.tar.xz"
targetFolder="$qemuTargetPath/local/misc_files"
sha1="7653f5d50f61f1591d7785c3ec261228ecc9dd22"
-if [ ! -d "$targetFolder" ]; then
- mkdir -p $targetFolder
-fi
+
+mkdir -p "$targetFolder"
+
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
# Add ssl certificates. Expects Ubuntu 20.04 LTS with ca-certificates package installed
@@ -110,10 +73,10 @@ cp -PR /etc/ssl/certs/* "$targetFolder/etc/ssl/certs"
sudo chown -R qt:users "$targetPath"
# Verify that we have last files in tars
-if [ ! -f $targetPath/qnxsdp-env.sh ] || [ ! -f $targetPath/qnx-toolchain-x8664.cmake ]
+if [ ! -f "$targetPath/qnxsdp-env.sh" ] || [ ! -f "$targetPath/qnx-toolchain-x8664.cmake" ]
then
echo "QNX toolchain installation failed!"
- exit -1
+ exit 1
fi
# Set env variables
diff --git a/coin/provisioning/common/linux/qnx_800.sh b/coin/provisioning/common/linux/qnx_800.sh
new file mode 100755
index 00000000..52545d41
--- /dev/null
+++ b/coin/provisioning/common/linux/qnx_800.sh
@@ -0,0 +1,85 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QNX 8.
+
+set -ex
+
+# shellcheck source=../unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
+# shellcheck source=../unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
+
+DownloadAndExtract () {
+ url=$1
+ sha=$2
+ file=$3
+ folder=$4
+
+ DownloadURL "$url" "$url" "$sha" "$file"
+ sudo tar -C "$folder" -Jxf "$file"
+
+ rm -rf "$file"
+}
+
+aarch64le_toolchain="${BASH_SOURCE%/*}/../shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake"
+armv7le_toolchain="${BASH_SOURCE%/*}/../shared/cmake_toolchain_files/qnx-toolchain-armv7le.cmake"
+x8664_toolchain="${BASH_SOURCE%/*}/../shared/cmake_toolchain_files/qnx-toolchain-x8664.cmake"
+QNX_qemu_bld_files_dir="${BASH_SOURCE%/*}/qnx_qemu_build_files/"
+
+targetFolder="/opt/"
+folderName="qnx800"
+targetPath="$targetFolder$folderName"
+qemuTargetPath="$HOME/QNX"
+qemuIpAddress="172.31.1.10"
+export qemuNetwork="172.31.1.1"
+qemuSSHuser="root"
+qemuSSHurl="$qemuSSHuser@$qemuIpAddress"
+qemuLDpath="/proc/boot:/system/lib:/system/lib/dll:/home/qt/work/install/target/lib"
+
+if [ ! -d "$targetFolder" ]; then
+ mkdir -p "$targetFolder"
+fi
+
+# QNX SDP
+sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx800-linux-20240510.tar.xz"
+targetFile="qnx800.tar.xz"
+sha1="93245a5bc11b88563328f0763573942fd25b5e18"
+DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
+
+sudo cp "$aarch64le_toolchain" "$targetPath"
+sudo cp "$armv7le_toolchain" "$targetPath"
+sudo cp "$x8664_toolchain" "$targetPath"
+cp -R "$QNX_qemu_bld_files_dir" "$qemuTargetPath"
+# fc-match tool is missing from QNX SDP and tst_qfont requires it to work corretly
+# Download code-only package from https://www.iana.org/time-zones and follow README
+# to build tools for QNX x86_64. If need to build new tool create new qnx_qemu_utils
+# package which contains it and update required info below
+sourceFile="http://ci-files01-hki.ci.qt.io/input/qnx/qnx_qemu_utils_20211208.tar.xz"
+targetFile="qnx_qemu_utils.tar.xz"
+targetFolder="$qemuTargetPath/local/misc_files"
+sha1="7653f5d50f61f1591d7785c3ec261228ecc9dd22"
+
+mkdir -p "$targetFolder"
+
+DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$targetFolder"
+
+# Add ssl certificates. Expects Ubuntu 22.04 LTS with ca-certificates package installed
+cp -R /usr/share/ca-certificates "$targetFolder"
+mkdir -p "$targetFolder/etc/ssl/certs"
+cp -PR /etc/ssl/certs/* "$targetFolder/etc/ssl/certs"
+
+sudo chown -R qt:users "$targetPath"
+
+# Verify that we have last files in tars
+if [ ! -f "$targetPath/qnxsdp-env.sh" ] || [ ! -f "$targetPath/qnx-toolchain-x8664.cmake" ]
+then
+ echo "QNX toolchain installation failed!"
+ exit 1
+fi
+
+# Set env variables
+SetEnvVar "QNX_800" "$targetPath"
+
+echo "QNX SDP = 8.0.0" >> ~/versions.txt
diff --git a/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/system_files.custom b/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/system_files.custom
index 914ae503..37cbd96d 100644
--- a/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/system_files.custom
+++ b/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/system_files.custom
@@ -21,7 +21,7 @@ lib/libGLESv2.so.1=usr/lib/libGLESv2.so.1
lib/libEGL.so.1=usr/lib/libEGL.so.1
lib/libz.so.2=usr/lib/libz.so.2
lib/libxml2.so.2=usr/lib/libxml2.so.2
-lib/libfreetype.so.23=usr/lib/libfreetype.so.23
+lib/libfreetype.so.24=usr/lib/libfreetype.so.24
lib/libbz2.so.1=usr/lib/libbz2.so.1
lib/liblzma.so.5=usr/lib/liblzma.so.5
lib/libbacktrace.so.1=usr/lib/libbacktrace.so.1
@@ -45,6 +45,14 @@ lib/dll/img_codec_tif.so=lib/dll/img_codec_tif.so
# for inotify
xbin/fsevmgr=sbin/fsevmgr
+##############################################
+### MM support
+##############################################
+lib/libstrm.so.1=usr/lib/libstrm.so.1
+lib/libcamapi.so.1=usr/lib/libcamapi.so.1
+lib/libmmrndclient.so.1=usr/lib/libmmrndclient.so.1
+lib/libscreen.so.1=usr/lib/libscreen.so.1
+
# for fontconfig
lib/libfontconfig.so.1=usr/lib/libfontconfig.so.1
xbin/fc-cache=bin/fc-cache
diff --git a/coin/provisioning/common/linux/remove-update_notifier.sh b/coin/provisioning/common/linux/remove-update_notifier.sh
index b4598c73..383f242d 100755
--- a/coin/provisioning/common/linux/remove-update_notifier.sh
+++ b/coin/provisioning/common/linux/remove-update_notifier.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
installPackages+=(update-notifier)
diff --git a/coin/provisioning/common/linux/sccache.sh b/coin/provisioning/common/linux/sccache.sh
index 4bf53a3b..5e4969b3 100755
--- a/coin/provisioning/common/linux/sccache.sh
+++ b/coin/provisioning/common/linux/sccache.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/linux/set_ulimit.sh b/coin/provisioning/common/linux/set_ulimit.sh
index 568f88af..e384fe32 100755
--- a/coin/provisioning/common/linux/set_ulimit.sh
+++ b/coin/provisioning/common/linux/set_ulimit.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script will set ulimit size for open files
# Linker for Qt Webengine builds needs to open a multiple files. Without this it will hit the limit.
diff --git a/coin/provisioning/common/linux/squish-coco.sh b/coin/provisioning/common/linux/squish-coco.sh
index e56e5306..eda200d8 100755
--- a/coin/provisioning/common/linux/squish-coco.sh
+++ b/coin/provisioning/common/linux/squish-coco.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Squish Coco
@@ -52,7 +15,7 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="4.2.2"
sha1="a44f0f039f3712c715eea63c4021d08bf17a44c6"
package="SquishCocoSetup_${version}_Linux_x86_64.run"
-url="http://ci-files01-hki.intra.qt.io/input/coco//$package"
+url="http://ci-files01-hki.ci.qt.io/input/coco//$package"
echo "Enable license for Coco"
diff --git a/coin/provisioning/common/linux/ubuntu-version.sh b/coin/provisioning/common/linux/ubuntu-version.sh
index 23f711f8..2d02bb22 100755
--- a/coin/provisioning/common/linux/ubuntu-version.sh
+++ b/coin/provisioning/common/linux/ubuntu-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/common/linux/vcpkg/vcpkg.json b/coin/provisioning/common/linux/vcpkg/vcpkg.json
new file mode 100644
index 00000000..70cb16fb
--- /dev/null
+++ b/coin/provisioning/common/linux/vcpkg/vcpkg.json
@@ -0,0 +1,12 @@
+{
+ "overrides": [
+ {
+ "name": "openssl",
+ "version": "3.0.7",
+ "port-version": 2
+ }
+ ],
+ "dependencies": [
+ "openssl"
+ ]
+}
diff --git a/coin/provisioning/common/linux/version.sh b/coin/provisioning/common/linux/version.sh
index ea2cf73d..4e0443fe 100755
--- a/coin/provisioning/common/linux/version.sh
+++ b/coin/provisioning/common/linux/version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2016 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2016 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script will print all installed software to provision log.
# Script needs to be named so that it will be ran at last during provisioning
diff --git a/coin/provisioning/common/linux/vx_works.sh b/coin/provisioning/common/linux/vx_works.sh
new file mode 100755
index 00000000..ed0bef0c
--- /dev/null
+++ b/coin/provisioning/common/linux/vx_works.sh
@@ -0,0 +1,51 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs vxworks libs and toolchain.
+
+set -ex
+
+# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
+source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
+# shellcheck source=../unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
+
+VXWORKS_VER="23_09"
+######### VXworks libs #########
+# Installs to /opt/vxworks
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_no_source_patched_$VXWORKS_VER.tar.gz"
+AltUrl=""
+sha1="35a457999b310a6128e3bd7de3103c2235063071"
+targetFolder="/opt/"
+InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
+SetEnvVar "VXWORKS_HOME" "/opt/vxworks"
+
+VXWORKS_BUILD_VER="20240326"
+######### VXworks toolchain #########
+# Installs to /opt/fsl_imx6_2_0_6_2_VSB
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_vsb_${VXWORKS_BUILD_VER}_2.tar.gz"
+AltUrl=""
+sha1="415359ac124e11198a3911c9c4b923269d8da83a"
+targetFolder="/opt/"
+InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
+SetEnvVar "WIND_CC_SYSROOT" "/opt/fsl_imx6_2_0_6_2_VSB"
+
+######### VXworks VIP kernel #########
+# Installs to /opt/fsl_imx6_2_0_6_2_VIP_QEMU
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/vxworks/vxworks_vip_${VXWORKS_BUILD_VER}.tar.gz"
+AltUrl=""
+sha1="a6019012a8c7af760469959e2df89875f5ff4e9a"
+targetFolder="/opt/"
+InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$sha1" "$targetFolder" ""
+
+SetEnvVar "VXWORKS_SSH" "WindRiver@10.0.2.4"
+
+# Setup NFS exports that are needed by VxWorks qemu
+sudo bash -c "echo '/home/qt/work 10.0.2.4/24(rw,sync,root_squash,no_subtree_check,anonuid=1000,anongid=1000)' >> /etc/exports"
+sudo bash -c "echo '/opt/fsl_imx6_2_0_6_2_VSB 10.0.2.4/24(rw,sync,root_squash,no_subtree_check,anonuid=1000,anongid=1000)' >> /etc/exports"
+sudo exportfs -a
+
+# Copy start script in place
+cp "${BASH_SOURCE%/*}/../linux/vxworks_qemu_launcher.sh" "${HOME}"
+SetEnvVar "VXWORKS_EMULATOR" "${HOME}/vxworks_qemu_launcher.sh"
diff --git a/coin/provisioning/common/linux/vxworks_qemu_launcher.sh b/coin/provisioning/common/linux/vxworks_qemu_launcher.sh
new file mode 100755
index 00000000..39a68676
--- /dev/null
+++ b/coin/provisioning/common/linux/vxworks_qemu_launcher.sh
@@ -0,0 +1,39 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Setup bridge if not exist for VxWorks QEMU
+if ! ip link show br0 >/dev/null 2>&1; then
+ sudo brctl addbr br0
+ sudo brctl stp br0 off
+ sudo ifconfig br0 10.0.2.1 netmask 255.255.255.0 promisc up
+ sudo tunctl -u qt -t tap0
+ sudo ifconfig tap0 promisc up
+ sudo brctl addif br0 tap0
+fi
+
+QEMU_LOG_PATH="/home/qt/work/vxworks_qemu_log.txt"
+qemu-system-arm \
+ -machine sabrelite \
+ -smp 4 \
+ -m 1G \
+ -nographic \
+ -monitor none \
+ -serial null \
+ -serial stdio \
+ -kernel /opt/fsl_imx6_2_0_6_2_VIP_QEMU/default/uVxWorks \
+ -dtb /opt/fsl_imx6_2_0_6_2_VIP_QEMU/default/imx6q-sabrelite.dtb \
+ -append "enet(0,0)host:vxWorks h=10.0.2.1 g=10.0.2.1 e=10.0.2.4 u=target pw=vxTarget s=/romfs/startup_script_arm.txt" \
+ -nic "tap,ifname=tap0,script=no" >"${QEMU_LOG_PATH}" 2>&1 &
+
+for _ in $(seq 30)
+do
+ status=$(ssh -o BatchMode=yes -o HostKeyAlgorithms=+ssh-rsa -o ConnectTimeout=1 "${VXWORKS_SSH}" echo emulator up)
+ if [[ $status == *"emulator up"* ]] ; then
+ echo "VXWORKS QEMU SSH server up"
+ break
+ else
+ echo "Waiting VXWORKS QEMU SSH server"
+ sleep 1
+ fi
+done
diff --git a/coin/provisioning/common/macos/InstallAppFromCompressedFileFromURL.sh b/coin/provisioning/common/macos/InstallAppFromCompressedFileFromURL.sh
index 00c6d308..03454485 100755
--- a/coin/provisioning/common/macos/InstallAppFromCompressedFileFromURL.sh
+++ b/coin/provisioning/common/macos/InstallAppFromCompressedFileFromURL.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script receives URLs to a compressed file. It then downloads it,
# uncompresses it and installs it by default
diff --git a/coin/provisioning/common/macos/InstallPKGFromURL.sh b/coin/provisioning/common/macos/InstallPKGFromURL.sh
index eeeb450d..62ae9db5 100755
--- a/coin/provisioning/common/macos/InstallPKGFromURL.sh
+++ b/coin/provisioning/common/macos/InstallPKGFromURL.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -48,7 +11,7 @@ function InstallPKGFromURL {
targetDirectory=$4
echo "Creating temporary file"
- package_basename=$(echo "$url" | sed 's|^.*/||')
+ package_basename="${url/*\//}"
tmpdir=$(mktemp -d)
targetFile="$tmpdir/$package_basename"
echo "Downloading PKG from primary URL '$url'"
diff --git a/coin/provisioning/common/macos/android.sh b/coin/provisioning/common/macos/android.sh
index de5c86b7..b7dc953f 100755
--- a/coin/provisioning/common/macos/android.sh
+++ b/coin/provisioning/common/macos/android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -45,23 +8,23 @@
set -ex
-# shellcheck source=../common/unix/SetEnvVar.sh
+# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
-ndkVersionLatest="r25b"
+ndkVersionLatest="r26b"
ndkVersionDefault="$ndkVersionLatest"
-sdkBuildToolsVersion="33.0.1"
+sdkBuildToolsVersion="34.0.0"
# this is compile sdk version
-sdkApiLevel="android-33"
+sdkApiLevel="android-34"
toolsSourceFile="$basePath/$toolsFile"
@@ -85,6 +48,7 @@ sudo unzip -q "$toolsSourceFile" -d "$sdkTargetFolder"
echo "Changing ownership of Android files."
sudo chown -R qt:wheel "$targetFolder"
+sudo chmod -R 755 $targetFolder
# Run the following command under `eval` or `sh -c` so that the shell properly splits it
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
@@ -95,7 +59,7 @@ sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
echo "Checking the contents of Android SDK..."
ls -l "$sdkTargetFolder"
@@ -106,7 +70,9 @@ SetEnvVar "ANDROID_NDK_ROOT_LATEST" "$targetFolder/android-ndk-$ndkVersionLatest
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersionDefault" >> ~/versions.txt
+cat << EOT >>~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersionDefault
+EOT
diff --git a/coin/provisioning/common/macos/cmake.sh b/coin/provisioning/common/macos/cmake.sh
index ea70b112..b9ff8dfb 100755
--- a/coin/provisioning/common/macos/cmake.sh
+++ b/coin/provisioning/common/macos/cmake.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs CMake
@@ -48,11 +11,11 @@ source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-majorminorversion="3.24.2"
-version="3.24.2"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-$version-macos-universal.tar.gz"
+majorminorversion="3.27.7"
+version="3.27.7"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-macos-universal.tar.gz"
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-macos-universal.tar.gz"
-SHA1="19b1473e6ded2d234256b6aac90eb22616c5ab5e"
+SHA1="75153b6c7a418bc7120c6217d4698c7d245d00e0"
appPrefix="cmake-$version-macos-universal"
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
diff --git a/coin/provisioning/common/macos/disable-app-reopen.sh b/coin/provisioning/common/macos/disable-app-reopen.sh
index 850c5d43..139f6d04 100755
--- a/coin/provisioning/common/macos/disable-app-reopen.sh
+++ b/coin/provisioning/common/macos/disable-app-reopen.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Prevent applications from re-opening after re-boot.
# This is needed only with physical mac mini machines used in ci.
diff --git a/coin/provisioning/common/macos/disable-notifications_and_warnings.sh b/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
index e189e098..13c0a480 100755
--- a/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
+++ b/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
echo "Unload notificationcenterui.plist"
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
diff --git a/coin/provisioning/common/macos/disable_net_lso.sh b/coin/provisioning/common/macos/disable_net_lso.sh
index 328ac308..7c51a486 100755
--- a/coin/provisioning/common/macos/disable_net_lso.sh
+++ b/coin/provisioning/common/macos/disable_net_lso.sh
@@ -1,45 +1,9 @@
#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-echo """<?xml version=\"1.0\" encoding=\"UTF-8\"?>
+sudo tee -a /Library/LaunchDaemons/net_tcp_tso_off.plist > /dev/null <<EOB
+<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
<plist version=\"1.0\">
<dict>
@@ -67,4 +31,4 @@ echo """<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<true/>
</dict>
</plist>
-""" | sudo tee -a /Library/LaunchDaemons/net_tcp_tso_off.plist
+EOB
diff --git a/coin/provisioning/common/macos/disable_spotlight.sh b/coin/provisioning/common/macos/disable_spotlight.sh
index 915d7fd3..a404d3e7 100755
--- a/coin/provisioning/common/macos/disable_spotlight.sh
+++ b/coin/provisioning/common/macos/disable_spotlight.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Disable spotlight and and stop indexing
sudo mdutil -a -i off
diff --git a/coin/provisioning/common/macos/docker.sh b/coin/provisioning/common/macos/docker.sh
index 0b8c8f5e..7ae9cdd5 100755
--- a/coin/provisioning/common/macos/docker.sh
+++ b/coin/provisioning/common/macos/docker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=./../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
@@ -56,7 +19,7 @@ echo "Installing Docker for $chip chip"
urlOccifical="https://desktop.docker.com/mac/main/${chip}/Docker.dmg?utm_source=docker"
urlCache="http://ci-files01-hki.ci.qt.io/input/mac/Docker_${chip}.dmg"
-DownloadURL $urlCache $urlOccifical $sha "/tmp/Docker_${chip}.dmg"
+DownloadURL "$urlCache" "$urlOccifical" "$sha" "/tmp/Docker_${chip}.dmg"
sudo hdiutil attach "/tmp/Docker_${chip}.dmg"
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install --accept-license --user qt
@@ -64,7 +27,7 @@ sudo hdiutil detach /Volumes/Docker
# Add registry mirror for docker images
mkdir "$HOME/.docker"
-sudo tee -a $HOME/.docker/daemon.json <<"EOF"
+sudo tee -a "$HOME/.docker/daemon.json" <<"EOF"
{
"builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } },
"experimental": false,
diff --git a/coin/provisioning/common/macos/enable_zsh_history_and_viminfo.sh b/coin/provisioning/common/macos/enable_zsh_history_and_viminfo.sh
new file mode 100755
index 00000000..98daf16d
--- /dev/null
+++ b/coin/provisioning/common/macos/enable_zsh_history_and_viminfo.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+
+if [ -f /Users/qt/.zsh_history ]
+then
+ sudo chown qt:staff /Users/qt/.zsh_history
+fi
+
+if [ -f /Users/qt/.viminfo ]
+then
+ sudo chown qt:staff /Users/qt/.viminfo
+fi
diff --git a/coin/provisioning/common/macos/fbx_macos.sh b/coin/provisioning/common/macos/fbx_macos.sh
index 020c49d8..62d643ee 100755
--- a/coin/provisioning/common/macos/fbx_macos.sh
+++ b/coin/provisioning/common/macos/fbx_macos.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs FBX SDK
@@ -45,16 +9,16 @@ set -ex
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-version="2016.1.2"
+#version="2016.1.2"
fileName="fbx20161_2_fbxsdk_clang_mac.pkg_nospace.tgz"
-cachedUrl="/net/ci-files01-hki.intra.qt.io/hdd/www/input/fbx/$fileName"
+cachedUrl="/net/ci-files01-hki.ci.qt.io/hdd/www/input/fbx/$fileName"
# officialUrl="http://download.autodesk.com/us/fbx_release_older/$version/fbx20161_2_fbxsdk_clang_mac.pkg.tgz"
targetFolder="/tmp"
echo "Extracting '$cachedUrl'"
tar -xzf "$cachedUrl" -C "$targetFolder"
-rm -rf "$targetFolder/$fileName"
+rm -rf "${targetFolder:?}/${fileName}"
echo "Copying preinstalled FBX SDK to Applications"
sudo cp -r "$targetFolder/Autodesk" /Applications
diff --git a/coin/provisioning/common/macos/fix_relative_dependencies.sh b/coin/provisioning/common/macos/fix_relative_dependencies.sh
new file mode 100755
index 00000000..e67a00c4
--- /dev/null
+++ b/coin/provisioning/common/macos/fix_relative_dependencies.sh
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -e
+
+# realpath is not included to macOS <= 12.
+# dir=$(realpath "$1")
+dir=$(cd "$1" && pwd)
+
+dir_length=${#dir}
+dylib_regex="^$dir/.*\.dylib$"
+
+find "$dir" -type f -name '*.dylib' | while read -r library_path; do
+ install_name=$(otool -D "$library_path" | sed -n '2p' | grep -E "$dylib_regex" )
+ if [ -n "$install_name" ]; then
+ fixed_install_name="@rpath${install_name:dir_length}"
+ install_name_tool -id "$fixed_install_name" "$library_path"
+ fi
+
+ otool -L "$library_path" | awk '/\t/ {print $1}' | grep -E "$dylib_regex" | while read -r dependency_path; do
+ fixed_dependency_path="@loader_path${dependency_path:dir_length}"
+ install_name_tool -change "$dependency_path" "$fixed_dependency_path" "$library_path"
+ done
+done
diff --git a/coin/provisioning/common/macos/homebrew.sh b/coin/provisioning/common/macos/homebrew.sh
index 66463c44..4f3a93ba 100755
--- a/coin/provisioning/common/macos/homebrew.sh
+++ b/coin/provisioning/common/macos/homebrew.sh
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Will install homebrew package manager for macOS.
@@ -7,11 +9,11 @@
set -e
-. "$(dirname "$0")"/../../common/unix/DownloadURL.sh
+source "$(dirname "$0")"/../../common/unix/DownloadURL.sh
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew-install.c744a716f9845988d01e6e238eee7117b8c366c9.rb \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew-install.c744a716f9845988d01e6e238eee7117b8c366c9.rb \
https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
b9782cc0b550229de77b429b56ffce04157e60486ab9df00461ccf3dad565b0a \
/tmp/homebrew_install
diff --git a/coin/provisioning/common/macos/homebrew_for_arm_mac.sh b/coin/provisioning/common/macos/homebrew_for_arm_mac.sh
new file mode 100755
index 00000000..e84621ff
--- /dev/null
+++ b/coin/provisioning/common/macos/homebrew_for_arm_mac.sh
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Will install homebrew package manager for macOS.
+# WARNING: Requires commandlinetools
+
+
+set -e
+
+. "$(dirname "$0")"/../unix/DownloadURL.sh
+. "$(dirname "$0")"/../unix/SetEnvVar.sh
+
+
+DownloadURL \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew/be699a568315f57b65519df576d7fc5840b8a5cc/install.sh \
+ https://raw.githubusercontent.com/Homebrew/install/be699a568315f57b65519df576d7fc5840b8a5cc/install \
+ f20e4a577f0cafbab5a44b4d239886d725b3b985 \
+ /tmp/homebrew_install.sh
+
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
+{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
+sudo chmod 755 /tmp/homebrew_install.sh
+{ (echo "$pw" | /tmp/homebrew_install.sh); } 2> /dev/null
+rm -f "/Users/qt/pw"
+
+# No need to manually do `brew update`, the homebrew installer script does it.
+### brew update
+
+SetEnvVar "PATH" "\$PATH:/opt/homebrew/bin"
diff --git a/coin/provisioning/common/macos/increase_limits.sh b/coin/provisioning/common/macos/increase_limits.sh
index 48abca21..58b20f49 100755
--- a/coin/provisioning/common/macos/increase_limits.sh
+++ b/coin/provisioning/common/macos/increase_limits.sh
@@ -1,43 +1,6 @@
-#!/bin/sh
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+#!/bin/bash
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Increase the soft and hard RLIMIT_NOFILE and RLIMIT_NPROC limits.
@@ -48,16 +11,16 @@
set -e
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-
+# shellcheck source=../unix/common.sourced.sh
+source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
echo "Current limits are:"
ulimit -a
launchctl limit
$CMD_INSTALL -m 644 -o root -g wheel \
- $PROVISIONING_DIR/common/macos/limit.maxfiles.plist \
- $PROVISIONING_DIR/common/macos/limit.maxproc.plist \
+ "$PROVISIONING_DIR/common/macos/limit.maxfiles.plist" \
+ "$PROVISIONING_DIR/common/macos/limit.maxproc.plist" \
/Library/LaunchDaemons/
# Activate the new limits immediately (not for the current session though)
diff --git a/coin/provisioning/common/macos/install-commandlinetools.sh b/coin/provisioning/common/macos/install-commandlinetools.sh
index 146da684..f74eaca0 100755
--- a/coin/provisioning/common/macos/install-commandlinetools.sh
+++ b/coin/provisioning/common/macos/install-commandlinetools.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
set -ex
diff --git a/coin/provisioning/common/macos/install-git.sh b/coin/provisioning/common/macos/install-git.sh
index 6e3eba63..45ac2817 100755
--- a/coin/provisioning/common/macos/install-git.sh
+++ b/coin/provisioning/common/macos/install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/macos/install_xcode.sh b/coin/provisioning/common/macos/install_xcode.sh
index ef4e7dfc..440f19b9 100755
--- a/coin/provisioning/common/macos/install_xcode.sh
+++ b/coin/provisioning/common/macos/install_xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=./../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
@@ -62,7 +25,7 @@ function InstallXCode() {
cd /Applications/ && sudo tar -zxf "$sourceFile"
elif [[ $sourceFile =~ "xip" ]]; then
if [[ $sourceFile =~ "http" ]]; then
- Download $sourceFile /Applications/Xcode_$version.xip
+ Download "$sourceFile" "/Applications/Xcode_$version.xip"
cd /Applications/ && xip -x "Xcode_$version.xip"
else
cd /Applications/ && xip -x "$sourceFile"
@@ -72,12 +35,12 @@ function InstallXCode() {
fi
echo "Versioning application bundle"
- majorVersion=$(echo $version | cut -d '.' -f 1)
+ majorVersion=$(echo "$version" | cut -d '.' -f 1)
versionedAppBundle="/Applications/Xcode${majorVersion}.app"
- sudo mv /Applications/Xcode*.app ${versionedAppBundle}
+ sudo mv /Applications/Xcode*.app "${versionedAppBundle}"
echo "Selecting Xcode"
- sudo xcode-select --switch ${versionedAppBundle}
+ sudo xcode-select --switch "${versionedAppBundle}"
echo "Accept license"
sudo xcodebuild -license accept
diff --git a/coin/provisioning/common/macos/java.sh b/coin/provisioning/common/macos/java.sh
index faf450f0..1429f824 100755
--- a/coin/provisioning/common/macos/java.sh
+++ b/coin/provisioning/common/macos/java.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs JDK
@@ -47,7 +10,7 @@ echo "Installing Java Development Kit"
version=11.0.12
targetFile=jdk-${version}_osx-x64_bin.dmg
-url=ci-files01-hki.intra.qt.io:/hdd/www/input/mac
+url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
# url_alt=https://www.oracle.com/java/technologies/downloads/#java11-linux
echo "Mounting $targetFile"
diff --git a/coin/provisioning/common/macos/java_arm.sh b/coin/provisioning/common/macos/java_arm.sh
index fb603918..1c4b1ed1 100755
--- a/coin/provisioning/common/macos/java_arm.sh
+++ b/coin/provisioning/common/macos/java_arm.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs JDK
@@ -47,7 +10,7 @@ echo "Installing Java Development Kit"
targetFile=zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.dmg
-url=ci-files01-hki.intra.qt.io:/hdd/www/input/mac
+url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
# url_alt=https://cdn.azul.com/zulu/bin/zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.dmg
echo "Mounting $targetFile"
diff --git a/coin/provisioning/common/macos/libiodbc.sh b/coin/provisioning/common/macos/libiodbc.sh
index d52bc974..059758c8 100755
--- a/coin/provisioning/common/macos/libiodbc.sh
+++ b/coin/provisioning/common/macos/libiodbc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
@@ -46,11 +9,11 @@ set -ex
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-brew install --formula ${BASH_SOURCE%/*}/libiodbc.rb $*
+brew install --formula "${BASH_SOURCE%/*}/libiodbc.rb" "$@"
# CPLUS_INCLUDE_PATH is set so clang and configure can find libiodbc
-read -r -a arr <<< $(brew list --versions libiodbc)
+read -r -a arr <<< "$(brew list --versions libiodbc)"
version=${arr[1]}
SetEnvVar "CPLUS_INCLUDE_PATH" "/usr/local/Cellar/libiodbc/$version/include${CPLUS_INCLUDE_PATH:+:}${CPLUS_INCLUDE_PATH}"
diff --git a/coin/provisioning/common/macos/libusb.sh b/coin/provisioning/common/macos/libusb.sh
index 2e47a5aa..2abe6cbf 100755
--- a/coin/provisioning/common/macos/libusb.sh
+++ b/coin/provisioning/common/macos/libusb.sh
@@ -1,50 +1,13 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libusb
set -ex
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
brew install libusb
-read -r -a arr <<< $(brew list --versions libusb)
+read -r -a arr <<< "$(brew list --versions libusb)"
version=${arr[1]}
echo "libusb = $version" >> ~/versions.txt
@@ -55,17 +18,18 @@ case $(sw_vers -productVersion) in
11*) codename=big_sur;;
12*) codename=monterey;;
13*) codename=ventura;;
+ 14*) codename=sonoma;;
esac
-brew fetch --bottle-tag=arm64_${codename} libusb
-brew fetch --bottle-tag=${codename} libusb
-tar xf $(brew --cache --bottle-tag=arm64_${codename} libusb) -C /tmp/arm64/
-tar xf $(brew --cache --bottle-tag=${codename} libusb) -C /tmp/amd64
-for f in /tmp/arm64/libusb/$version/lib/* ; do
- if lipo -info $f >/dev/null 2>&1; then
- file=$(basename $f)
- lipo -create -output $(brew --cellar)/libusb/$version/lib/$file \
- /tmp/arm64/libusb/$version/lib/$file \
- /tmp/amd64/libusb/$version/lib/$file
+brew fetch --bottle-tag=arm64_"${codename}" libusb
+brew fetch --bottle-tag="${codename}" libusb
+tar xf "$(brew --cache --bottle-tag=arm64_"${codename}" libusb)" -C /tmp/arm64/
+tar xf "$(brew --cache --bottle-tag="${codename}" libusb)" -C /tmp/amd64
+for f in /tmp/arm64/libusb/"$version"/lib/* ; do
+ if lipo -info "$f" >/dev/null 2>&1; then
+ file="$(basename "$f")"
+ lipo -create -output "$(brew --cellar)/libusb/$version/lib/$file" \
+ "/tmp/arm64/libusb/$version/lib/$file" \
+ "/tmp/amd64/libusb/$version/lib/$file"
fi
done
diff --git a/coin/provisioning/common/macos/macos-version.sh b/coin/provisioning/common/macos/macos-version.sh
index 4bf8eea8..182c1161 100755
--- a/coin/provisioning/common/macos/macos-version.sh
+++ b/coin/provisioning/common/macos/macos-version.sh
@@ -1,57 +1,20 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2016 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2016 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
set -ex
# Print all build machines versions to provision log
-echo "*********************************************" >> ~/versions.txt
-echo "***** macOS version *****" >> ~/versions.txt
-sw_vers >> ~/versions.txt
-echo "***** All installed packages *****" >> ~/versions.txt
-echo "***** HomeBrew *****" >> ~/versions.txt
-brew list --versions >> ~/versions.txt
-echo "***** Apple's installer *****" >> ~/versions.txt
-pkgutil --pkgs >> ~/versions.txt
-echo "*********************************************" >> ~/versions.txt
-
+( echo "*********************************************"
+ echo "***** macOS version *****"
+ sw_vers
+ echo "***** All installed packages *****"
+ echo "***** HomeBrew *****"
+ brew list --versions
+ echo "***** Apple's installer *****"
+ pkgutil --pkgs
+ echo "*********************************************"
+) >> ~/versions.txt
"$(dirname "$0")/version.sh"
diff --git a/coin/provisioning/common/macos/makeuniversal.sh b/coin/provisioning/common/macos/makeuniversal.sh
index cca42db7..0f5fc6a0 100755
--- a/coin/provisioning/common/macos/makeuniversal.sh
+++ b/coin/provisioning/common/macos/makeuniversal.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Copies or lipos files from the given DESTDIR dirs to the respective install dir
@@ -45,18 +8,24 @@ set -e
for dir in "$@"; do
echo "Processing files in $dir ..."
- pushd $dir >/dev/null
- find . -type f | while read f; do
+ pushd "$dir" >/dev/null
+ find . -type f -or -type l | while read -r f; do
dst="${f:1}"
- dstdir=$(dirname $dst)
- mkdir -p $dstdir
- if [[ ! -f $dst ]]; then
+ dstdir="$(dirname "$dst")"
+ mkdir -p "$dstdir"
+
+ if [[ -L "$f" ]]; then
+ if [[ ! -L "$dst" && ! -d "$dst" && ! -f "$dst" ]]; then
+ echo "Copying symlink $dir/$f to $dst"
+ cp -P -n "$f" "$dst"
+ fi
+ elif [[ ! -f "$dst" ]]; then
echo "Copying $dir/$f to $dst"
- cp -c $f $dst
- elif lipo -info $f >/dev/null 2>&1; then
+ cp -c "$f" "$dst"
+ elif lipo -info "$f" >/dev/null 2>&1; then
echo "Lipoing $dir/$f into $dst"
- lipo -create -output $dst $dst $f
- elif ! diff $f $dst; then
+ lipo -create -output "$dst" "$dst" "$f"
+ elif ! diff "$f" "$dst"; then
echo "Error: File $f in $dir doesn't match destination $dst"
exit 1
fi
diff --git a/coin/provisioning/common/macos/mimersql.sh b/coin/provisioning/common/macos/mimersql.sh
new file mode 100755
index 00000000..10ee1dc5
--- /dev/null
+++ b/coin/provisioning/common/macos/mimersql.sh
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs Mimer SQL
+
+# Mimer SQL is needed for Qt to be able to support Mimer SQL
+
+set -ex
+os="$1"
+
+source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
+source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
+
+mimerSqlVersion="11.0.7G"
+if [ "$os" = "macos" ]; then
+ arch=$(uname -m)
+ if [ "$arch" = "x86_64" ]; then
+ mimerSqlPackageName="mimersql-110_x86_64.tgz"
+ SHA1="d748f87b72e7188c527f131db2590f552f18f544"
+ else
+ mimerSqlPackageName="mimersql-110_arm64.tgz"
+ SHA1="f209c97074d096e50e637441073e8aa355c5116e"
+ fi
+else
+ mimerSqlPackageName="mimersql-110_universal.tgz"
+ SHA1="eab32be623f1cbde7c29cea0f0ca4332b8ca502b"
+fi
+
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/$mimerSqlPackageName"
+AltUrl="https://install.mimer.com/qt/macOS/$mimerSqlPackageName"
+
+DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "/tmp/$mimerSqlPackageName"
+
+echo "Installing $mimerSqlPackageName"
+if [ -e /tmp/mimersql_${mimerSqlVersion} ]; then
+ rm -r /tmp/mimersql_${mimerSqlVersion}
+fi
+mkdir /tmp/mimersql_${mimerSqlVersion}
+tar -C /tmp/mimersql_${mimerSqlVersion} -zxf /tmp/$mimerSqlPackageName
+if [ ! -e /usr/local/include ]; then
+ sudo mkdir -p /usr/local/include
+ sudo chmod 777 /usr/local/include
+fi
+if [ ! -e /usr/local/lib ]; then
+ sudo mkdir -p /usr/local/lib
+ sudo chmod 777 /usr/local/lib
+fi
+sudo cp /tmp/mimersql_${mimerSqlVersion}/include/*.h /usr/local/include/
+sudo chmod 755 /usr/local/include/mimer*.h
+sudo cp /tmp/mimersql_${mimerSqlVersion}/lib/libmimerapi.dylib /usr/local/lib/
+sudo chmod 755 /usr/local/lib/libmimerapi.dylib
+echo "Removing $mimerSqlPackageName"
+rm "/tmp/$mimerSqlPackageName"
+rm -r /tmp/mimersql_${mimerSqlVersion}
+echo "Mimer SQL = $mimerSqlVersion" >> ~/versions.txt
diff --git a/coin/provisioning/common/macos/mount-vcpkg-cache-drive.sh b/coin/provisioning/common/macos/mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..8a3e1f69
--- /dev/null
+++ b/coin/provisioning/common/macos/mount-vcpkg-cache-drive.sh
@@ -0,0 +1,28 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -e
+
+# Avoid leaking secrets in the logs
+set +x
+
+targetDir="$HOME/vcpkg-cache"
+
+# Specify the path to the credential file
+credentialFile="$HOME/samba_credentials"
+username=$(grep '^username=' "$credentialFile" | cut -d '=' -f 2)
+password=$(grep '^password=' "$credentialFile" | cut -d '=' -f 2)
+
+mkdir -p "$targetDir"
+
+# Mount the SMB share
+# Check if the mount was successful
+if mount -v -t smbfs -o -N "//${username}:${password}@vcpkg-server.ci.qt.io/vcpkg" "$targetDir"
+then
+ echo "SMB share mounted successfully!"
+else
+ echo "Failed to mount SMB share."
+fi
+
+set -x
diff --git a/coin/provisioning/common/macos/ninja.sh b/coin/provisioning/common/macos/ninja.sh
index 2cb05aa2..66ac8324 100755
--- a/coin/provisioning/common/macos/ninja.sh
+++ b/coin/provisioning/common/macos/ninja.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script will install ninja binary
@@ -45,7 +8,7 @@
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
version="1.10.2"
-internalUrl="http://ci-files01-hki.intra.qt.io/input/mac/ninja-mac_v${version}.zip"
+internalUrl="http://ci-files01-hki.ci.qt.io/input/mac/ninja-mac_v${version}.zip"
externalUrl="https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-mac.zip"
SHA1="95d0ca5e7c67ab7181c87e6a6ec59d11b1ff2d30"
DestDir="/usr/local/bin/"
diff --git a/coin/provisioning/common/macos/nodejs.sh b/coin/provisioning/common/macos/nodejs.sh
index 27382fbe..ac927110 100755
--- a/coin/provisioning/common/macos/nodejs.sh
+++ b/coin/provisioning/common/macos/nodejs.sh
@@ -1,55 +1,18 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=./../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# This script will install Nodejs
-version="14.16.1"
-urlCache="http://ci-files01-hki.intra.qt.io/input/nodejs/node-v$version.pkg"
+version="18.16.0"
+urlCache="http://ci-files01-hki.ci.qt.io/input/nodejs/node-v$version.pkg"
urlOffcial="https://nodejs.org/dist/v$version/node-v$version.pkg"
-sha1="4720274971c40fe51b2c647060f77c45fb4949a7"
+sha256="156aa5b9580288fb0b3c6134eb8fac64e50745d78d33eebe9e29eb7ff87b8e1e"
-DownloadURL $urlCache $urlOffcial $sha1 "/tmp/node-v$version.pkg"
+DownloadURL $urlCache $urlOffcial $sha256 "/tmp/node-v$version.pkg"
sudo installer -pkg "/tmp/node-v$version.pkg" -target /
echo "Nodejs = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/macos/pip.sh b/coin/provisioning/common/macos/pip.sh
index b1c9a864..ce73d283 100755
--- a/coin/provisioning/common/macos/pip.sh
+++ b/coin/provisioning/common/macos/pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
@@ -9,9 +11,9 @@ function InstallPip {
# Will install pip utility for python
if [[ $python == "python2.7" ]]; then
- DownloadURL "http://ci-files01-hki.intra.qt.io/input/mac/python27/get-pip.py" "https://bootstrap.pypa.io/2.7/get-pip.py" "c4c5f74586cffe49804f167d95d1710b9750ddf0"
+ DownloadURL "http://ci-files01-hki.ci.qt.io/input/mac/python27/get-pip.py" "https://bootstrap.pypa.io/2.7/get-pip.py" "c4c5f74586cffe49804f167d95d1710b9750ddf0"
else
- DownloadURL "http://ci-files01-hki.intra.qt.io/input/mac/get-pip.py" "https://bootstrap.pypa.io/get-pip.py" "209ddf0bb8d1cf06a1f17dd9f21970c76b3d2be2"
+ DownloadURL "http://ci-files01-hki.ci.qt.io/input/mac/get-pip.py" "https://bootstrap.pypa.io/get-pip.py" "209ddf0bb8d1cf06a1f17dd9f21970c76b3d2be2"
fi
sudo "$python" get-pip.py
rm get-pip.py
diff --git a/coin/provisioning/common/macos/pkgconfig.sh b/coin/provisioning/common/macos/pkgconfig.sh
index 5bae9330..5b849821 100755
--- a/coin/provisioning/common/macos/pkgconfig.sh
+++ b/coin/provisioning/common/macos/pkgconfig.sh
@@ -1,49 +1,12 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install pkgconfig
set -ex
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
brew install pkgconfig
-read -r -a arr <<< $(brew list --versions pkgconfig)
+read -r -a arr <<< "$(brew list --versions pkgconfig)"
version=${arr[1]}
echo "pkgconfig = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/macos/postgresql.sh b/coin/provisioning/common/macos/postgresql.sh
index b20e4f4e..8980d28e 100755
--- a/coin/provisioning/common/macos/postgresql.sh
+++ b/coin/provisioning/common/macos/postgresql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs PostgreSQL
@@ -45,9 +8,9 @@
set -ex
-# shellcheck source=../common/unix/SetEnvVar.sh
+# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-# shellcheck source=../common/unix/DownloadURL.sh
+# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
psqlAppVersion="2.5"
@@ -55,10 +18,9 @@ psqlVersion="14"
packageName="Postgres-$psqlAppVersion-$psqlVersion.dmg"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/$packageName"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/$packageName"
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/v$psqlAppVersion/$packageName"
SHA1="04cb6939704c5ede5646c1da8a686da3ded98a26"
-appPrefix=""
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "/tmp/$packageName"
diff --git a/coin/provisioning/common/macos/python2.sh b/coin/provisioning/common/macos/python2.sh
index 6d811bd8..2da8b463 100755
--- a/coin/provisioning/common/macos/python2.sh
+++ b/coin/provisioning/common/macos/python2.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs python2
@@ -48,7 +11,7 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# shellcheck source=./pip.sh
source "${BASH_SOURCE%/*}/pip.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-2.7.16-macosx10.6.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/python-2.7.16-macosx10.6.pkg"
AltUrl="https://www.python.org/ftp/python/2.7.16/python-2.7.16-macosx10.6.pkg"
SHA1="895a8327a58e7c0e58852638ab3d84843643535b"
DestDir="/"
@@ -57,6 +20,10 @@ InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
InstallPip python2.7
+echo "Configure pip"
+/Library/Frameworks/Python.framework/Versions/2.7/bin/pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+/Library/Frameworks/Python.framework/Versions/2.7/bin/pip config --user set global.extra-index-url https://pypi.org/simple/
+
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip install virtualenv
SetEnvVar "PATH" "/Library/Frameworks/Python.framework/Versions/2.7/bin/:\$PATH"
diff --git a/coin/provisioning/common/macos/python3.sh b/coin/provisioning/common/macos/python3.sh
index 75d76c95..925a4925 100755
--- a/coin/provisioning/common/macos/python3.sh
+++ b/coin/provisioning/common/macos/python3.sh
@@ -1,44 +1,7 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs python3
@@ -49,7 +12,7 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# shellcheck source=./pip.sh
source "${BASH_SOURCE%/*}/pip.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.9.6-macos11.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/python-3.9.6-macos11.pkg"
AltUrl="https://www.python.org/ftp/python/3.9.6/python-3.9.6-macos11.pkg"
SHA1="2af5277c2e197719eb4b820430dee5d89e2577b6"
DestDir="/"
@@ -58,15 +21,15 @@ InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
InstallPip python3.9
+echo "Configure pip"
+/Library/Frameworks/Python.framework/Versions/3.9/bin/pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+/Library/Frameworks/Python.framework/Versions/3.9/bin/pip config --user set global.extra-index-url https://pypi.org/simple/
+
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 install virtualenv wheel html5lib
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
-# Install all needed packages in a special wheel cache directory
-/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../shared/requirements.txt
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
-
# Install Python certificates. Required at least for emsdk installation
open /Applications/Python\ 3.9/Install\ Certificates.command
diff --git a/coin/provisioning/common/macos/sccache.sh b/coin/provisioning/common/macos/sccache.sh
index fe3a68df..85c4aee2 100755
--- a/coin/provisioning/common/macos/sccache.sh
+++ b/coin/provisioning/common/macos/sccache.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/macos/screenresolution.sh b/coin/provisioning/common/macos/screenresolution.sh
index dd29a0f1..1b552e88 100755
--- a/coin/provisioning/common/macos/screenresolution.sh
+++ b/coin/provisioning/common/macos/screenresolution.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install screenresolution and set correct resolution at boot
diff --git a/coin/provisioning/common/macos/set-locale.sh b/coin/provisioning/common/macos/set-locale.sh
index 057d1414..bede1e00 100755
--- a/coin/provisioning/common/macos/set-locale.sh
+++ b/coin/provisioning/common/macos/set-locale.sh
@@ -1,44 +1,7 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script sets the macOS locale to UTF-8
set -ex
diff --git a/coin/provisioning/common/macos/set_tcc_permissions.sh b/coin/provisioning/common/macos/set_tcc_permissions.sh
new file mode 100755
index 00000000..d9fb222b
--- /dev/null
+++ b/coin/provisioning/common/macos/set_tcc_permissions.sh
@@ -0,0 +1,31 @@
+#!/usr/bin/env bash
+#Copyright (C) 2024 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+TCC_DATABASE="$HOME/Library/Application Support/com.apple.TCC/TCC.db"
+if touch "$TCC_DATABASE"; then
+ # We can write to the TCC database
+ BOOTSTRAP_AGENT="$HOME/bootstrap-agent"
+ REQ_STR=$(codesign -d -r- "$BOOTSTRAP_AGENT" 2>&1 | awk -F ' => ' '/designated/{print $2}')
+ REQ_HEX=$(echo "$REQ_STR" | csreq -r- -b >(xxd -p | tr -d '\n'))
+
+ # shellcheck disable=SC2043
+ for service in kTCCServiceMicrophone; do
+ sqlite3 -echo "$TCC_DATABASE" <<EOF
+ DELETE from access WHERE client = '$BOOTSTRAP_AGENT' AND service = '$service';
+ INSERT INTO access (service, client, client_type, auth_value, auth_reason, auth_version, csreq, flags) VALUES (
+ '$service', -- service
+ '$BOOTSTRAP_AGENT', -- client
+ 1, -- client_type (1 - absolute path)
+ 2, -- auth_value (2 - allowed)
+ 4, -- auth_reason (4 - "System Set")
+ 1, -- auth_version
+ X'$REQ_HEX', -- csreq
+ 0 -- flags
+ );
+EOF
+ done
+else
+ echo "TCC database is not writable. Is SIP disabled?" >&2
+ exit 1
+fi
diff --git a/coin/provisioning/common/macos/sha1sum-compatibility.sh b/coin/provisioning/common/macos/sha1sum-compatibility.sh
index 8527ec69..65685371 100755
--- a/coin/provisioning/common/macos/sha1sum-compatibility.sh
+++ b/coin/provisioning/common/macos/sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# On macOS the sha1 tool is named 'shasum' while on all other unix systems it is called 'sha1sum'.
# In order to make all unix provioning scripts run on macOS without special case handling
diff --git a/coin/provisioning/common/macos/system_updates.sh b/coin/provisioning/common/macos/system_updates.sh
index fd440e93..8cc9410e 100755
--- a/coin/provisioning/common/macos/system_updates.sh
+++ b/coin/provisioning/common/macos/system_updates.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Disable "Download newly available updates in the background" from App Store
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -boolean FALSE
diff --git a/coin/provisioning/common/macos/telegraf-ioping.sh b/coin/provisioning/common/macos/telegraf-ioping.sh
index eee1372b..9b6d3851 100755
--- a/coin/provisioning/common/macos/telegraf-ioping.sh
+++ b/coin/provisioning/common/macos/telegraf-ioping.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Measure I/O latency once, return data in InfluxDB format
#
@@ -12,7 +14,7 @@
set -e
-[ x"$1" = x ] && echo "$0 takes a path as a first argument" && exit 1
+[ -z "$1" ] && echo "$0 takes a path as a first argument" && exit 1
# Try to run in high priority to avoid slow-downs because of
# factors other than I/O.
@@ -22,5 +24,5 @@ renice -n -10 -p $$ >/dev/null 2>&1 || true
rlatency="$(/usr/local/bin/ioping -B -k -c 3 -i 0.1 "$1" | cut -d " " -f 5)"
wlatency="$(/usr/local/bin/ioping -B -k -c 3 -i 0.1 -W "$1" | cut -d " " -f 5)"
-printf "ioping,path=$1 read_latency_ns=%u,write_latency_ns=%u\n" \
- $rlatency $wlatency
+printf "ioping,path=$1 read_latency_ns=%u,write_latency_ns=%u\n" \
+ "$rlatency" "$wlatency"
diff --git a/coin/provisioning/common/macos/telegraf_install.sh b/coin/provisioning/common/macos/telegraf_install.sh
index f2b83a24..f9658d83 100755
--- a/coin/provisioning/common/macos/telegraf_install.sh
+++ b/coin/provisioning/common/macos/telegraf_install.sh
@@ -1,44 +1,6 @@
-#!/bin/sh
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
+#!/bin/bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs telegraf and ioping and our script telegraf-ioping.sh
# to the /usr/bin directory.
@@ -52,11 +14,12 @@
######################## BOILERPLATE ###########################
set -e
-
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
+# shellcheck source=../unix/common.sourced.sh
+source "${BASH_SOURCE%/*}/../unix/common.sourced.sh"
+# shellcheck source=../unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
is_script_executed telegraf_install.sh \
|| fatal "Script telegraf_install.sh should be executed, not sourced"
@@ -67,7 +30,7 @@ is_script_executed telegraf_install.sh \
[ "$PROVISIONING_OS" = linux ] \
&& ioping_sha256=259abf04bcb84f4126ff97c04b6651e1cf5ea6d8a9ff364c769a26c95b6eeb44 \
|| ioping_sha256=55de6a2f1a5343e0ce8df31d82d47a9e79c7e612edbc6dfb39b5fc6fb358b2e3
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/ioping/ioping.${PROVISIONING_OS}-${PROVISIONING_ARCH}" \
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/ioping/ioping.${PROVISIONING_OS}-${PROVISIONING_ARCH}" \
'' "$ioping_sha256" ioping
/usr/bin/sudo mkdir -p /usr/local/bin/
$CMD_INSTALL -m 755 ./ioping /usr/local/bin/
@@ -78,14 +41,14 @@ $CMD_INSTALL -m 755 "$PROVISIONING_DIR"/common/macos/telegraf-ioping.sh /usr/l
# 3. Download and install telegraf
-[ x"$PROVISIONING_OS" = xmacos ] && os=darwin || os=linux
-[ x"$PROVISIONING_ARCH" = xx86 ] && arch=i386 || arch=amd64
+[ "$PROVISIONING_OS" = macos ] && os=darwin || os=linux
+[ "$PROVISIONING_ARCH" = x86 ] && arch=i386 || arch=amd64
package_filename=telegraf-1.12.6_${os}_${arch}.tar.gz
package_sha256_list="$PROVISIONING_DIR"/common/shared/telegraf/telegraf_packages.sha256.txt
package_sha256=$(sed -n "s/.*$package_filename *//p" "$package_sha256_list")
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/telegraf/"$package_filename" \
+ http://ci-files01-hki.ci.qt.io/input/telegraf/"$package_filename" \
https://dl.influxdata.com/telegraf/releases/"$package_filename" \
"$package_sha256" \
telegraf.tar.gz
diff --git a/coin/provisioning/common/macos/version.sh b/coin/provisioning/common/macos/version.sh
index 7346bcf2..8e3cde83 100755
--- a/coin/provisioning/common/macos/version.sh
+++ b/coin/provisioning/common/macos/version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2016 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2016 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script will print all installed software to provision log.
# Script needs to be named so that it will be ran at last during provisioning
diff --git a/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake b/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake
index 3e3ee6e8..9a207b0e 100644
--- a/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake
+++ b/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-aarch64le.cmake
@@ -1,4 +1,5 @@
set(CMAKE_SYSTEM_NAME QNX)
+set(CMAKE_SYSTEM_PROCESSOR aarch64le)
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
@@ -13,7 +14,7 @@ if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_INCLUDE)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
endif()
-set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}/target/qnx7/)
+set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET};$ENV{QNX_TARGET}/${CMAKE_SYSTEM_PROCESSOR})
set(_qnx_toolchain_arch gcc_ntoaarch64le)
@@ -22,4 +23,6 @@ set(CMAKE_C_COMPILER_TARGET ${_qnx_toolchain_arch})
set(CMAKE_CXX_COMPILER q++)
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
+set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntoaarch64-strip)
+
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
diff --git a/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-armv7le.cmake b/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-armv7le.cmake
index b441859a..90bd9731 100644
--- a/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-armv7le.cmake
+++ b/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-armv7le.cmake
@@ -1,4 +1,5 @@
set(CMAKE_SYSTEM_NAME QNX)
+set(CMALE_SYSTEM_PROCESSOR armv7le)
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
@@ -13,7 +14,7 @@ if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_INCLUDE)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
endif()
-set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}/target/qnx7/)
+set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET};$ENV{QNX_TARGET}/${CMAKE_SYSTEM_PROCESSOR})
set(_qnx_toolchain_arch gcc_ntoarmv7le)
@@ -22,4 +23,6 @@ set(CMAKE_C_COMPILER_TARGET ${_qnx_toolchain_arch})
set(CMAKE_CXX_COMPILER q++)
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
+set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntoarmv7-strip)
+
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
diff --git a/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-x8664.cmake b/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-x8664.cmake
index bec28b06..e11488bc 100644
--- a/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-x8664.cmake
+++ b/coin/provisioning/common/shared/cmake_toolchain_files/qnx-toolchain-x8664.cmake
@@ -1,4 +1,5 @@
set(CMAKE_SYSTEM_NAME QNX)
+set(CMAKE_SYSTEM_PROCESSOR x86_64)
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
@@ -13,7 +14,7 @@ if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_INCLUDE)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
endif()
-set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}/target/qnx7/)
+set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET};$ENV{QNX_TARGET}/${CMAKE_SYSTEM_PROCESSOR})
set(_qnx_toolchain_arch gcc_ntox86_64)
@@ -22,4 +23,6 @@ set(CMAKE_C_COMPILER_TARGET ${_qnx_toolchain_arch})
set(CMAKE_CXX_COMPILER q++)
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
+set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntox86_64-strip)
+
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
diff --git a/coin/provisioning/common/shared/ffmpeg_config_options.txt b/coin/provisioning/common/shared/ffmpeg_config_options.txt
index c125998c..52f79c14 100644
--- a/coin/provisioning/common/shared/ffmpeg_config_options.txt
+++ b/coin/provisioning/common/shared/ffmpeg_config_options.txt
@@ -1 +1 @@
---disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic
+--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic --disable-vulkan --disable-v4l2-m2m --disable-decoder=truemotion1
diff --git a/coin/provisioning/common/shared/requirements.txt b/coin/provisioning/common/shared/requirements.txt
deleted file mode 100644
index 863707da..00000000
--- a/coin/provisioning/common/shared/requirements.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-# This file holds all python3 packages need for a certain qt module
-# When adding new packages here, first add a comment with the name of the module
-# Then all the packages. Duplicates are wanted as every module should install
-# all packages it needs and shouldn't depend on a package from another module
-#
-# qtinterfaceframework
-antlr4-python3-runtime==4.9.2
-argh==0.26.2
-click==8.0.1
-coloredlogs==15.0.1
-humanfriendly==10.0
-Jinja2==3.0.1
-MarkupSafe==2.0.1
-path.py==12.5.0
-pathtools==0.1.2
-PyYAML==5.4.1
-six==1.16.0
-typing==3.7.4
-watchdog==2.1.5
diff --git a/coin/provisioning/common/shared/telegraf/telegraf-ioping.sh b/coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
index ad95eadc..528047ce 100644..100755
--- a/coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
+++ b/coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Measure I/O latency once, return data in InfluxDB format
#
@@ -12,7 +14,7 @@
set -e
-[ x"$1" = x ] && echo "$0 takes a path as a first argument" && exit 1
+[ -z "$1" ] && echo "$0 takes a path as a first argument" && exit 1
# Try to run in high priority to avoid slow-downs because of
# factors other than I/O.
@@ -23,4 +25,4 @@ rlatency="$(ioping -B -k -c 3 -i 0.1 "$1" | cut -d " " -f 5)"
wlatency="$(ioping -B -k -c 3 -i 0.1 -W "$1" | cut -d " " -f 5)"
printf "ioping,path=$1 read_latency_ns=%u,write_latency_ns=%u\n" \
- $rlatency $wlatency
+ "$rlatency" "$wlatency"
diff --git a/coin/provisioning/common/shared/testserver/californium/Dockerfile b/coin/provisioning/common/shared/testserver/californium/Dockerfile
index 041c3ef4..81d27f9b 100644
--- a/coin/provisioning/common/shared/testserver/californium/Dockerfile
+++ b/coin/provisioning/common/shared/testserver/californium/Dockerfile
@@ -1,5 +1,5 @@
FROM qt_ubuntu_18.04
-ARG packages="avahi-daemon maven default-jdk"
+ARG packages="avahi-daemon maven default-jdk patch"
RUN apt-get update && apt-get -y install $packages
# Get californium-based CoAP test server
@@ -7,6 +7,8 @@ WORKDIR /root/src
ADD californium-*.tar.gz .
RUN mv californium-* californium
WORKDIR /root/src/californium
+ADD qt_changes.patch ./
+RUN patch -p1 < qt_changes.patch
RUN mvn clean install -q -DskipTests
WORKDIR /
diff --git a/coin/provisioning/common/shared/testserver/californium/qt_changes.patch b/coin/provisioning/common/shared/testserver/californium/qt_changes.patch
new file mode 100644
index 00000000..732c0daa
--- /dev/null
+++ b/coin/provisioning/common/shared/testserver/californium/qt_changes.patch
@@ -0,0 +1,43 @@
+diff -ruN californium_3.8.0/demo-apps/cf-plugtest-server/src/main/java/org/eclipse/californium/plugtests/PlugtestServer.java californium/demo-apps/cf-plugtest-server/src/main/java/org/eclipse/californium/plugtests/PlugtestServer.java
+--- californium_3.8.0/demo-apps/cf-plugtest-server/src/main/java/org/eclipse/californium/plugtests/PlugtestServer.java 2023-07-21 11:16:21.142201240 +0200
++++ californium/demo-apps/cf-plugtest-server/src/main/java/org/eclipse/californium/plugtests/PlugtestServer.java 2023-07-21 11:16:51.074210378 +0200
+@@ -100,6 +100,14 @@
+ import org.eclipse.californium.unixhealth.NetSocketHealthLogger;
+ import org.eclipse.californium.unixhealth.NetStatLogger;
+
++import org.eclipse.californium.scandium.DTLSConnector;
++import org.eclipse.californium.scandium.config.DtlsConnectorConfig;
++import org.eclipse.californium.scandium.dtls.pskstore.AdvancedSinglePskStore;
++import org.eclipse.californium.core.network.CoapEndpoint;
++
++import java.net.InetSocketAddress;
++import java.net.InetAddress;
++
+ import picocli.CommandLine;
+ import picocli.CommandLine.ArgGroup;
+ import picocli.CommandLine.Command;
+@@ -437,7 +445,23 @@
+ // server.addEndpoint(new CoAPEndpoint(new InetSocketAddress("127.0.0.1", port)));
+ // server.addEndpoint(new CoAPEndpoint(new InetSocketAddress("2a01:c911:0:2010::10", port)));
+ // server.addEndpoint(new CoAPEndpoint(new InetSocketAddress("10.200.1.2", port)));
+- server.addEndpoints(config);
++ // server.addEndpoints(config);
++
++ CoapEndpoint.Builder endpointBuilder = new CoapEndpoint.Builder();
++ endpointBuilder.setPort(5683);
++ server.addEndpoint(endpointBuilder.build());
++
++ AdvancedSinglePskStore pskStore = new AdvancedSinglePskStore("Client_identity", "secretPSK".getBytes());
++
++ DtlsConnectorConfig.Builder builder = new DtlsConnectorConfig.Builder(new Configuration());
++ builder.setAddress(new InetSocketAddress(5684));
++ builder.setAdvancedPskStore(pskStore);
++ DTLSConnector dtlsConnector = new DTLSConnector(builder.build());
++
++ endpointBuilder = new CoapEndpoint.Builder();
++ endpointBuilder.setConnector(dtlsConnector);
++ server.addEndpoint(endpointBuilder.build());
++
+ if (server.getEndpoints().isEmpty()) {
+ System.err.println("no endpoint available!");
+ System.exit(ERR_INIT_FAILED);
diff --git a/coin/provisioning/common/shared/testserver/docker_images.sh b/coin/provisioning/common/shared/testserver/docker_images.sh
index 8c731c52..e4782a72 100755
--- a/coin/provisioning/common/shared/testserver/docker_images.sh
+++ b/coin/provisioning/common/shared/testserver/docker_images.sh
@@ -1,51 +1,14 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
-
PROVISIONING_DIR="$(dirname "$0")/../../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-
+# shellcheck source=../../../common/unix/common.sourced.sh
+source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
+# shellcheck source=../../../common/unix/DownloadURL.sh
+source "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
# Sort files by their SHA-1, and then return the accumulated result
sha1tree () {
@@ -53,14 +16,14 @@ sha1tree () {
[ -x "$(command -v sha1sum)" ] || SHASUM=shasum
find "$@" -type f -print0 | \
- xargs -0 ${SHASUM-sha1sum} | cut -d ' ' -f 1 | \
- sort | ${SHASUM-sha1sum} | cut -d ' ' -f 1
+ xargs -0 "${SHASUM-sha1sum}" | cut -d ' ' -f 1 | \
+ sort | "${SHASUM-sha1sum}" | cut -d ' ' -f 1
}
SERVER_PATH="$PROVISIONING_DIR/common/shared/testserver"
-. "$SERVER_PATH/settings.sh"
+source "$SERVER_PATH/settings.sh"
# Download all necessary dependencies outside of the dockerfiles, so that we
@@ -70,32 +33,33 @@ SERVER_PATH="$PROVISIONING_DIR/common/shared/testserver"
echo 'Downloading support files for the docker images'
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/docker/rfc3252.txt \
+ http://ci-files01-hki.ci.qt.io/input/docker/rfc3252.txt \
https://tools.ietf.org/rfc/rfc3252.txt \
50c323dedce95e4fdc2db35cd1b8ebf9d74711bf5296ef438b88d186d7dd082d
cp rfc3252.txt "$SERVER_PATH/vsftpd/"
cp rfc3252.txt "$SERVER_PATH/apache2/"
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/docker/dante-server_1.4.1-1_amd64.deb \
+ http://ci-files01-hki.ci.qt.io/input/docker/dante-server_1.4.1-1_amd64.deb \
http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb \
674a06f356cebd92c64920cec38a6687650a6f880198fbbad05aaaccca5c0a21
mv dante-server_1.4.1-1_amd64.deb "$SERVER_PATH/danted/"
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/docker/FreeCoAP-0.7.tar.gz \
+ http://ci-files01-hki.ci.qt.io/input/docker/FreeCoAP-0.7.tar.gz \
https://github.com/keith-cullen/FreeCoAP/archive/v0.7.tar.gz \
fa6602e27dc8eaee6e34ff53400c0519da0c5c7cd47bf6f13acb564f52a693ee \
FreeCoAP-0.7.tar.gz
mv FreeCoAP-0.7.tar.gz "$SERVER_PATH/freecoap/"
-# Custom fork of Eclipse Californium with changes not upstream
+# Eclipse Californium 3.8.0, requires to apply a custom patch from
+# $SERVER_PATH/californium/ before usage
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/docker/californium-secure-test-server.tar.gz \
- https://github.com/sonakur/californium/archive/secure-test-server.tar.gz \
- 0ee7f5d4366b9e31f6d2d42e389cb7a66d2db54987b700a38a3a31e8f38a7a19 \
- californium-secure-test-server.tar.gz
-mv californium-secure-test-server.tar.gz "$SERVER_PATH/californium/"
+ http://ci-files01-hki.ci.qt.io/input/docker/californium-3.8.0.tar.gz \
+ https://github.com/eclipse-californium/californium/archive/refs/tags/3.8.0.tar.gz \
+ 24f8ca393f26c922739462e4586b8ced1ff75f99bfa795defa34a967b5a4a5a0 \
+ californium-3.8.0.tar.gz
+mv californium-3.8.0.tar.gz "$SERVER_PATH/californium/"
echo 'Building the docker images...'
@@ -123,10 +87,10 @@ do
# backwards-incompatible changes across repositories.
context="$SERVER_PATH/$server"
- tag=$(sha1tree $context)
- docker build -t qt-test-server-$server:latest \
- -t qt-test-server-$server:$tag \
- $context
+ tag=$(sha1tree "$context")
+ docker build -t "qt-test-server-$server:latest" \
+ -t "qt-test-server-$server:$tag" \
+ "$context"
done
docker images
diff --git a/coin/provisioning/common/shared/testserver/docker_machine.sh b/coin/provisioning/common/shared/testserver/docker_machine.sh
index 313b5652..9abf0caa 100755
--- a/coin/provisioning/common/shared/testserver/docker_machine.sh
+++ b/coin/provisioning/common/shared/testserver/docker_machine.sh
@@ -1,59 +1,22 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
TestMachine='qt-test-server'
# Deploy docker virtual machine (Boot2Docker) into VirtualBox only if it doesn't exist
-if [ -z $(docker-machine ls -q --filter "name=$TestMachine") ]
+if [ -z "$(docker-machine ls -q --filter "name=$TestMachine")" ]
then
- docker-machine create $@ $TestMachine
- docker-machine ip $TestMachine
+ docker-machine create "$@" "$TestMachine"
+ docker-machine ip "$TestMachine"
else
# Otherwise, start the docker machine and update with new TLS certificates.
- docker-machine start $TestMachine && docker-machine regenerate-certs -f $TestMachine
+ docker-machine start "$TestMachine" && docker-machine regenerate-certs -f "$TestMachine"
fi
# Switch the docker engine to $TestMachine
-eval $(docker-machine env $TestMachine)
+eval "$(docker-machine env "$TestMachine")"
docker-machine ls
diff --git a/coin/provisioning/common/shared/testserver/docker_testserver.sh b/coin/provisioning/common/shared/testserver/docker_testserver.sh
index 18d9aeb8..7e743a80 100755
--- a/coin/provisioning/common/shared/testserver/docker_testserver.sh
+++ b/coin/provisioning/common/shared/testserver/docker_testserver.sh
@@ -1,47 +1,10 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-[ -x "$(command -v realpath)" ] && FILE=$(realpath ${BASH_SOURCE[0]}) || FILE=${BASH_SOURCE[0]}
+[ -x "$(command -v realpath)" ] && FILE=$(realpath "${BASH_SOURCE[0]}") || FILE="${BASH_SOURCE[0]}"
case $FILE in
*/*) SERVER_PATH="${FILE%/*}" ;;
*) SERVER_PATH="." ;;
@@ -60,4 +23,4 @@ esac
docker info
# Create images
-$SERVER_PATH/docker_images.sh
+"$SERVER_PATH/docker_images.sh"
diff --git a/coin/provisioning/common/shared/testserver/settings.sh b/coin/provisioning/common/shared/testserver/settings.sh
index fc21d46b..03276eeb 100644..100755
--- a/coin/provisioning/common/shared/testserver/settings.sh
+++ b/coin/provisioning/common/shared/testserver/settings.sh
@@ -1,41 +1,6 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+#!/usr/bin/env bash
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/shared/triplets/arm64-windows-qt.cmake b/coin/provisioning/common/shared/triplets/arm64-windows-qt.cmake
new file mode 100644
index 00000000..4d9d5d69
--- /dev/null
+++ b/coin/provisioning/common/shared/triplets/arm64-windows-qt.cmake
@@ -0,0 +1,7 @@
+set(VCPKG_TARGET_ARCHITECTURE arm64)
+
+# Default settings of the triplet from the official vcpkg registry
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE dynamic)
+
+# Qt custom per-port customizations
diff --git a/coin/provisioning/common/shared/triplets/armeabi-v7a-android-qt.cmake b/coin/provisioning/common/shared/triplets/armeabi-v7a-android-qt.cmake
new file mode 100644
index 00000000..fba6a00a
--- /dev/null
+++ b/coin/provisioning/common/shared/triplets/armeabi-v7a-android-qt.cmake
@@ -0,0 +1,15 @@
+set(VCPKG_TARGET_ARCHITECTURE arm)
+
+# Default settings of the triplet from the official vcpkg registry
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+# Qt custom per-port customizations
+if(PORT MATCHES "openssl")
+ set(VCPKG_CRT_LINKAGE dynamic)
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+endif()
+
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
+set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
+set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=ON)
diff --git a/coin/provisioning/common/shared/triplets/x64-linux-qt.cmake b/coin/provisioning/common/shared/triplets/x64-linux-qt.cmake
new file mode 100644
index 00000000..95cc1934
--- /dev/null
+++ b/coin/provisioning/common/shared/triplets/x64-linux-qt.cmake
@@ -0,0 +1,13 @@
+set(VCPKG_TARGET_ARCHITECTURE x64)
+
+# Default settings of the triplet from the official vcpkg registry
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+# Qt custom per-port customizations
+if(PORT MATCHES "openssl")
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+ set(VCPKG_FIXUP_ELF_RPATH ON)
+endif()
+
+set(VCPKG_CMAKE_SYSTEM_NAME Linux)
diff --git a/coin/provisioning/common/shared/triplets/x64-windows-qt.cmake b/coin/provisioning/common/shared/triplets/x64-windows-qt.cmake
new file mode 100644
index 00000000..856b756e
--- /dev/null
+++ b/coin/provisioning/common/shared/triplets/x64-windows-qt.cmake
@@ -0,0 +1,7 @@
+set(VCPKG_TARGET_ARCHITECTURE x64)
+
+# Default settings of the triplet from the official vcpkg registry
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE dynamic)
+
+# Qt custom per-port customizations
diff --git a/coin/provisioning/common/shared/triplets/x86-android-qt.cmake b/coin/provisioning/common/shared/triplets/x86-android-qt.cmake
new file mode 100644
index 00000000..a4b74012
--- /dev/null
+++ b/coin/provisioning/common/shared/triplets/x86-android-qt.cmake
@@ -0,0 +1,15 @@
+set(VCPKG_TARGET_ARCHITECTURE x86)
+
+# Default settings of the triplet from the official vcpkg registry
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+# Qt custom per-port customizations
+if(PORT MATCHES "openssl")
+ set(VCPKG_CRT_LINKAGE dynamic)
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+endif()
+
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
+set(VCPKG_MAKE_BUILD_TRIPLET "--host=i686-linux-android")
+set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=x86)
diff --git a/coin/provisioning/common/shared/triplets/x86_64-android-qt.cmake b/coin/provisioning/common/shared/triplets/x86_64-android-qt.cmake
new file mode 100644
index 00000000..47afae58
--- /dev/null
+++ b/coin/provisioning/common/shared/triplets/x86_64-android-qt.cmake
@@ -0,0 +1,15 @@
+set(VCPKG_TARGET_ARCHITECTURE x64)
+
+# Default settings of the triplet from the official vcpkg registry
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+# Qt custom per-port customizations
+if(PORT MATCHES "openssl")
+ set(VCPKG_CRT_LINKAGE dynamic)
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
+endif()
+
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
+set(VCPKG_MAKE_BUILD_TRIPLET "--host=x86_64-linux-android")
+set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=x86_64)
diff --git a/coin/provisioning/common/shared/vcpkg-configuration.json b/coin/provisioning/common/shared/vcpkg-configuration.json
new file mode 100644
index 00000000..83f4f440
--- /dev/null
+++ b/coin/provisioning/common/shared/vcpkg-configuration.json
@@ -0,0 +1,9 @@
+{
+ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json",
+ "default-registry": {
+ "kind": "git",
+ "repository": "https://git.qt.io/mrmsdbdl/vcpkg-mirror",
+ "baseline": "8eb57355a4ffb410a2e94c07b4dca2dffbee8e50"
+ },
+ "overlay-triplets": [ "./../../shared/triplets" ]
+}
diff --git a/coin/provisioning/common/shared/vcpkg_registry_mirror.txt b/coin/provisioning/common/shared/vcpkg_registry_mirror.txt
new file mode 100644
index 00000000..546ef5b6
--- /dev/null
+++ b/coin/provisioning/common/shared/vcpkg_registry_mirror.txt
@@ -0,0 +1 @@
+https://git.qt.io/mrmsdbdl/vcpkg-mirror.git
diff --git a/coin/provisioning/common/shared/vcpkg_tool_release_tag.txt b/coin/provisioning/common/shared/vcpkg_tool_release_tag.txt
new file mode 100644
index 00000000..3faa2683
--- /dev/null
+++ b/coin/provisioning/common/shared/vcpkg_tool_release_tag.txt
@@ -0,0 +1 @@
+vcpkg_tool_release_tag=2023-11-16
diff --git a/coin/provisioning/common/shared/vcpkg_version.txt b/coin/provisioning/common/shared/vcpkg_version.txt
new file mode 100644
index 00000000..d2aa3aa3
--- /dev/null
+++ b/coin/provisioning/common/shared/vcpkg_version.txt
@@ -0,0 +1 @@
+vcpkg_version=2023.10.19
diff --git a/coin/provisioning/common/unix/DownloadURL.sh b/coin/provisioning/common/unix/DownloadURL.sh
index d8698522..455d65d3 100755
--- a/coin/provisioning/common/unix/DownloadURL.sh
+++ b/coin/provisioning/common/unix/DownloadURL.sh
@@ -1,43 +1,6 @@
-#!/bin/sh
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+#!/bin/bash
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# A helper script used for downloading a file from a URL or an alternative
@@ -58,9 +21,12 @@ Download () {
url="$1"
targetFile="$2"
- command -v curl >/dev/null \
- && curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" \
- || wget --tries 5 -O "$targetFile" "$url"
+ if command -v curl >/dev/null
+ then
+ curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url"
+ else
+ wget --tries 5 -O "$targetFile" "$url"
+ fi
}
VerifyHash () {
@@ -81,10 +47,10 @@ VerifyHash () {
65) sha256sum "$file" ;;
97) sha384sum "$file" ;;
129) sha512sum "$file" ;;
- *) echo "FATAL! Unknown hash length: $hashLength" 1>&2 && exit 1 ;;
+ *) echo "FATAL! Unknown hash length: $hashLength" 1>&2 ;;
esac | cut -d ' ' -f 1`
- if [ ! "$expectedHash" = "$hash" ]
+ if [ -z "$hash" ] || [ ! "$expectedHash" = "$hash" ]
then
echo "FAIL! wrong file hash: $file $hash" 1>&2
return 1
@@ -98,10 +64,10 @@ DownloadURL () {
url2=$2
expectedHash=$3
# Optional argument $4: destination filename
- if [ x"$4" = x ]
+ if [ -z "$4" ]
then
# defaults to the last component of $url
- targetFile=$(echo $url | sed 's|^.*/||')
+ targetFile="${url/*\//}"
else
targetFile=$4
fi
diff --git a/coin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh b/coin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh
index 41b14c0b..c1358fdd 100755
--- a/coin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh
+++ b/coin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/unix/SetEnvVar.sh b/coin/provisioning/common/unix/SetEnvVar.sh
index 6a0e1b36..3f457bb4 100755
--- a/coin/provisioning/common/unix/SetEnvVar.sh
+++ b/coin/provisioning/common/unix/SetEnvVar.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# A helper script used for setting environment variables on Unix systems
@@ -49,7 +12,7 @@ function SetEnvVar {
echo "Setting environment variable $name to $path."
- if uname -a |grep -q "Ubuntu"; then
+ if uname -a |grep -q -E "Ubuntu|Debian"; then
if lsb_release -a |grep "Ubuntu 22.04"; then
echo "export $name=$path" >> ~/.bashrc
echo "export $name=$path" >> ~/.bash_profile
@@ -59,5 +22,7 @@ function SetEnvVar {
else
echo "export $name=$path" >> ~/.bashrc
echo "export $name=$path" >> ~/.zshrc
+ echo "export $name=$path" >> ~/.zshenv
+ echo "export $name=$path" >> ~/.zprofile
fi
}
diff --git a/coin/provisioning/common/unix/check_and_set_proxy.sh b/coin/provisioning/common/unix/check_and_set_proxy.sh
index c2e59b6b..59598205 100755
--- a/coin/provisioning/common/unix/check_and_set_proxy.sh
+++ b/coin/provisioning/common/unix/check_and_set_proxy.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/unix/common.sourced.sh b/coin/provisioning/common/unix/common.sourced.sh
index aba0f78e..c15d9453 100755
--- a/coin/provisioning/common/unix/common.sourced.sh
+++ b/coin/provisioning/common/unix/common.sourced.sh
@@ -1,44 +1,6 @@
#!/bin/sh
-
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Script to be sourced from everywhere you need a common environment. Defines:
@@ -75,7 +37,7 @@ fatal () {
# Takes one argument which should be the filename of this script. Returns true
# if the script is being sourced, false if the script is being executed.
is_script_executed () {
- [ x"$(basename $(echo "$0" | sed s/^-//))" = x"$1" ]
+ [ "$(basename "$(echo "$0" | sed s/^-//)")" = "$1" ]
}
@@ -86,6 +48,7 @@ is_script_executed common.sourced.sh \
_detect_linux_OS_ID () {
if [ -f /etc/os-release ]
then
+ # shellcheck source=/dev/null
. /etc/os-release
PROVISIONING_OS_ID="$ID"
elif [ -f /etc/redhat-release ]
@@ -107,7 +70,7 @@ set_common_environment () {
# script in a portable way
# PROVISIONING_DIR="$(dirname "$0")/../../"
- [ x"$PROVISIONING_DIR" = x ] \
+ [ -z "$PROVISIONING_DIR" ] \
&& fatal "PROVISIONING_DIR variable needs to be set before calling set_common_environment"
uname_s="$(uname -s)"
@@ -145,7 +108,7 @@ set_common_environment () {
uname_m="$(uname -m)"
case "$uname_m" in
x86_64|amd64) PROVISIONING_ARCH=amd64 ;;
- arm64) PROVISIONING_ARCH=arm64 ;;
+ aarch64|arm64)PROVISIONING_ARCH=arm64 ;;
i[3456]86) PROVISIONING_ARCH=x86 ;;
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
esac
diff --git a/coin/provisioning/common/unix/disable-ntp_macos.sh b/coin/provisioning/common/unix/disable-ntp_macos.sh
index f9ec7e1f..fd490e43 100755
--- a/coin/provisioning/common/unix/disable-ntp_macos.sh
+++ b/coin/provisioning/common/unix/disable-ntp_macos.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/common/unix/emsdk.sh b/coin/provisioning/common/unix/emsdk.sh
index b3a6b216..580f966f 100755
--- a/coin/provisioning/common/unix/emsdk.sh
+++ b/coin/provisioning/common/unix/emsdk.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=./SetEnvVar.sh
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
@@ -44,31 +8,29 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
# shellcheck source=./DownloadURL.sh
source "${BASH_SOURCE%/*}/DownloadURL.sh"
-version="3.1.25"
-versionNode="v14.18.2"
-tarBallVersion=$(sed "s/\./\_/g" <<<"$version")
+version="3.1.50"
+versionNode="v16.20.0"
+tarBallVersion="${version//./_}"
if uname -a |grep -q Darwin; then
tarBallPackage="emsdk_macos_${tarBallVersion}.tar.gz"
- sha="33a3d1227e1409cfcb42d40c3e50108469bd5930"
+ sha="c12169ec8d22fc7a9ef1ba98027435bdf3b72729"
else
tarBallPackage="emsdk_linux_${tarBallVersion}.tar.gz"
- sha="7280f68da2cb232d8b5dca843706cb10e49ab901"
+ sha="5d81a8f1ddcb8d74c70ba5608efd4266c857944a"
fi
-cacheUrl="https://ci-files01-hki.intra.qt.io/input/emsdk/${tarBallPackage}"
+cacheUrl="https://ci-files01-hki.ci.qt.io/input/emsdk/${tarBallPackage}"
target="/tmp/${tarBallPackage}"
mkdir -p /opt
cd /opt
echo "URL: $cacheUrl"
-DownloadURL "$cacheUrl" "" "$sha" "$target" || (
- echo "Emsdk isn't cached. Cloning it"
- sudo git clone https://github.com/emscripten-core/emsdk.git
-)
-if [ -f "$target" ]; then
+if DownloadURL "$cacheUrl" "" "$sha" "$target"; then
sudo tar -xzf "$target" -C /opt/
sudo rm -f "$target"
else
+ echo "Emsdk isn't cached. Cloning it"
+ sudo git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
sudo ./emsdk install "$version"
sudo ./emsdk activate "$version"
diff --git a/coin/provisioning/common/unix/install-breakpad.sh b/coin/provisioning/common/unix/install-breakpad.sh
index b8d268e8..7c3a34fb 100755
--- a/coin/provisioning/common/unix/install-breakpad.sh
+++ b/coin/provisioning/common/unix/install-breakpad.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
@@ -48,12 +11,12 @@ set -ex
breakpad_commit_sha="b988fa74ec18de6214b18f723e48331d9a7802ae"
breakpad_tar="breakpad_$breakpad_commit_sha.tar.gz"
-breakpad_tar_url="http://ci-files01-hki.intra.qt.io/input/breakpad/$breakpad_tar"
+breakpad_tar_url="http://ci-files01-hki.ci.qt.io/input/breakpad/$breakpad_tar"
breakpad_tar_sha="a2d404d2aebc947cdac5840a9bccd65dfafae24c"
linux_syscall_support_commit_sha1="93426bda6535943ff1525d0460aab5cc0870ccaf"
linux_syscall_support_tar="linux-syscall-support_$linux_syscall_support_commit_sha1.tar.gz"
-linux_syscall_support_tar_url="http://ci-files01-hki.intra.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
+linux_syscall_support_tar_url="http://ci-files01-hki.ci.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
linux_syscall_support_tar_sha="62565be0920f3661e138d68026b79fbbdc2a11e4"
targetBreakpad="/tmp/$breakpad_tar"
diff --git a/coin/provisioning/common/unix/install-conan.sh b/coin/provisioning/common/unix/install-conan.sh
index f30a2300..8fc83090 100755
--- a/coin/provisioning/common/unix/install-conan.sh
+++ b/coin/provisioning/common/unix/install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
diff --git a/coin/provisioning/common/unix/install-ffmpeg-android.sh b/coin/provisioning/common/unix/install-ffmpeg-android.sh
index 75efc384..05d0b681 100755
--- a/coin/provisioning/common/unix/install-ffmpeg-android.sh
+++ b/coin/provisioning/common/unix/install-ffmpeg-android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script will build and install FFmpeg static libs
set -ex
@@ -48,10 +11,10 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-version="n6.0"
+version="n6.1.1"
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
-sha1="78435ec71cc2227017a99c030e858719b8c7c74d"
-url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/$version.tar.gz"
+sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
+url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
ffmpeg_name="FFmpeg-$version"
target_dir="$HOME"
@@ -70,23 +33,28 @@ build_ffmpeg_android() {
sudo mkdir -p "$target_dir"
+ openssl_include="$OPENSSL_ANDROID_HOME_DEFAULT/include"
+ openssl_libs=""
if [ "$target_arch" == "x86_64" ]; then
target_toolchain_arch="x86_64-linux-android"
target_arch=x86_64
- target_cpu=x86_64
+ target_cpu=x86-64
+ openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86_64"
elif [ "$target_arch" == "x86" ]; then
target_toolchain_arch="i686-linux-android"
target_arch=x86
target_cpu=i686
+ openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86"
elif [ "$target_arch" == "arm64" ]; then
target_toolchain_arch="aarch64-linux-android"
target_arch=aarch64
target_cpu=armv8-a
+ openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/arm64-v8a"
fi
api_version=24
- ndk_root=/opt/android/android-ndk-r25b
+ ndk_root=$ANDROID_NDK_ROOT_DEFAULT
if uname -a |grep -q "Darwin"; then
ndk_host=darwin-x86_64
else
@@ -98,22 +66,21 @@ build_ffmpeg_android() {
sysroot=${toolchain}/sysroot
cxx=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang++
cc=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang
- ld=${toolchain_bin}/ld
ar=${toolchain_bin}/llvm-ar
ranlib=${toolchain_bin}/llvm-ranlib
- nm=${toolchain_bin}/llvm-nm
- strip=${toolchain_bin}/llvm-strip
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
- ffmpeg_config_options+=" --disable-vulkan --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
+ ffmpeg_config_options+=" --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
+ ffmpeg_config_options+=" --extra-cflags=-I${openssl_include} --extra-ldflags=-L${openssl_libs}"
local build_dir="$ffmpeg_source_dir/build/$target_arch"
sudo mkdir -p "$build_dir"
pushd "$build_dir"
- sudo $ffmpeg_source_dir/configure $ffmpeg_config_options --prefix="$target_dir"
+ # shellcheck disable=SC2086
+ sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options --prefix="$target_dir"
sudo make install -j4
popd
diff --git a/coin/provisioning/common/unix/install-ffmpeg-ios.sh b/coin/provisioning/common/unix/install-ffmpeg-ios.sh
new file mode 100755
index 00000000..e2a401a5
--- /dev/null
+++ b/coin/provisioning/common/unix/install-ffmpeg-ios.sh
@@ -0,0 +1,76 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script will build and install FFmpeg static libs
+set -ex
+
+# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
+source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
+# shellcheck source=../unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
+
+version="n6.1.1"
+sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
+url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
+url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
+ffmpeg_name="FFmpeg-$version"
+
+target_dir="$HOME"
+ffmpeg_source_dir="$target_dir/$ffmpeg_name"
+prefix="/usr/local/ios/ffmpeg"
+
+if [ ! -d "$ffmpeg_source_dir" ];
+then
+ InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$target_dir"
+fi
+
+ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
+
+build_ffmpeg_ios() {
+ local target_arch=$1
+
+ if [ "$target_arch" == "x86_64" ]; then
+ target_sdk="iphonesimulator"
+ target_arch="x86_64"
+ minos="-mios-simulator-version-min=13.0"
+ else
+ target_sdk="iphoneos"
+ target_arch="arm64"
+ minos="-miphoneos-version-min=13.0"
+ fi
+
+ local build_dir="$ffmpeg_source_dir/build_ios/$target_arch"
+ sudo mkdir -p "$build_dir"
+ pushd "$build_dir"
+
+ # shellcheck disable=SC2086
+ sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options \
+ --sysroot="$(xcrun --sdk "$target_sdk" --show-sdk-path)" \
+ --enable-cross-compile \
+ --enable-optimizations \
+ --prefix=$prefix \
+ --arch=$target_arch \
+ --cc="xcrun --sdk ${target_sdk} clang -arch $target_arch" \
+ --cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_arch" \
+ --ar="$(xcrun --sdk ${target_sdk} --find ar)" \
+ --ranlib="$(xcrun --sdk ${target_sdk} --find ranlib)" \
+ --strip="$(xcrun --sdk ${target_sdk} --find strip)" \
+ --nm="$(xcrun --sdk ${target_sdk} --find nm)" \
+ --target-os=darwin \
+ --extra-cflags="$minos" \
+ --extra-cxxflags="$minos" \
+ --enable-cross-compile \
+ --enable-swscale \
+ --enable-pthreads \
+ --disable-audiotoolbox
+
+ sudo make install DESTDIR="$build_dir/installed" -j
+ popd
+}
+
+build_ffmpeg_ios "x86_64"
+build_ffmpeg_ios "arm64"
+sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$ffmpeg_source_dir/build_ios/x86_64/installed" "$ffmpeg_source_dir/build_ios/arm64/installed"
+SetEnvVar "FFMPEG_DIR_IOS" $prefix
+
diff --git a/coin/provisioning/common/unix/install-ffmpeg.sh b/coin/provisioning/common/unix/install-ffmpeg.sh
index 5849585c..94d032ed 100755
--- a/coin/provisioning/common/unix/install-ffmpeg.sh
+++ b/coin/provisioning/common/unix/install-ffmpeg.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script will build and install FFmpeg static libs
set -ex
@@ -48,23 +11,40 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
-version="n6.0"
-url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
-sha1="78435ec71cc2227017a99c030e858719b8c7c74d"
-url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/$version.tar.gz"
+version="n6.1.1"
+url_public="https://github.com/FFmpeg/FFmpeg/archive/$version.tar.gz"
+sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
+url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
ffmpeg_name="FFmpeg-$version"
target_dir="$HOME"
app_prefix=""
ffmpeg_source_dir="$target_dir/$ffmpeg_name"
-if [ ! -d "$ffmpeg_source_dir" ];
+if [ ! -d "$ffmpeg_source_dir" ]
then
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$target_dir" "$app_prefix"
fi
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
+install_ff_nvcodec_headers() {
+ nv_codec_version="11.1" # use 11.1 to ensure compatibility with 470 nvidia drivers; might be upated to 12.0
+ nv_codec_url_public="https://github.com/FFmpeg/nv-codec-headers/archive/refs/heads/sdk/$nv_codec_version.zip"
+ nv_codec_url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/nv-codec-headers/nv-codec-headers-sdk-$nv_codec_version.zip"
+ nv_codec_sha1="ceb4966ab01b2e41f02074675a8ac5b331bf603e"
+ #nv_codec_sha1="4f30539f8dd31945da4c3da32e66022f9ca59c08" // 12.0
+ nv_codec_dir="$target_dir/nv-codec-headers-sdk-$nv_codec_version"
+ if [ ! -d "$nv_codec_dir" ]
+ then
+ InstallFromCompressedFileFromURL "$nv_codec_url_cached" "$nv_codec_url_public" "$nv_codec_sha1" "$target_dir" ""
+ fi
+
+ sudo make -C "$nv_codec_dir" install -j
+
+ # Might be not detected by default on RHEL
+ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
+}
build_ffmpeg() {
local arch="$1"
@@ -81,34 +61,53 @@ build_ffmpeg() {
then cc="clang -arch $arch"
fi
+ # shellcheck disable=SC2086
if [ -n "$arch" ]
- then $ffmpeg_source_dir/configure $ffmpeg_config_options --prefix="$prefix" --enable-cross-compile --arch=$arch --cc="$cc"
- else $ffmpeg_source_dir/configure $ffmpeg_config_options --prefix="$prefix"
+ then "$ffmpeg_source_dir/configure" $ffmpeg_config_options --prefix="$prefix" --enable-cross-compile --arch="$arch" --cc="$cc"
+ else "$ffmpeg_source_dir/configure" $ffmpeg_config_options --prefix="$prefix"
fi
- make install DESTDIR=$build_dir/installed -j4
+ make install DESTDIR="$build_dir/installed" -j4
popd
}
if [ "$os" == "linux" ]; then
- build_ffmpeg
- sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
- SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
+ install_ff_nvcodec_headers
-elif [ "$os" == "macos" ]; then
- brew install yasm
- export MACOSX_DEPLOYMENT_TARGET=11
+ ffmpeg_config_options+=" --enable-openssl"
build_ffmpeg
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
-elif [ "$os" == "macos-universal" ]; then
+elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
+ ffmpeg_config_options+=" --enable-shared --disable-static"
+
brew install yasm
- export MACOSX_DEPLOYMENT_TARGET=11
- build_ffmpeg "arm64"
- build_ffmpeg "x86_64"
+ export MACOSX_DEPLOYMENT_TARGET=12
+ fix_relative_dependencies="${BASH_SOURCE%/*}/../macos/fix_relative_dependencies.sh"
- sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$ffmpeg_source_dir/build/arm64/installed" "$ffmpeg_source_dir/build/x86_64/installed"
- SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
+ xcode_major_version=$(xcodebuild -version | awk 'NR==1 {split($2, a, "."); print a[1]}')
+ if [ "$xcode_major_version" -ge 15 ]; then
+ # fix the error: duplicate symbol '_av_ac3_parse_header'
+ ffmpeg_config_options+=" --extra-ldflags=-Wl,-ld_classic"
+ fi
-fi
+ if [ "$os" == "macos" ]; then
+ build_ffmpeg
+ install_dir="$ffmpeg_source_dir/build/installed"
+ "$fix_relative_dependencies" "$install_dir/usr/local/$ffmpeg_name/lib"
+ sudo mv "$install_dir/usr/local/$ffmpeg_name" "/usr/local"
+ else
+ build_ffmpeg "arm64"
+ build_ffmpeg "x86_64"
+
+ arm64_install_dir="$ffmpeg_source_dir/build/arm64/installed"
+ x86_64_install_dir="$ffmpeg_source_dir/build/x86_64/installed"
+
+ "$fix_relative_dependencies" "$arm64_install_dir/usr/local/$ffmpeg_name/lib"
+ "$fix_relative_dependencies" "$x86_64_install_dir/usr/local/$ffmpeg_name/lib"
+ sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$arm64_install_dir" "$x86_64_install_dir"
+ fi
+
+ SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
+fi
diff --git a/coin/provisioning/common/unix/install-openssl.sh b/coin/provisioning/common/unix/install-openssl.sh
index 464f2f2a..3b3353fb 100755
--- a/coin/provisioning/common/unix/install-openssl.sh
+++ b/coin/provisioning/common/unix/install-openssl.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install OpenSSL from sources.
# Requires GCC and Perl to be in PATH.
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="3.0.7"
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
-cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
+cachedUrl="http://ci-files01-hki.ci.qt.io/input/openssl/openssl-$version.tar.gz"
targetFile="/tmp/openssl-$version.tar.gz"
sha="f20736d6aae36bcbfa9aba0d358c71601833bf27"
opensslHome="${HOME}/openssl-${version}"
@@ -62,17 +25,21 @@ cd "$opensslSource"
pwd
if [[ "$os" == "linux" ]]; then
- ./Configure --prefix="$opensslHome" shared enable-ec_nistp_64_gcc_128 linux-x86_64 "-Wa,--noexecstack"
+ if [ $(uname -m) = aarch64 ]; then
+ arch=$(uname -m)
+ else
+ arch="x86_64"
+ fi
+ ./Configure --prefix="$opensslHome" shared enable-ec_nistp_64_gcc_128 "linux-$arch" "-Wa,--noexecstack"
make && make install_sw install_ssldirs
SetEnvVar "OPENSSL_HOME" "$opensslHome"
SetEnvVar "PATH" "\"$opensslHome/bin:\$PATH\""
- if uname -a |grep -q "Ubuntu"; then
- echo "export LD_LIBRARY_PATH=$opensslHome/lib64:$LD_LIBRARY_PATH" >> ~/.bash_profile
+ if uname -a |grep -q "Debian"; then
+ SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib:$LD_LIBRARY_PATH\""
else
- echo "export LD_LIBRARY_PATH=$opensslHome/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
+ SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib64:$LD_LIBRARY_PATH\""
fi
-
-elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
+elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
# Below target location has been hard coded into Coin.
# QTQAINFRA-1195
echo "prefix=$prefix"
@@ -82,13 +49,13 @@ elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
openssl_install_dir="$prefix/openssl-$version"
opensslTargetLocation="$prefix/opt/openssl"
- commonFlags="no-tests shared no-ssl3-method enable-ec_nistp_64_gcc_128 -Wa,--noexecstack"
+ commonFlags=(no-tests shared no-ssl3-method enable-ec_nistp_64_gcc_128 "-Wa,--noexecstack")
- export MACOSX_DEPLOYMENT_TARGET=11
+ export MACOSX_DEPLOYMENT_TARGET=12
opensslBuild="${opensslHome}-build"
opensslDestdir="${opensslHome}-destdir"
- mkdir -p $opensslBuild
+ mkdir -p "$opensslBuild"
if [ "$os" == "macos-universal" ]; then
archs="x86_64 arm64"
@@ -97,10 +64,10 @@ elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
fi
for arch in $archs; do
- cd $opensslBuild
+ cd "$opensslBuild"
echo "Configuring OpenSSL for $arch"
- mkdir -p $arch && cd $arch
- $opensslSource/Configure --prefix=$openssl_install_dir $commonFlags darwin64-$arch-cc
+ mkdir -p "$arch" && cd "$arch"
+ "$opensslSource/Configure" --prefix="$openssl_install_dir" "${commonFlags[@]}" "darwin64-$arch-cc"
echo "Building OpenSSL for $arch in $PWD"
make >> /tmp/openssl_make.log 2>&1
@@ -112,19 +79,19 @@ elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
destdir=""
fi
# shellcheck disable=SC2024
- sudo make install_sw install_ssldirs DESTDIR=$destdir >> /tmp/openssl_make_install.log 2>&1
+ sudo make install_sw install_ssldirs DESTDIR="$destdir" >> /tmp/openssl_make_install.log 2>&1
done
if [ "$os" == "macos-universal" ]; then
echo "Making universal OpenSSL package"
# shellcheck disable=SC2024
sudo rm -Rf "$openssl_install_dir"
- sudo ${SCRIPT_DIR}/../macos/makeuniversal.sh "$opensslDestdir/x86_64" $opensslDestdir/arm64
+ sudo "${SCRIPT_DIR}/../macos/makeuniversal.sh" "$opensslDestdir/x86_64" "$opensslDestdir/arm64"
fi
path=$(echo "$opensslTargetLocation" | sed -E 's/(.*)\/.*$/\1/')
sudo mkdir -p "$path"
- sudo ln -s $openssl_install_dir $opensslTargetLocation
+ sudo ln -s "$openssl_install_dir" "$opensslTargetLocation"
SetEnvVar "PATH" "\"$opensslTargetLocation/bin:\$PATH\""
SetEnvVar "MANPATH" "\"$opensslTargetLocation/share/man:\$MANPATH\""
@@ -133,8 +100,8 @@ elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
SetEnvVar "OPENSSL_INCLUDE" "\"$openssl_install_dir/include\""
SetEnvVar "OPENSSL_LIB" "\"$openssl_install_dir/lib\""
- security find-certificate -a -p /Library/Keychains/System.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem > /dev/null
- security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem > /dev/null
+ security find-certificate -a -p /Library/Keychains/System.keychain | sudo tee -a "$opensslTargetLocation/ssl/cert.pem" > /dev/null
+ security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain | sudo tee -a "$opensslTargetLocation/ssl/cert.pem" > /dev/null
fi
diff --git a/coin/provisioning/common/unix/install_grpc.sh b/coin/provisioning/common/unix/install_grpc.sh
index ad758cbf..3b94816a 100644..100755
--- a/coin/provisioning/common/unix/install_grpc.sh
+++ b/coin/provisioning/common/unix/install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs gRPC from sources.
set -ex
@@ -49,18 +12,21 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
# Extract cmake path from the environment
if uname -a |grep -q "Ubuntu"; then
- if lsb_release -a |grep "Ubuntu 22.04"; then
+ if lsb_release -a |grep -q "Ubuntu 22.04"; then
+# shellcheck source=/dev/null
source ~/.bash_profile
else
+# shellcheck source=/dev/null
source ~/.profile
fi
else
+# shellcheck source=/dev/null
source ~/.bashrc
fi
version="1.50.1"
sha1="be1b0c3dbfbc9714824921f50dffb7cf044da5ab"
-internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/grpc-all-$version.zip"
+internalUrl="http://ci-files01-hki.ci.qt.io/input/automotive_suite/grpc-all-$version.zip"
externalUrl=""
installPrefix="$HOME/install-grpc-$version"
@@ -76,7 +42,7 @@ if uname -a |grep -qv "Darwin"; then
fi
if uname -a |grep -q Darwin; then
- extraCMakeArgs="-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11"
+ extraCMakeArgs=("-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET=12)
SetEnvVar PATH "\$PATH:$installPrefix/bin"
fi
@@ -93,12 +59,12 @@ echo "Configuring and building gRPC"
buildDir="$HOME/build-grpc-$version"
mkdir -p "$buildDir"
cd "$buildDir"
-cmake $targetDir -G"Ninja Multi-Config" \
+cmake "$targetDir" -G"Ninja Multi-Config" \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_CONFIGURATION_TYPES="Release;Debug;RelWithDebugInfo" \
- -DCMAKE_INSTALL_PREFIX=$installPrefix \
- $extraCMakeArgs \
- $extraOpenSslArg \
+ -DCMAKE_INSTALL_PREFIX="$installPrefix" \
+ "${extraCMakeArgs[@]}" \
+ "$extraOpenSslArg" \
-DgRPC_BUILD_TESTS=OFF \
-DgRPC_PROTOBUF_PROVIDER="package" \
-DgRPC_SSL_PROVIDER="package" \
diff --git a/coin/provisioning/common/unix/install_protobuf.sh b/coin/provisioning/common/unix/install_protobuf.sh
index 0d4ab8bd..110d8b9c 100755
--- a/coin/provisioning/common/unix/install_protobuf.sh
+++ b/coin/provisioning/common/unix/install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=./DownloadURL.sh
source "${BASH_SOURCE%/*}/DownloadURL.sh"
@@ -59,7 +22,7 @@ fi
version="21.9"
sha1="3226a0e49d048759b702ae524da79387c59f05cc"
-internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/protobuf-all-$version.zip"
+internalUrl="http://ci-files01-hki.ci.qt.io/input/automotive_suite/protobuf-all-$version.zip"
externalUrl="https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
targetDir="$HOME/protobuf-$version"
@@ -68,6 +31,36 @@ DownloadURL "$internalUrl" "$externalUrl" "$sha1" "$targetFile"
unzip "$targetFile" -d "$HOME"
sudo rm "$targetFile"
+cd $targetDir
+
+if uname -a |grep -q "Ubuntu"; then
+ echo 'diff --git a/cmake/conformance.cmake b/cmake/conformance.cmake
+index d6c435ac3..d6fb3a7df 100644
+--- a/cmake/conformance.cmake
++++ b/cmake/conformance.cmake
+@@ -24,6 +24,8 @@ add_executable(conformance_test_runner
+ ${protobuf_SOURCE_DIR}/conformance/conformance.pb.cc
+ ${protobuf_SOURCE_DIR}/conformance/conformance_test.cc
+ ${protobuf_SOURCE_DIR}/conformance/conformance_test_runner.cc
++ ${protobuf_SOURCE_DIR}/conformance/conformance_test_main.cc
++ ${protobuf_SOURCE_DIR}/conformance/text_format_conformance_suite.cc
+ ${protobuf_SOURCE_DIR}/conformance/third_party/jsoncpp/json.h
+ ${protobuf_SOURCE_DIR}/conformance/third_party/jsoncpp/jsoncpp.cpp
+ ${protobuf_SOURCE_DIR}/src/google/protobuf/test_messages_proto2.pb.cc
+@@ -36,6 +38,10 @@ add_executable(conformance_cpp
+ ${protobuf_SOURCE_DIR}/src/google/protobuf/test_messages_proto2.pb.cc
+ ${protobuf_SOURCE_DIR}/src/google/protobuf/test_messages_proto3.pb.cc
+ )
++install(TARGETS conformance_test_runner
++ RUNTIME DESTINATION COMPONENT conformance
++ LIBRARY DESTINATION COMPONENT conformance
++ ARCHIVE DESTINATION COMPONENT conformance)
+
+ target_include_directories(
+ conformance_test_runner' | patch -p1
+ extraCMakeArgs=("-Dprotobuf_BUILD_CONFORMANCE=ON")
+fi
+
# devtoolset is needed when running configuration
if uname -a |grep -qv "Darwin"; then
export PATH="/opt/rh/devtoolset-7/root/usr/bin:$PATH"
@@ -77,17 +70,17 @@ echo "Configuring and building protobuf"
installPrefix="/usr/local"
if uname -a |grep -q Darwin; then
- extraCMakeArgs="-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11"
+ extraCMakeArgs=("-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET=12)
SetEnvVar PATH "\$PATH:$installPrefix/bin"
fi
buildDir="$HOME/build-protobuf-$version"
mkdir "$buildDir"
cd "$buildDir"
-cmake $targetDir -G"Ninja Multi-Config" \
+cmake "$targetDir" -G"Ninja Multi-Config" \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_INSTALL_PREFIX=$installPrefix \
- $extraCMakeArgs \
+ "${extraCMakeArgs[@]}" \
-Dprotobuf_BUILD_TESTS=OFF \
-Dprotobuf_BUILD_EXAMPLES=OFF \
-Dprotobuf_BUILD_PROTOC_BINARIES=ON \
diff --git a/coin/provisioning/common/unix/libclang-v100-dyn.sh b/coin/provisioning/common/unix/libclang-v100-dyn.sh
index ee982973..14194f55 100755
--- a/coin/provisioning/common/unix/libclang-v100-dyn.sh
+++ b/coin/provisioning/common/unix/libclang-v100-dyn.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
# The Clang library (C-bindings), version 3.9 or higher is required for building.
@@ -59,23 +22,23 @@ if uname -a |grep -q Darwin; then
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${version//\./}-based-mac.7z"
sha1="0fe1fa50b1b469d2c05acc3a3468bc93a66f1e5a"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/dynamic/libclang-release_${version//\./}-based-mac.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/dynamic/libclang-release_${version//\./}-based-mac.7z"
elif test -f /etc/redhat-release || /etc/centos-release; then
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"
sha1="1d2e265502fc0832a854f989d757105833fbd179"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/dynamic/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/dynamic/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"
else
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/dynamic/libclang-release_${version//\./}-based-linux-Ubuntu18.04-gcc9.2-x86_64.7z"
sha1="c1580acb3a82e193acf86f18afb52427c5e67de8"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/libclang-release_${version//\./}-based-linux-Ubuntu18.04-gcc9.2-x86_64.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/libclang-release_${version//\./}-based-linux-Ubuntu18.04-gcc9.2-x86_64.7z"
fi
zip="/tmp/libclang.7z"
destination="/usr/local/libclang-dynlibs-$version"
-DownloadURL $url_cached $url $sha1 $zip
+DownloadURL "$url_cached" "$url" "$sha1" "$zip"
if command -v 7zr &> /dev/null; then
sudo 7zr x $zip -o/usr/local/
else
@@ -85,5 +48,5 @@ sudo mv /usr/local/libclang "$destination"
rm -rf $zip
-echo "export LLVM_DYNAMIC_LIBS_100=$destination" >> ~/.bash_profile
+SetEnvVar "LLVM_DYNAMIC_LIBS_100" "$destination"
echo "libClang for QtForPython= $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/unix/libclang.sh b/coin/provisioning/common/unix/libclang.sh
index 7a25b54c..5f75d7e4 100755
--- a/coin/provisioning/common/unix/libclang.sh
+++ b/coin/provisioning/common/unix/libclang.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
# The Clang library (C-bindings), version 3.9 or higher is required for building.
@@ -54,29 +17,35 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
source "${BASH_SOURCE%/*}/DownloadURL.sh"
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
+# shellcheck source=./common.sourced.sh
+source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
libclang_version="15.0.0"
if uname -a |grep -q Darwin; then
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-mac.7z"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-mac.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-mac.7z"
sha1="6d916a17459c81551dde47580ae3f071e93338a5"
-elif test -f /etc/redhat-release && cat /etc/redhat-release | grep "Red Hat" | grep -v "8" ; then
+elif test -f /etc/redhat-release && grep "Red Hat" /etc/redhat-release | grep -v "8" ; then
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
sha1="6ca035bb522022d34d61759e0460845832933b5c"
elif [ "$PROVISIONING_OS_ID" = ubuntu ]; then
- version=$libclang_version
- url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
- sha1="dd170ec762a7ec8ac84b4b5cac3a422514e5b030"
+ version=$libclang_version
+ url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
+ sha1="dd170ec762a7ec8ac84b4b5cac3a422514e5b030"
+elif [ "$PROVISIONING_OS_ID" = debian ]; then
+ version=17.0.1
+ url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
+ sha1="43f0210121b889107e3dab631e8104e661a3866b"
else
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
- url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
+ url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
sha1="bd6615012b8bdb2720a45ede56e05f6db7191843"
fi
@@ -93,9 +62,5 @@ sudo mv /usr/local/libclang "$destination"
rm -rf $zip
-echo "export LLVM_INSTALL_DIR=$destination" >> ~/.bash_profile
+SetEnvVar "LLVM_INSTALL_DIR" "$destination"
echo "libClang = $version" >> ~/versions.txt
-
-# This is a hacked static build of libclang which requires special
-# handling on the qdoc side.
-SetEnvVar "QDOC_USE_STATIC_LIBCLANG" "1"
diff --git a/coin/provisioning/common/unix/mqtt_broker.sh b/coin/provisioning/common/unix/mqtt_broker.sh
index 21da3776..d3cce755 100755
--- a/coin/provisioning/common/unix/mqtt_broker.sh
+++ b/coin/provisioning/common/unix/mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs paho testing broker
@@ -46,7 +9,7 @@ source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
CommitSHA="2873885d7e840b4e06483f36f170c609eb30527d"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
SHA1="1fcc4e61b12f11a1421cc8c3f379276d732e62b7"
targetFolder="/opt/paho_broker"
diff --git a/coin/provisioning/common/unix/openssl_3_for_android.sh b/coin/provisioning/common/unix/openssl_3_for_android.sh
index 30314894..0ad79315 100755
--- a/coin/provisioning/common/unix/openssl_3_for_android.sh
+++ b/coin/provisioning/common/unix/openssl_3_for_android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install prebuilt OpenSSL which was built against Android NDK 25.
# OpenSSL build will fail with Android NDK 22, because it's missing platforms and sysroot directories
@@ -49,14 +12,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="3.0.7"
-ndkVersionLatest="r25b"
+ndkVersionLatest="r26b"
ndkVersionDefault=$ndkVersionLatest
-prebuiltOpensslNdkShaDarwinLatest="5cf5ef6c19e62954ccffcd1e31ac1f331028de0d"
-prebuiltOpensslNdkShaLinuxLatest="f5e7e840dc1fac2868033ecfc0eeb79742b0daff"
-prebuiltOpensslNdkShaDarwinDefault=$prebuiltOpensslNdkShaDarwinLatest
-prebuiltOpensslNdkShaLinuxDefault=$prebuiltOpensslNdkShaLinuxLatest
+prebuiltOpensslNdkShaLatest="ea925d5a5b696916fb3650403a2eb3189c52b5ce"
+prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
-: ' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
+: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
exports_file="/tmp/export.sh"
# source previously made environmental variables.
@@ -71,10 +32,10 @@ else
fi
# ANDROID_NDK_ROOT is required during Configure
-export ANDROID_NDK_ROOT=/opt/android/android-ndk-r25b
+export ANDROID_NDK_ROOT=/opt/android/android-ndk-r26b
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
-cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
+cachedUrl="http://ci-files01-hki.ci.qt.io/input/openssl/openssl-$version.tar.gz"
targetFile="/tmp/openssl-$version.tar.gz"
sha="f20736d6aae36bcbfa9aba0d358c71601833bf27"
opensslHome="${HOME}/openssl/android/openssl-${version}"
@@ -89,35 +50,27 @@ fi
cd "$opensslHome"
PATH=$TOOLCHAIN:$PATH CC=clang ./Configure android-arm
PATH=$TOOLCHAIN:$PATH CC=clang make build_generated
-'
+EOB
function InstallPrebuiltOpenssl() {
ndkVersion=$1
- nkdSha=$2
- os=$3
+ sha=$2
- if [[ ! -d ${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version} ]]; then
- prebuiltUrl="http://ci-files01-hki.intra.qt.io/input/openssl/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}-${os}.tar.gz"
- targetFile="/tmp/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}-${os}.tar.gz"
+ opensslHome="${HOME}/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}"
+ if [[ ! -d ${opensslHome} ]]; then
+ prebuiltUrl="http://ci-files01-hki.ci.qt.io/input/openssl/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}.zip"
+ targetFile="/tmp/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}.zip"
- DownloadURL "$prebuiltUrl" "$prebuiltUrl" "$nkdSha" "$targetFile"
- tar -xzf "$targetFile" -C "${HOME}"
- opensslHome="${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version}"
- sudo rm -f $targetFile
+ DownloadURL "$prebuiltUrl" "$prebuiltUrl" "$sha" "$targetFile"
+ unzip -o "$targetFile" -d "${HOME}"
+ sudo rm -f "$targetFile"
fi
}
-if uname -a |grep -q "Darwin"; then
- InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaDarwinDefault "darwin"
- SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
- InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaDarwinLatest "darwin"
- SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
-else
- InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaLinuxDefault "linux"
- SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
- InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaLinuxLatest "linux"
- SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
-fi
+InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaDefault
+SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
+InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaLatest
+SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
echo "OpenSSL for Android = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/unix/openssl_for_android.sh b/coin/provisioning/common/unix/openssl_for_android.sh
index 30314894..d555e0cc 100755
--- a/coin/provisioning/common/unix/openssl_for_android.sh
+++ b/coin/provisioning/common/unix/openssl_for_android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install prebuilt OpenSSL which was built against Android NDK 25.
# OpenSSL build will fail with Android NDK 22, because it's missing platforms and sysroot directories
@@ -49,14 +12,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="3.0.7"
-ndkVersionLatest="r25b"
+ndkVersionLatest="r26b"
ndkVersionDefault=$ndkVersionLatest
-prebuiltOpensslNdkShaDarwinLatest="5cf5ef6c19e62954ccffcd1e31ac1f331028de0d"
-prebuiltOpensslNdkShaLinuxLatest="f5e7e840dc1fac2868033ecfc0eeb79742b0daff"
-prebuiltOpensslNdkShaDarwinDefault=$prebuiltOpensslNdkShaDarwinLatest
-prebuiltOpensslNdkShaLinuxDefault=$prebuiltOpensslNdkShaLinuxLatest
+prebuiltOpensslNdkShaLatest="ea925d5a5b696916fb3650403a2eb3189c52b5ce"
+prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
-: ' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
+: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r26b
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
exports_file="/tmp/export.sh"
# source previously made environmental variables.
@@ -70,11 +31,8 @@ else
rm -rf "$exports_file"
fi
-# ANDROID_NDK_ROOT is required during Configure
-export ANDROID_NDK_ROOT=/opt/android/android-ndk-r25b
-
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
-cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
+cachedUrl="http://ci-files01-hki.ci.qt.io/input/openssl/openssl-$version.tar.gz"
targetFile="/tmp/openssl-$version.tar.gz"
sha="f20736d6aae36bcbfa9aba0d358c71601833bf27"
opensslHome="${HOME}/openssl/android/openssl-${version}"
@@ -89,35 +47,27 @@ fi
cd "$opensslHome"
PATH=$TOOLCHAIN:$PATH CC=clang ./Configure android-arm
PATH=$TOOLCHAIN:$PATH CC=clang make build_generated
-'
+EOB
function InstallPrebuiltOpenssl() {
ndkVersion=$1
- nkdSha=$2
- os=$3
+ sha=$2
- if [[ ! -d ${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version} ]]; then
- prebuiltUrl="http://ci-files01-hki.intra.qt.io/input/openssl/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}-${os}.tar.gz"
- targetFile="/tmp/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}-${os}.tar.gz"
+ opensslHome="${HOME}/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}"
+ if [[ ! -d ${opensslHome} ]]; then
+ prebuiltUrl="http://ci-files01-hki.ci.qt.io/input/openssl/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}.zip"
+ targetFile="/tmp/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}.zip"
- DownloadURL "$prebuiltUrl" "$prebuiltUrl" "$nkdSha" "$targetFile"
- tar -xzf "$targetFile" -C "${HOME}"
- opensslHome="${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version}"
- sudo rm -f $targetFile
+ DownloadURL "$prebuiltUrl" "$prebuiltUrl" "$sha" "$targetFile"
+ unzip -o "$targetFile" -d "${HOME}"
+ sudo rm -f "$targetFile"
fi
}
-if uname -a |grep -q "Darwin"; then
- InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaDarwinDefault "darwin"
- SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
- InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaDarwinLatest "darwin"
- SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
-else
- InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaLinuxDefault "linux"
- SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
- InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaLinuxLatest "linux"
- SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
-fi
+InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaDefault
+SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
+InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaLatest
+SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
echo "OpenSSL for Android = $version" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-13-arm/pyenv.rb b/coin/provisioning/common/unix/pyenv.rb
index 8e981111..0c2781ff 100644
--- a/coin/provisioning/qtci-macos-13-arm/pyenv.rb
+++ b/coin/provisioning/common/unix/pyenv.rb
@@ -1,41 +1,39 @@
class Pyenv < Formula
desc "Python version management"
homepage "https://github.com/pyenv/pyenv"
- url "https://github.com/pyenv/pyenv/archive/v2.2.0.tar.gz"
- sha256 "ef62a5d0a0d582b38497ae8d24a2a417d4a21c42811123c08082541a7092825d"
+ url "https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.15.tar.gz"
+ sha256 "cf6499e1c8f18fb3473c2afdf5f14826fd42a1c4b051219faea104e38036e4bb"
license "MIT"
version_scheme 1
head "https://github.com/pyenv/pyenv.git", branch: "master"
livecheck do
url :stable
- strategy :github_latest
+ regex(/^v?(\d+(?:\.\d+)+(-\d+)?)$/i)
end
bottle do
- sha256 cellar: :any, arm64_monterey: "1d326dcae6327e1a62a8026e80665a0d995eec0d26c27f417ef34a9b75a2e2a7"
- sha256 cellar: :any, arm64_big_sur: "38f17626731a50f95ce1ad71495de2d260706a1420a19f2f29e7c935525c8c01"
- sha256 cellar: :any, monterey: "b02075ca6820755aee0956795c7decbfac56562ba66fec06bea193116cef5de6"
- sha256 cellar: :any, big_sur: "880bf4a355cc3da07562b82bac1bf7d0f4bcde6c613f5ea691f50d4e013b1bf8"
- sha256 cellar: :any, catalina: "5f7f283d3029f6293a52fc5449cf6aae8be5976f605318c9afa300be3e7d88f8"
- sha256 cellar: :any_skip_relocation, x86_64_linux: "fb8949a118e2b8012383fe822148778944d24fe7eab36655fad6e1f1d506e2ad"
+ sha256 cellar: :any, arm64_ventura: "ff68efd633ee282abb0c0a6ba72f90d5248644f3143f40e15841b6ae7996e3cd"
+ sha256 cellar: :any, arm64_monterey: "af7621550cc7c005549d96218d2606a521e12595f2efc9ae9d8523cc46d318ba"
+ sha256 cellar: :any, arm64_big_sur: "69d69ceeea16fe45346d8856bf213c0a0e48220097635cf17d40b98fa8e12f83"
+ sha256 cellar: :any, ventura: "48fb21656dc11dc0a6ef25eb7cb5e8829485c1e1fac7d1ca596a46771a9ad91d"
+ sha256 cellar: :any, monterey: "96ba1d1702b7620dd9d0d2fe030af4d31c83504afea1b119910ab2e9c9fbb08c"
+ sha256 cellar: :any, big_sur: "f96dfcecefb40d4794a8ea3ef5981bdeab6e64c412f18f0c128b1d64fe87d913"
+ sha256 cellar: :any_skip_relocation, x86_64_linux: "83737a776f4828a7fb5eb289b10418b7cf829cccca3fc634d7dfe7c96aff4e7e"
end
depends_on "autoconf"
- depends_on "openssl@1.1"
+ depends_on "openssl@3"
depends_on "pkg-config"
depends_on "readline"
+ uses_from_macos "python" => :test
uses_from_macos "bzip2"
uses_from_macos "libffi"
uses_from_macos "ncurses"
uses_from_macos "xz"
uses_from_macos "zlib"
- on_linux do
- depends_on "python@3.10" => :test
- end
-
def install
inreplace "libexec/pyenv", "/usr/local", HOMEBREW_PREFIX
inreplace "libexec/pyenv-rehash", "$(command -v pyenv)", opt_bin/"pyenv"
@@ -52,13 +50,13 @@ class Pyenv < Formula
share.install prefix/"man"
# Do not manually install shell completions. See:
- # - https://github.com/pyenv/pyenv/issues/1056#issuecomment-356818337
- # - https://github.com/Homebrew/homebrew-core/pull/22727
+ # - pyenv/pyenv#1056#issuecomment-356818337
+ # - Homebrew/homebrew-core#22727
end
test do
# Create a fake python version and executable.
- pyenv_root = Pathname(shell_output("pyenv root").strip)
+ pyenv_root = Pathname(shell_output("#{bin}/pyenv root").strip)
python_bin = pyenv_root/"versions/1.2.3/bin"
foo_script = python_bin/"foo"
foo_script.write "echo hello"
@@ -67,13 +65,13 @@ class Pyenv < Formula
# Test versions.
versions = shell_output("eval \"$(#{bin}/pyenv init --path)\" " \
"&& eval \"$(#{bin}/pyenv init -)\" " \
- "&& pyenv versions").split("\n")
+ "&& #{bin}/pyenv versions").split("\n")
assert_equal 2, versions.length
assert_match(/\* system/, versions[0])
assert_equal(" 1.2.3", versions[1])
# Test rehash.
- system "pyenv", "rehash"
+ system bin/"pyenv", "rehash"
refute_match "Cellar", (pyenv_root/"shims/foo").read
assert_equal "hello", shell_output("eval \"$(#{bin}/pyenv init --path)\" " \
"&& eval \"$(#{bin}/pyenv init -)\" " \
diff --git a/coin/provisioning/common/unix/python_modules.sh b/coin/provisioning/common/unix/python_modules.sh
index c4b60867..00009836 100755
--- a/coin/provisioning/common/unix/python_modules.sh
+++ b/coin/provisioning/common/unix/python_modules.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# needed by packaging scripts
pip3 install bs4
diff --git a/coin/provisioning/common/unix/sccache.sh b/coin/provisioning/common/unix/sccache.sh
index f20db84d..8a403ba7 100755
--- a/coin/provisioning/common/unix/sccache.sh
+++ b/coin/provisioning/common/unix/sccache.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -50,7 +13,7 @@ function installSccache {
targetVersion=$2
sha1=$3
targetFile=sccache-$targetVersion-$targetArch.tar.gz
- primaryUrl=http://ci-files01-hki.intra.qt.io/input/sccache/$targetFile
+ primaryUrl=http://ci-files01-hki.ci.qt.io/input/sccache/$targetFile
cacheUrl=https://github.com/mozilla/sccache/releases/download/$targetVersion/$targetFile
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
@@ -64,9 +27,9 @@ function installSccache {
SetEnvVar "SCCACHE_IDLE_TIMEOUT" "0"
# copy sccache wrapper and place as a first in PATH
- mkdir -p $HOME/sccache_wrapper
- cp ${BASH_SOURCE%/*}/sccache_wrapper $HOME/sccache_wrapper/sccache
- chmod 755 $HOME/sccache_wrapper/sccache
+ mkdir -p "$HOME/sccache_wrapper"
+ cp "${BASH_SOURCE%/*}/sccache_wrapper" "$HOME/sccache_wrapper/sccache"
+ chmod 755 "$HOME/sccache_wrapper/sccache"
SetEnvVar "PATH" "$HOME/sccache_wrapper:\$PATH"
}
diff --git a/coin/provisioning/common/unix/squishInstall.sh b/coin/provisioning/common/unix/squishInstall.sh
index 87b066b4..0195d84a 100755
--- a/coin/provisioning/common/unix/squishInstall.sh
+++ b/coin/provisioning/common/unix/squishInstall.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=./DownloadURL.sh
source "${BASH_SOURCE%/*}/DownloadURL.sh"
@@ -47,47 +10,50 @@ set -ex
# This script will fetch and extract pre-buildt squish package for Linux and Mac.
# Squish is need by Release Test Automation (RTA)
-version="7.0.1"
-qtBranch="63x"
+version="7.2.1"
+qtBranch="66x"
installFolder="/opt"
squishFolder="$installFolder/squish"
-preBuildCacheUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/jenkins_build/stable"
+preBuildCacheUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/jenkins_build/stable"
licenseFile=".squish-license"
-licenseUrl="http://ci-files01-hki.intra.qt.io/input/squish/coin/$qtBranch/$licenseFile"
+licenseBranch="squish_license"
+licenseUrl="http://ci-files01-hki.ci.qt.io/input/squish/coin/$licenseBranch/$licenseFile"
licenseSHA="e84b499a2011f9bb1a6eefc7b2338d7ae770927a"
+testSuiteUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/coin/suite_test_squish"
+testSuiteLocal="/tmp/squish_test_suite"
if uname -a |grep -q Darwin; then
compressedFolder="prebuild-squish-$version-$qtBranch-mac.tar.gz"
- sha1="ed8aa2e902808741fb9496a0d339d4c145530eef"
+ sha1="7467c974b65255c86b8fccaeca90e0590d4f7c96"
else
compressedFolder="prebuild-squish-$version-$qtBranch-linux64.tar.gz"
- sha1="a9de35bba9b4dd9afabdde4df14564428745a979"
+ sha1="950a6035c777c8ce0a50a0b3ad468044d07f898b"
fi
mountFolder="/tmp/squish"
sudo mkdir "$mountFolder"
+sudo mkdir "$testSuiteLocal"
# Check which platform
if uname -a |grep -q Darwin; then
usersGroup="staff"
- squishLicenseDir="/Users/qt"
elif uname -a |grep -q "el7"; then
usersGroup="qt"
- squishLicenseDir="/root"
elif uname -a |grep -q "Ubuntu"; then
usersGroup="users"
- squishLicenseDir="/home/qt"
else
usersGroup="users"
- squishLicenseDir="/root"
fi
targetFileMount="$mountFolder"/"$compressedFolder"
-echo "Mounting $preBuildCacheUrl to $mountFolder"
+echo "Mounting Squish packages from $preBuildCacheUrl to $mountFolder"
+echo "Mounting Squish test suite from $testSuiteUrl to $testSuiteLocal"
if uname -a |grep -q Darwin; then
sudo mount -o locallocks "$preBuildCacheUrl" "$mountFolder"
+ sudo mount -o locallocks "$testSuiteUrl" "$testSuiteLocal"
else
sudo mount "$preBuildCacheUrl" "$mountFolder"
+ sudo mount "$testSuiteUrl" "$testSuiteLocal"
fi
echo "Create $installFolder if needed"
if [ ! -d "$installFolder" ]; then
@@ -99,10 +65,6 @@ VerifyHash "$targetFileMount" "$sha1"
echo "Uncompress $compressedFolder"
sudo tar -xzf "$targetFileMount" --directory "$installFolder"
-echo "Unmounting $mountFolder"
-sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder"
-
-sudo mv "$installFolder/rta_squish_$qtBranch" "$squishFolder"
if uname -a |grep -q Darwin; then
sudo xattr -r -c "$squishFolder"
fi
@@ -110,41 +72,35 @@ fi
if uname -a |grep -q "Ubuntu"; then
if [ ! -e "/usr/lib/tcl8.6" ]; then
sudo mkdir /usr/lib/tcl8.6
- #this needs to be copied only to squish_for_qt62
- sudo cp "$squishFolder/squish_for_qt62/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
+ #this needs to be copied only to squish_for_qt65
+ sudo cp "$squishFolder/squish_for_qt66/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
fi
fi
-
+echo "Download Squish license"
DownloadURL "$licenseUrl" "$licenseUrl" "$licenseSHA" "$HOME/$licenseFile"
echo "Changing ownerships"
sudo chown -R qt:$usersGroup "$squishFolder"
sudo chown qt:$usersGroup "$HOME/$licenseFile"
-echo "Set commands for environment variables in .bashrc"
-if uname -a |grep -q "Ubuntu"; then
- echo "export SQUISH_PATH=$squishFolder/squish_for_qt62" >> ~/.profile
- echo "export PATH=\$PATH:$squishFolder/squish_for_qt62/bin" >> ~/.profile
-else
- echo "export SQUISH_PATH=$squishFolder/squish_for_qt63" >> ~/.bashrc
- echo "export PATH=\$PATH:$squishFolder/squish_for_qt63/bin" >> ~/.bashrc
-fi
echo "Verifying Squish, available installations:"
ls -la $squishFolder
-
-if "$squishFolder/squish_for_qt62/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
- echo "Squish for Qt6.3 installation tested successfully"
-else
- echo "Squish for Qt6.3 test failed! Package wasn't installed correctly."
- exit 1
-fi
-if "$squishFolder/squish_for_qt63/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
- echo "Squish for Qt6.2 installation tested successfully"
-else
- echo "Squish for Qt6.2 test failed! Package wasn't installed correctly."
- exit 1
-fi
-
-
+cd $squishFolder
+
+for squishInstallation in */ ; do
+ if "$squishInstallation/bin/squishrunner" --testsuite "$testSuiteLocal" | grep "Squish test run successfully" ; then
+ echo "Squish in $squishInstallation tested successfully"
+ else
+ echo "Testing Squish in $squishInstallation failed! Squish wasn't installed correctly."
+ exit 1
+ fi
+done
+
+echo "Clean up installation temp dirs"
+echo "- Unmounting $mountFolder"
+sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder" || true
+
+echo "- Unmounting $testSuiteLocal"
+sudo diskutil unmount force "$testSuiteLocal" || sudo umount -f "$testSuiteLocal" || true
diff --git a/coin/provisioning/common/unix/telegraf_install.sh b/coin/provisioning/common/unix/telegraf_install.sh
index 6436c8f8..7e1f8a47 100755
--- a/coin/provisioning/common/unix/telegraf_install.sh
+++ b/coin/provisioning/common/unix/telegraf_install.sh
@@ -1,43 +1,6 @@
-#!/bin/sh
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+#!/bin/bash
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs telegraf and ioping and our script telegraf-ioping.sh
@@ -52,46 +15,56 @@
######################## BOILERPLATE ###########################
set -e
-
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
+# shellcheck source=./common.sourced.sh
+source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
+# shellcheck source=./DownloadURL.sh
+source "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-is_script_executed telegraf_install.sh \
+is_script_executed telegraf_install.sh \
|| fatal "Script telegraf_install.sh should be executed, not sourced"
################################################################
-[ "$PROVISIONING_OS" = linux ] \
- && ioping_sha256=259abf04bcb84f4126ff97c04b6651e1cf5ea6d8a9ff364c769a26c95b6eeb44 \
- || ioping_sha256=55de6a2f1a5343e0ce8df31d82d47a9e79c7e612edbc6dfb39b5fc6fb358b2e3
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/ioping/ioping.${PROVISIONING_OS}-${PROVISIONING_ARCH}" \
- '' "$ioping_sha256" ioping
+if [ "$PROVISIONING_OS" = linux ]
+then ioping_sha256=259abf04bcb84f4126ff97c04b6651e1cf5ea6d8a9ff364c769a26c95b6eeb44
+else ioping_sha256=55de6a2f1a5343e0ce8df31d82d47a9e79c7e612edbc6dfb39b5fc6fb358b2e3
+fi
+
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/ioping/ioping.${PROVISIONING_OS}-${PROVISIONING_ARCH}" \
+ '' "$ioping_sha256" ioping
$CMD_INSTALL -m 755 ./ioping /usr/bin/
rm -f ioping
# 2. Install custom ioping monitoring script
-$CMD_INSTALL -m 755 "$PROVISIONING_DIR"/common/shared/telegraf/telegraf-ioping.sh /usr/bin/
+$CMD_INSTALL -m 755 "$PROVISIONING_DIR"/common/shared/telegraf/telegraf-ioping.sh /usr/bin/
# 3. Download and install telegraf
-[ x"$PROVISIONING_OS" = xmacos ] && os=darwin || os=linux
-[ x"$PROVISIONING_ARCH" = xx86 ] && arch=i386 || arch=amd64
+if [ "$PROVISIONING_OS" = macos ]
+then os=darwin
+else os=linux
+fi
+
+if [ "$PROVISIONING_ARCH" = x86 ]
+then arch=i386
+else arch=amd64
+fi
+
package_filename=telegraf-1.12.6_${os}_${arch}.tar.gz
package_sha256_list="$PROVISIONING_DIR"/common/shared/telegraf/telegraf_packages.sha256.txt
package_sha256=$(sed -n "s/.*$package_filename *//p" "$package_sha256_list")
-DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/telegraf/"$package_filename" \
- https://dl.influxdata.com/telegraf/releases/"$package_filename" \
- "$package_sha256" \
+DownloadURL \
+ http://ci-files01-hki.ci.qt.io/input/telegraf/"$package_filename" \
+ https://dl.influxdata.com/telegraf/releases/"$package_filename" \
+ "$package_sha256" \
telegraf.tar.gz
tar -xzf ./telegraf.tar.gz -C /tmp
telegraf_binary=$(find /tmp/telegraf* -name telegraf -type f | grep /bin/ | head -1)
-$CMD_INSTALL -m 755 "$telegraf_binary" /usr/bin/
+$CMD_INSTALL -m 755 "$telegraf_binary" /usr/bin/
rm -rf /tmp/telegraf*
# 4. Edit config file with passwords
diff --git a/coin/provisioning/common/unix/telegraf_password.sh b/coin/provisioning/common/unix/telegraf_password.sh
index a8327de9..24df7054 100755
--- a/coin/provisioning/common/unix/telegraf_password.sh
+++ b/coin/provisioning/common/unix/telegraf_password.sh
@@ -1,51 +1,14 @@
-#!/bin/sh
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+#!/bin/bash
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
######################## BOILERPLATE ###########################
set -e
-
PROVISIONING_DIR="$(dirname "$0")/../../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
+# shellcheck source=./common.sourced.sh
+source "${BASH_SOURCE%/*}/common.sourced.sh"
is_script_executed telegraf_password.sh \
|| fatal "Script telegraf_password.sh should be executed, not sourced, to avoid leaking secrets in the logs"
diff --git a/coin/provisioning/common/windows/3dstudio_3rdparty.ps1 b/coin/provisioning/common/windows/3dstudio_3rdparty.ps1
index bbef2f04..afbc7ff1 100644
--- a/coin/provisioning/common/windows/3dstudio_3rdparty.ps1
+++ b/coin/provisioning/common/windows/3dstudio_3rdparty.ps1
@@ -2,7 +2,7 @@
$zip = Get-DownloadLocation "Qt3DStudio-3rdparty-win64-CI.zip"
-$url = "http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
+$url = "http://ci-files01-hki.ci.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
Download $url $url $zip
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
diff --git a/coin/provisioning/common/windows/allow-remote-desktop-access.ps1 b/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
index 10b0453f..b17f443c 100644
--- a/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
+++ b/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script allows the Windows Remote Desktop Access
diff --git a/coin/provisioning/common/windows/android-openssl.ps1 b/coin/provisioning/common/windows/android-openssl.ps1
index ecfa4e7c..3542c907 100644
--- a/coin/provisioning/common/windows/android-openssl.ps1
+++ b/coin/provisioning/common/windows/android-openssl.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Requires: 7z, perl and msys
@@ -52,13 +16,13 @@ if (Is64BitWinHost) {
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
$openssl_version = "3.0.7"
-$ndk_version_latest = "r25b"
+$ndk_version_latest = "r26b"
$ndk_version_default = "$ndk_version_latest"
$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}.tar.gz")
$openssl_sha1 = "f20736d6aae36bcbfa9aba0d358c71601833bf27"
-$prebuilt_sha1_ndk_latest = "d4348812054a88b5b672a8ceae62bf30c564869b"
+$prebuilt_sha1_ndk_latest = "ea925d5a5b696916fb3650403a2eb3189c52b5ce"
$prebuilt_sha1_ndk_default = "$prebuilt_sha1_ndk_latest"
-$destination = "C:\Utils\openssl-android-master"
+$destination_prefix = "C:\Utils\prebuilt-openssl-${openssl_version}-for-android-ndk"
function Install($1, $2) {
$ndk_version = $1
@@ -69,19 +33,19 @@ function Install($1, $2) {
$ndk_path = "/c/Utils/Android/android-ndk-${ndk_version}"
$cc_path = "$ndk_path/toolchains/llvm/prebuilt/windows-x86_64/bin"
- $prebuilt_url_ndk = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\prebuilt-openssl-${openssl_version}-for-android-used-ndk-${ndk_version}-windows.zip"
- $prebuilt_zip_ndk = Get-DownloadLocation ("prebuilt-openssl-${openssl_version}-for-android-used-ndk-${ndk_version}-windows.zip")
+ $prebuilt_url_openssl = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\prebuilt-openssl-${openssl_version}-for-android-ndk-${ndk_version}.zip"
+ $prebuilt_zip_openssl = Get-DownloadLocation ("prebuilt-openssl-${openssl_version}-for-android-ndk-${ndk_version}.zip")
- if ((Test-Path $prebuilt_url_ndk)) {
+ if ((Test-Path $prebuilt_url_openssl)) {
Write-Host "Install prebuilt OpenSSL for Android"
- Download $prebuilt_url_ndk $prebuilt_url_ndk $prebuilt_zip_ndk
- Verify-Checksum $prebuilt_zip_ndk $prebuilt_sha1
- Extract-7Zip $prebuilt_zip_ndk C:\Utils
- Remove $prebuilt_zip_ndk
+ Download $prebuilt_url_openssl $prebuilt_url_openssl $prebuilt_zip_openssl
+ Verify-Checksum $prebuilt_zip_openssl $prebuilt_sha1
+ Extract-7Zip $prebuilt_zip_openssl C:\Utils
+ Remove $prebuilt_zip_openssl
} else {
Write-Host "Build OpenSSL for Android from sources"
# openssl-${openssl_version}_fixes-ndk_root.tar.gz package includes fixes from https://github.com/openssl/openssl/pull/17322 and string ANDROID_NDK_HOME is replaced with ANDROID_NDK_ROOT in Configurations/15-android.conf
- Download \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz $openssl_compressed
+ Download \\ci-files01-hki.ci.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz \\ci-files01-hki.ci.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz $openssl_compressed
Verify-Checksum $openssl_compressed $openssl_sha1
Extract-7Zip $openssl_compressed C:\Utils\tmp
@@ -106,7 +70,7 @@ function Install($1, $2) {
}
# ANDROID_NDK_ROOT needs to be in environment variables before running this script
- # Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r25b"
+ # Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r26b"
$make_install = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"yes | pacman -S make`"")
CheckExitCode $make_install
@@ -126,13 +90,13 @@ function Install($1, $2) {
# Install NDK Default version
Install $ndk_version_default $prebuilt_sha1_ndk_default
-if (Test-Path -Path ${destination}-${ndk_version_latest}) {
+if (Test-Path -Path ${destination_prefix}-${ndk_version_latest}) {
Write-Host "OpenSSL for Android Latest version is the same than Default. Installation done."
} else {
# Install NDK Latest version
Install $ndk_version_latest $prebuilt_sha1_ndk_latest
}
-Set-EnvironmentVariable "OPENSSL_ANDROID_HOME_DEFAULT" "${destination}-${ndk_version_default}"
-Set-EnvironmentVariable "OPENSSL_ANDROID_HOME_LATEST" "${destination}-${ndk_version_latest}"
+Set-EnvironmentVariable "OPENSSL_ANDROID_HOME_DEFAULT" "${destination_prefix}-${ndk_version_default}"
+Set-EnvironmentVariable "OPENSSL_ANDROID_HOME_LATEST" "${destination_prefix}-${ndk_version_latest}"
Write-Output "Android OpenSSL = $openssl_version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/android.ps1 b/coin/provisioning/common/windows/android.ps1
index 532d0d2d..b594238c 100644
--- a/coin/provisioning/common/windows/android.ps1
+++ b/coin/provisioning/common/windows/android.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -46,28 +10,26 @@
# That's why we need to use Andoid-21 API version in Qt 5.9.
# NDK
-$ndkVersionLatest = "r25b"
+$ndkVersionLatest = "r26b"
$ndkVersionDefault = $ndkVersionLatest
-$ndkChecksumLatest = "b2e9b5ab2e1434a65ffd85780891878cf5c6fd92"
+$ndkChecksumLatest = "17453c61a59e848cffb8634f2c7b322417f1732e"
$ndkChecksumDefault = $ndkChecksumLatest
-$ndkCachedUrlLatest = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersionLatest-windows.zip"
+$ndkCachedUrlLatest = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-ndk-$ndkVersionLatest-windows.zip"
$ndkOfficialUrlLatest = "https://dl.google.com/android/repository/android-ndk-$ndkVersionLatest-windows.zip"
-$ndkCachedUrlDefault = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersionDefault-windows.zip"
+$ndkCachedUrlDefault = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-ndk-$ndkVersionDefault-windows.zip"
$ndkOfficialUrlDefault = "https://dl.google.com/android/repository/android-ndk-$ndkVersionDefault-windows.zip"
-$ndkFolderLatest = "c:\Utils\Android\android-ndk-$ndkVersionLatest"
-$ndkFolderDefault = "c:\Utils\Android\android-ndk-$ndkVersionDefault"
-$ndkZip = "c:\Windows\Temp\android_ndk.zip"
+$ndkZip = "C:\Windows\Temp\android_ndk.zip"
# SDK
$toolsVersion = "2.1"
$toolsFile = "commandlinetools-win-6609375_latest.zip"
$sdkApi = "ANDROID_API_VERSION"
-$sdkApiLevel = "android-33"
-$sdkBuildToolsVersion = "33.0.1"
-$toolsCachedUrl= "\\ci-files01-hki.intra.qt.io\provisioning\android\$toolsFile"
+$sdkApiLevel = "android-34"
+$sdkBuildToolsVersion = "34.0.0"
+$toolsCachedUrl= "\\ci-files01-hki.ci.qt.io\provisioning\android\$toolsFile"
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
$toolsChecksum = "e2e19c2ff584efa87ef0cfdd1987f92881323208"
-$toolsFolder = "c:\Utils\Android\cmdline-tools"
+$cmdFolder = "c:\Utils\Android\cmdline-tools"
$sdkZip = "c:\Windows\Temp\$toolsFile"
@@ -76,28 +38,38 @@ function Install($1, $2, $3, $4) {
$zip = $2
$checksum = $3
$offcialUrl = $4
+ $tempExtractDir = "C:\Windows\Temp\android_extract"
Download $offcialUrl $cacheUrl $zip
Verify-Checksum $zip "$checksum"
- Extract-7Zip $zip C:\Utils\Android
+ Extract-7Zip $zip $tempExtractDir
+ $baseDirectory = (Get-ChildItem $tempExtractDir -Attributes D | Select-Object -First 1).Name
+ Move-Item -Path ($tempExtractDir + "\" + $baseDirectory) -Destination "C:\Utils\Android\$baseDirectory" -Force
Remove $zip
+
+ return "C:\Utils\Android\$baseDirectory"
}
+New-Item -ItemType Directory -Path C:\Utils\Android\
+New-Item -ItemType Directory -Path C:\Windows\Temp\android_extract
Write-Host "Installing Android NDK $ndkVersionDefault"
-Install $ndkCachedUrlDefault $ndkZip $ndkChecksumDefault $ndkOfficialUrlDefault
+$ndkFolderDefault = Install $ndkCachedUrlDefault $ndkZip $ndkChecksumDefault $ndkOfficialUrlDefault
Set-EnvironmentVariable "ANDROID_NDK_ROOT_DEFAULT" $ndkFolderDefault
+# To be used by vcpkg
+Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolderDefault
+$env:ANDROID_NDK_HOME = "$ndkFolderDefault"
-if (Test-Path -Path $ndkFolderLatest) {
+if ($ndkVersionDefault -eq $ndkVersionLatest) {
Write-Host "Android Latest version is the same than Default. NDK installation done."
} else {
Write-Host "Installing Android NDK $nkdVersionLatest"
- Install $ndkCachedUrlLatest $ndkZip $ndkChecksumLatest $ndkOfficialUrlLatest
+ $ndkFolderLatest = Install $ndkCachedUrlLatest $ndkZip $ndkChecksumLatest $ndkOfficialUrlLatest
Set-EnvironmentVariable "ANDROID_NDK_ROOT_LATEST" $ndkFolderLatest
}
-Install $toolsCachedUrl $sdkZip $toolsChecksum $sdkOfficialUrl
-New-Item -ItemType directory -Path $toolsFolder
-Move-Item -Path C:\Utils\Android\tools -Destination $toolsFolder\
+$toolsFolder = Install $toolsCachedUrl $sdkZip $toolsChecksum $toolsOfficialUrl
+New-Item -ItemType directory -Path $cmdFolder
+Move-Item -Path $toolsFolder -Destination $cmdFolder\
Set-EnvironmentVariable "ANDROID_SDK_ROOT" "C:\Utils\Android"
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
@@ -120,7 +92,7 @@ Out-File -FilePath C:\Utils\Android\licenses\android-sdk-license -Encoding utf8
# Attempt to catch all errors of sdkmanager.bat, even when hidden behind a pipeline.
$ErrorActionPreference = "Stop"
-cd $toolsFolder\tools\bin\
+cd $cmdFolder\tools\bin\
$sdkmanager_args += "platforms;$sdkApiLevel", "platform-tools", "build-tools;$sdkBuildToolsVersion", "--sdk_root=C:\Utils\Android"
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat @sdkmanager_args | Out-Null'
Invoke-Expression $command
diff --git a/coin/provisioning/common/windows/cmake.ps1 b/coin/provisioning/common/windows/cmake.ps1
index fcba55da..af1e2872 100644
--- a/coin/provisioning/common/windows/cmake.ps1
+++ b/coin/provisioning/common/windows/cmake.ps1
@@ -1,59 +1,45 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-$majorminorversion = "3.24"
-$version = "3.24.2"
-
-$zip = Get-DownloadLocation ("cmake-" + $version + "-windows-i386.zip")
-$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-windows-i386.zip"
-$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-windows-i386.zip"
+$majorminorversion = "3.27"
+$version = "3.27.7"
+
+$cpu_arch = Get-CpuArchitecture
+Write-Host "Installing CMake for architecture $cpu_arch"
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $sha1 = "52ee08671dcb478c5ec6e862f41717f65047c598"
+ $majorminorversion = "3.29"
+ $version = "3.29.2"
+ Break
+ }
+ x64 {
+ $arch = "i386"
+ $sha1 = "b6147215a5f9cd1138b012265229fbf2224d02c6"
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+
+$filename = "cmake-" + $version + "-windows-" + $arch
+$filename_zip = $filename + ".zip"
+
+$zip = Get-DownloadLocation ($filename_zip)
+$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/" + $filename_zip
+$cachedurl = "https://ci-files01-hki.ci.qt.io/input/cmake/" + $filename_zip
Write-Host "Removing old cmake"
Remove "C:\CMake"
Download $officialurl $cachedurl $zip
-Verify-Checksum $zip "97e6cdedded7a7522f4f4a64d7545d0454b4fad5"
+Verify-Checksum $zip $sha1
Extract-7Zip $zip C:
-$defaultinstallfolder = "C:\cmake-" + $version + "-windows-i386"
+$defaultinstallfolder = "C:\" + $filename
Rename-Item $defaultinstallfolder C:\CMake
Add-Path "C:\CMake\bin"
diff --git a/coin/provisioning/common/windows/conan.ps1 b/coin/provisioning/common/windows/conan.ps1
index 17623829..22247897 100644
--- a/coin/provisioning/common/windows/conan.ps1
+++ b/coin/provisioning/common/windows/conan.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -51,8 +15,8 @@ Set-EnvironmentVariable "CONAN_V2_MODE" "1"
# This is temporary solution for installing packages provided by Conan until we have fixed Conan setup for this
-$url_conan = "\\ci-files01-hki.intra.qt.io\provisioning\windows\.conan.zip"
-$url_conan_home = "\\ci-files01-hki.intra.qt.io\provisioning\windows\.conanhome.zip"
+$url_conan = "\\ci-files01-hki.ci.qt.io\provisioning\windows\.conan.zip"
+$url_conan_home = "\\ci-files01-hki.ci.qt.io\provisioning\windows\.conanhome.zip"
$sha1_conan_compressed = "1abbe43e7a29ddd9906328702b5bc5231deeb721"
$sha1_conanhome_compressed = "f44c2ae21cb1c7dc139572e399b7b0eaf492af03"
$conan_compressed = "C:\.conan.zip"
diff --git a/coin/provisioning/common/windows/disable-autoreboot.ps1 b/coin/provisioning/common/windows/disable-autoreboot.ps1
index 47257280..d13b6b9d 100644
--- a/coin/provisioning/common/windows/disable-autoreboot.ps1
+++ b/coin/provisioning/common/windows/disable-autoreboot.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
Get-WmiObject Win32_OSRecoveryConfiguration -EnableAllPrivileges | Set-WmiInstance -Arguments @{ AutoReboot=$False }
diff --git a/coin/provisioning/common/windows/disable-defragment.ps1 b/coin/provisioning/common/windows/disable-defragment.ps1
index fd7870c2..bb449e56 100644
--- a/coin/provisioning/common/windows/disable-defragment.ps1
+++ b/coin/provisioning/common/windows/disable-defragment.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/provisioning/common/windows/disable-sleep.ps1 b/coin/provisioning/common/windows/disable-sleep.ps1
index e147c830..c6c3c814 100644
--- a/coin/provisioning/common/windows/disable-sleep.ps1
+++ b/coin/provisioning/common/windows/disable-sleep.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script prevents Windows from going to sleep
diff --git a/coin/provisioning/common/windows/disable-uac.ps1 b/coin/provisioning/common/windows/disable-uac.ps1
index b27355c6..c84b998d 100644
--- a/coin/provisioning/common/windows/disable-uac.ps1
+++ b/coin/provisioning/common/windows/disable-uac.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script disables the Windows UAC
diff --git a/coin/provisioning/common/windows/disable-windefender.ps1 b/coin/provisioning/common/windows/disable-windefender.ps1
index 89199496..ca74e95f 100644
--- a/coin/provisioning/common/windows/disable-windefender.ps1
+++ b/coin/provisioning/common/windows/disable-windefender.ps1
@@ -1,41 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/provisioning/common/windows/disable-windows-module-installer.ps1 b/coin/provisioning/common/windows/disable-windows-module-installer.ps1
index c7f85ff7..2d829b04 100644
--- a/coin/provisioning/common/windows/disable-windows-module-installer.ps1
+++ b/coin/provisioning/common/windows/disable-windows-module-installer.ps1
@@ -1,4 +1,6 @@
+. "$PSScriptRoot\helpers.ps1"
+
# Disable Windows Module Installer (Trusted Installer).
# Trusted Installe enables installation, modification, and removal of Windows updates and optional components.
# If this service is disabled, install or uninstall of Windows updates might fail for this computer.
-sc.exe config TrustedInstaller start=disabled
+Run-Executable "sc.exe" "config TrustedInstaller start=disabled"
diff --git a/coin/provisioning/common/windows/disable-windows-updates.ps1 b/coin/provisioning/common/windows/disable-windows-updates.ps1
index 8fd1b9a1..a55d5803 100644
--- a/coin/provisioning/common/windows/disable-windows-updates.ps1
+++ b/coin/provisioning/common/windows/disable-windows-updates.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/provisioning/common/windows/dxsdk.ps1 b/coin/provisioning/common/windows/dxsdk.ps1
index 35b7d8de..e4a40108 100644
--- a/coin/provisioning/common/windows/dxsdk.ps1
+++ b/coin/provisioning/common/windows/dxsdk.ps1
@@ -4,7 +4,7 @@
$package = "DXSDK_Jun10.exe"
-$cachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
+$cachedUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\$package"
$officialUrl = "https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/$package"
$sdkChecksumSha1 = "8fe98c00fde0f524760bb9021f438bd7d9304a69"
$package_path = "C:\Windows\Temp\$package"
diff --git a/coin/provisioning/common/windows/emsdk.ps1 b/coin/provisioning/common/windows/emsdk.ps1
index 0ec4e923..e1b92fd3 100644
--- a/coin/provisioning/common/windows/emsdk.ps1
+++ b/coin/provisioning/common/windows/emsdk.ps1
@@ -1,51 +1,15 @@
-############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install emscripten needed by WebAssembly
-$version = "3.1.25"
+$version = "3.1.50"
$zipVersion = $version -replace '\.', "_"
$temp = "$env:tmp"
$cacheUrl = "https://ci-files01-hki.ci.qt.io/input/emsdk/emsdk_windows_${zipVersion}.zip"
-$sha = "cd180cae757e75316d50f2edc2f99a9d2eb83d5b"
+$sha = "40dc636688166ecdb476da40d02c491ee5032f7b"
# Make sure python is in the path
Prepend-Path "C:\Python27"
diff --git a/coin/provisioning/common/windows/exceutequeueditems.ps1 b/coin/provisioning/common/windows/exceutequeueditems.ps1
index 97042b0b..0d6a7267 100644
--- a/coin/provisioning/common/windows/exceutequeueditems.ps1
+++ b/coin/provisioning/common/windows/exceutequeueditems.ps1
@@ -1,45 +1,30 @@
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
+function ngen() {
+ Param (
+ [ValidateSet("Framework","Framework64","FrameworkArm64")][string]$framework
+ )
+ Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\$framework\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
+}
-if( (is64bitWinHost) -eq 1 ) {
- Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ ngen("FrameworkArm64")
+ Break
+ }
+ x64 {
+ ngen("Framework")
+ ngen("Framework64")
+ Break
+ }
+ x86 {
+ ngen("Framework")
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
diff --git a/coin/provisioning/common/windows/fbx_windows.ps1 b/coin/provisioning/common/windows/fbx_windows.ps1
index 0daebb87..41b8768e 100644
--- a/coin/provisioning/common/windows/fbx_windows.ps1
+++ b/coin/provisioning/common/windows/fbx_windows.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -46,7 +10,7 @@ $version = "2016.1.2"
$name = "fbx20161_2_fbxsdk_vs2015_win_nospace"
$packageName = "$name.7z"
$installerName = "$name.exe"
-$cacheUrl = "\\ci-files01-hki.intra.qt.io\provisioning\fbx\$packageName"
+$cacheUrl = "\\ci-files01-hki.ci.qt.io\provisioning\fbx\$packageName"
$sha1 = "de80edc255ffd5ce86ba25869dad72b4c809fd41"
# The executable is an interactive installer only. We can't run it in a script silently.
diff --git a/coin/provisioning/common/windows/grpc.ps1 b/coin/provisioning/common/windows/grpc.ps1
index 49fe945f..7acbe896 100644
--- a/coin/provisioning/common/windows/grpc.ps1
+++ b/coin/provisioning/common/windows/grpc.ps1
@@ -20,23 +20,20 @@ function build-install-grpc {
)
$installPrefix = "C:\Utils\grpc"
$installPath = "${installPrefix}-$Postfix"
+ $envVariableName = "Protobuf_ROOT_$Postfix"
+ $protobufRoot = (Get-Item -Path "Env:$envVariableName").Value
Write-Output "Configuring and building gRPC for $CXX"
$oldCC = $env:CC
$oldCXX = $env:CXX
$env:CC = $CC
$env:CXX = $CXX
- $Protobuf_ROOT="C:\Utils\protobuf-$Postfix"
- if (!(Test-Path $Protobuf_ROOT -ErrorAction SilentlyContinue)) {
- throw "Protobuf is missing, expected at `"$Protobuf_ROOT`"."
- }
- $OPENSSL_ROOT_DIR="C:\openssl"
- if (!(Test-Path $OPENSSL_ROOT_DIR -ErrorAction SilentlyContinue)) {
- throw "OpenSSL is missing, expected at `"$OPENSSL_ROOT_DIR`"."
- }
Remove build-grpc
mkdir build-grpc
Push-Location build-grpc
$configureOptions = @(
+ # add postfix for multi-config
+ "-DCMAKE_DEBUG_POSTFIX=d"
+ "-DCMAKE_RELWITHDEBINFO_POSTFIX=rd"
# plugins
"-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF"
"-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF"
@@ -48,12 +45,11 @@ function build-install-grpc {
"-DgRPC_BUILD_CSHARP_EXT=OFF"
# general
"-DgRPC_BUILD_TESTS=OFF"
- "-DgRPC_PROTOBUF_PROVIDER=`"package`""
- "-DgRPC_SSL_PROVIDER=`"package`""
- "-DOPENSSL_ROOT_DIR=`"$OPENSSL_ROOT_DIR`""
+ "-DgRPC_PROTOBUF_PROVIDER=package"
+ "-DgRPC_SSL_PROVIDER=package"
# protobuf
"-DProtobuf_USE_STATIC_LIBS=ON"
- "-DProtobuf_ROOT=`"$Protobuf_ROOT`""
+ "-DCMAKE_PREFIX_PATH=$protobufRoot"
)
cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" $extraCMakeArgs $configureOptions
$result = $LASTEXITCODE
@@ -66,7 +62,7 @@ function build-install-grpc {
}
$env:CC = $oldCC
$env:CXX = $oldCXX
- Set-EnvironmentVariable "gRPC_ROOT_$Postfix" "$InstallPath"
+ Set-EnvironmentVariable "gRPC_ROOT_$Postfix" "$installPath"
Pop-Location
Remove build-grpc
if ($result -ne 0) {
@@ -99,7 +95,7 @@ Find-Tool -Name "ninja.exe" -Path "C:\Utils\Ninja"
$version="1.50.1"
$sha1="be1b0c3dbfbc9714824921f50dffb7cf044da5ab"
-$internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/grpc-all-$version.zip"
+$internalUrl="http://ci-files01-hki.ci.qt.io/input/automotive_suite/grpc-all-$version.zip"
$externalUrl=""
$basedir = "$env:HOMEDRIVE\$env:HOMEPATH\grpc"
@@ -111,44 +107,15 @@ Verify-Checksum $targetFile $sha1
Extract-7Zip $targetFile $basedir
Remove $targetFile
-Push-Location $basedir
-
-# Create a new top-level CMakeLists.txt file so we can set a modern policy
-# for find_package calls
-Write-Output "cmake_minimum_required(VERSION 3.5.1)`nproject(grpc LANGUAGES C CXX)`ncmake_policy(SET CMP0074 NEW)`nadd_subdirectory(grpc-$version)" | Out-File CMakeLists.txt -Encoding utf8
-
-### MinGW
-
-# Check if mingw is where we expect it to be and add it to path:
-$mingwPath = "C:\MINGW1120\mingw64\bin"
-if (!(Test-Path $mingwPath)) {
- throw "Cannot find mingw in $mingwPath, something is configured wrong"
-}
-
-$oldPath = $env:Path
-$env:Path = "$mingwPath;$env:Path"
-build-install-grpc -CC "gcc" -CXX "g++" -BuildType "Release" -Postfix "mingw"
-$env:Path = $oldPath
-
-### LLVM MinGW
-
-# $llvmMingwPath = "C:\llvm-mingw"
-# if (!(Test-Path $llvmMingwPath)) {
-# throw "Cannot find llvm-mingw in $llvmMingwPath, something is configured wrong"
-# }
-
-$oldPath = $env:Path
-$env:Path = "$llvmMingwPath\bin;$env:Path"
-# build-install-grpc -CC "clang" -CXX "clang++" -BuildType "Release" -Postfix "llvm_mingw"
-$env:Path = $oldPath
+Push-Location $targetDir
-### MSVC
+### gRPC supports only MSVC compiler
EnterVSDevShell
-build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc"
+# We pass along an extra argument to stop gRPC linking with the static runtime to match Protobuf config
+build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "msvc" -ExtraArguments @("-DgRPC_MSVC_STATIC_RUNTIME=OFF")
-$env:Path = $oldPath
Pop-Location
Remove $basedir
diff --git a/coin/provisioning/common/windows/helpers.ps1 b/coin/provisioning/common/windows/helpers.ps1
index 8dd3721a..9fbf27aa 100644
--- a/coin/provisioning/common/windows/helpers.ps1
+++ b/coin/provisioning/common/windows/helpers.ps1
@@ -196,6 +196,28 @@ function Is64BitWinHost
return [environment]::Is64BitOperatingSystem
}
+enum CpuArch {
+ x64
+ x86
+ arm64
+ unknown
+}
+
+function Get-CpuArchitecture
+{
+ # Possible values are "AMD64", "IA64", "ARM64", and "x86"
+ $arch = [System.Environment]::GetEnvironmentVariable('PROCESSOR_ARCHITECTURE', 'Machine')
+ if ($arch -eq "AMD64") {
+ return [CpuArch]::x64
+ } elseif ($arch -eq "x86") {
+ return [CpuArch]::x86
+ } elseif ($arch -eq "ARM64") {
+ return [CpuArch]::arm64
+ }
+
+ return [CpuArch]::unknown
+}
+
function IsProxyEnabled {
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyEnable
}
@@ -285,10 +307,10 @@ function GetVSPath {
}
function EnterVSDevShell {
- # Add cl to path if it is not already there.
- if (Get-Command cl.exe -ErrorAction SilentlyContinue) {
- return $true
- }
+ Param (
+ [string]$HostArch = "amd64",
+ [string]$Arch = "amd64"
+ )
$vsWere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
$vcComponent = "Microsoft.VisualStudio.Component.VC.CoreIde"
@@ -296,13 +318,28 @@ function EnterVSDevShell {
# If MSVC has an ABI break this will stop working, and yet another build must be added.
$VSPath = (& $vsWere -nologo -products * -requires $vcComponent -sort -format value -property installationPath | Select-Object -Last 1)
- Write-Host "Enter VisualStudio developer shell"
+ Write-Host "Enter VisualStudio developer shell (-host_arch=$HostArch -arch=$Arch)"
try {
Import-Module "$VSPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
- Enter-VsDevShell -VsInstallPath $VSPath -DevCmdArguments "-arch=x64 -no_logo"
+ Enter-VsDevShell -VsInstallPath $VSPath -DevCmdArguments "-host_arch=$HostArch -arch=$Arch -no_logo"
} catch {
Write-Host "Failed to enter VisualStudio DevShell"
return $false
}
return $true
}
+
+function Invoke-MtCommand {
+ param(
+ [String] $vcVarsScript,
+ [String] $arch,
+ [String] $manifest,
+ [String] $executable
+ )
+ $tempFile = [IO.Path]::GetTempFileName()
+ Add-Content -Path $tempFile -Value $manifest
+ $cmdLine = """$vcVarsScript"" $arch & mt.exe -manifest ""$tempFile"" -outputresource:""$executable"";1"
+ Write-Output Executing $cmdLine
+ & $Env:SystemRoot\system32\cmd.exe /c $cmdLine | Write-Output
+ Remove-Item $tempFile
+}
diff --git a/coin/provisioning/common/windows/install-azure-tool.ps1 b/coin/provisioning/common/windows/install-azure-tool.ps1
index 0d2e2ef9..9f82f54e 100644
--- a/coin/provisioning/common/windows/install-azure-tool.ps1
+++ b/coin/provisioning/common/windows/install-azure-tool.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Azure singtool using Dotnet SDK
diff --git a/coin/provisioning/common/windows/install-breakpad.ps1 b/coin/provisioning/common/windows/install-breakpad.ps1
index 994e8991..6bdb4b9f 100644
--- a/coin/provisioning/common/windows/install-breakpad.ps1
+++ b/coin/provisioning/common/windows/install-breakpad.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install breakpad from sources.
# for manual install.. remember to checkout correct version
@@ -56,12 +20,12 @@
$breakpad_commit_sha="b988fa74ec18de6214b18f723e48331d9a7802ae"
$breakpad_tar="breakpad_$breakpad_commit_sha.tar.gz"
-$breakpad_tar_url="http://ci-files01-hki.intra.qt.io/input/breakpad/$breakpad_tar"
+$breakpad_tar_url="http://ci-files01-hki.ci.qt.io/input/breakpad/$breakpad_tar"
$breakpad_tar_sha="a2d404d2aebc947cdac5840a9bccd65dfafae24c"
$linux_syscall_support_commit_sha1="93426bda6535943ff1525d0460aab5cc0870ccaf"
$linux_syscall_support_tar="linux-syscall-support_$linux_syscall_support_commit_sha1.tar.gz"
-$linux_syscall_support_tar_url="http://ci-files01-hki.intra.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
+$linux_syscall_support_tar_url="http://ci-files01-hki.ci.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
$linux_syscall_support_tar_sha="62565be0920f3661e138d68026b79fbbdc2a11e4"
$targetBreakpad="$env:tmp\$breakpad_tar"
diff --git a/coin/provisioning/common/windows/install-dependencywalker.ps1 b/coin/provisioning/common/windows/install-dependencywalker.ps1
index 6714ded0..abaa4d79 100644
--- a/coin/provisioning/common/windows/install-dependencywalker.ps1
+++ b/coin/provisioning/common/windows/install-dependencywalker.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -49,7 +13,7 @@ if (Is64BitWinHost) {
$arch = "_x86"
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\depends22" + $arch + ".zip"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\depends22" + $arch + ".zip"
$url_official = "http://www.dependencywalker.com/depends22" + $arch + ".zip"
$dependsPackage = "C:\Windows\Temp\depends-$version.zip"
diff --git a/coin/provisioning/common/windows/install-dotnet.ps1 b/coin/provisioning/common/windows/install-dotnet.ps1
index 7f3065de..aea40e86 100644
--- a/coin/provisioning/common/windows/install-dotnet.ps1
+++ b/coin/provisioning/common/windows/install-dotnet.ps1
@@ -1,52 +1,16 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Dotnet SDK which is required for Azure installation
$version = "2.1"
if (Is64BitWinHost) {
- $urlCache = "http://ci-files01-hki.intra.qt.io/input/windows/dotnet-sdk-2.1.809-win-x64.exe"
+ $urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-2.1.809-win-x64.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/c980b6fb-e570-4c73-b344-e4dae6573777/f844ac1a4c6ea5de7227a701786126fd/dotnet-sdk-2.1.809-win-x64.exe"
$sha1 = "343e80c2ab558a30696dbe03ad2288bf435d5cd8"
} else {
- $urlCache = "http://ci-files01-hki.intra.qt.io/input/windows/dotnet-sdk-2.1.809-win-x86.exe"
+ $urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-2.1.809-win-x86.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/cf86a2f3-f6b2-4959-8e41-cf84b0d2f294/a61e834f56abe2dc2e12599e1a60c10b/dotnet-sdk-2.1.809-win-x86.exe"
$sha1 = "b38a4e1392f17aed110508a1687f1c65b9d86161"
}
diff --git a/coin/provisioning/common/windows/install-ffmpeg.ps1 b/coin/provisioning/common/windows/install-ffmpeg.ps1
index 72c406f9..f8ad9f15 100644
--- a/coin/provisioning/common/windows/install-ffmpeg.ps1
+++ b/coin/provisioning/common/windows/install-ffmpeg.ps1
@@ -1,52 +1,16 @@
-############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install FFmpeg
$msys = "C:\Utils\msys64\usr\bin\bash"
-$version = "n6.0"
+$version = "n6.1.1"
$ffmpeg_name = "ffmpeg-" + $version;
-$sha1 = "5DDDE739FF966A7EEE810D65D7290860A52709D7"
+$sha1 = "7AECCED8A0366BE407329B4E176167534233DA12"
-$url_cached = "http://ci-files01-hki.intra.qt.io/input/ffmpeg/" + $version + ".zip"
+$url_cached = "https://ci-files01-hki.ci.qt.io/input/ffmpeg/" + $version + ".zip"
$url_public = "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/" +$version + ".zip"
$download_location = "C:\Windows\Temp\" + $ffmpeg_name + ".zip"
$unzip_location = "C:\"
@@ -61,14 +25,14 @@ Remove $download_location
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
Write-Host "FFmpeg configuration $config"
-
function InstallFfmpeg {
Param (
[string]$buildSystem,
[string]$msystem,
[string]$additionalPath,
[string]$ffmpegDirEnvVar,
- [string]$toolchain
+ [string]$toolchain,
+ [bool]$shared
)
Write-Host "Configure and compile ffmpeg for $buildSystem"
@@ -83,6 +47,7 @@ function InstallFfmpeg {
$cmd += " && mkdir -p build/$buildSystem && cd build/$buildSystem"
$cmd += " && ../../configure --prefix=installed $config"
if ($toolchain) { $cmd += " --toolchain=$toolchain" }
+ if ($shared) { $cmd += " --enable-shared --disable-static" }
$cmd += " && make install -j"
Write-Host "MSYS cmd:"
@@ -101,25 +66,46 @@ function InstallFfmpeg {
}
function InstallMingwFfmpeg {
- $mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW1120", [System.EnvironmentVariableTarget]::Machine)
- return InstallFfmpeg -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW"
+ $mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW_PATH", [System.EnvironmentVariableTarget]::Machine)
+ return InstallFfmpeg -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW" -shared $true
}
function InstallMsvcFfmpeg {
- $result = EnterVSDevShell
+ Param (
+ [bool]$isArm64
+ )
+
+ $arch = "amd64"
+ $buildSystem = "msvc"
+ $ffmpegDirEnvVar = "FFMPEG_DIR_MSVC"
+
+ $config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
+
+ if ($isArm64) {
+ $arch = "arm64"
+ $buildSystem += "-arm64"
+ $ffmpegDirEnvVar += "_ARM64"
+ $config += " --enable-cross-compile --arch=arm64 --disable-asm"
+ }
+
+ $result = EnterVSDevShell -Arch $arch
if (-Not $result) {
return $false
}
- $result = InstallFfmpeg -buildSystem "msvc" -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar "FFMPEG_DIR_MSVC"
+ $result = InstallFfmpeg -buildSystem $buildSystem -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar $ffmpegDirEnvVar -shared $true
if ($result) {
# As ffmpeg build system creates lib*.a file we have to rename them to *.lib files to be recognized by WIN32
Write-Host "Rename libraries lib*.a -> *.lib"
try {
$msvcDir = [System.Environment]::GetEnvironmentVariable("FFMPEG_DIR_MSVC", [System.EnvironmentVariableTarget]::Machine)
- Get-ChildItem "$msvcDir\lib\lib*.a" | Rename-Item -NewName { $_.Name -replace 'lib(\w+).a$', '$1.lib' }
+ Get-ChildItem "$msvcDir\lib\lib*.a" | ForEach-Object {
+ $NewName = $_.Name -replace 'lib(\w+).a$', '$1.lib'
+ $Destination = Join-Path -Path $_.Directory.FullName -ChildPath $NewName
+ Move-Item -Path $_.FullName -Destination $Destination -Force
+ }
} catch {
Write-Host "Failed to rename libraries lib*.a -> *.lib"
return $false
@@ -131,7 +117,7 @@ function InstallMsvcFfmpeg {
function InstallLlvmMingwFfmpeg {
- return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin"
+ return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin" -shared $true
}
function InstallAndroidArmv7 {
@@ -141,7 +127,7 @@ function InstallAndroidArmv7 {
$target_cpu="armv7-a"
$api_version="24"
- $ndkVersionLatest = "r25b"
+ $ndkVersionLatest = "r26b"
$ndkFolderLatest = "/c/Utils/Android/android-ndk-$ndkVersionLatest"
$toolchain="${ndkFolderLatest}/toolchains/llvm/prebuilt/windows-x86_64"
@@ -154,24 +140,30 @@ function InstallAndroidArmv7 {
$ranlib="${toolchain_bin}/llvm-ranlib.exe"
$nm="${toolchain_bin}/llvm-nm.exe"
$strip="${toolchain_bin}/llvm-strip.exe"
+ $openssl_path = [System.Environment]::GetEnvironmentVariable("OPENSSL_ANDROID_HOME_DEFAULT", [System.EnvironmentVariableTarget]::Machine)
+ $openssl_path = $openssl_path.Replace("\", "/")
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
- $config += " --disable-vulkan --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
+ $config += " --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
$config += " --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
$config += " --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
+ $config += " --extra-cflags=-I$envOPENSSL_ANDROID_HOME_DEFAULT/include --extra-ldflags=-L$env:OPENSSL_ANDROID_HOME_DEFAULT/armeabi-v7a"
+ $config += " --extra-cflags=-I${openssl_path}/include --extra-ldflags=-L${openssl_path}/armeabi-v7a"
return InstallFfmpeg -buildSystem "android-arm" -msystem "ANDROID_CLANG" -ffmpegDirEnvVar "FFMPEG_DIR_ANDROID_ARMV7"
}
$mingwRes = InstallMingwFfmpeg
-$msvcRes = InstallMsvcFfmpeg
$llvmMingwRes = InstallLlvmMingwFfmpeg
$androidArmV7Res = InstallAndroidArmv7
+$msvcRes = InstallMsvcFfmpeg -isArm64 $false
+$msvcArm64Res = InstallMsvcFfmpeg -isArm64 $true
Write-Host "Ffmpeg installation results:"
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
+Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
-exit $(if ($mingwRes -and $msvcRes -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
+exit $(if ($mingwRes -and $msvcRes -and $msvcArm64Res -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
diff --git a/coin/provisioning/common/windows/install-git.ps1 b/coin/provisioning/common/windows/install-git.ps1
index 50a7cc9a..47c2cc03 100644
--- a/coin/provisioning/common/windows/install-git.ps1
+++ b/coin/provisioning/common/windows/install-git.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# Install Git
@@ -49,7 +13,7 @@ if (Is64BitWinHost) {
$sha1 = "1bbe040254c236607ccb84e14a3f608b1a4e959a"
}
$gitPackage = "C:\Windows\Temp\Git-" + $version + $arch + ".exe"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
$url_official = "https://github.com/git-for-windows/git/releases/download/v" + $version + ".windows.1/Git-" + $version + $arch + ".exe"
Write-Host "Fetching Git $version..."
diff --git a/coin/provisioning/common/windows/install-gnuwin32.ps1 b/coin/provisioning/common/windows/install-gnuwin32.ps1
index a467b4e9..a6e300e6 100644
--- a/coin/provisioning/common/windows/install-gnuwin32.ps1
+++ b/coin/provisioning/common/windows/install-gnuwin32.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install gnuwin32
@@ -43,7 +7,7 @@
$prog = "gnuwin32"
$zipPackage = "$prog.zip"
$temp = "$env:tmp"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/$prog/$zipPackage"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/$prog/$zipPackage"
$externalUrl = "http://download.qt.io/development_releases/$prog/$zipPackage"
Download $externalUrl $internalUrl "$temp\$zipPackage"
Verify-Checksum "$temp\$zipPackage" "d7a34a385ccde2374b8a2ca3369e5b8a1452c5a5"
diff --git a/coin/provisioning/common/windows/install-jdk.ps1 b/coin/provisioning/common/windows/install-jdk.ps1
index dc3a5acd..dc19551d 100644
--- a/coin/provisioning/common/windows/install-jdk.ps1
+++ b/coin/provisioning/common/windows/install-jdk.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -45,19 +9,24 @@ if (Is64BitWinHost) {
$version = "11.0.12"
$arch = "x64"
$sha1 = "135ffd1c350509729551876232a5354070732e92"
+ $installdir = "C:\Program Files\Java\jdk-$version"
+ $url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
} else {
- $version = "8u144"
- $arch = "i586"
- $sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
+ $version = "11.0.11.9"
+ $arch = "x86-32"
+ $sha1 = "a861e994208ee85bf83a76105f6858feeb6fbb33"
+ $installdir = "C:\Program Files\AdoptOpenJDK\jdk-$version-hotspot"
+ $url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\OpenJDK11U-jdk_x86-32_windows_hotspot_11.0.11_9.msi"
}
-$installdir = "C:\Program Files\Java\jdk-$version"
-
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
# NOTE! Official URL is behind login portal. It can't be used whit this script instead it need to be fetched to $url_cache first
# java 11: https://www.oracle.com/java/technologies/downloads/#java11-windows
# java 8: $official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
-$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
+if (Is64BitWinHost) {
+ $javaPackage = "C:\Windows\Temp\jdk-$version.exe"
+} else {
+ $javaPackage = "C:\Windows\Temp\jdk-$version.msi"
+}
Write-Host "Fetching Java SE $version..."
$ProgressPreference = 'SilentlyContinue'
@@ -65,7 +34,11 @@ Write-Host "...from local cache"
Download $url_cache $url_cache $javaPackage
Verify-Checksum $javaPackage $sha1
-Run-Executable "$javaPackage" "/s SPONSORS=0"
+if (Is64BitWinHost) {
+ Run-Executable "$javaPackage" "/s SPONSORS=0"
+} else {
+ Run-Executable "msiexec" "/quiet /i $javaPackage"
+}
Remove "$javaPackage"
Write-Host "Remove Java update from startup"
diff --git a/coin/provisioning/common/windows/install-jq.ps1 b/coin/provisioning/common/windows/install-jq.ps1
new file mode 100644
index 00000000..6f5bd333
--- /dev/null
+++ b/coin/provisioning/common/windows/install-jq.ps1
@@ -0,0 +1,31 @@
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script installs jq
+
+$jqProgram = "jq"
+$jqVersion = "1.6"
+$jqExeSHA1 = "2b7ae7b902aa251b55f2fd73ad5b067d2215ce78"
+$jqInstallLocation = "C:\Utils\jq"
+$jqExe = "C:\Windows\Temp\jq.exe"
+$jqCacheURL = "\\ci-files01-hki.ci.qt.io\provisioning\jq\jq-win64-$jqVersion.exe"
+$jqOfficialURL = "https://github.com/jqlang/jq/releases/download/jq-$jqVersion/jq-win64.exe"
+
+Download "$jqOfficialURL" "$jqCacheURL" "$jqExe"
+Verify-Checksum $jqExe $jqExeSHA1
+New-Item -Path "C:\Utils" -Name "jq" -ItemType "directory" -Force
+Move-Item -Path "$jqExe" -Destination "$jqInstallLocation" -Force
+
+if(![System.IO.File]::Exists("$jqInstallLocation\jq.exe")){
+ Write-Host "Can't find $jqInstallLocation\jq.exe."
+ exit 1
+}
+
+# Add jq to Path. It is necessary to prepend it to $env:Path as well, to make
+# it available during provisioning
+Prepend-Path "$jqInstallLocation"
+$env:Path = "$jqInstallLocation;$env:Path"
+
+Write-Output "jq = $jqVersion" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/install-mcuxpresso.ps1 b/coin/provisioning/common/windows/install-mcuxpresso.ps1
index d74f4b69..b3fa2b4c 100644
--- a/coin/provisioning/common/windows/install-mcuxpresso.ps1
+++ b/coin/provisioning/common/windows/install-mcuxpresso.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -43,7 +7,7 @@
# MCUXpresso IDE provides the tools for flashing and onboard debugging
$version = "11.2.0_4120"
-$url = "http://ci-files01-hki.intra.qt.io/input/windows/MCUXpressoIDE_$version.zip"
+$url = "http://ci-files01-hki.ci.qt.io/input/windows/MCUXpressoIDE_$version.zip"
$zip = "C:\Windows\Temp\MCUXpressoIDE_$version.zip"
Download $url $url $zip
diff --git a/coin/provisioning/common/windows/install-mingw.ps1 b/coin/provisioning/common/windows/install-mingw.ps1
index 0eb37e96..d42eeaab 100644
--- a/coin/provisioning/common/windows/install-mingw.ps1
+++ b/coin/provisioning/common/windows/install-mingw.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -46,15 +10,19 @@ function InstallMinGW
[string] $sha1 = $(BadParam("SHA1 checksum of the file"))
)
- $null, $null, $arch, $version, $null, $threading, $ex_handling, $build_ver, $revision = $release.split('-')
+ if ($release -like "*11.2.0*") {
+ $null, $null, $arch, $version, $null, $threading, $ex_handling, $build_ver, $revision = $release.split('-')
+ $url_original = "https://github.com/cristianadam/mingw-builds/releases/download/v" + $version + "-" + $revision + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $build_ver + "-" + $revision + ".7z"
+ }
+ else {
+ $null, $null, $arch, $version, $null, $threading, $ex_handling, $runtime_library, $build_ver, $revision = $release.split('-')
+ $url_original = "https://github.com/niXman/mingw-builds-binaries/releases/download/" + $version + "-" + $build_ver + "-" + $revision + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $runtime_library + "-" + $build_ver + "-" + $revision + ".7z"
+ }
if ($arch -eq "x86_64") { $win_arch = "Win64" }
- $envvar = "MINGW$version"
- $envvar = $envvar -replace '["."]'
+ $envvar = "MINGW_PATH"
$targetdir = "C:\$envvar"
-
- $url_original = "https://github.com/cristianadam/mingw-builds/releases/download/v" + $version + "-" + $revision + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $build_ver + "-" + $revision + ".7z"
- $url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $release + ".7z"
+ $url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/" + $release + ".7z"
$mingwPackage = "C:\Windows\Temp\MinGW-$version.zip"
Download $url_original $url_cache $mingwPackage
Verify-Checksum $mingwPackage $sha1
diff --git a/coin/provisioning/common/windows/install-msys2.ps1 b/coin/provisioning/common/windows/install-msys2.ps1
index 825b21a1..7a79d4ab 100644
--- a/coin/provisioning/common/windows/install-msys2.ps1
+++ b/coin/provisioning/common/windows/install-msys2.ps1
@@ -1,58 +1,22 @@
-############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will installs msys2
-$version = "20220319"
+$version = "20240113"
$prog = "msys2"
$arch = "x86_64"
-$sha1 = "d3d05090c09c08a47efbffe469142b45231cbc89"
+$sha1 = "b46c08fd901da0fdba1dc30422a322766d7d03c6"
$sha1_prebuilt = "d86d45d72228f53f7ae060771bc95b6f54c703c8"
$folder = "msys64"
$package_prebuilt = $folder + "_" + $version + "_prebuilt.7z"
$package = $prog + "-base-" + $arch + "-" + $version + ".tar.xz"
-$url_cache_prebuilt = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package_prebuilt"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
+$url_cache_prebuilt = "\\ci-files01-hki.ci.qt.io\provisioning\windows\$package_prebuilt"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/$package"
$url_official = "http://repo.msys2.org/distrib/$arch/$package"
$TargetLocation = "C:\Utils"
diff --git a/coin/provisioning/common/windows/install-notepad++.ps1 b/coin/provisioning/common/windows/install-notepad++.ps1
index 175bcbb4..17e86d27 100644
--- a/coin/provisioning/common/windows/install-notepad++.ps1
+++ b/coin/provisioning/common/windows/install-notepad++.ps1
@@ -1,56 +1,37 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Notepad++
-$version = "7.3"
-if (Is64BitWinHost) {
- $arch = ".x64"
- $sha1 = "E7306DF1D6E81801FB4BE0868610DB70E979B0AA"
-} else {
- $arch = ""
- $sha1 = "d4c403675a21cc381f640b92e596bae3ef958dc6"
+$version = "8.6.5"
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = ".arm64"
+ $sha1 = "eecb8a6b6ed3cb1e467d227b8b7751283c35434e"
+ Break
+ }
+ x64 {
+ $arch = ".x64"
+ $sha1 = "a0bf3fb15015bc1fbcb819d9a9c61f4762f4a10f"
+ Break
+ }
+ x86 {
+ $arch = ""
+ $sha1 = "ba940c6b526da1ce127f43b835b4d8c9d5c4b59c"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\npp." + $version + ".Installer" + $arch + ".exe"
-$url_official = "https://notepad-plus-plus.org/repository/7.x/" + $version + "/npp." + $version + ".Installer" + $arch + ".exe"
+
+$filename_exe = "npp." + $version + ".Installer" + $arch + ".exe"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/" + $filename_exe
+$url_official = "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v" + $version + "/" + $filename_exe
$nppPackage = "C:\Windows\Temp\npp-$version.exe"
Download $url_official $url_cache $nppPackage
diff --git a/coin/provisioning/common/windows/install-openssh.ps1 b/coin/provisioning/common/windows/install-openssh.ps1
new file mode 100644
index 00000000..1f746b14
--- /dev/null
+++ b/coin/provisioning/common/windows/install-openssh.ps1
@@ -0,0 +1,48 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+# Install Openssh
+
+$version = "v9.2.2.0p1-Beta"
+
+$temp = "$env:tmp"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $zipPackage = "OpenSSH-ARM64"
+ $sha1 = "ca3e8f44a550b7ae71c8e122acd4ed905d66feb0"
+ Break
+ }
+ x64 {
+ $zipPackage = "OpenSSH-Win64"
+ $sha1 = "1397d40d789ae0911b3cc818b9dcd9321fed529b"
+ Break
+ }
+ x86 {
+ $zipPackage = "OpenSSH-Win32"
+ $sha1 = "4642C62F72C108C411E27CE282A863791B63329B"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+
+Write-Host "Fetching $zipPackage $version..."
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/openssh/" + $version + "/" + $zipPackage + ".zip"
+$url_official = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/" + $version + "/" + $zipPackage + ".zip"
+Download $url_official $url_cache "$temp\$zipPackage"
+Verify-Checksum "$temp\$zipPackage" $sha1
+
+Write-Host "Extracting the package"
+Extract-7Zip "$temp\$zipPackage" C:\"Program Files"
+
+Write-Host "Installing $zipPackage $version..."
+$path = "C:\Program Files\" + $zipPackage + "\install-sshd.ps1"
+
+# Installation done as shown at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH
+powershell.exe -ExecutionPolicy Bypass -File $path
+netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22
+net start sshd
+Set-Service sshd -StartupType Automatic
diff --git a/coin/provisioning/common/windows/install-ruby.ps1 b/coin/provisioning/common/windows/install-ruby.ps1
index 53b8c834..53c8faf5 100644
--- a/coin/provisioning/common/windows/install-ruby.ps1
+++ b/coin/provisioning/common/windows/install-ruby.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -49,7 +13,7 @@ if (Is64BitWinHost) {
$arch = "-x86"
$sha1 = "2639a481c3b5ad11f57d5523cc41ca884286089e"
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\rubyinstaller-" + $version + $arch + ".exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\rubyinstaller-" + $version + $arch + ".exe"
$url_official = "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-" + $version + "/rubyinstaller-" + $version + $arch + ".exe"
$rubyPackage = "C:\Windows\Temp\rubyinstaller-$version.exe"
diff --git a/coin/provisioning/common/windows/install-sccache.ps1 b/coin/provisioning/common/windows/install-sccache.ps1
index 57bcf140..b8f1605c 100644
--- a/coin/provisioning/common/windows/install-sccache.ps1
+++ b/coin/provisioning/common/windows/install-sccache.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install mozilla sccache
@@ -50,7 +14,7 @@ param(
$basename = "sccache-" + $version + "-" + $arch
$zipfile = $basename + ".tar.gz"
$tempfile = "C:\Windows\Temp\" + $zipfile
-$urlCache = "http://ci-files01-hki.intra.qt.io/input/sccache/" + $zipfile
+$urlCache = "http://ci-files01-hki.ci.qt.io/input/sccache/" + $zipfile
$urlOfficial = "https://github.com/mozilla/sccache/releases/download/" + $version + "/" + $zipfile
$targetFolder = "C:\Program Files\"
diff --git a/coin/provisioning/common/windows/install-sed.ps1 b/coin/provisioning/common/windows/install-sed.ps1
index d60efb18..8b9c9671 100644
--- a/coin/provisioning/common/windows/install-sed.ps1
+++ b/coin/provisioning/common/windows/install-sed.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -47,8 +11,8 @@ $sha1 = "dfd3d1dae27a24784d7ab40eb074196509fa48fe"
$dep_sha1 = "f7edbd7152d8720c95d46dd128b87b8ba48a5d6f"
$pkg = "$prog-$version-bin.zip"
$dep_pkg = "$prog-$version-dep.zip"
-$cached_url = "http://ci-files01-hki.intra.qt.io/input/windows/gnuwin32/$pkg"
-$dep_cached_url = "http://ci-files01-hki.intra.qt.io/input/windows/gnuwin32/$dep_pkg"
+$cached_url = "http://ci-files01-hki.ci.qt.io/input/windows/gnuwin32/$pkg"
+$dep_cached_url = "http://ci-files01-hki.ci.qt.io/input/windows/gnuwin32/$dep_pkg"
$install_location = "c:\Utils\$prog"
$tmp_location = "c:\users\qt\downloads"
diff --git a/coin/provisioning/common/windows/install-sevenzip.ps1 b/coin/provisioning/common/windows/install-sevenzip.ps1
index 7b130a73..47a34e2b 100644
--- a/coin/provisioning/common/windows/install-sevenzip.ps1
+++ b/coin/provisioning/common/windows/install-sevenzip.ps1
@@ -1,58 +1,36 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script installs 7-Zip
-$version = "16.04"
-$nonDottedVersion = "1604"
-
-if (Is64BitWinHost) {
- $arch = "-x64"
- $sha1 = "338A5CC5200E98EDD644FC21807FDBE59910C4D0"
-} else {
- $arch = ""
- $sha1 = "dd1cb1163c5572951c9cd27f5a8dd550b33c58a4"
+$version = "23.01"
+$nonDottedVersion = "2301"
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "-arm64"
+ $sha1 = "be65c2ea6119c04945c66b13413892f2bb03d9a7"
+ Break
+ }
+ x64 {
+ $arch = "-x64"
+ $sha1 = "7DF28D340D7084647921CC25A8C2068BB192BDBB"
+ Break
+ }
+ x86 {
+ $arch = ""
+ $sha1 = "D5D00E6EA8B8E68CE7A704FD478DC950E543C25C"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\7z" + $nonDottedVersion + $arch + ".exe"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/7z" + $nonDottedVersion + $arch + ".exe"
$url_official = "http://www.7-zip.org/a/7z" + $nonDottedVersion + $arch + ".exe"
$7zPackage = "C:\Windows\Temp\7zip-$nonDottedVersion.exe"
$7zTargetLocation = "C:\Utils\sevenzip\"
diff --git a/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1 b/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1
index 2b79ee59..4df207ce 100644
--- a/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1
+++ b/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -43,7 +7,7 @@
# Official donwload from https://www.st.com/en/development-tools/stm32cubeprog.html
$version ="2_5_0"
-$url = "http://ci-files01-hki.intra.qt.io/input/windows/STMicroelectronics_v${version}.zip"
+$url = "http://ci-files01-hki.ci.qt.io/input/windows/STMicroelectronics_v${version}.zip"
$zip = "C:\Windows\Temp\STMicroelectronics_v${version}.zip"
Download $url $url $zip
diff --git a/coin/provisioning/common/windows/install-strawberry-perl.ps1 b/coin/provisioning/common/windows/install-strawberry-perl.ps1
index 5783fdbc..94cef218 100644
--- a/coin/provisioning/common/windows/install-strawberry-perl.ps1
+++ b/coin/provisioning/common/windows/install-strawberry-perl.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -50,7 +14,7 @@ if (Is64BitWinHost) {
$sha1 = "6ad89c6358a174c048f113bfd274d2d0378d60aa"
}
$installer_name = "strawberry-perl-" + $version + $arch + ".msi"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $installer_name
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\" + $installer_name
$url_official = "http://strawberryperl.com/download/" + $version + "/" + $installer_name
$strawberryPackage = "C:\Windows\Temp\" + $installer_name
diff --git a/coin/provisioning/common/windows/install-vcpkg-ports-android.ps1 b/coin/provisioning/common/windows/install-vcpkg-ports-android.ps1
new file mode 100644
index 00000000..646f36cd
--- /dev/null
+++ b/coin/provisioning/common/windows/install-vcpkg-ports-android.ps1
@@ -0,0 +1,23 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+Write-Host "Installing vcpkg android ports"
+$vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
+$vcpkgRoot = "$env:VCPKG_ROOT"
+
+Set-Location -Path "$PSScriptRoot\vcpkg"
+Copy-Item "$PSScriptRoot\..\shared\vcpkg-configuration.json" -Destination "$PSScriptRoot\vcpkg"
+
+Run-Executable "$vcpkgExe" "install --triplet armeabi-v7a-android-qt --x-install-root armeabi-v7a-android-qt-tmp --debug"
+
+New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
+Copy-Item -Path "armeabi-v7a-android-qt-tmp\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
+
+$versions = jq.exe -r '.overrides[] | \"vcpkg \(.name) for android = \(.version)\"' vcpkg.json
+$versions = $versions.Replace("vcpkg", "`nvcpkg")
+Write-Output "$versions" >> ~/versions.txt
+
+Remove-Item -Path "armeabi-v7a-android-qt-tmp" -Recurse -Force
+
+Set-Location "$PSScriptRoot"
diff --git a/coin/provisioning/common/windows/install-vcpkg-ports.ps1 b/coin/provisioning/common/windows/install-vcpkg-ports.ps1
new file mode 100644
index 00000000..55eae4be
--- /dev/null
+++ b/coin/provisioning/common/windows/install-vcpkg-ports.ps1
@@ -0,0 +1,26 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+Write-Host "Installing vcpkg ports"
+$vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
+$vcpkgRoot = "$env:VCPKG_ROOT"
+
+Set-Location -Path "$PSScriptRoot\vcpkg"
+Copy-Item "$PSScriptRoot\..\shared\vcpkg-configuration.json" -Destination "$PSScriptRoot\vcpkg"
+
+Run-Executable "$vcpkgExe" "install --triplet x64-windows-qt --x-install-root x64-windows-qt-tmp --debug"
+Run-Executable "$vcpkgExe" "install --triplet arm64-windows-qt --x-install-root arm64-windows-qt-tmp --debug"
+
+New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
+Copy-Item -Path "x64-windows-qt-tmp\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
+Copy-Item -Path "arm64-windows-qt-tmp\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
+
+$versions = jq.exe -r '.overrides[] | \"vcpkg \(.name) = \(.version)\"' vcpkg.json
+$versions = $versions.Replace("vcpkg", "`nvcpkg")
+Write-Output "$versions" >> ~/versions.txt
+
+Remove-Item -Path "x64-windows-qt-tmp" -Recurse -Force
+Remove-Item -Path "arm64-windows-qt-tmp" -Recurse -Force
+
+Set-Location "$PSScriptRoot"
diff --git a/coin/provisioning/common/windows/install-vcpkg.ps1 b/coin/provisioning/common/windows/install-vcpkg.ps1
new file mode 100644
index 00000000..f5d1dad3
--- /dev/null
+++ b/coin/provisioning/common/windows/install-vcpkg.ps1
@@ -0,0 +1,58 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will install vcpkg
+
+Write-Host "Installing vcpkg"
+
+$n = Get-Content "$PSScriptRoot\..\shared\vcpkg_version.txt"
+$n = $n.Split('=')
+$vcpkgVersion = $n[1]
+$nonDottedVersion = $vcpkgVersion.Replace(".", "")
+
+# Download vcpkg
+$vcpkgRoot = "C:\Utils\vcpkg-$vcpkgVersion"
+$vcpkgRepo = Get-Content -Path "$PSScriptRoot\..\shared\vcpkg_registry_mirror.txt" | Select-Object -First 1
+
+Write-Host "Cloning the vcpkg repo"
+git.exe clone "$vcpkgRepo" "$vcpkgRoot"
+git.exe -C "$vcpkgRoot" checkout "tags/$vcpkgVersion"
+
+# Download vcpkg-tool, i.e., vcpkg.exe
+
+$n = Get-Content "$PSScriptRoot\..\shared\vcpkg_tool_release_tag.txt"
+$n = $n.Split('=')
+$vcpkgExeReleaseTag = $n[1]
+$nonDottedReleaseTag = $vcpkgExeReleaseTag.replace('-', "")
+
+$vcpkgExeOfficialUrl = "https://github.com/microsoft/vcpkg-tool/releases/download/$vcpkgExeReleaseTag/vcpkg.exe"
+$vcpkgExeCacheUrl = "\\ci-files01-hki.ci.qt.io\provisioning\vcpkg\vcpkg-$nonDottedReleaseTag-windows-x64.exe"
+$vcpkgExeSHA1 = "F74DCDE7F6F5082EF6DC31FED486FAD69BE8D442"
+$vcpkgExe = "C:\Windows\Temp\vcpkg.exe"
+
+Download "$vcpkgExeOfficialUrl" "$vcpkgExeCacheUrl" "$vcpkgExe"
+Verify-Checksum $vcpkgExe $vcpkgExeSHA1
+Move-Item "$vcpkgExe" -Destination "$vcpkgRoot" -Force
+
+if(![System.IO.File]::Exists("$vcpkgRoot\vcpkg.exe")){
+ Write-Host "Can't find $vcpkgRoot\vcpkg.exe."
+ exit 1
+}
+
+# Disable telemetry
+Set-Content -Value "" -Path "$vcpkgRoot\vcpkg.disable-metrics" -Force
+
+# Setting VCPKG_ROOT using Set-EnvironmentVariable makes the variable only
+# available during build time. In order to make it available during the
+# provisioning, we need to directly set it via $env:VCPKG_ROOT as well.
+Set-EnvironmentVariable "VCPKG_ROOT" "$vcpkgRoot"
+$env:VCPKG_ROOT = "$vcpkgRoot"
+
+# Set a source for vcpkg Binary and Asset Cache
+# The `coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1` script is
+# mounting the SMB share located in `vcpkg-server.ci.qt.io/vcpkg` to drive V:\
+$env:VCPKG_BINARY_SOURCES = "files,V:/binaries,readwrite"
+$env:X_VCPKG_ASSET_SOURCES = "x-azurl,file:///V:/assets,,readwrite"
+
+Write-Output "vcpkg = $vcpkgVersion" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/install_telegraf.ps1 b/coin/provisioning/common/windows/install_telegraf.ps1
index 16f76cb9..3090a25e 100644
--- a/coin/provisioning/common/windows/install_telegraf.ps1
+++ b/coin/provisioning/common/windows/install_telegraf.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\..\common\windows\helpers.ps1"
@@ -43,28 +7,53 @@
# Install a specific version of Telegraf
# https://github.com/influxdata/telegraf/releases
-$version = "1.12.6"
-
-if (Is64BitWinHost) {
- $arch = "amd64"
- $sha256 = "5d025d85070e8c180c443580afa8a27421a7bbcf14b5044894e9f3298d0ce97a"
-} else {
- $arch = "i386"
- $sha256 = "5178a0bdaab448c2ef965b0e36f835849cea731ccd87c4a4527f0f05fbbdf271"
+$version = "1.12.6" # TODO: ARM is not supported in this version
+$has_telegraf_ver = $false
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $sha256 = "5925642aad9a35886b172050203287cf33078313f543021781885ed94d9cbcff"
+ $version = "1.29.4" # TODO: ARM needs this, update this to all
+ $has_telegraf_ver = $true
+ Break
+ }
+ x64 {
+ $arch = "amd64"
+ $sha256 = "5d025d85070e8c180c443580afa8a27421a7bbcf14b5044894e9f3298d0ce97a"
+ Break
+ }
+ x86 {
+ $arch = "i386"
+ $sha256 = "5178a0bdaab448c2ef965b0e36f835849cea731ccd87c4a4527f0f05fbbdf271"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$filename = "telegraf-" + $version + "_windows_" + $arch + ".zip"
+$telegraf_ver = "telegraf-" + $version
+$filename_zip = $telegraf_ver + "_windows_" + $arch + ".zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/telegraf/" + $filename
-$url_official = "https://dl.influxdata.com/telegraf/releases/" + $filename
-$tempfile = "C:\Windows\Temp\" + $filename
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/telegraf/" + $filename_zip
+$url_official = "https://dl.influxdata.com/telegraf/releases/" + $filename_zip
+$tempfile = "C:\Windows\Temp\" + $filename_zip
Write-Host "Fetching Telegraf $version..."
Download $url_official $url_cache $tempfile
Verify-Checksum $tempfile $sha256 sha256
Write-Host "Installing telegraf.exe under C:\Utils\telegraf"
-Extract-7Zip $tempfile C:\Utils "telegraf"
+
+if ($has_telegraf_ver -eq $true) {
+ Extract-7Zip $tempfile C:\Utils
+ Rename-Item "C:\Utils\$telegraf_ver" "C:\Utils\telegraf"
+} else {
+ Extract-7Zip $tempfile C:\Utils "telegraf"
+}
+
Copy-Item "$PSScriptRoot\..\..\common\windows\telegraf-coin.conf" C:\telegraf-coin.conf
. "$PSScriptRoot\telegraf_password.ps1"
diff --git a/coin/provisioning/common/windows/jom.ps1 b/coin/provisioning/common/windows/jom.ps1
index 7cb60229..77216b85 100644
--- a/coin/provisioning/common/windows/jom.ps1
+++ b/coin/provisioning/common/windows/jom.ps1
@@ -3,7 +3,7 @@
$version = "1_1_2"
$zip = Get-DownloadLocation "jom_$version.zip"
-Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.intra.qt.io/input/windows/jom_$version.zip $zip
+Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.ci.qt.io/input/windows/jom_$version.zip $zip
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
Extract-7Zip $zip C:\Utils\Jom
diff --git a/coin/provisioning/common/windows/libclang-v100-dyn.ps1 b/coin/provisioning/common/windows/libclang-v100-dyn.ps1
index 2b0caa18..3bb19670 100644
--- a/coin/provisioning/common/windows/libclang-v100-dyn.ps1
+++ b/coin/provisioning/common/windows/libclang-v100-dyn.ps1
@@ -26,7 +26,7 @@ function install() {
$zip = "c:\users\qt\downloads\libclang-dyn.7z"
$script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
- $script:CachedUrl = "http://ci-files01-hki.intra.qt.io/input/libclang/dynamic/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
+ $script:CachedUrl = "http://ci-files01-hki.ci.qt.io/input/libclang/dynamic/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
Download $OfficialUrl $CachedUrl $zip
Verify-Checksum $zip $sha1
diff --git a/coin/provisioning/common/windows/libclang.ps1 b/coin/provisioning/common/windows/libclang.ps1
index 3a343614..57f42057 100644
--- a/coin/provisioning/common/windows/libclang.ps1
+++ b/coin/provisioning/common/windows/libclang.ps1
@@ -25,7 +25,7 @@ function install() {
$zip = "c:\users\qt\downloads\libclang.7z"
$script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
- $script:CachedUrl = "http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
+ $script:CachedUrl = "http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
Download $OfficialUrl $CachedUrl $zip
Verify-Checksum $zip $sha1
@@ -62,9 +62,3 @@ if ( $setDefault ) {
Set-EnvironmentVariable "LLVM_INSTALL_DIR" ($baseDestination + "-$archVer")
}
Set-EnvironmentVariable ("LLVM_INSTALL_DIR_${toolchainSuffix}") ($baseDestination + "-$archVer")
-
-if ( $libclang_version -eq "15.0.0" ) {
- # This is a hacked static build of libclang which requires special
- # handling on the qdoc side.
- Set-EnvironmentVariable "QDOC_USE_STATIC_LIBCLANG" "1"
-}
diff --git a/coin/provisioning/common/windows/libusb.ps1 b/coin/provisioning/common/windows/libusb.ps1
index 8b0342e1..d654d4bf 100644
--- a/coin/provisioning/common/windows/libusb.ps1
+++ b/coin/provisioning/common/windows/libusb.ps1
@@ -1,56 +1,20 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# libusb-1.0 is needed by qt-apps/qdb
. "$PSScriptRoot\helpers.ps1"
-$archive = Get-DownloadLocation "libusb-1.0.24.7z"
+$archive = Get-DownloadLocation "libusb-1.0.26.7z"
$libusb_location = "C:\Utils\libusb-1.0"
-Copy-Item \\ci-files01-hki.intra.qt.io\provisioning\libusb-1.0\libusb-1.0.24.7z $archive
-Verify-Checksum $archive "1ACAAD5C8F5190A10958867101A5FEEF1FFA1CD8"
+Copy-Item \\ci-files01-hki.ci.qt.io\provisioning\libusb-1.0\libusb-1.0.26.7z $archive
+Verify-Checksum $archive "89b50c7d6085350ed809a12b19131ff4f608b2f2"
Extract-7Zip $archive $libusb_location
# Tell qt-apps/qdb build system where to find libusb
Set-EnvironmentVariable "LIBUSB_PATH" $libusb_location
-Write-Output "libusb = libusb-1.0.24" >> ~/versions.txt
+Write-Output "libusb = libusb-1.0.26" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/longpath.ps1 b/coin/provisioning/common/windows/longpath.ps1
new file mode 100644
index 00000000..31666ef4
--- /dev/null
+++ b/coin/provisioning/common/windows/longpath.ps1
@@ -0,0 +1,2 @@
+New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
+
diff --git a/coin/provisioning/common/windows/mesa_llvmpipe.ps1 b/coin/provisioning/common/windows/mesa_llvmpipe.ps1
index bea4d2c2..cae1dab8 100644
--- a/coin/provisioning/common/windows/mesa_llvmpipe.ps1
+++ b/coin/provisioning/common/windows/mesa_llvmpipe.ps1
@@ -1,50 +1,14 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
$version = "11_2_2"
$package = "C:\Windows\temp\opengl32sw.7z"
$mesaOpenglSha1_64 = "58f948746696b17a594b2f542e87b0e831b28dc3"
-$mesaOpenglUrl_64_cache = "http://ci-files01-hki.intra.qt.io/input/windows/opengl32sw-64-mesa_$version-signed_sha256.7z"
+$mesaOpenglUrl_64_cache = "http://ci-files01-hki.ci.qt.io/input/windows/opengl32sw-64-mesa_$version-signed_sha256.7z"
$mesaOpenglUrl_64_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64-mesa_$version-signed_sha256.7z"
$mesaOpenglSha1_32 = "974f468acaa0018d46607e2100f1214fecd35bd4"
-$mesaOpenglUrl_32_cache = "http://ci-files01-hki.intra.qt.io/input/windows/opengl32sw-32-mesa_$version-signed_sha256.7z"
+$mesaOpenglUrl_32_cache = "http://ci-files01-hki.ci.qt.io/input/windows/opengl32sw-32-mesa_$version-signed_sha256.7z"
$mesaOpenglUrl_32_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version-signed_sha256.7z"
function Extract-Mesa
diff --git a/coin/provisioning/common/windows/mimersql.ps1 b/coin/provisioning/common/windows/mimersql.ps1
index 66d4510e..b5e041d0 100644
--- a/coin/provisioning/common/windows/mimersql.ps1
+++ b/coin/provisioning/common/windows/mimersql.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -44,20 +8,24 @@
$version = "1107b"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\MimerSqlX64Windows" + $version + ".exe"
-$url_official = "https://download.mimer.com/pub/dist/windows/MimerSqlX64Windows" + $version + ".exe"
-$mimersqlPackage = "C:\Windows\Temp\MimerSqlX64Windows" + $version + ".exe"
-$sha1 = "e27bb6bdbd5cbd895a64b70051e3e5346f738957"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/MimerSQLInstaller_x64_" + $version + ".exe"
+$url_official = "https://install.mimer.com/qt/windows_" + $version + "/MimerSQLInstaller_x64.exe"
+$mimersqlPackage = "C:\Windows\Temp\MimerSQLInstaller_x64_" + $version + ".exe"
+$sha1 = "A709A06EA1D897B13FA10DBDD4BE3BD0FEB04B28"
+$mimer_dir="c:\MimerSQL"
+
Download $url_official $url_cache $mimersqlPackage
Verify-Checksum $mimersqlPackage $sha1
-Run-Executable "$mimersqlPackage" "/install /passive"
+Run-Executable "$mimersqlPackage" "/install InstallFolder=$mimer_dir /passive"
+
+Set-EnvironmentVariable "MIMERSQL_DEV_ROOT" "$mimer_dir\dev"
Write-Host "Cleaning $mimersqlPackage.."
-Remove "$mimersqlPackage"
-Remove "C:\Program Files\Mimer SQL Experience 11.0\dev\include\odbcinst.h"
-Remove "C:\Program Files\Mimer SQL Experience 11.0\dev\include\Sql.h"
-Remove "C:\Program Files\Mimer SQL Experience 11.0\dev\include\sqlext.h"
-Remove "C:\Program Files\Mimer SQL Experience 11.0\dev\include\sqltypes.h"
-Remove "C:\Program Files\Mimer SQL Experience 11.0\dev\include\sqlucode.h"
+#Remove "$mimersqlPackage"
+Remove "$mimer_dir\dev\include\odbcinst.h"
+Remove "$mimer_dir\dev\include\Sql.h"
+Remove "$mimer_dir\dev\include\sqlext.h"
+Remove "$mimer_dir\dev\include\sqltypes.h"
+Remove "$mimer_dir\dev\include\sqlucode.h"
Write-Output "Mimer SQL = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1 b/coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..25a7536c
--- /dev/null
+++ b/coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1
@@ -0,0 +1,20 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+$credentialsFile = "$env:USERPROFILE\vcpkg_samba_credentials"
+
+# Extract username and password from the credentials
+$username = "vcpkg"
+$securePassword = Get-Content -Path "$credentialsFile" -TotalCount 1 | ConvertTo-SecureString -AsPlainText -Force
+
+# Create a PSCredential object
+$credential = New-Object PSCredential -ArgumentList $username, $securePassword
+
+# Mount the SMB share
+# Check if the mount was successful
+if (New-PSDrive -Persist -Scope Global -Name V -PSProvider FileSystem -Root \\vcpkg-server.ci.qt.io\vcpkg -Credential $credential)
+{
+ Write-Host "SMB share mounted successfully!"
+} else {
+ Write-Host "Failed to mount SMB share."
+}
diff --git a/coin/provisioning/common/windows/mqtt_broker.ps1 b/coin/provisioning/common/windows/mqtt_broker.ps1
index 1853eeb9..4161ddea 100644
--- a/coin/provisioning/common/windows/mqtt_broker.ps1
+++ b/coin/provisioning/common/windows/mqtt_broker.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -44,7 +8,7 @@ $zip = Get-DownloadLocation "pahotest.zip"
$commitSHA = "20bad2475c27a6e1d24a56d90a9fceb40963261e"
$sha1 = "a0ac88715c2aebb9573a113dc13925a90da19233"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
$externalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/$commitSHA.zip"
Download $externalUrl $internalUrl $zip
diff --git a/coin/provisioning/common/windows/msvc-2013-update5.ps1 b/coin/provisioning/common/windows/msvc-2013-update5.ps1
index 52aba390..c75ca030 100644
--- a/coin/provisioning/common/windows/msvc-2013-update5.ps1
+++ b/coin/provisioning/common/windows/msvc-2013-update5.ps1
@@ -1,48 +1,12 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# Install Visual Studio 2013 update 5
$version = "2013 Update 5 (KB2829760)"
$package = "C:\Windows\Temp\vs12-kb2829760.exe"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VS2013.5.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VS2013.5.exe"
Write-Host "Fetching patch for Visual Studio $version..."
Copy-Item $url_cache $package
diff --git a/coin/provisioning/common/windows/msys.ps1 b/coin/provisioning/common/windows/msys.ps1
index 58aa060b..a7414788 100644
--- a/coin/provisioning/common/windows/msys.ps1
+++ b/coin/provisioning/common/windows/msys.ps1
@@ -3,7 +3,7 @@
# This script will install msys which is needed for configuring openssl for Android
$version = "1.0.11"
-$url = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msys-$version.7z"
+$url = "\\ci-files01-hki.ci.qt.io\provisioning\windows\msys-$version.7z"
$zip = Get-DownloadLocation ("msys-$version.7z")
$sha1 = "22cd76f1263db8c72727a9537228c481ff33c285"
diff --git a/coin/provisioning/common/windows/mysql.ps1 b/coin/provisioning/common/windows/mysql.ps1
index 9135a4e9..10a8b633 100644
--- a/coin/provisioning/common/windows/mysql.ps1
+++ b/coin/provisioning/common/windows/mysql.ps1
@@ -1,57 +1,17 @@
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script installs MySQL $version.
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
-$version = "6.1.11"
+$version = "8.0.36"
$installFolder = "C:\Utils"
-$officialUrl = "https://downloads.mysql.com/archives/get/p/19/file/mysql-connector-c-${version}-winx64.zip"
-$officialUrlDebug = "https://downloads.mysql.com/archives/get/p/19/file/mysql-connector-${version}-winx64-debug.zip"
-$cacheURl = "http://ci-files01-hki.ci.qt.io/input/windows/mysql-connector-c-${version}-winx64.zip"
-$cacheURlDebug = "http://ci-files01-hki.ci.qt.io/input/windows/mysql-connector-c-${version}-winx64-debug.zip"
-$sha = "93e22a1ba3944a6c8e01d3ea04c1bfb005b238f9"
-$shaDebug = "d54088a9182e2f03b4d6f44c327e341eeab16367"
-$zip = Get-DownloadLocation ("mysql-connector-c-" + $version + "-winx64.zip")
-$zipDebug = Get-DownloadLocation ("mysql-connector-c-" + $version + "-winx64-debug.zip")
+$officialUrl = "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-${version}-winx64.zip"
+$cacheURl = "http://ci-files01-hki.ci.qt.io/input/windows/mysql-${version}-winx64.zip"
+$sha = "e5003569386006ccde9000c98e28e28073c1433d"
+$zip = Get-DownloadLocation ("mysql-" + $version + "-winx64.zip")
function Install {
param(
@@ -68,11 +28,10 @@ function Install {
}
Install $officialUrl $cacheURl $zip $sha
-Install $officialUrlDebug $cacheURlDebug $zipDebug $shaDebug
# Can't set MySQL_ROOT & MySQL_LIBRARY_DIR variables. Those will enable mysql in every windows target.
# Let's use ENV_MySQL_* and use it in platform_configs
-Set-EnvironmentVariable "ENV_MySQL_ROOT" "${installFolder}\mysql-connector-c-${version}-winx64"
-Set-EnvironmentVariable "ENV_MySQL_LIBRARY_DIR" "${installFolder}\mysql-connector-c-${version}-winx64\lib\vs14"
+Set-EnvironmentVariable "ENV_MySQL_ROOT" "${installFolder}\mysql-${version}-winx64"
+Set-EnvironmentVariable "ENV_MySQL_LIBRARY_DIR" "${installFolder}\mysql-${version}-winx64\lib"
Write-Output "MySQL = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/ninja.ps1 b/coin/provisioning/common/windows/ninja.ps1
index e1a29412..956e7835 100644
--- a/coin/provisioning/common/windows/ninja.ps1
+++ b/coin/provisioning/common/windows/ninja.ps1
@@ -1,13 +1,63 @@
. "$PSScriptRoot\helpers.ps1"
-$zip = Get-DownloadLocation "ninja-1.10.2-win-x86.zip"
-
-Download http://master.qt.io/development_releases/prebuilt/ninja/v1.10.2/ninja-win-x86.zip \\ci-files01-hki.intra.qt.io\provisioning\ninja\ninja-1.10.2-win-really-x86.zip $zip
-Verify-Checksum $zip "1a22ee9269df8ed69c4600d7ee4ccd8841bb99ca"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $version = "1.12.0"
+ $longPathFixed = $true # fixed https://github.com/ninja-build/ninja/pull/2225 in 1.12.0
+ $zip = Get-DownloadLocation "ninja-$version-win-$arch.zip"
+ $internalUrl = "https://ci-files01-hki.ci.qt.io/input/ninja/v$version/ninja-win$arch.zip"
+ $externalUrl = "https://github.com/ninja-build/ninja/releases/download/v$version/ninja-win$arch.zip"
+ $sha1 = "51bf1bac149ae1e3d1572fa9fa87d6431dbddc8b"
+ Break
+ }
+ x64 {
+ $arch = "amd64"
+ $version = "1.10.2"
+ $longPathFixed = $false
+ $zip = Get-DownloadLocation "ninja-$version-win-x86.zip"
+ # TODO: Fix this QTQAINFRA-6296
+ $internalUrl = "http://master.qt.io/development_releases/prebuilt/ninja/v$version/ninja-win-x86.zip"
+ $externalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\ninja\ninja-$version-win-really-x86.zip"
+ $sha1 = "1a22ee9269df8ed69c4600d7ee4ccd8841bb99ca"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+Download $internalUrl $externalUrl $zip
+Verify-Checksum $zip $sha1
Extract-7Zip $zip C:\Utils\Ninja
Remove "$zip"
Add-Path "C:\Utils\Ninja"
-Write-Output "Ninja = 1.10.2" >> ~/versions.txt
+Write-Output "Ninja ($arch) = $version" >> ~/versions.txt
+
+if ( -Not $longPathFixed ) {
+
+$manifest = @"
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
+ <application>
+ <windowsSettings>
+ <activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
+ </windowsSettings>
+ </application>
+</assembly>
+"@
+
+
+$vs2019 = [System.IO.File]::Exists("C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat")
+
+if($vs2019) {
+Invoke-MtCommand "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64 $manifest "C:\Utils\Ninja\ninja.exe"
+} else {
+Invoke-MtCommand "C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64 $manifest "C:\Utils\Ninja\ninja.exe"
+}
+
+}
diff --git a/coin/provisioning/common/windows/nodejs.ps1 b/coin/provisioning/common/windows/nodejs.ps1
index f1b2ff61..3dc6ffe5 100644
--- a/coin/provisioning/common/windows/nodejs.ps1
+++ b/coin/provisioning/common/windows/nodejs.ps1
@@ -1,65 +1,44 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Node.js
# Needed by QtWebengine
-$version = "12.18.0"
-if (Is64BitWinHost) {
- $arch = "x64"
- $sha1 = "457b1527d249ee471a9445953a906cb10c75378d"
-} else {
- $arch = "x86"
- $sha1 = "58801900f5bddca9c00feed6b84fed729426fc92"
+$version = "20.7.0"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $sha256 = "ab4b990c2c1d4a55d565813e7a2f71669dc4d1005faa47185d30bde4416975ab"
+ $version = "20.12.2" # TODO: ARM starts with newer, LTS
+ Break
+ }
+ x64 {
+ $arch = "x64"
+ $sha256 = "b3e5cbf8e247c75f9ddd235d49cfe40f25dde65bdd0eec4cefbca2805d80376b"
+ Break
+ }
+ x86 {
+ $arch = "x86"
+ $sha256 = "d6a3c63a5ae71374c144a33c418ab96be497b08df0e9f51861a78127db03aeb5"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$package = "C:\Windows\temp\nodejs-$version.zip"
+$package = "C:\Windows\temp\nodejs-$version.7z"
$targetFolder = "C:\Utils"
$installFolder = "C:\Utils\node-v$version-win-$arch"
-$externalUrl = "https://nodejs.org/dist/v$version/node-v$version-win-$arch.zip"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/node-v$version-win-$arch.zip"
+$externalUrl = "https://nodejs.org/dist/v$version/node-v$version-win-$arch.7z"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/node-v$version-win-$arch.7z"
Write-Host "Installing Node.js"
Download $externalUrl $internalUrl $package
-Verify-Checksum $package $sha1
+Verify-Checksum $package $sha256 "sha256"
Extract-7Zip $package $targetFolder
Add-Path $installFolder
Remove $package
diff --git a/coin/provisioning/common/windows/opcua_unifiedautomation.ps1 b/coin/provisioning/common/windows/opcua_unifiedautomation.ps1
index ee6b8c0d..4542b34c 100644
--- a/coin/provisioning/common/windows/opcua_unifiedautomation.ps1
+++ b/coin/provisioning/common/windows/opcua_unifiedautomation.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -50,7 +14,7 @@ function DownloadAndInstallUA
$zip = Get-DownloadLocation "uasdkcpp.zip"
Write-Host "UACPPSDK: Downloading Unified Automation CPP installer..."
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/opcua_uacpp/$InstallerFileName.zip"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/opcua_uacpp/$InstallerFileName.zip"
# No public download link exists
$externalUrl = $internalUrl
diff --git a/coin/provisioning/common/windows/openssl-arm64.ps1 b/coin/provisioning/common/windows/openssl-arm64.ps1
index 1fd3a839..16627039 100644
--- a/coin/provisioning/common/windows/openssl-arm64.ps1
+++ b/coin/provisioning/common/windows/openssl-arm64.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -46,7 +10,7 @@
# From Visual studio 'C++ Universal Windows Platform support for v142 build tools (ARM64)' and 'Windows Universal C Runtime' were installed
# cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build
# call vcvarsamd64_arm64
-# curl -o C:\Utils\openssl-3.0.7.zip http://ci-files01-hki.intra.qt.io/input/openssl/openssl-3.0.7.zip
+# curl -o C:\Utils\openssl-3.0.7.zip http://ci-files01-hki.ci.qt.io/input/openssl/openssl-3.0.7.zip
# cd C:\Utils
# C:\Utils\sevenzip\7z.exe x C:\Utils\openssl-3.0.7.zip
# cd C:\Utils\openssl-3.0.7
@@ -60,7 +24,7 @@
#################################################################################################################################################
$version = "3_0_7"
-$url = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-$version-arm64.zip"
+$url = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\openssl-$version-arm64.zip"
$sha1 = "19be15069d981b4a96f5715f039df7aaa7456d52"
$installFolder = "C:\openssl_arm64"
$zip_package = "C:\Windows\Temp\$version.zip"
@@ -71,10 +35,29 @@ Verify-Checksum $zip_package $sha1
Extract-7Zip $zip_package C:\
Remove $zip_package
-Set-EnvironmentVariable "OPENSSL_ROOT_DIR_x64_arm64" "$installFolder"
-Set-EnvironmentVariable "OPENSSL_CONF_x64_arm64" "$installFolder\bin\openssl.cfg"
-Set-EnvironmentVariable "OPENSSL_INCLUDE_x64_arm64" "$installFolder\include"
-Set-EnvironmentVariable "OPENSSL_LIB_x64_arm64" "$installFolder\lib"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ # For native arm64
+ Set-EnvironmentVariable "OPENSSL_ROOT_DIR_arm64" "$installFolder"
+ Set-EnvironmentVariable "OPENSSL_CONF_arm64" "$installFolder\bin\openssl.cfg"
+ Set-EnvironmentVariable "OPENSSL_INCLUDE_arm64" "$installFolder\include"
+ Set-EnvironmentVariable "OPENSSL_LIB_arm64" "$installFolder\lib"
+ Break
+ }
+ x64 {
+ # For cross-compiling x64_arm64
+ Set-EnvironmentVariable "OPENSSL_ROOT_DIR_x64_arm64" "$installFolder"
+ Set-EnvironmentVariable "OPENSSL_CONF_x64_arm64" "$installFolder\bin\openssl.cfg"
+ Set-EnvironmentVariable "OPENSSL_INCLUDE_x64_arm64" "$installFolder\include"
+ Set-EnvironmentVariable "OPENSSL_LIB_x64_arm64" "$installFolder\lib"
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+
+Prepend-Path "$installFolder\bin"
# Store version information to ~/versions.txt, which is used to print version information to provision log.
Write-Output "OpenSSL ARM= $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/openssl.ps1 b/coin/provisioning/common/windows/openssl.ps1
index fa763228..8f59f9d2 100644
--- a/coin/provisioning/common/windows/openssl.ps1
+++ b/coin/provisioning/common/windows/openssl.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -52,7 +16,7 @@ if (Is64BitWinHost) {
$architecture = "x64"
$installFolder = "C:\openssl"
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
- $internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
+ $internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
$sha1 = "2fb73f233bc565939312782b8157bebc26a5e17b"
Write-Host "Fetching from URL ..."
@@ -80,7 +44,7 @@ if (Is64BitWinHost) {
}
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
+$internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
$sha1 = "ddead693fa279ad6b1baf123b3af51a9ef289dc1"
Write-Host "Fetching from URL ..."
diff --git a/coin/provisioning/common/windows/postgresql.ps1 b/coin/provisioning/common/windows/postgresql.ps1
index 11fea057..3bb99d47 100644
--- a/coin/provisioning/common/windows/postgresql.ps1
+++ b/coin/provisioning/common/windows/postgresql.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -51,7 +15,7 @@ if (Is64BitWinHost) {
$architecture = "x64"
$installFolder = "C:\Utils\postgresql"
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip"
- $internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
+ $internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
$sha1 = "5dd604f91973112209362b5abbbd1220c026f645"
Write-Host "Fetching from URL ..."
@@ -73,7 +37,7 @@ if (Is64BitWinHost) {
# Install x86 bit version
$architecture = "x86"
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
+$internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
$sha1 = "46309190e60eead99c2d39c1dd18a91f2104d000"
if (Is64BitWinHost) {
$installFolder = "C:\Utils\postgresql$architecture"
diff --git a/coin/provisioning/common/windows/protobuf.ps1 b/coin/provisioning/common/windows/protobuf.ps1
index 910be44b..c0f7b257 100644
--- a/coin/provisioning/common/windows/protobuf.ps1
+++ b/coin/provisioning/common/windows/protobuf.ps1
@@ -28,14 +28,16 @@ function build-install-protobuf {
$env:CXX = $CXX
mkdir build
Push-Location build
- cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=OFF $ExtraArguments
+ cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=OFF -DCMAKE_DEBUG_POSTFIX="d" -DCMAKE_RELWITHDEBINFO_POSTFIX="rd" $ExtraArguments
# ninja install:all # This is broken and does not work
foreach ($config in $BuildType.split(";")) {
ninja -f "build-$config.ninja" install
}
$env:CC = $oldCC
$env:CXX = $oldCXX
- Set-EnvironmentVariable "Protobuf_ROOT_$Postfix" "$InstallPath"
+ Set-EnvironmentVariable "Protobuf_ROOT_$Postfix" "$installPath"
+ # Set environment variable without "Machine" scope to be used by grpc.ps1 script
+ [Environment]::SetEnvironmentVariable("Protobuf_ROOT_$Postfix", "$installPath")
Pop-Location
Remove build
}
@@ -62,7 +64,7 @@ Find-Tool -Name "ninja.exe" -Path "C:\Utils\Ninja"
$version = "21.9"
$sha1 = "3226a0e49d048759b702ae524da79387c59f05cc"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/protobuf/protobuf-all-$version.zip"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/protobuf/protobuf-all-$version.zip"
$externalUrl = "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
$targetDir = "$env:HOMEDRIVE\$env:HOMEPATH\protobuf-$version"
@@ -80,14 +82,14 @@ Push-Location $targetDir
### MinGW
# Check if mingw is where we expect it to be and add it to path:
-$mingwPath = "C:\MINGW1120\mingw64\bin"
+$mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW_PATH", [System.EnvironmentVariableTarget]::Machine) + "\bin"
if (!(Test-Path $mingwPath)) {
throw "Cannot find mingw in $mingwPath, something is configured wrong"
}
$oldPath = $env:Path
$env:Path = "$mingwPath;$env:Path"
-build-install-protobuf -CC "gcc" -CXX "g++" -BuildType "Release" -Postfix "mingw"
+build-install-protobuf -CC "gcc" -CXX "g++" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "mingw"
$env:Path = $oldPath
### LLVM MinGW
@@ -99,7 +101,7 @@ if (!(Test-Path $llvmMingwPath)) {
$oldPath = $env:Path
$env:Path = "$llvmMingwPath\bin;$env:Path"
-build-install-protobuf -CC "clang" -CXX "clang++" -BuildType "Release" -Postfix "llvm_mingw"
+build-install-protobuf -CC "clang" -CXX "clang++" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "llvm_mingw"
$env:Path = $oldPath
### MSVC
@@ -107,7 +109,7 @@ $env:Path = $oldPath
EnterVSDevShell
# We pass along an extra argument to stop protobuf linking with the static runtime
-build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
+build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
$env:Path = $oldPath
Pop-Location
diff --git a/coin/provisioning/common/windows/python.ps1 b/coin/provisioning/common/windows/python.ps1
deleted file mode 100644
index f1c5fc6a..00000000
--- a/coin/provisioning/common/windows/python.ps1
+++ /dev/null
@@ -1,119 +0,0 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# This script installs Python $version.
-# Python is required for building Qt 5 from source.
-param(
- [Int32]$archVer=32,
- [string]$targetDir="C:\Python27"
-)
-. "$PSScriptRoot\helpers.ps1"
-
-$version = "2.7.13"
-if ( $archVer -eq 64 ) {
- $arch = ".amd64"
- $sha1 = "d9113142bae8829365c595735e1ad1f9f5e2894c"
-} else {
- $arch = ""
- $sha1 = "7e3b54236dbdbea8fe2458db501176578a4d59c0"
-}
-$package = "C:\Windows\temp\python-$version.msi"
-$externalUrl = "https://www.python.org/ftp/python/$version/python-$version" + $arch + ".msi"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\python-$version" + $arch + ".msi"
-
-Write-Host "Fetching from URL..."
-Download $externalUrl $internalUrl $package
-Verify-Checksum $package $sha1
-
-# Python installation is flaky, but seems to pass with second run if error occurs.
-$stop = $false
-[int]$retry = "0"
-do {
- try {
- # /levx = e:'All error messages' v:'Verbose' x:'Extra debugging info'
- Run-Executable "msiexec" "/passive /i $package /levx C:\Windows\Temp\Python_log.log TARGETDIR=$targetDir ALLUSERS=1"
- $stop = $true
- }
- catch {
- Get-Content C:\Windows\Temp\Python_log.log -Tail 50
- if ($retry -gt 2) {
- Write-Host "Python installation failed!"
- throw
- }
- else {
- Write-Host "Couldn't install python, retrying in 30 seconds"
- Start-Sleep -s 30
- $retry = $retry + 1
- }
- }
-}
-while ($stop -ne $true)
-
-# We need to change allowZip64 from 'False' to 'True' to be able to create ZIP files that use the ZIP64 extensions when the zipfile is larger than 2 GB
-Write-Host "Changing allowZip64 value to 'True'..."
-(Get-Content $targetDir\lib\zipfile.py) | ForEach-Object { $_ -replace "allowZip64=False", "allowZip64=True" } | Set-Content $targetDir\lib\zipfile.py
-Remove "$package"
-
-# When installing 32 bit python to 64 bit host, we want to keep only default python in path
-# For cross-compilation we export some helper env variable
-if (($archVer -eq 32) -And (Is64BitWinHost)) {
- Set-EnvironmentVariable "PYTHON2_32_PATH" "$targetDir"
- Set-EnvironmentVariable "PIP2_32_PATH" "$targetDir\Scripts"
-} else {
- Add-Path "$targetDir;$targetDir\Scripts"
-}
-
-
-Run-Executable "$targetDir\python.exe" "-m ensurepip"
-
-Write-Host "Upgrade pip to the latest version available."
-Run-Executable "$targetDir\python.exe" "-m pip install --upgrade pip"
-
-# Install python virtual env
-if (IsProxyEnabled) {
- $proxy = Get-Proxy
- Write-Host "Using proxy ($proxy) with pip"
- $pip_args = "--proxy=$proxy"
-}
-Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install virtualenv"
-
-# Install PyPDF2 for QSR documentation
-Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install PyPDF2"
-
-Write-Output "Python-$archVer = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/python3.ps1 b/coin/provisioning/common/windows/python3.ps1
index c7481f2f..46f75d7c 100644
--- a/coin/provisioning/common/windows/python3.ps1
+++ b/coin/provisioning/common/windows/python3.ps1
@@ -1,42 +1,6 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Python $version.
# Python3 is required for building some qt modules.
@@ -52,13 +16,26 @@ param(
$package = "C:\Windows\temp\python-$version.exe"
# check bit version
-if ( $archVer -eq 64 ) {
- Write-Host "Installing 64 bit Python"
- $externalUrl = "https://www.python.org/ftp/python/$version/python-$version-amd64.exe"
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/python-$version-amd64.exe"
-} else {
- $externalUrl = "https://www.python.org/ftp/python/$version/python-$version.exe"
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/python-$version.exe"
+$cpu_arch = Get-CpuArchitecture
+Write-Host "Installing $cpu_arch Python"
+switch ($cpu_arch) {
+ arm64 {
+ $externalUrl = "https://www.python.org/ftp/python/$version/python-$version-arm64.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/python-$version-arm64.exe"
+ Break
+ }
+ x64 {
+ if ($archVer -eq "64") {
+ $externalUrl = "https://www.python.org/ftp/python/$version/python-$version-amd64.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/python-$version-amd64.exe"
+ } else {
+ $externalUrl = "https://www.python.org/ftp/python/$version/python-$version.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/python-$version.exe"
+ }
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
Write-Host "Fetching from URL..."
@@ -96,19 +73,11 @@ if (IsProxyEnabled) {
Write-Host "Upgrade pip3 to the latest version available."
Run-Executable "$install_path\python.exe" "-m pip install --upgrade pip"
+Write-Host "Configure pip"
+Run-Executable "$install_path\python.exe" "-m pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache"
+Run-Executable "$install_path\python.exe" "-m pip config --user set global.extra-index-url https://pypi.org/simple/"
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel html5lib"
-# Install all needed packages in a special wheel cache directory
-$python3_wheel_dir="$install_path\python3-wheels"
-Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args wheel --wheel-dir $python3_wheel_dir -r $PSScriptRoot\..\shared\requirements.txt"
-
-Set-EnvironmentVariable "PYTHON3_WHEEL_CACHE-$version-$archVer" "$python3_wheel_dir"
-# PYTHON3_WHEEL_CACHE is already in use so we should keep it pointing to 64 bit default
-# wheel cache
-if (($setDefault) -And ($archVer -eq 64)) {
- Set-EnvironmentVariable "PYTHON3_WHEEL_CACHE" "$python3_wheel_dir"
-}
-
# Install PyPDF2 for QSR documentation
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install PyPDF2"
diff --git a/coin/provisioning/common/windows/qnx710.ps1 b/coin/provisioning/common/windows/qnx710.ps1
index e3df17a1..c720619c 100644
--- a/coin/provisioning/common/windows/qnx710.ps1
+++ b/coin/provisioning/common/windows/qnx710.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QNX 7.
@@ -64,10 +28,10 @@ $folderName = "qnx710"
$targetPath = "$targetFolder$folderName"
# QNX SDP
-$cachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\qnx\qnx710-windows-linux-20220405.tar.xz"
-$sourceFile = "http://ci-files01-hki.ci.qt.io/input/qnx/qnx710-windows-linux-20220405.tar.xz"
+$cachedUrl = "\\ci-files01-hki.ci.qt.io\provisioning\qnx\qnx710-windows-linux-20240417.tar.xz"
+$sourceFile = "http://ci-files01-hki.ci.qt.io/input/qnx/qnx710-windows-linux-20240417.tar.xz"
$targetFile = "qnx710.tar.xz"
-$sha1 = "134af2e0f75d7b7c516f824fafee265b89e51d48"
+$sha1 = "cd2d35004fb2798089e29d9e1226691426632da0"
DownloadAndExtract $sourceFile $sha1 $targetFile $targetFolder $cachedUrl
Copy-Item $aarch64le_toolchain $targetPath
diff --git a/coin/provisioning/common/windows/set-network-test-server.ps1 b/coin/provisioning/common/windows/set-network-test-server.ps1
index f314494c..938ef99a 100644
--- a/coin/provisioning/common/windows/set-network-test-server.ps1
+++ b/coin/provisioning/common/windows/set-network-test-server.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
diff --git a/coin/provisioning/common/windows/set-proxy.ps1 b/coin/provisioning/common/windows/set-proxy.ps1
index 4fcd073f..f2a89e43 100644
--- a/coin/provisioning/common/windows/set-proxy.ps1
+++ b/coin/provisioning/common/windows/set-proxy.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
$n = Get-Content "$PSScriptRoot\..\shared\http_proxy.txt"
$n = $n.Split('=')
diff --git a/coin/provisioning/common/windows/share-test-folders.ps1 b/coin/provisioning/common/windows/share-test-folders.ps1
index 34363d6d..36b02e82 100644
--- a/coin/provisioning/common/windows/share-test-folders.ps1
+++ b/coin/provisioning/common/windows/share-test-folders.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script creates and shares folders so that we can run I/O tests with
# UNC paths, without depending on an SBM server
diff --git a/coin/provisioning/common/windows/squish-coco.ps1 b/coin/provisioning/common/windows/squish-coco.ps1
index 5587fb03..160bc654 100644
--- a/coin/provisioning/common/windows/squish-coco.ps1
+++ b/coin/provisioning/common/windows/squish-coco.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Squish Coco for RTA
@@ -43,7 +7,7 @@
$coco_version="4.2.2"
-$url="http://ci-files01-hki.intra.qt.io/input/coco/SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
+$url="http://ci-files01-hki.ci.qt.io/input/coco/SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
$sha1="d6f9f3c20df086ec9a7e13a068f4446442ae5d51"
$installer="C:\Windows\Temp\SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
diff --git a/coin/provisioning/common/windows/squishInstall.ps1 b/coin/provisioning/common/windows/squishInstall.ps1
index fcaf2249..ec4d240a 100644
--- a/coin/provisioning/common/windows/squishInstall.ps1
+++ b/coin/provisioning/common/windows/squishInstall.ps1
@@ -1,53 +1,19 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will pre-installed squish package for Windows.
# Squish is need by Release Test Automation (RTA)
-$version = "7.0.1"
-$qtBranch = "63x"
+$version = "7.2.1"
+$qtBranch = "66x"
$targetDir = "C:\Utils\squish"
$squishPackage = "C:\Utils\rta_squish"
-$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\jenkins_build\stable"
-$licenseUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin\$qtBranch"
+$squishUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\jenkins_build\stable"
+$licenseBranch="squish_license"
+$licenseUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\coin\$licenseBranch"
+$testSuiteUrl="\\ci-files01-hki.ci.qt.io\provisioning\squish\coin\suite_test_squish"
# Squish license
$licensePackage = ".squish-license"
@@ -67,7 +33,7 @@ if (($OSVersion -eq "Windows 10 Enterprise") -or ($OSVersion -eq "Windows 10 Pro
# In Windows 11 case $OSVersion is 'Windows 10 Pro'
$winVersion = "win10"
if (Is64BitWinHost) {
- $sha1 = "9c1554ba55f3d4927f89d0d939a52988272d5494"
+ $sha1 = "eed4ed4936fbbacb11e0d8a00ff190e1ea808eeb"
}
} else {
$winVersion = "n/a"
@@ -75,11 +41,12 @@ if (($OSVersion -eq "Windows 10 Enterprise") -or ($OSVersion -eq "Windows 10 Pro
$squishArchive = "prebuild-squish-$version-$qtBranch-$winVersion-$arch.zip"
Copy-Item "$squishUrl\$squishArchive" "C:\Utils"
+Copy-Item -Recurse "$testSuiteUrl" "C:\Utils"
Verify-Checksum "C:\Utils\$squishArchive" $sha1
Extract-7Zip "C:\Utils\$squishArchive" "C:\Utils"
-Rename-Item "$squishPackage" "$targetDir"
+
Remove-Item "C:\Utils\prebuild*"
Write-Host "Verifying Squish Installation for following targets:"
get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { $_.FullName }
-get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { if (cmd /c $_.FullName --testsuite "$targetDir\suite_test_squish" |Select-String -Pattern "Squish test run successfully") { Write-Host "Squish tested successfully"} else { [Environment]::Exit(1) } }
+get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { if (cmd /c $_.FullName --testsuite "C:\Utils\suite_test_squish" |Select-String -Pattern "Squish test run successfully") { Write-Host "Squish tested successfully"} else { [Environment]::Exit(1) } }
diff --git a/coin/provisioning/common/windows/telegraf_password.ps1 b/coin/provisioning/common/windows/telegraf_password.ps1
index 6d46da0f..36a4f523 100644
--- a/coin/provisioning/common/windows/telegraf_password.ps1
+++ b/coin/provisioning/common/windows/telegraf_password.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
diff --git a/coin/provisioning/common/windows/unset-proxy.ps1 b/coin/provisioning/common/windows/unset-proxy.ps1
index 22352efc..fa9e74d1 100644
--- a/coin/provisioning/common/windows/unset-proxy.ps1
+++ b/coin/provisioning/common/windows/unset-proxy.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
Write-Host "Disabling proxy"
# A bit-mask is needed to disable "Automatically detect settings" from LAN
diff --git a/coin/provisioning/common/windows/update-msvc2019.ps1 b/coin/provisioning/common/windows/update-msvc2019.ps1
index 3ab94582..30f96594 100644
--- a/coin/provisioning/common/windows/update-msvc2019.ps1
+++ b/coin/provisioning/common/windows/update-msvc2019.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -46,10 +10,10 @@
# NOTE! Currenlty Buildtools are not updated. There seems to be an issue with installer. When it's run twice it get stuck and can't be run again.
$version = "16.11.10"
-$urlCache_vsInstaller = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msvc\vs2019_Professional_$version.exe"
+$urlCache_vsInstaller = "\\ci-files01-hki.ci.qt.io\provisioning\windows\msvc\vs2019_Professional_$version.exe"
$urlOfficial_vsInstaller = "https://download.visualstudio.microsoft.com/download/pr/791f3d28-7e20-45d9-9373-5dcfbdd1f6db/cd440cf67c0cf1519131d1d51a396e44c5b4f7b68b541c9f35c05a310d692f0a/vs_Professional.exe"
$sha1_vsInstaller = "d4f3b3b7dc28dcc3f25474cd1ca1e39fca7dcf3f"
-$urlCache_buildToolsInstaller = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msvc\vs2019_BuildTools_$version.exe"
+$urlCache_buildToolsInstaller = "\\ci-files01-hki.ci.qt.io\provisioning\windows\msvc\vs2019_BuildTools_$version.exe"
# $urlOfficial_buildToolsInstaller = "https://download.visualstudio.microsoft.com/download/pr/791f3d28-7e20-45d9-9373-5dcfbdd1f6db/d5eabc3f4472d5ab18662648c8b6a08ea0553699819b88f89d84ec42d12f6ad7/vs_BuildTools.exe"
# $sha1_buildToolsInstaller = "69889f45d229de8e0e76b6d9e05964477eee2e78"
$installerPath = "C:\Windows\Temp\installer.exe"
diff --git a/coin/provisioning/common/windows/vc_redist.ps1 b/coin/provisioning/common/windows/vc_redist.ps1
index 62814b10..69eab4d2 100644
--- a/coin/provisioning/common/windows/vc_redist.ps1
+++ b/coin/provisioning/common/windows/vc_redist.ps1
@@ -1,42 +1,6 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -47,12 +11,12 @@ if (Is64BitWinHost) {
Write-Host "Running in 64 bit system"
$arch = "x64"
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe"
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/vc_redist.x64.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/vc_redist.x64.exe"
$sha1 = "3155cb0f146b927fcc30647c1a904cd162548c8c"
} else {
$arch = "x86"
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe"
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/vc_redist.x86.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/vc_redist.x86.exe"
$sha1 = "bfb74e498c44d3a103ca3aa2831763fb417134d1"
}
diff --git a/coin/provisioning/common/windows/vcpkg/vcpkg.json b/coin/provisioning/common/windows/vcpkg/vcpkg.json
new file mode 100644
index 00000000..70cb16fb
--- /dev/null
+++ b/coin/provisioning/common/windows/vcpkg/vcpkg.json
@@ -0,0 +1,12 @@
+{
+ "overrides": [
+ {
+ "name": "openssl",
+ "version": "3.0.7",
+ "port-version": 2
+ }
+ ],
+ "dependencies": [
+ "openssl"
+ ]
+}
diff --git a/coin/provisioning/common/windows/vulkansdk.ps1 b/coin/provisioning/common/windows/vulkansdk.ps1
index 6af8aa56..aeeff696 100644
--- a/coin/provisioning/common/windows/vulkansdk.ps1
+++ b/coin/provisioning/common/windows/vulkansdk.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -45,7 +9,7 @@
$version = "1.2.182.0"
$vulkanPackage = "C:\Windows\Temp\vulkan-installer-$version.exe"
$sha1 = "1b662f338bfbfdd00fb9b0c09113eacb94f68a0e"
-Download "https://sdk.lunarg.com/sdk/download/1.2.182.0/windows/VulkanSDK-$version-Installer.exe" "\\ci-files01-hki.intra.qt.io\provisioning\windows\VulkanSDK-$version-Installer.exe" $vulkanPackage
+Download "https://sdk.lunarg.com/sdk/download/1.2.182.0/windows/VulkanSDK-$version-Installer.exe" "\\ci-files01-hki.ci.qt.io\provisioning\windows\VulkanSDK-$version-Installer.exe" $vulkanPackage
Verify-Checksum "$vulkanPackage" "$sha1"
Run-Executable $vulkanPackage "/S"
diff --git a/coin/provisioning/common/windows/win10sdk.ps1 b/coin/provisioning/common/windows/win10sdk.ps1
index dd75cf71..f5c87846 100644
--- a/coin/provisioning/common/windows/win10sdk.ps1
+++ b/coin/provisioning/common/windows/win10sdk.ps1
@@ -1,47 +1,11 @@
-############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Windows 10 SDK
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winsdksetup.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\winsdksetup.exe"
$url_official = "https://download.microsoft.com/download/8/C/3/8C37C5CE-C6B9-4CC8-8B5F-149A9C976035/windowssdk/winsdksetup.exe"
$package = "C:\Windows\Temp\winsdksetup.exe"
$sha1 = "db237323f1779fb143e7cdc558e4345e7004489e"
diff --git a/coin/provisioning/common/windows/winrtrunner.ps1 b/coin/provisioning/common/windows/winrtrunner.ps1
index 6c092917..bb29e1a6 100644
--- a/coin/provisioning/common/windows/winrtrunner.ps1
+++ b/coin/provisioning/common/windows/winrtrunner.ps1
@@ -2,7 +2,7 @@
$zip = Get-DownloadLocation "winrtrunner.zip"
$url = "http://download.qt.io/development_releases/prebuilt/winrtrunner/winrtrunner_2018-07-06.zip"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winrtrunner\winrtrunner_2018-07-06.zip"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\winrtrunner\winrtrunner_2018-07-06.zip"
Download $url $url_cache $zip
Verify-Checksum $zip "93548e8c3fb8fded2474996ef5e0163f489ce8cf"
diff --git a/coin/provisioning/qtci-linux-CentOS-8.3-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-CentOS-8.3-x86_64/90-mimer.sh
index e175a9c9..bff2a7c7 100755
--- a/coin/provisioning/qtci-linux-CentOS-8.3-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-CentOS-8.3-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-disable_auto_suspend.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-disable_auto_suspend.sh
index 430b1297..8ad69bfa 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-disable_auto_suspend.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-disable_auto_suspend.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-systemsetup.sh
index f642059a..98744822 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script modifies system settings for automated use
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh
index 1e7d82f7..b7919fe1 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install required packages with APT
@@ -62,8 +25,7 @@ echo "deb http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /e
echo "deb-src http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /etc/apt/sources.list
# Make sure needed ca-certificates are available
-sudo apt-get install --reinstall ca-certificates
-
+installPackages+=(ca-certificates)
# Git is not needed by builds themselves, but is nice to have
# immediately as one starts debugging
installPackages+=(git)
@@ -92,8 +54,7 @@ installPackages+=(libgbm-dev)
installPackages+=(libxkbfile-dev)
installPackages+=(libxshmfence-dev)
installPackages+=(libxss-dev)
-## installPackages+=(nodejs-mozilla) # use nodejs-mozilla because nodejs is outdated
-installPackages+=(nodejs)
+# installPackages+=(nodejs) too old
installPackages+=(python3-html5lib)
#
## Common event loop handling
@@ -124,12 +85,10 @@ installPackages+=(gir1.2-gst-plugins-bad-1.0)
## Support for cross-building to x86 (needed by WebEngine boot2qt builds)
#installPackages+=(g++-multilib)
## python3 development package
-#installPackages+=(python3-dev)
-#installPackages+=(python3-pip)
-#installPackages+=(virtualenv)
-#installPackages+=(python3-wheel)
-## python2 development package
-#installPackages+=(python2-dev)
+installPackages+=(python3-dev)
+installPackages+=(python3-pip)
+installPackages+=(python3-venv)
+installPackages+=(virtualenv)
## Automates interactive applications (Needed by RTA to automate configure testing)
installPackages+=(expect)
installPackages+=(mesa-common-dev)
@@ -214,6 +173,7 @@ installPackages+=(net-tools)
installPackages+=(bridge-utils)
## For debian building debian packages
installPackages+=(sbuild)
+installPackages+=(ubuntu-dev-tools)
installPackages+=(apt-cacher-ng)
installPackages+=(devscripts)
installPackages+=(piuparts)
@@ -276,6 +236,7 @@ installPackages+=(pkg-config)
installPackages+=(pkg-kde-tools)
installPackages+=(unixodbc-dev)
installPackages+=(zlib1g-dev)
+installPackages+=(libusb-1.0-0-dev)
echo "Running update for apt"
@@ -286,11 +247,9 @@ waitLoop
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install cmake apt-cacher-ng -t bullseye-backports
-# Install all needed packages in a special wheel cache directory
-#pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
+# Disable keyring password prompt
+keyring --disable
-#source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-#SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
#OpenSSLVersion="$(openssl version |cut -b 9-14)"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-notifications.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-notifications.sh
index f38c9bab..1b9ed6c9 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-notifications.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-notifications.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-notifications.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh
index 89806892..1995aa14 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-ntp_linux.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh
index 09477763..879f3ffb 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-apport.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-update_notifier.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-update_notifier.sh
index 55c6ce79..f4a5119f 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-update_notifier.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-update_notifier.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-update_notifier.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/03-install-nodejs.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/03-install-nodejs.sh
new file mode 100755
index 00000000..07121a36
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/03-install-nodejs.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/install-nodejs.sh
+source "${BASH_SOURCE%/*}/../common/linux/install-nodejs.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/04-libclang.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/04-libclang.sh
new file mode 100755
index 00000000..fac8d4e7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/04-libclang.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/09-openssl.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/09-openssl.sh
new file mode 100644
index 00000000..3a65360e
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/09-openssl.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")/../common/unix/install-openssl.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/30-install_icu.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/30-install_icu.sh
new file mode 100755
index 00000000..9343eae0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/30-install_icu.sh
@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+set -ex
+
+# This script will install ICU
+
+icuVersion="73.2"
+icuLocationLib="/usr/local"
+sha1="84b4acc6062a75d795e272d222cc682cd2f33cdd"
+
+sha1Dev="94c27ce0c7cbd310e7746d08f54bb7318e297c31"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Debian11.6-aarch64-devel.7z"
+develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Debian11.6-aarch64-devel.7z"
+
+echo "Installing custom ICU $icuVersion $sha1 packages on Debian to $icuLocationLib"
+
+tempDir=$(mktemp -d)
+
+targetFile=$(mktemp)
+DownloadURL "$develPackageURL" "$develPackageExternalURL" "$sha1Dev" "$targetFile"
+7z x -y -o"$tempDir" "$targetFile"
+
+sudo cp -a "$tempDir"/* "$icuLocationLib"
+
+sudo rm "$targetFile"
+sudo rm -fr "$tempDir"
+
+sudo /sbin/ldconfig
+
+echo "ICU = $icuVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/60-install_protobuf.sh
new file mode 100644
index 00000000..e5236960
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/60-install_protobuf.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+sudo DEBIAN_FRONTEND=noninteractive apt -q -y install libprotobuf-dev libgrpc-dev libprotoc-dev protobuf-compiler
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/92-sbuild.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/92-sbuild.sh
index 8392525c..8991bcca 100644..100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/92-sbuild.sh
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/92-sbuild.sh
@@ -1,43 +1,8 @@
#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+set -ex
# Setups sbuild environment
@@ -73,18 +38,27 @@ tee ~/.sbuildrc << EOF
EOF
# Add user group
-sudo sbuild-adduser $LOGNAME
+sudo sbuild-adduser "$LOGNAME"
newgrp sbuild
-# Create chroot
-#sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64-sbuild http://127.0.0.1:3142/deb.debian.org/debian
-sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64-sbuild
-
-# Update chroot
-sudo sbuild-update -udcar stable
-
-
-
-
+# Create chroot for debian stable
+sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64
+echo "Create chroot for Ubuntu Jammy"
+# First we need update the deboostrap scripts
+mkdir -p "$HOME"/deboot
+cd "$HOME"/deboot
+# Orig url http://ftp.fi.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.134~bpo12+1.tar.gz
+# we have to update the debootstrap so that sbuild-createroot will recognize jammy code name
+wget http://ci-files01-hki.ci.qt.io/input/debian/debootstrap/debootstrap_1.0.134~bpo12+1.tar.gz
+tar xzvf debootstrap_1.0.134~bpo12+1.tar.gz
+cd debootstrap
+sudo make install
+cd
+rm -rf "$HOME"/deboot
+sudo sbuild-createchroot --include=gnupg,ca-certificates jammy /srv/chroot/jammy-arm64 http://ports.ubuntu.com/ubuntu-ports/
+echo "Done creating chroot for Ubuntu Jammy"
+# Update chroot.
+sudo sbuild-update -udcar stable
+sudo sbuild-update -udcar jammy
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh
new file mode 100755
index 00000000..b31a86f2
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Get required deb files for sbuild to build qt debian packages for Ubuntu focal
+mkdir -p /home/qt/debian_packages
+cd /home/qt/debian_packages || exit
+# Backported cmake 3.24
+wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/arm64-jammy/cmake-3.24-deb.tar.gz
+tar xzf cmake-3.24-deb.tar.gz
+# get rest of ready made Ubuntu arm debian packages
+# so that sbuild can find those
+
+wget http://ci-files01-hki.ci.qt.io/input/debian/icu/arm64-jammy/libicu-56.1-qt_56.1-1_arm64.deb
+wget http://ci-files01-hki.ci.qt.io/input/debian/icu/arm64-jammy/libicu-56.1-qt-dev_56.1-1_arm64.deb
+
+
+
+
+
+
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/99-enable_test_stacktraces.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/99-enable_test_stacktraces.sh
new file mode 100755
index 00000000..600b7850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/99-enable_test_stacktraces.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/linux/enable_test_stacktraces.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-disable-automounting.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-disable-automounting.sh
index 496aec53..aeac4768 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-disable-automounting.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-disable-automounting.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-refresh-subscription-manager.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-refresh-subscription-manager.sh
index 7afbfbde..88f675df 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-refresh-subscription-manager.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-refresh-subscription-manager.sh
@@ -1,47 +1,10 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
-curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/redhat_ak.sh -o "/tmp/redhat_ak.sh" &>/dev/null
+curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.ci.qt.io/input/semisecure/redhat_ak.sh -o "/tmp/redhat_ak.sh" &>/dev/null
sudo chmod 755 /tmp/redhat_ak.sh
/tmp/redhat_ak.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_network_manager_secret_key.sh
index 5ed44f2d..7f9790ae 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_network_manager_secret_key.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_network_manager_secret_key.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
# New unique secret key will be created automatically during start up.
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_stable-privacy.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_stable-privacy.sh
index 4d0cb666..969b47f0 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_stable-privacy.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-remove_stable-privacy.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
echo "Change default stable-secret to based on MAC"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-systemsetup.sh
index 07e1bc82..434c0651 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-enable-repos.sh
index b975e486..4f6c6d18 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-enable-repos.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -49,6 +12,11 @@ sudo yum -y remove PackageKit gnome-software
sudo subscription-manager config --rhsm.manage_repos=1
sudo subscription-manager refresh
+# List available RHEL versions and bind with correct one
+sudo subscription-manager release --list
+sudo subscription-manager release --set=8.2
+sudo yum clean all
+
# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'codeready-builder-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'rhel-8-for-x86_64-baseos-rpms'
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-install-gcc-toolset.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-install-gcc-toolset.sh
index 553ddfeb..f3af4f5b 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-install-gcc-toolset.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/03-install-gcc-toolset.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-install-packages.sh
index 25123ba3..fda995ca 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-install-packages.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-install-packages.sh
@@ -1,49 +1,15 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# Remove update notifications and packagekit running in the background
sudo yum -y remove PackageKit gnome-software
+# CI: All platforms should have up-to-date packages when new provision is made
+sudo yum -y update
+
installPackages=()
installPackages+=(git)
installPackages+=(zlib-devel)
@@ -78,8 +44,9 @@ installPackages+=(dbus-devel)
installPackages+=(gstreamer1-plugins-bad-free)
installPackages+=(gstreamer1-devel)
installPackages+=(gstreamer1-plugins-base-devel)
-# yasm for QtMultimedia
+# for QtMultimedia, ffmpeg
installPackages+=(yasm)
+installPackages+=(libva-devel)
# gtk3 style for QtGui/QStyle
installPackages+=(gtk3-devel)
# libusb1 for tqtc-boot2qt/qdb
@@ -164,16 +131,13 @@ sudo dnf -y module install nodejs:12
# We shouldn't use yum to install virtualenv. The one found from package repo is not
# working, but we can use installed pip
sudo pip3 install --upgrade pip
+# Configure pip
+sudo pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+sudo pip config --user set global.extra-index-url https://pypi.org/simple/
+
sudo pip3 install virtualenv wheel
sudo /usr/bin/pip3 install wheel
-# Install all needed packages in a special wheel cache directory
-/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# shellcheck source=../common/unix/SetEnvVar.sh
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
OpenSSLVersion="$(openssl version |cut -b 9-14)"
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
-
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-p7zip.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-p7zip.sh
index 0c7a9930..9a7e899b 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-p7zip.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/04-p7zip.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang-v100-dyn.sh
index fbf34ddd..2e08049d 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang.sh
index 7074cbc1..cc68ed1f 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/05-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/09-disable_selinux.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/09-disable_selinux.sh
index 34747e07..1659419a 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/09-disable_selinux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/09-disable_selinux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/22-mqtt_broker.sh
index e0875b37..c81f5c66 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/mqtt_broker.sh
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install_icu.sh
index b38845c5..ac47413c 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install_icu.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/30-install_icu.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
@@ -49,11 +12,11 @@ set -ex
icuVersion="56.1"
icuLocation="/usr/lib64"
sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
-baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
-develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-android_linux.sh
index 1e01ed19..7ac2ce72 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-android_linux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-install-cmake.sh
index 8a7033a2..41139756 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-install-cmake.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/40-install-cmake.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs CMake 3.6.2
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/50-openssl_for_android_linux.sh
index 05306ed1..3872e744 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/50-openssl_for_android_linux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/50-openssl_for_android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/unix/openssl_for_android.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/60-install_protobuf.sh
index 19c8af39..3e2b8921 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_QemuGA.sh
index a5c865a1..27ee6f50 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_dwz.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_dwz.sh
index 947e7bde..ef076d7c 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_dwz.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/70-install_dwz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-install-ffmpeg.sh
index 61da9b7b..61da9b7b 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-install-ffmpeg.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-mimer.sh
index e175a9c9..bff2a7c7 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-version.sh b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-version.sh
index 87825b16..00d06674 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.2-x86_64/99-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-disable-automounting.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-disable-automounting.sh
index 496aec53..aeac4768 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-disable-automounting.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-disable-automounting.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-refresh-subscription-manager.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-refresh-subscription-manager.sh
index 7afbfbde..51417f1b 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-refresh-subscription-manager.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-refresh-subscription-manager.sh
@@ -1,47 +1,11 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
-curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/redhat_ak.sh -o "/tmp/redhat_ak.sh" &>/dev/null
+curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.ci.qt.io/input/semisecure/redhat_ak_all_versions.sh -o "/tmp/redhat_ak.sh" &>/dev/null
sudo chmod 755 /tmp/redhat_ak.sh
/tmp/redhat_ak.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_network_manager_secret_key.sh
index 5ed44f2d..7f9790ae 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_network_manager_secret_key.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_network_manager_secret_key.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
# New unique secret key will be created automatically during start up.
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_stable-privacy.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_stable-privacy.sh
index 4d0cb666..969b47f0 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_stable-privacy.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-remove_stable-privacy.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
echo "Change default stable-secret to based on MAC"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-systemsetup.sh
index 369ff6e2..b4bbc865 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-enable-repos.sh
index b975e486..4de5f9d8 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-enable-repos.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -49,6 +12,11 @@ sudo yum -y remove PackageKit gnome-software
sudo subscription-manager config --rhsm.manage_repos=1
sudo subscription-manager refresh
+# List available RHEL versions and bind with correct one
+sudo subscription-manager release --list
+sudo subscription-manager release --set=8.4
+sudo yum clean all
+
# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'codeready-builder-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'rhel-8-for-x86_64-baseos-rpms'
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-install-gcc-toolset.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-install-gcc-toolset.sh
index 553ddfeb..f3af4f5b 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-install-gcc-toolset.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/03-install-gcc-toolset.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh
index 8de9a630..da03076a 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-install-packages.sh
@@ -1,49 +1,15 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# Remove update notifications and packagekit running in the background
sudo yum -y remove PackageKit gnome-software
+# CI: All platforms should have up-to-date packages when new provision is made
+sudo yum -y update
+
installPackages=()
installPackages+=(git)
installPackages+=(zlib-devel)
@@ -79,8 +45,9 @@ installPackages+=(dbus-devel)
installPackages+=(gstreamer1-plugins-bad-free)
installPackages+=(gstreamer1-devel)
installPackages+=(gstreamer1-plugins-base-devel)
-# yasm for QtMultimedia
+# for QtMultimedia, ffmpeg
installPackages+=(yasm)
+installPackages+=(libva-devel)
# gtk3 style for QtGui/QStyle
installPackages+=(gtk3-devel)
# libusb1 for tqtc-boot2qt/qdb
@@ -102,11 +69,14 @@ installPackages+=(gperftools-libs)
installPackages+=(gperf)
installPackages+=(alsa-lib-devel)
installPackages+=(pulseaudio-libs-devel)
+installPackages+=(libdrm-devel)
+installPackages+=(libva-devel)
installPackages+=(libXtst-devel)
installPackages+=(libxshmfence-devel)
installPackages+=(nspr-devel)
installPackages+=(nss-devel)
installPackages+=(python3-html5lib)
+installPackages+=(mesa-libgbm-devel)
# For Android builds
installPackages+=(java-11-openjdk-devel)
# For receiving shasum
@@ -171,20 +141,15 @@ sudo dnf -y module install nodejs:12
# We shouldn't use yum to install virtualenv. The one found from package repo is not
# working, but we can use installed pip
sudo pip3 install --upgrade pip
+# Configure pip
+sudo pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+sudo pip config --user set global.extra-index-url https://pypi.org/simple/
+
sudo pip3 install virtualenv wheel
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
sudo python3.8 -m pip install virtualenv wheel
sudo /usr/bin/pip3 install wheel
-# Install all needed packages in a special wheel cache directory
-/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# Install 3.8 compatible wheels
-python3.8 -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# shellcheck source=../common/unix/SetEnvVar.sh
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-p7zip.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-p7zip.sh
index 0c7a9930..9a7e899b 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-p7zip.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/04-p7zip.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang-v100-dyn.sh
index fbf34ddd..2e08049d 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang.sh
index 7074cbc1..cc68ed1f 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/05-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-disable_selinux.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-disable_selinux.sh
index 34747e07..1659419a 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-disable_selinux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-disable_selinux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-openssl.sh
index 6877a74d..ae8024f2 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-openssl.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/09-openssl.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/22-mqtt_broker.sh
index e0875b37..c81f5c66 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/mqtt_broker.sh
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install_icu.sh
index b38845c5..ac47413c 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install_icu.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/30-install_icu.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
@@ -49,11 +12,11 @@ set -ex
icuVersion="56.1"
icuLocation="/usr/lib64"
sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
-baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
-develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-android_linux.sh
index 1e01ed19..7ac2ce72 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-android_linux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-install-cmake.sh
index 8a7033a2..41139756 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-install-cmake.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/40-install-cmake.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs CMake 3.6.2
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/50-openssl_for_android_linux.sh
index 05306ed1..3872e744 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/50-openssl_for_android_linux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/50-openssl_for_android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/unix/openssl_for_android.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/60-install_protobuf.sh
index b46e5ece..c538ca07 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/61-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/61-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_QemuGA.sh
index a5c865a1..27ee6f50 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_dwz.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_dwz.sh
index 947e7bde..ef076d7c 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_dwz.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/70-install_dwz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-ffmpeg.sh
index 3662d655..333885a3 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-mimer.sh
index e175a9c9..bff2a7c7 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-version.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-version.sh
index 87825b16..00d06674 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/99-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-refresh-subscription-manager.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-refresh-subscription-manager.sh
index cd2eb607..51417f1b 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-refresh-subscription-manager.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-refresh-subscription-manager.sh
@@ -5,7 +5,7 @@
set -e
-curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/redhat_ak.sh -o "/tmp/redhat_ak.sh" &>/dev/null
+curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.ci.qt.io/input/semisecure/redhat_ak_all_versions.sh -o "/tmp/redhat_ak.sh" &>/dev/null
sudo chmod 755 /tmp/redhat_ak.sh
/tmp/redhat_ak.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-remove_network_manager_secret_key.sh
index 5ed44f2d..7f9790ae 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-remove_network_manager_secret_key.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-remove_network_manager_secret_key.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
# New unique secret key will be created automatically during start up.
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/03-enable-repos.sh
index 2f7b3dda..64bf2e93 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/03-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/03-enable-repos.sh
@@ -8,11 +8,20 @@ set -ex
echo "set WritePreparedUpdates=false" | sudo tee -a /etc/PackageKit/PackageKit.conf
sudo systemctl stop packagekit
sudo systemctl disable packagekit
+while sudo fuser /usr/libexec/packagekitd >/dev/null 2>&1; do
+ echo "Waiting for PackageKit to finish..."
+ sleep 1
+done
sudo yum -y remove PackageKit gnome-software
sudo subscription-manager config --rhsm.manage_repos=1
sudo subscription-manager refresh
+# List available RHEL versions and bind with correct one
+sudo subscription-manager release --list
+sudo subscription-manager release --set=8.6
+sudo yum clean all
+
# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'codeready-builder-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'rhel-8-for-x86_64-baseos-rpms'
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/04-install-packages.sh
index e80597e8..9a81bd12 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/04-install-packages.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/04-install-packages.sh
@@ -8,6 +8,7 @@ set -ex
# Remove update notifications and packagekit running in the background
sudo yum -y remove PackageKit gnome-software
+# CI: All platforms should have up-to-date packages when new provision is made
sudo yum -y update
installPackages=()
@@ -56,8 +57,9 @@ installPackages+=(dbus-devel)
installPackages+=(gstreamer1-plugins-bad-free)
installPackages+=(gstreamer1-devel)
installPackages+=(gstreamer1-plugins-base-devel)
-# yasm for QtMultimedia
+# for QtMultimedia, ffmpeg
installPackages+=(yasm)
+installPackages+=(libva-devel)
# gtk3 style for QtGui/QStyle
installPackages+=(gtk3-devel)
# libusb1 for tqtc-boot2qt/qdb
@@ -85,7 +87,7 @@ installPackages+=(nspr-devel)
installPackages+=(nss-devel)
installPackages+=(python3-html5lib)
# For Android builds
-installPackages+=(java-11-openjdk-devel)
+installPackages+=(java-11-openjdk-devel-11.0.19.0.7)
# For receiving shasum
installPackages+=(perl-Digest-SHA)
# INTEGRITY requirements
@@ -143,25 +145,21 @@ sudo yum -y install "${installPackages[@]}"
sudo ln -s /usr/bin/python2 /usr/bin/python
-sudo dnf -y module install nodejs:12
+sudo dnf -y module install nodejs:16
# We shouldn't use yum to install virtualenv. The one found from package repo is not
# working, but we can use installed pip
sudo pip3 install --upgrade pip
+# Configure pip
+sudo pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+sudo pip config --user set global.extra-index-url https://pypi.org/simple/
+
sudo pip3 install virtualenv wheel
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
sudo python3.8 -m pip install virtualenv wheel
sudo /usr/bin/pip3 install wheel
-# Install all needed packages in a special wheel cache directory
-/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# Install 3.8 compatible wheels
-python3.8 -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# shellcheck source=../common/unix/SetEnvVar.sh
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
+sudo /usr/bin/pip3 install dataclasses
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang-v100-dyn.sh
index fbf34ddd..2e08049d 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang.sh
index 7074cbc1..cc68ed1f 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/05-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/09-openssl.sh
index 6877a74d..ae8024f2 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/09-openssl.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/09-openssl.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install_icu.sh
index a75ea6a6..0effaefa 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install_icu.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/30-install_icu.sh
@@ -10,15 +10,15 @@ set -ex
# This script will install ICU
-icuVersion="56.1"
+icuVersion="73.2"
icuLocation="/usr/lib64"
-sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
-baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
-baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
+sha1="d2bbb7b2a9a9ee00dba5cc6a68137f6c8a98c27e"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel8.6-x64.7z"
+baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel8.6-x64.7z"
-sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
-develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
-develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
+sha1Dev="edc9cba31ffeac28bf7360c52b85b5e4d2f39043"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel8.6-x64-devel.7z"
+develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel8.6-x64-devel.7z"
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/60-install_protobuf.sh
index ef6fdec0..ef6fdec0 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/60-install_protobuf.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/61-install_grpc.sh
index ba69ffef..ba69ffef 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/61-install_grpc.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-install-ffmpeg.sh
index 280b2870..a3252c08 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
-source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "android"
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86_64"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-mimer.sh
new file mode 100755
index 00000000..bff2a7c7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-mimer.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/mimersql.sh" "openssl-1" "rpm"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-RHEL-8.6-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable-automounting.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable-automounting.sh
new file mode 100755
index 00000000..c9d490b1
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable-automounting.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
+[org/gnome/desktop/media-handling]
+automount=false
+automount-open=false
+EOF
+
+sudo dconf update
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable_net_lso.sh
new file mode 100755
index 00000000..4da6aaaa
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-disable_net_lso.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "ETHTOOL_OPTS='-K \${DEVICE} tso off'" | sudo tee -a /etc/sysconfig/network-scripts/ifcfg-Wired_connection_1
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-install_telegraf.sh
new file mode 100755
index 00000000..729f9003
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-install_telegraf.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/unix/telegraf_install.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-refresh-subscription-manager.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-refresh-subscription-manager.sh
new file mode 100755
index 00000000..51417f1b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-refresh-subscription-manager.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -e
+
+curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.ci.qt.io/input/semisecure/redhat_ak_all_versions.sh -o "/tmp/redhat_ak.sh" &>/dev/null
+sudo chmod 755 /tmp/redhat_ak.sh
+/tmp/redhat_ak.sh
+
+# refresh local certificates
+sudo subscription-manager refresh
+
+# Attach available subscriptions to system. This is needed when subscriptions are renewed.
+sudo subscription-manager attach --auto
+
+sudo rm -f /tmp/redhat_ak.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_network_manager_secret_key.sh
new file mode 100755
index 00000000..7f9790ae
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_network_manager_secret_key.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
+# New unique secret key will be created automatically during start up.
+# https://access.redhat.com/solutions/3553581
+echo "Removing secret_key"
+sudo rm -f "/var/lib/NetworkManager/secret_key"
+
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_stable-privacy.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_stable-privacy.sh
new file mode 100755
index 00000000..6d59f866
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-remove_stable-privacy.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+echo "Change default stable-secret to based on MAC"
+sudo sed -i '/^IPV6_ADDR_GEN_MODE/d' "/etc/sysconfig/network-scripts/ifcfg-enp1s0"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-set-ulimit.sh
new file mode 100755
index 00000000..e951e82a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-set-ulimit.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/set_ulimit.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-systemsetup.sh
new file mode 100755
index 00000000..8d43ace0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/01-systemsetup.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/shared/network_test_server_ip.txt
+source "$BASEDIR/../common/shared/network_test_server_ip.txt"
+
+echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
+echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+echo "Set DISPLAY"
+echo 'export DISPLAY=":0"' >> ~/.bashrc
+# for current session
+export DISPLAY=:0
+
+# Set timezone to UTC.
+sudo timedatectl set-timezone Etc/UTC
+# disable Automatic screen lock
+gsettings set org.gnome.desktop.screensaver lock-enabled false
+# disable blank screen power saving
+gsettings set org.gnome.desktop.session idle-delay 0
+
+# Set Wayland enable as false.
+echo "Setting Wayland enable as false"
+sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/g' /etc/gdm/custom.conf
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-enable-repos.sh
new file mode 100755
index 00000000..1ad60c7d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-enable-repos.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+echo "set WritePreparedUpdates=false" | sudo tee -a /etc/PackageKit/PackageKit.conf
+sudo systemctl stop packagekit
+sudo systemctl disable packagekit
+while sudo fuser /usr/libexec/packagekitd >/dev/null 2>&1; do
+ echo "Waiting for PackageKit to finish..."
+ sleep 1
+done
+sudo yum -y remove PackageKit gnome-software
+
+sudo subscription-manager config --rhsm.manage_repos=1
+sudo subscription-manager refresh
+
+# List available RHEL versions and bind with correct one
+sudo subscription-manager release --list
+sudo subscription-manager release --set=8.8
+sudo yum clean all
+
+# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
+sudo yum config-manager --enable 'codeready-builder-for-rhel-8-x86_64-rpms'
+sudo yum config-manager --enable 'rhel-8-for-x86_64-baseos-rpms'
+sudo yum config-manager --enable 'rhel-8-for-x86_64-appstream-rpms'
+# Epel is required for 'double-conversion-devel', 'libsqlite3x' and 'p7zip'
+sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
+
+sudo yum clean all
+# As well as this fetching the repository data, we also get a printout of the used repos
+sudo yum repolist
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-install-gcc-toolset.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-install-gcc-toolset.sh
new file mode 100755
index 00000000..dfed7489
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/03-install-gcc-toolset.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo yum -y install gcc-toolset-10 gcc-toolset-10-libatomic-devel
+
+echo "source /opt/rh/gcc-toolset-10/enable" >> ~/.bashrc
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-install-packages.sh
new file mode 100755
index 00000000..d1d600da
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-install-packages.sh
@@ -0,0 +1,175 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Remove update notifications and packagekit running in the background
+sudo yum -y remove PackageKit gnome-software
+
+# CI: All platforms should have up-to-date packages when new provision is made
+sudo yum -y update
+
+installPackages=()
+installPackages+=(git)
+installPackages+=(zlib-devel)
+installPackages+=(glib2-devel)
+installPackages+=(openssl3)
+installPackages+=(openssl3-devel)
+installPackages+=(freetype-devel)
+installPackages+=(fontconfig-devel)
+installPackages+=(curl-devel)
+installPackages+=(expat-devel)
+installPackages+=(gettext-devel)
+installPackages+=(perl-devel)
+installPackages+=(dh-autoreconf)
+# cmake build
+installPackages+=(ninja-build)
+installPackages+=(pcre2-devel)
+installPackages+=(double-conversion-devel)
+installPackages+=(zstd)
+# update kernel
+installPackages+=(kernel)
+installPackages+=(kernel-tools)
+installPackages+=(kernel-devel)
+installPackages+=(kernel-core)
+installPackages+=(kernel-modules)
+installPackages+=(kernel-headers)
+# EGL support
+# mesa-libraries need to use older version than 22.1.5-2 which cause Xorg to crash
+installPackages+=(mesa-libEGL-devel-21.3.4-1.el8)
+installPackages+=(mesa-libGL-devel-21.3.4-1.el8)
+installPackages+=(mesa-dri-drivers-21.3.4-1.el8.x86_64)
+installPackages+=(mesa-libgbm-21.3.4-1.el8.x86_64)
+installPackages+=(mesa-vulkan-drivers-21.3.4-1.el8.x86_64)
+installPackages+=(libxkbfile-devel)
+# Xinput2
+installPackages+=(libXi-devel)
+installPackages+=(mysql-server)
+installPackages+=(mysql)
+installPackages+=(mysql-devel)
+installPackages+=(postgresql-devel)
+installPackages+=(cups-devel)
+installPackages+=(dbus-devel)
+# gstreamer 1 for QtMultimedia
+# Note! gstreamer1-plugins-bad-free needs to be upgraded or it will conflicts with gstreamer1-plugins-base-devel
+installPackages+=(gstreamer1-plugins-bad-free)
+installPackages+=(gstreamer1-devel)
+installPackages+=(gstreamer1-plugins-base-devel)
+# for QtMultimedia, ffmpeg
+installPackages+=(yasm)
+installPackages+=(libva-devel)
+# gtk3 style for QtGui/QStyle
+installPackages+=(gtk3-devel)
+# libusb1 for tqtc-boot2qt/qdb
+installPackages+=(libusbx-devel)
+# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
+installPackages+=(speech-dispatcher-devel)
+# Python 3.8 for pyside. Qt for Python support for Python 3.6 will be deprecated in within pyside6.3
+installPackages+=(python3.11)
+installPackages+=(python3.11-pip)
+installPackages+=(python3.11-devel)
+# WebEngine
+installPackages+=(bison)
+installPackages+=(flex)
+installPackages+=(gperftools-libs)
+installPackages+=(gperf)
+installPackages+=(alsa-lib-devel)
+installPackages+=(pulseaudio-libs-devel)
+installPackages+=(libdrm-devel)
+installPackages+=(libva-devel)
+installPackages+=(libXtst-devel)
+installPackages+=(libxshmfence-devel)
+installPackages+=(nspr-devel)
+installPackages+=(nss-devel)
+installPackages+=(python3-html5lib)
+installPackages+=(libatomic)
+installPackages+=(mesa-libgbm-devel-21.3.4-1.el8.x86_64)
+# For Android builds
+installPackages+=(java-17-openjdk-devel-17.0.9.0.9)
+# For receiving shasum
+installPackages+=(perl-Digest-SHA)
+# INTEGRITY requirements
+installPackages+=(glibc.i686)
+# Enable Qt Bluetooth
+installPackages+=(bluez-libs-devel)
+# QtNfc
+installPackages+=(pcsc-lite-devel)
+# QtWebKit
+installPackages+=(libxml2-devel)
+installPackages+=(libxslt-devel)
+# For building Wayland from source
+installPackages+=(libffi-devel)
+# QtWayland
+#installPackages+=(mesa-libwayland-egl)
+#installPackages+=(mesa-libwayland-egl-devel)
+installPackages+=(libwayland-client)
+installPackages+=(libwayland-cursor)
+installPackages+=(libwayland-server)
+# Jenkins
+installPackages+=(chrpath)
+# libxkbcommon
+installPackages+=(libxkbcommon-devel)
+installPackages+=(libxkbcommon-x11-devel)
+# xcb-util-* libraries
+installPackages+=(xcb-util)
+installPackages+=(xcb-util-image-devel)
+installPackages+=(xcb-util-keysyms-devel)
+installPackages+=(xcb-util-wm-devel)
+installPackages+=(xcb-util-renderutil-devel)
+installPackages+=(xcb-util-cursor)
+installPackages+=(xcb-util-cursor-devel)
+
+# ODBC support
+installPackages+=(unixODBC-devel)
+installPackages+=(unixODBC)
+# Vulkan support
+installPackages+=(vulkan-devel)
+installPackages+=(vulkan-tools)
+# Conan: For Python build
+installPackages+=(xz-devel)
+installPackages+=(zlib-devel)
+installPackages+=(libffi-devel)
+installPackages+=(libsqlite3x-devel)
+# Build.pl
+installPackages+=(perl-Data-Dumper)
+# In RedHat these come with Devtoolset
+installPackages+=(gcc)
+installPackages+=(gcc-c++)
+installPackages+=(make)
+# Open source VMware Tools
+installPackages+=(open-vm-tools)
+# cifs-utils, for mounting smb drive
+installPackages+=(keyutils)
+installPackages+=(cifs-utils)
+# used for reading vcpkg packages version, from vcpkg.json
+installPackages+=(jq)
+# zip, needed for vcpkg caching
+installPackages+=(zip)
+# OpenSSL requirement, built by vcpkg
+installPackages+=(perl-IPC-Cmd)
+
+sudo yum -y install "${installPackages[@]}"
+
+sudo dnf -y module install nodejs:16
+
+# We shouldn't use yum to install virtualenv. The one found from package repo is not
+# working, but we can use installed pip
+sudo pip3 install --upgrade pip
+# Configure pip
+sudo pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+sudo pip config --user set global.extra-index-url https://pypi.org/simple/
+
+sudo pip3 install virtualenv wheel
+# Just make sure we have virtualenv to run with python3.8 -m virtualenv
+sudo python3.11 -m pip install virtualenv wheel
+
+sudo /usr/bin/pip3 install wheel
+sudo /usr/bin/pip3 install dataclasses
+
+OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
+echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
+
+# List all available updates
+sudo yum -y list updates
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-p7zip.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-p7zip.sh
new file mode 100755
index 00000000..98be8b40
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/04-p7zip.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+set -ex
+
+name="p7zip"
+version="7-11"
+sudo yum -y install "$name"
+
+# Link 7za to 7z so we can use existing installation scripts
+sudo ln -s /usr/bin/7za /usr/bin/7z
+
+echo "$name = $version" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang-v100-dyn.sh
new file mode 100755
index 00000000..2e08049d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang-v100-dyn.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang-v100-dyn.sh
+"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang.sh
new file mode 100755
index 00000000..cc68ed1f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang.sh
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..ed49b3a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/linux/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-disable_selinux.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-disable_selinux.sh
new file mode 100755
index 00000000..17f9422f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-disable_selinux.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/disable_selinux.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable_selinux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-openssl.sh
new file mode 100755
index 00000000..ae8024f2
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/09-openssl.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Required by Rhel source build
+sudo yum -y install perl-IPC-Cmd
+
+"$(dirname "$0")/../common/unix/install-openssl.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/20-sccache.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/20-sccache.sh
new file mode 100755
index 00000000..b371d947
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/20-sccache.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/22-mqtt_broker.sh
new file mode 100755
index 00000000..fd568537
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/22-mqtt_broker.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/mqtt_broker.sh
+source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-fbx.sh
new file mode 100755
index 00000000..16a9bda8
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-fbx.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/fbx_linux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-conan.sh
new file mode 100755
index 00000000..67a4f911
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-conan.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/install-conan.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-git.sh
new file mode 100755
index 00000000..7a73f354
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install-git.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-git.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install_icu.sh
new file mode 100755
index 00000000..0effaefa
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/30-install_icu.sh
@@ -0,0 +1,46 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+set -ex
+
+# This script will install ICU
+
+icuVersion="73.2"
+icuLocation="/usr/lib64"
+sha1="d2bbb7b2a9a9ee00dba5cc6a68137f6c8a98c27e"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel8.6-x64.7z"
+baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel8.6-x64.7z"
+
+sha1Dev="edc9cba31ffeac28bf7360c52b85b5e4d2f39043"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel8.6-x64-devel.7z"
+develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel8.6-x64-devel.7z"
+
+echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
+
+targetFile=$(mktemp)
+DownloadURL "$baseBinaryPackageURL" "$baseBinaryPackageExternalURL" "$sha1" "$targetFile"
+sudo 7z x -y -o/usr/lib64 "$targetFile"
+sudo rm "$targetFile"
+
+echo "Installing custom ICU devel packages on RHEL"
+
+tempDir=$(mktemp -d)
+
+targetFile=$(mktemp)
+DownloadURL "$develPackageURL" "$develPackageExternalURL" "$sha1Dev" "$targetFile"
+7z x -y -o"$tempDir" "$targetFile"
+
+sudo cp -a "$tempDir"/lib/* /usr/lib64
+sudo cp -a "$tempDir"/* /usr/
+
+sudo rm "$targetFile"
+sudo rm -fr "$tempDir"
+
+sudo /sbin/ldconfig
+
+echo "ICU = $icuVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/35-install-breakpad.sh
new file mode 100755
index 00000000..8a9dde56
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/35-install-breakpad.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install-breakpad.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-android_linux.sh
new file mode 100755
index 00000000..f7591d82
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-android_linux.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/android_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-install-cmake.sh
new file mode 100755
index 00000000..7effb8d7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/40-install-cmake.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs CMake 3.6.2
+
+set -ex
+
+# CMake is needed for autotests that verify that Qt can be built with CMake
+
+# shellcheck source=../common/linux/cmake_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/41-install-vcpkg.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/41-install-vcpkg.sh
new file mode 100644
index 00000000..aa88364d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/41-install-vcpkg.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/42-install-vcpkg-ports.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/42-install-vcpkg-ports.sh
new file mode 100755
index 00000000..4bc799eb
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/42-install-vcpkg-ports.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+echo "Installing vcpkg ports"
+echo "VCPKG_ROOT: ${VCPKG_ROOT}"
+echo "ANDOID_NDK_HOME: ${ANDROID_NDK_HOME}"
+
+# Installing common ports
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg-ports.sh"
+
+# Installing platform specific ports
+"$BASEDIR/../common/linux/install-vcpkg-ports-android.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/50-openssl_for_android_linux.sh
new file mode 100755
index 00000000..4e5ec7f0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/50-openssl_for_android_linux.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/openssl_for_android.sh
+source "${BASH_SOURCE%/*}/../common/unix/openssl_for_android.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/60-install_protobuf.sh
new file mode 100755
index 00000000..ef6fdec0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/60-install_protobuf.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_protobuf.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/61-install_grpc.sh
new file mode 100755
index 00000000..ba69ffef
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/61-install_grpc.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_grpc.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_QemuGA.sh
new file mode 100755
index 00000000..62b799e0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_QemuGA.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QEMU Guest Agent
+
+set -ex
+
+sudo yum -y install qemu-guest-agent
+sudo systemctl start qemu-guest-agent
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_dwz.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_dwz.sh
new file mode 100755
index 00000000..3647cc48
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/70-install_dwz.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo yum -y install elfutils-libelf-devel
+
+# shellcheck source=../common/linux/install_dwz.sh
+source "${BASH_SOURCE%/*}/../common/linux/install_dwz.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-bootstrap-autostart.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-bootstrap-autostart.sh
new file mode 100755
index 00000000..1ff43850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-bootstrap-autostart.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/linux/bootstrap-autostart.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-install-ffmpeg.sh
new file mode 100755
index 00000000..06e28f34
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-install-ffmpeg.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86_64"
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-mimer.sh
new file mode 100755
index 00000000..bff2a7c7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-mimer.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/mimersql.sh" "openssl-1" "rpm"
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-squish.sh
new file mode 100755
index 00000000..f803ccc1
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/90-squish.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/squishInstall.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-cleanup.sh
new file mode 100755
index 00000000..842cd294
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-cleanup.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/cleanup_cache.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-enable_test_stacktraces.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-enable_test_stacktraces.sh
new file mode 100755
index 00000000..600b7850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-enable_test_stacktraces.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/linux/enable_test_stacktraces.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-version.sh b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-version.sh
new file mode 100755
index 00000000..725351ae
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-8.8-x86_64/99-version.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script needs to be called last during provisioning so that the software information will show up last in provision log.
+
+# Storage installed RPM packages information
+
+set -ex
+
+# shellcheck disable=SC2129
+echo "*********************************************" >> ~/versions.txt
+echo "***** All installed RPM packages *****" >> ~/versions.txt
+rpm -q -a | sort >> ~/versions.txt
+echo "*********************************************" >> ~/versions.txt
+
+"$(dirname "$0")/../common/linux/version.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-refresh-subscription-manager.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-refresh-subscription-manager.sh
index 7afbfbde..51417f1b 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-refresh-subscription-manager.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-refresh-subscription-manager.sh
@@ -1,47 +1,11 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
-curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/redhat_ak.sh -o "/tmp/redhat_ak.sh" &>/dev/null
+curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.ci.qt.io/input/semisecure/redhat_ak_all_versions.sh -o "/tmp/redhat_ak.sh" &>/dev/null
sudo chmod 755 /tmp/redhat_ak.sh
/tmp/redhat_ak.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-remove_network_manager_secret_key.sh
index 5ed44f2d..7f9790ae 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-remove_network_manager_secret_key.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-remove_network_manager_secret_key.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
# New unique secret key will be created automatically during start up.
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh
index 0e23bde8..5e3ecb27 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/03-enable-repos.sh
index 24a9e8c3..f2ac6a71 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/03-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/03-enable-repos.sh
@@ -1,54 +1,26 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
echo "set WritePreparedUpdates=false" | sudo tee -a /etc/PackageKit/PackageKit.conf
sudo systemctl stop packagekit
sudo systemctl disable packagekit
+while sudo fuser /usr/libexec/packagekitd >/dev/null 2>&1; do
+ echo "Waiting for PackageKit to finish..."
+ sleep 1
+done
sudo yum -y remove PackageKit gnome-software
sudo subscription-manager config --rhsm.manage_repos=1
sudo subscription-manager refresh
+# List available RHEL versions and bind with correct one
+sudo subscription-manager release --list
+sudo subscription-manager release --set=9.0
+sudo yum clean all
+
# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
sudo yum config-manager --enable 'codeready-builder-for-rhel-9-x86_64-rpms'
sudo yum config-manager --enable 'rhel-9-for-x86_64-baseos-rpms'
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-install-packages.sh
index 677c43e0..79c3476a 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-install-packages.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-install-packages.sh
@@ -1,49 +1,15 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# Remove update notifications and packagekit running in the background
sudo yum -y remove PackageKit gnome-software
+# CI: All platforms should have up-to-date packages when new provision is made
+sudo yum -y update
+
installPackages=()
installPackages+=(git)
installPackages+=(zlib-devel)
@@ -81,8 +47,9 @@ installPackages+=(dbus-devel)
installPackages+=(gstreamer1-plugins-bad-free)
installPackages+=(gstreamer1-devel)
installPackages+=(gstreamer1-plugins-base-devel)
-# yasm for QtMultimedia
+# QtMultimedia, ffmpeg
installPackages+=(yasm)
+installPackages+=(libva-devel)
# gtk3 style for QtGui/QStyle
installPackages+=(gtk3-devel)
# libusb1 for tqtc-boot2qt/qdb
@@ -102,14 +69,18 @@ installPackages+=(gperftools-libs)
installPackages+=(gperf)
installPackages+=(alsa-lib-devel)
installPackages+=(pulseaudio-libs-devel)
+installPackages+=(libdrm-devel)
+installPackages+=(libva-devel)
+installPackages+=(libuuid-devel)
installPackages+=(libXtst-devel)
installPackages+=(libxshmfence-devel)
installPackages+=(nspr-devel)
installPackages+=(nss-devel)
installPackages+=(python3-html5lib)
+installPackages+=(mesa-libgbm-devel-21.3.4-2.el9)
installPackages+=(libstdc++-static)
# For Android builds
-installPackages+=(java-11-openjdk-devel)
+installPackages+=(java-17-openjdk-devel-17.0.9.0.9)
# For receiving shasum
installPackages+=(perl-Digest-SHA)
# INTEGRITY requirements
@@ -165,6 +136,9 @@ installPackages+=(make)
installPackages+=(open-vm-tools)
# nfs-utils is needed to make mount work with ci-files01
installPackages+=(nfs-utils)
+# cifs-utils, for mounting smb drive
+installPackages+=(keyutils)
+installPackages+=(cifs-utils)
sudo yum -y install "${installPackages[@]}"
@@ -176,23 +150,18 @@ sudo dnf install 'perl(English)' -y
# We shouldn't use yum to install virtualenv. The one found from package repo is not
# working, but we can use installed pip
sudo pip3 install --upgrade pip
+# Configure pip
+sudo pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+sudo pip config --user set global.extra-index-url https://pypi.org/simple/
+
sudo pip3 install virtualenv wheel
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
sudo python -m pip install virtualenv wheel
sudo /usr/bin/pip3 install wheel
-# Install all needed packages in a special wheel cache directory
-/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# Install compatible wheels
-python -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
# Make FindPython3.cmake to find python3
sudo ln -s /usr/bin/python3 /usr/local/bin/python3
-# shellcheck source=../common/unix/SetEnvVar.sh
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
-
OpenSSLVersion="$(openssl version |cut -b 9-14)"
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-p7zip.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-p7zip.sh
index 0c7a9930..9a7e899b 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-p7zip.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/04-p7zip.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang-v100-dyn.sh
index fbf34ddd..2e08049d 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang.sh
index 7074cbc1..cc68ed1f 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..ed49b3a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/05-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/linux/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/09-disable_selinux.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/09-disable_selinux.sh
index 34747e07..1659419a 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/09-disable_selinux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/09-disable_selinux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/22-mqtt_broker.sh
index e0875b37..c81f5c66 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/mqtt_broker.sh
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install_icu.sh
index a0218c7c..8cba7c33 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install_icu.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/30-install_icu.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
@@ -49,11 +12,11 @@ set -ex
icuVersion="56.1"
icuLocation="/usr/lib64"
sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
-baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
-develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-android_linux.sh
index 1e01ed19..7ac2ce72 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-android_linux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-install-cmake.sh
index 8a7033a2..41139756 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-install-cmake.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/40-install-cmake.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs CMake 3.6.2
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/50-openssl_for_android_linux.sh
index 593a4c9a..36aa6983 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/50-openssl_for_android_linux.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/50-openssl_for_android_linux.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/unix/openssl_for_android.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/60-install_protobuf.sh
index b46e5ece..c538ca07 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/61-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/61-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_QemuGA.sh
index a5c865a1..27ee6f50 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_dwz.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_dwz.sh
index 947e7bde..ef076d7c 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_dwz.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/70-install_dwz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-install-ffmpeg.sh
index 61da9b7b..61da9b7b 100644..100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-install-ffmpeg.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-mimer.sh
index f65405d0..a27ebdc5 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-version.sh b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-version.sh
index 87825b16..00d06674 100755
--- a/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-RHEL-9.0-x86_64/99-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable_net_lso.sh
new file mode 100755
index 00000000..4da6aaaa
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-disable_net_lso.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "ETHTOOL_OPTS='-K \${DEVICE} tso off'" | sudo tee -a /etc/sysconfig/network-scripts/ifcfg-Wired_connection_1
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-install_telegraf.sh
new file mode 100755
index 00000000..729f9003
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-install_telegraf.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/unix/telegraf_install.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-refresh-subscription-manager.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-refresh-subscription-manager.sh
new file mode 100755
index 00000000..51417f1b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-refresh-subscription-manager.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -e
+
+curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.ci.qt.io/input/semisecure/redhat_ak_all_versions.sh -o "/tmp/redhat_ak.sh" &>/dev/null
+sudo chmod 755 /tmp/redhat_ak.sh
+/tmp/redhat_ak.sh
+
+# refresh local certificates
+sudo subscription-manager refresh
+
+# Attach available subscriptions to system. This is needed when subscriptions are renewed.
+sudo subscription-manager attach --auto
+
+sudo rm -f /tmp/redhat_ak.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-remove_network_manager_secret_key.sh
new file mode 100755
index 00000000..7f9790ae
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-remove_network_manager_secret_key.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
+# New unique secret key will be created automatically during start up.
+# https://access.redhat.com/solutions/3553581
+echo "Removing secret_key"
+sudo rm -f "/var/lib/NetworkManager/secret_key"
+
+
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-set-ulimit.sh
new file mode 100755
index 00000000..e951e82a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-set-ulimit.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/set_ulimit.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-systemsetup.sh
new file mode 100755
index 00000000..fbd00eef
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/01-systemsetup.sh
@@ -0,0 +1,31 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/shared/network_test_server_ip.txt
+source "$BASEDIR/../common/shared/network_test_server_ip.txt"
+
+echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
+echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+echo "Set DISPLAY"
+echo 'export DISPLAY=":0"' >> ~/.bashrc
+# for current session
+export DISPLAY=:0
+
+# Set timezone to UTC.
+sudo timedatectl set-timezone Etc/UTC
+# disable Automatic screen lock
+gsettings set org.gnome.desktop.screensaver lock-enabled false
+# disable blank screen power saving
+gsettings set org.gnome.desktop.session idle-delay 0
+# Disable hot corner feature
+gsettings set org.gnome.desktop.interface enable-hot-corners false
+# Disable windows key from showing the GNOME Shell Activities overlay
+gsettings set org.gnome.mutter overlay-key ""
+
+# Set Wayland enable as false.
+echo "Setting Wayland enable as false"
+sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/g' /etc/gdm/custom.conf
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/02-install-xcb_util_cursor.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/02-install-xcb_util_cursor.sh
new file mode 100755
index 00000000..353297db
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/02-install-xcb_util_cursor.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Install xcb-util-cursor* libraries before updating repos. In updated repos these libraries are no longer available.
+# QTQAINFRA-6325
+sudo yum -y install xcb-util-cursor
+sudo yum -y install xcb-util-cursor-devel
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/03-enable-repos.sh
new file mode 100755
index 00000000..33f2faa9
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/03-enable-repos.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+echo "set WritePreparedUpdates=false" | sudo tee -a /etc/PackageKit/PackageKit.conf
+sudo systemctl stop packagekit
+sudo systemctl mask --now packagekit
+while sudo fuser /usr/libexec/packagekitd >/dev/null 2>&1; do
+ echo "Waiting for PackageKit to finish..."
+ sleep 1
+ sudo systemctl stop packagekit
+done
+sudo yum -y remove PackageKit gnome-software
+
+sudo subscription-manager config --rhsm.manage_repos=1
+sudo subscription-manager refresh
+
+# List available RHEL versions and bind with correct one
+sudo subscription-manager release --list
+sudo subscription-manager release --set=9.2
+sudo yum clean all
+
+# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
+sudo yum config-manager --enable 'codeready-builder-for-rhel-9-x86_64-rpms'
+sudo yum config-manager --enable 'rhel-9-for-x86_64-baseos-rpms'
+sudo yum config-manager --enable 'rhel-9-for-x86_64-appstream-rpms'
+# Epel is required for 'double-conversion-devel', 'libsqlite3x' and 'p7zip'
+sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
+
+sudo yum clean all
+# As well as this fetching the repository data, we also get a printout of the used repos
+sudo yum repolist
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-install-packages.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-install-packages.sh
new file mode 100755
index 00000000..279d66a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-install-packages.sh
@@ -0,0 +1,189 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Remove update notifications and packagekit running in the background
+sudo yum -y remove PackageKit gnome-software
+
+# CI: All platforms should have up-to-date packages when new provision is made
+sudo yum -y update
+
+installPackages=()
+installPackages+=(git)
+installPackages+=(zlib-devel)
+installPackages+=(glib2-devel)
+installPackages+=(openssl-devel)
+installPackages+=(freetype-devel)
+installPackages+=(fontconfig-devel)
+installPackages+=(curl-devel)
+installPackages+=(expat-devel)
+installPackages+=(gettext-devel)
+installPackages+=(perl-devel)
+# Required by some old pkg perl script, FindBin.pm was moved to new package in perl 5.32
+installPackages+=(perl-FindBin)
+installPackages+=(dh-autoreconf)
+# cmake build
+installPackages+=(ninja-build)
+installPackages+=(pcre2-devel)
+installPackages+=(double-conversion-devel)
+installPackages+=(zstd)
+# EGL support
+# mesa-libEGL-devel need to use older version than 22.1.5-2.el9 which cause Xorg to crash
+#installPackages+=(mesa-libEGL-devel-21.3.4-2.el9)
+#installPackages+=(mesa-libGL-devel-21.3.4-2.el9)
+
+# Using same mesa libraries for RHEL 9.2 which also RHEL 8.8 had due to Xorg crash issue:
+#installPackages+=(mesa-libEGL-devel-21.3.4-1.el9.x86_64)
+#installPackages+=(mesa-libGL-devel-21.3.4-1.el9.x86_64)
+#installPackages+=(mesa-dri-drivers-21.3.4-1.el9.x86_64)
+#installPackages+=(mesa-libgbm-21.3.4-1.el9.x86_64)
+#installPackages+=(mesa-vulkan-drivers-21.3.4-1.el9.x86_64)
+
+# Same as lines above but with -2 version which should be found for el9
+installPackages+=(mesa-libEGL-devel-21.3.4-2.el9.x86_64)
+installPackages+=(mesa-libGL-devel-21.3.4-2.el9.x86_64)
+installPackages+=(mesa-dri-drivers-21.3.4-2.el9.x86_64)
+installPackages+=(mesa-libgbm-21.3.4-2.el9.x86_64)
+installPackages+=(mesa-vulkan-drivers-21.3.4-2.el9.x86_64)
+
+installPackages+=(libxkbfile-devel)
+# Xinput2
+installPackages+=(libXi-devel)
+installPackages+=(mysql-server)
+installPackages+=(mysql)
+installPackages+=(mysql-devel)
+installPackages+=(postgresql-devel)
+installPackages+=(cups-devel)
+installPackages+=(dbus-devel)
+# gstreamer 1 for QtMultimedia
+# Note! gstreamer1-plugins-bad-free needs to be upgraded or it will conflicts with gstreamer1-plugins-base-devel
+installPackages+=(gstreamer1-plugins-bad-free)
+installPackages+=(gstreamer1-devel)
+installPackages+=(gstreamer1-plugins-base-devel)
+# yasm for QtMultimedia
+installPackages+=(yasm)
+# gtk3 style for QtGui/QStyle
+installPackages+=(gtk3-devel)
+# libusb1 for tqtc-boot2qt/qdb
+installPackages+=(libusbx-devel)
+# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
+installPackages+=(speech-dispatcher-devel)
+# Python 2 devel and pip. python-pip requires the EPEL repository to be added
+# Python 2 no longer supported
+# installPackages+=(python2-devel python2-pip)
+# Python 3 with python-devel, pip and virtualenv
+installPackages+=(python3)
+installPackages+=(python3-devel)
+# WebEngine
+installPackages+=(bison)
+installPackages+=(flex)
+installPackages+=(gperftools-libs)
+installPackages+=(gperf)
+installPackages+=(alsa-lib-devel)
+installPackages+=(pulseaudio-libs-devel)
+installPackages+=(libdrm-devel)
+installPackages+=(libva-devel)
+installPackages+=(libXtst-devel)
+installPackages+=(libxshmfence-devel)
+installPackages+=(nspr-devel)
+installPackages+=(nss-devel)
+installPackages+=(python3-html5lib)
+installPackages+=(libstdc++-static)
+installPackages+=(mesa-libgbm-devel-21.3.4-2.el9.x86_64)
+# For Android builds
+installPackages+=(java-17-openjdk-devel-17.0.9.0.9)
+# For receiving shasum
+installPackages+=(perl-Digest-SHA)
+# INTEGRITY requirements
+installPackages+=(glibc.i686)
+# Enable Qt Bluetooth
+installPackages+=(bluez-libs-devel)
+# QtNfc
+installPackages+=(pcsc-lite-devel)
+# QtWebKit
+installPackages+=(libxml2-devel)
+installPackages+=(libxslt-devel)
+# For building Wayland from source
+installPackages+=(libffi-devel)
+# QtWayland
+# installPackages+=(mesa-libwayland-egl)
+# installPackages+=(mesa-libwayland-egl-devel)
+installPackages+=(libwayland-egl)
+installPackages+=(libwayland-client)
+installPackages+=(libwayland-cursor)
+installPackages+=(libwayland-server)
+# Jenkins
+installPackages+=(chrpath)
+# libxkbcommon
+installPackages+=(libxkbcommon-devel)
+installPackages+=(libxkbcommon-x11-devel)
+# xcb-util-* libraries
+installPackages+=(xcb-util)
+installPackages+=(xcb-util-image-devel)
+installPackages+=(xcb-util-keysyms-devel)
+installPackages+=(xcb-util-wm-devel)
+installPackages+=(xcb-util-renderutil-devel)
+installPackages+=(xcb-util-cursor)
+installPackages+=(xcb-util-cursor-devel)
+
+# ODBC support
+installPackages+=(unixODBC-devel)
+installPackages+=(unixODBC)
+# Vulkan support
+installPackages+=(vulkan-devel)
+installPackages+=(vulkan-tools)
+# Conan: For Python build
+installPackages+=(xz-devel)
+installPackages+=(zlib-devel)
+installPackages+=(libffi-devel)
+installPackages+=(libsqlite3x-devel)
+# Build.pl
+installPackages+=(perl-Data-Dumper)
+# In RedHat these come with Devtoolset
+installPackages+=(gcc)
+installPackages+=(gcc-c++)
+installPackages+=(make)
+installPackages+=(gcc-toolset-12)
+# Open source VMware Tools
+installPackages+=(open-vm-tools)
+# nfs-utils is needed to make mount work with ci-files01
+installPackages+=(nfs-utils)
+# cifs-utils, for mounting smb drive
+installPackages+=(keyutils)
+installPackages+=(cifs-utils)
+# used for reading vcpkg packages version, from vcpkg.json
+installPackages+=(jq)
+# zip, needed for vcpkg caching
+installPackages+=(zip)
+# OpenSSL requirement, built by vcpkg
+installPackages+=(perl-IPC-Cmd)
+
+sudo yum -y install "${installPackages[@]}"
+
+sudo dnf install nodejs-16.14.0-4.el9_0 -y
+# Required by QtCore
+sudo dnf install 'perl(English)' -y
+
+# We shouldn't use yum to install virtualenv. The one found from package repo is not
+# working, but we can use installed pip
+sudo pip3 install --upgrade pip
+# Configure pip
+sudo pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+sudo pip config --user set global.extra-index-url https://pypi.org/simple/
+
+sudo pip3 install virtualenv wheel
+# Just make sure we have virtualenv to run with python3.8 -m virtualenv
+sudo python -m pip install virtualenv wheel
+
+sudo /usr/bin/pip3 install wheel
+
+# Make FindPython3.cmake to find python3
+sudo ln -s /usr/bin/python3 /usr/local/bin/python3
+
+OpenSSLVersion="$(openssl version |cut -b 9-14)"
+echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
+
+# List all available updates
+sudo yum -y list updates
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-p7zip.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-p7zip.sh
new file mode 100755
index 00000000..f1035285
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/04-p7zip.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+set -ex
+
+name="p7zip"
+version="7-11"
+sudo yum -y install "$name"
+
+# Link 7za to 7z so we can use existing installation scripts
+sudo ln -s /usr/bin/7za /usr/bin/7z
+
+echo "$name = $version" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang-v100-dyn.sh
new file mode 100755
index 00000000..2e08049d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang-v100-dyn.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang-v100-dyn.sh
+"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang.sh
new file mode 100755
index 00000000..cc68ed1f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-libclang.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang.sh
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..ed49b3a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/05-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/linux/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/09-disable_selinux.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/09-disable_selinux.sh
new file mode 100755
index 00000000..d044472b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/09-disable_selinux.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/disable_selinux.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable_selinux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/20-sccache.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/20-sccache.sh
new file mode 100755
index 00000000..b371d947
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/20-sccache.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/22-mqtt_broker.sh
new file mode 100755
index 00000000..bb69e88a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/22-mqtt_broker.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/mqtt_broker.sh
+source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-fbx.sh
new file mode 100755
index 00000000..16a9bda8
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-fbx.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/fbx_linux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-conan.sh
new file mode 100755
index 00000000..67a4f911
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-conan.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/install-conan.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-git.sh
new file mode 100755
index 00000000..7a73f354
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install-git.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-git.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install_icu.sh
new file mode 100755
index 00000000..8d365c9d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/30-install_icu.sh
@@ -0,0 +1,45 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+set -ex
+
+# This script will install ICU
+
+icuVersion="73.2"
+icuLocation="/usr/lib64"
+sha1="d2bbb7b2a9a9ee00dba5cc6a68137f6c8a98c27e"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel8.6-x64.7z"
+baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel8.6-x64.7z"
+
+sha1Dev="edc9cba31ffeac28bf7360c52b85b5e4d2f39043"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel8.6-x64-devel.7z"
+develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel8.6-x64-devel.7z"
+
+echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
+
+targetFile=$(mktemp)
+DownloadURL "$baseBinaryPackageURL" "$baseBinaryPackageExternalURL" "$sha1" "$targetFile"
+sudo 7z x -y -o/usr/lib64 "$targetFile"
+sudo rm "$targetFile"
+
+echo "Installing custom ICU devel packages on RHEL"
+
+tempDir=$(mktemp -d)
+
+targetFile=$(mktemp)
+DownloadURL "$develPackageURL" "$develPackageExternalURL" "$sha1Dev" "$targetFile"
+7z x -y -o"$tempDir" "$targetFile"
+
+sudo cp -a "$tempDir"/lib/* /usr/lib64
+sudo cp -a "$tempDir"/* /usr/
+
+sudo rm "$targetFile"
+sudo rm -fr "$tempDir"
+
+sudo /sbin/ldconfig
+
+echo "ICU = $icuVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/35-install-breakpad.sh
new file mode 100755
index 00000000..8a9dde56
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/35-install-breakpad.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install-breakpad.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-android_linux.sh
new file mode 100755
index 00000000..877dfd08
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-android_linux.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/android_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-install-cmake.sh
new file mode 100755
index 00000000..155f6b7d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/40-install-cmake.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs CMake 3.6.2
+
+set -ex
+
+# CMake is needed for autotests that verify that Qt can be built with CMake
+
+# shellcheck source=../common/linux/cmake_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/41-install-vcpkg.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/41-install-vcpkg.sh
new file mode 100644
index 00000000..aa88364d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/41-install-vcpkg.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/42-install-vcpkg-ports.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/42-install-vcpkg-ports.sh
new file mode 100755
index 00000000..71a46f9a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/42-install-vcpkg-ports.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg-ports.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/50-openssl_for_android_linux.sh
new file mode 100755
index 00000000..a71ba0a7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/50-openssl_for_android_linux.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/unix/openssl_for_android.sh
+source "${BASH_SOURCE%/*}/../common/unix/openssl_3_for_android.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/60-install_protobuf.sh
new file mode 100755
index 00000000..b0761374
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/60-install_protobuf.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_protobuf.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/61-install_grpc.sh
new file mode 100755
index 00000000..3d14832d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/61-install_grpc.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_grpc.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_QemuGA.sh
new file mode 100755
index 00000000..dbaed25d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_QemuGA.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QEMU Guest Agent
+
+set -ex
+
+sudo yum -y install qemu-guest-agent
+sudo systemctl start qemu-guest-agent
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_dwz.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_dwz.sh
new file mode 100755
index 00000000..518c5533
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/70-install_dwz.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 Konstantin Tokarev <annulen@yandex.ru>
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo yum -y install elfutils-libelf-devel
+
+# shellcheck source=../common/linux/install_dwz.sh
+source "${BASH_SOURCE%/*}/../common/linux/install_dwz.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-bootstrap-autostart.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-bootstrap-autostart.sh
new file mode 100755
index 00000000..1ff43850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-bootstrap-autostart.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/linux/bootstrap-autostart.sh"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-install-ffmpeg.sh
new file mode 100755
index 00000000..61da9b7b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-install-ffmpeg.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-mimer.sh
new file mode 100755
index 00000000..4683452a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-mimer.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/mimersql.sh" "openssl-3" "rpm"
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-squish.sh
new file mode 100755
index 00000000..f803ccc1
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/90-squish.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/squishInstall.sh"
+
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-cleanup.sh
new file mode 100755
index 00000000..dd268210
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-cleanup.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/cleanup_cache.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-enable_test_stacktraces.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-enable_test_stacktraces.sh
new file mode 100755
index 00000000..600b7850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-enable_test_stacktraces.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/linux/enable_test_stacktraces.sh
diff --git a/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-version.sh b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-version.sh
new file mode 100755
index 00000000..b12622c6
--- /dev/null
+++ b/coin/provisioning/qtci-linux-RHEL-9.2-x86_64/99-version.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script needs to be called last during provisioning so that the software information will show up last in provision log.
+
+# Storage installed RPM packages information
+
+set -ex
+
+# shellcheck disable=SC2129
+echo "*********************************************" >> ~/versions.txt
+echo "***** All installed RPM packages *****" >> ~/versions.txt
+rpm -q -a | sort >> ~/versions.txt
+echo "*********************************************" >> ~/versions.txt
+
+"$(dirname "$0")/../common/linux/version.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-btrfs-balance.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-btrfs-balance.sh
index a0126cb2..4b87251f 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-btrfs-balance.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-btrfs-balance.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-coredump.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-coredump.sh
index d078f9c7..3d6b8ef4 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-coredump.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-coredump.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-fstrim_timer.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-fstrim_timer.sh
index 9fd06e72..9b65c43a 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-fstrim_timer.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable-fstrim_timer.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable_net_lso.sh
index 95fd5467..d094d755 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable_net_lso.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-disable_net_lso.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
sudo mkdir -p /etc/wicked/scripts
echo "ethtool -K \$2 tso off" | sudo tee -a /etc/wicked/scripts/net_tso_off
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-systemsetup.sh
index e6cff67d..32c789bb 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-disable-gnome-notifications.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-disable-gnome-notifications.sh
index f38c9bab..1b9ed6c9 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-disable-gnome-notifications.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-disable-gnome-notifications.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-notifications.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-enable-modules.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-enable-modules.sh
index ad69991f..e441c959 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-enable-modules.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-enable-modules.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-zypperpackages.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-zypperpackages.sh
index 58e0aced..a9fab9bd 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-zypperpackages.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/02-zypperpackages.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -58,6 +21,7 @@ sudo zypper -nq install bison flex gperf \
zlib-devel \
libudev-devel \
glib2-devel \
+ libopenssl-3-devel \
freetype2-devel \
fontconfig-devel \
sqlite3-devel \
@@ -92,7 +56,11 @@ sudo zypper -nq install --force-resolution libxcb-cursor0 xcb-util-cursor-devel
# qtwebengine
sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel libdrm-devel \
libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \
- mozilla-nspr-devel mozilla-nss-devel glproto-devel libxshmfence-devel
+ mozilla-nspr-devel mozilla-nss-devel glproto-devel libxshmfence-devel \
+ libgbm-devel Mesa-dri-devel vulkan-devel
+
+# qtwebengine, qtmultimedia+ffmpeg
+sudo zypper -nq install libva-devel
# qtwebkit
sudo zypper -nq install libxml2-devel libxslt-devel
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang-v100-dyn.sh
index b0080cbc..e1fc1550 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang.sh
index bbe2b4b4..4e371161 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-pythondev.sh
index fd91b6ef..74a34847 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-pythondev.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/08-pythondev.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# provides: python development libraries
# version: provided by default Linux distribution repository
@@ -46,9 +9,10 @@
set -ex
PROVISIONING_DIR="$(dirname "$0")/../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-
+# shellcheck source=../common/unix/common.sourced.sh
+source "${BASH_SOURCE%/*}/../common/unix/common.sourced.sh"
+# shellcheck source=../common/unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
# Selected installation instructions coming from:
# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh
@@ -70,9 +34,9 @@ function InstallPython {
#Download Source code
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/python/Python-${PACKAGE_VERSION}.tar.xz \
- https://www.python.org/ftp/${PACKAGE_NAME}/${PACKAGE_VERSION}/Python-${PACKAGE_VERSION}.tar.xz \
- $PACKAGE_SHA
+ "http://ci-files01-hki.ci.qt.io/input/python/Python-${PACKAGE_VERSION}.tar.xz" \
+ "https://www.python.org/ftp/${PACKAGE_NAME}/${PACKAGE_VERSION}/Python-${PACKAGE_VERSION}.tar.xz" \
+ "$PACKAGE_SHA"
tar -xf "Python-${PACKAGE_VERSION}.tar.xz"
#Configure and Build
@@ -89,7 +53,7 @@ function InstallPython {
#Verify python installation
export PATH="/usr/local/bin:${PATH}"
- if command -V "$PACKAGE_NAME"${PACKAGE_VERSION:0:1} >/dev/null
+ if command -V "$PACKAGE_NAME${PACKAGE_VERSION:0:1}" >/dev/null
then
printf -- "%s installation completed. Please check the Usage to start the service.\n" "$PACKAGE_NAME"
else
@@ -103,15 +67,15 @@ function InstallPython {
InstallPython "$python2Version" "$python2Sha"
InstallPython "$python3Version" "$python3Sha"
-python3 --version | fgrep "$python3Version"
+python3 --version | grep -F "$python3Version"
+
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
pip3 install --user wheel
pip3 install --user virtualenv
-# Install all needed packages in a special wheel cache directory
-pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
SetEnvVar "PYTHON3_PATH" "/usr/local/bin"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-cmake.sh
index 5eb53566..38e86081 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-cmake.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-openssl.sh
index e1131e39..94f30890 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-openssl.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/09-openssl.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/22-mqtt_broker.sh
index e0875b37..c81f5c66 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/mqtt_broker.sh
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-conan.sh
index b8820053..c5b53fac 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/55-emsdk.sh
index 3299f3e5..6b1a79e5 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/55-emsdk.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/55-emsdk.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/60-install_protobuf.sh
index b46e5ece..c538ca07 100644..100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/61-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/61-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/70-install_QemuGA.sh
index 248e17db..76459a03 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-install-ffmpeg.sh
index 61da9b7b..61da9b7b 100644..100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-install-ffmpeg.sh
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-mimer.sh
index e175a9c9..bff2a7c7 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-unset-proxy.sh
index 59f3abc2..d63c4919 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-unset-proxy.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-unset-proxy.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-version.sh b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-version.sh
index 87825b16..00d06674 100755
--- a/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-SLES-15_SP4-x86_64/99-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-btrfs-balance.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-btrfs-balance.sh
new file mode 100644
index 00000000..23f9ce85
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-btrfs-balance.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Stops the balance job if one is running at the moment. This is a very expensive thing to run and causes major slow down.
+sudo systemctl stop btrfs-balance.service
+
+# This will disable btrfs balance job scheduling.
+sudo sed -i 's/BTRFS_BALANCE_PERIOD="weekly"/BTRFS_BALANCE_PERIOD="none"/g' /etc/sysconfig/btrfsmaintenance
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-coredump.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-coredump.sh
new file mode 100644
index 00000000..c757ecb9
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-coredump.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo chkconfig kdump off
+sudo sed -i 's/#Storage=external/Storage=none/g' /etc/systemd/coredump.conf
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-fstrim_timer.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-fstrim_timer.sh
new file mode 100644
index 00000000..93c694d0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable-fstrim_timer.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# This will disable fstrim. The fstrim.timer is scheduled to activate the fstrim.service
+sudo systemctl stop fstrim.timer
+sudo systemctl disable fstrim.timer
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable_net_lso.sh
new file mode 100644
index 00000000..19ce7038
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-disable_net_lso.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+sudo mkdir -p /etc/wicked/scripts
+echo "ethtool -K \$2 tso off" | sudo tee -a /etc/wicked/scripts/net_tso_off
+sudo chmod 744 /etc/wicked/scripts/net_tso_off
+echo "PRE_UP_SCRIPT='wicked:/etc/wicked/scripts/net_tso_off'" | sudo tee -a /etc/sysconfig/network/ifcfg-eth0
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-install_telegraf.sh
new file mode 100644
index 00000000..70aeca1a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-install_telegraf.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+"$(dirname "$0")"/../common/unix/telegraf_install.sh
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-set-ulimit.sh
new file mode 100644
index 00000000..59cbf4bb
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-set-ulimit.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/set_ulimit.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-systemsetup.sh
new file mode 100644
index 00000000..dcbbfea9
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/01-systemsetup.sh
@@ -0,0 +1,49 @@
+#!/usr/bin/env bash
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/shared/network_test_server_ip.txt
+source "$BASEDIR/../common/shared/network_test_server_ip.txt"
+# shellcheck source=../common/unix/check_and_set_proxy.sh
+source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
+
+echo "Set timezone to UTC."
+sudo timedatectl set-timezone Etc/UTC
+echo "Timeout for blanking the screen (0 = never)"
+gsettings set org.gnome.desktop.session idle-delay 0
+echo "Prevents screen lock when screesaver goes active."
+gsettings set org.gnome.desktop.screensaver lock-enabled false
+gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
+
+sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
+sudo grub2-mkconfig -o /boot/grub2/grub.cfg
+
+echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
+echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+echo "Set DISPLAY"
+echo 'export DISPLAY=":0"' >> ~/.bashrc
+
+echo "Checking packagekit status"
+sudo systemctl status packagekit || true
+
+while sudo systemctl is-active packagekit >/dev/null 2>&1 ; do
+ echo "Waiting for PackageKit to finish..."
+ sudo systemctl is-active packagekit
+ sleep 5
+done
+
+sudo systemctl stop packagekit
+sudo systemctl disable packagekit # With --now this could stop and disable
+sudo systemctl mask packagekit
+sudo systemctl status packagekit || true
+
+sudo zypper -nq remove gnome-software
+
+# shellcheck disable=SC2031
+if [ "$http_proxy" != "" ]; then
+ sudo sed -i 's/PROXY_ENABLED=\"no\"/PROXY_ENABLED=\"yes\"/' /etc/sysconfig/proxy
+ sudo sed -i "s|HTTP_PROXY=\".*\"|HTTP_PROXY=\"$proxy\"|" /etc/sysconfig/proxy
+fi
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-gnome-notifications.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-gnome-notifications.sh
new file mode 100644
index 00000000..bf699969
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-gnome-notifications.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/disable-notifications.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-ntp.sh
new file mode 100644
index 00000000..b3b4880c
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-disable-ntp.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# shellcheck source=../common/linux/disable-ntp_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-enable-modules.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-enable-modules.sh
new file mode 100644
index 00000000..55c697e3
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-enable-modules.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo curl http://repo-clones.ci.qt.io:8081/tools/rmt-client-setup --output rmt-client-setup
+sudo chmod 755 rmt-client-setup
+sudo SUSEConnect --cleanup
+sudo sh rmt-client-setup https://repo-clones.ci.qt.io:8082 --yes --fingerprint 80:90:7F:45:C6:DF:45:8A:57:25:1E:17:5E:D7:E3:6E:96:1B:1B:95
+
+# Activate these modules
+sudo SUSEConnect -p sle-module-basesystem/15.5/x86_64
+sudo SUSEConnect -p sle-module-server-applications/15.5/x86_64
+sudo SUSEConnect -p sle-module-desktop-applications/15.5/x86_64
+sudo SUSEConnect -p sle-module-development-tools/15.5/x86_64
+sudo SUSEConnect -p sle-module-python3/15.5/x86_64
+# sle-module-web-scripting is required for Nodejs
+sudo SUSEConnect -p sle-module-web-scripting/15.5/x86_64
+
+sudo zypper lr -u
+
+sudo rm -f /tmp/suse_rk.sh
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-zypperpackages.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-zypperpackages.sh
new file mode 100644
index 00000000..275592ea
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/02-zypperpackages.sh
@@ -0,0 +1,113 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo zypper -nq install elfutils binutils
+
+sudo zypper addrepo --no-gpgcheck https://download.opensuse.org/repositories/devel:gcc/SLE-15/devel:gcc.repo
+sudo zypper refresh
+sudo zypper -nq install --force-resolution gcc10 gcc10-c++
+
+sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 1 \
+ --slave /usr/bin/g++ g++ /usr/bin/g++-10 \
+ --slave /usr/bin/cc cc /usr/bin/gcc-10 \
+ --slave /usr/bin/c++ c++ /usr/bin/g++-10
+
+sudo zypper -nq install git ninja make patch wget tar
+
+sudo zypper -nq install bison flex gperf \
+ zlib-devel \
+ libudev-devel \
+ glib2-devel \
+ freetype2-devel \
+ fontconfig-devel \
+ sqlite3-devel \
+ libxkbcommon-devel \
+ libxkbcommon-x11-devel
+
+sudo zypper -nq install cmake
+
+sudo zypper -nq install p7zip
+
+# EGL support
+sudo zypper -nq install Mesa-libEGL-devel Mesa-libGL-devel
+
+# ICU
+sudo zypper -nq install libicu-devel libicu-suse65_1
+
+# gtk3 style for QtGui/QStyle
+sudo zypper -nq install gtk3-devel
+
+# Xinput2
+sudo zypper addrepo --no-gpgcheck https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg14.repo
+# Leaving postgresql14-devel out as dependency with clang15-devel doesn't yet have provider
+sudo zypper -nq install libXi-devel postgresql14 mysql-devel mysql mysql-server
+
+# system provided XCB libraries
+sudo zypper -nq install xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \
+ xcb-util-wm-devel xcb-util-renderutil-devel
+
+# temporary solution for libxcb-cursor0 xcb-util-cursor-devel
+sudo zypper addrepo --no-gpgcheck https://download.opensuse.org/repositories/home:/liangqi_qt:/branches:/SUSE:/SLE-15-SP5:/GA/standard/home:liangqi_qt:branches:SUSE:SLE-15-SP5:GA.repo
+sudo zypper refresh
+sudo zypper -nq install --force-resolution libxcb-cursor0 xcb-util-cursor-devel
+
+# qtwebengine
+sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel libdrm-devel \
+ libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \
+ mozilla-nspr-devel mozilla-nss-devel glproto-devel libxshmfence-devel \
+ vulkan-devel
+
+# qtwebkit
+sudo zypper -nq install libxml2-devel libxslt-devel
+
+# yasm (for ffmpeg in multimedia)
+sudo zypper -nq install yasm
+
+# GStreamer (qtwebkit and qtmultimedia), pulseaudio (qtmultimedia)
+sudo zypper -nq install gstreamer-devel gstreamer-plugins-base-devel libpulse-devel
+
+# cups
+sudo zypper -nq install cups-devel
+
+# speech-dispatcher
+sudo zypper -nq install libspeechd-devel
+#sudo sed -i 's:includedir=/usr/include:includedir=/usr/include/speech-dispatcher:' /usr/lib64/pkgconfig/speech-dispatcher.pc
+
+# ODBC support
+sudo zypper -nq install unixODBC-devel unixODBC
+
+# sqlite support
+sudo zypper -nq install sqlite3 sqlite3-devel
+
+# Java - needed by RTA jenkins
+sudo zypper -nq install java
+
+# open-vm-tools requires update. Version in tier1 is broken and causes segfault on boot.
+sudo zypper -nq update open-vm-tools
+
+# Tools to build Git
+sudo zypper -nq install autoconf libcurl-devel libexpat-devel
+
+# used for reading vcpkg packages version, from vcpkg.json
+sudo zypper -nq install jq
+
+# zip, needed for vcpkg caching
+sudo zypper -nq install zip
+
+# Nodejs - required by QtWebengine
+sudo zypper -nq install nodejs18
+
+# OpenSSL 3
+sudo zypper -nq install openssl-3
+
+# cifs-utils, for mounting smb drive
+sudo zypper -nq install cifs-utils
+
+gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
+echo "GCC = $gccVersion" >> versions.txt
+
+OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
+echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/03-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/03-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..ed49b3a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/03-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/linux/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang-v100-dyn.sh
new file mode 100644
index 00000000..fc446b09
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang-v100-dyn.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang-v100-dyn.sh
+"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang.sh
new file mode 100644
index 00000000..85786c6d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-libclang.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang.sh
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-pythondev.sh
new file mode 100644
index 00000000..79e172ee
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/08-pythondev.sh
@@ -0,0 +1,77 @@
+#!/usr/bin/env bash
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# provides: python development libraries
+# version: provided by default Linux distribution repository
+# needed to build pyside
+
+set -ex
+
+PROVISIONING_DIR="$(dirname "$0")/../"
+# shellcheck source=../common/unix/common.sourced.sh
+source "${BASH_SOURCE%/*}/../common/unix/common.sourced.sh"
+# shellcheck source=../common/unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+# Selected installation instructions coming from:
+# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh
+export PACKAGE_NAME="python"
+python2Version="2.7.18"
+python3Version="3.8.16"
+python2Sha="678d4cf483a1c92efd347ee8e1e79326dc82810b"
+python3Sha="d85dbb3774132473d8081dcb158f34a10ccad7a90b96c7e50ea4bb61f5ce4562"
+
+
+function InstallPython {
+
+ PACKAGE_VERSION=$1
+ PACKAGE_SHA=$2
+
+ $CMD_PKG_INSTALL ncurses zlib-devel libffi-devel
+
+ echo 'Configuration and Installation started'
+
+ #Download Source code
+ DownloadURL \
+ "http://ci-files01-hki.ci.qt.io/input/python/Python-${PACKAGE_VERSION}.tar.xz" \
+ "https://www.python.org/ftp/${PACKAGE_NAME}/${PACKAGE_VERSION}/Python-${PACKAGE_VERSION}.tar.xz" \
+ "$PACKAGE_SHA"
+ tar -xf "Python-${PACKAGE_VERSION}.tar.xz"
+
+ #Configure and Build
+ cd "Python-${PACKAGE_VERSION}"
+ ./configure --prefix=/usr/local --exec-prefix=/usr/local
+ make
+ sudo make install
+
+ echo 'Installed python successfully'
+
+ #Cleanup
+ cd -
+ rm "Python-${PACKAGE_VERSION}.tar.xz"
+
+ #Verify python installation
+ export PATH="/usr/local/bin:${PATH}"
+ if command -V "$PACKAGE_NAME${PACKAGE_VERSION:0:1}" >/dev/null
+ then
+ printf -- "%s installation completed. Please check the Usage to start the service.\n" "$PACKAGE_NAME"
+ else
+ printf -- "Error while installing %s, exiting with 127 \n" "$PACKAGE_NAME"
+ exit 127
+ fi
+
+
+}
+
+InstallPython "$python2Version" "$python2Sha"
+InstallPython "$python3Version" "$python3Sha"
+
+python3 --version | grep -F "$python3Version"
+
+pip3 install --user wheel
+pip3 install --user virtualenv
+
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+SetEnvVar "PYTHON3_PATH" "/usr/local/bin"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-cmake.sh
new file mode 100644
index 00000000..2f9acc6b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-cmake.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-openssl.sh
new file mode 100644
index 00000000..3a65360e
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/09-openssl.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")/../common/unix/install-openssl.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/20-sccache.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/20-sccache.sh
new file mode 100644
index 00000000..1e30c811
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/20-sccache.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/22-mqtt_broker.sh
new file mode 100644
index 00000000..c81f5c66
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/22-mqtt_broker.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/mqtt_broker.sh
+source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-conan.sh
new file mode 100644
index 00000000..337d7c0c
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-conan.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/install-conan.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-git.sh
new file mode 100644
index 00000000..4931b6ae
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/30-install-git.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-git.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/41-install-vcpkg.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/41-install-vcpkg.sh
new file mode 100644
index 00000000..aa88364d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/41-install-vcpkg.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/42-install-vcpkg-ports.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/42-install-vcpkg-ports.sh
new file mode 100755
index 00000000..71a46f9a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/42-install-vcpkg-ports.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg-ports.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/55-emsdk.sh
new file mode 100644
index 00000000..6b1a79e5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/55-emsdk.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/emsdk.sh
+source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/60-install_protobuf.sh
new file mode 100644
index 00000000..c538ca07
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/60-install_protobuf.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_protobuf.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
+
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/61-install_grpc.sh
new file mode 100644
index 00000000..ecd6a51f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/61-install_grpc.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_grpc.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
+
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/70-install_QemuGA.sh
new file mode 100644
index 00000000..76459a03
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/70-install_QemuGA.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QEMU Guest Agent
+
+set -ex
+
+sudo zypper -nq install qemu-guest-agent
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-bootstrap-autostart.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-bootstrap-autostart.sh
new file mode 100644
index 00000000..d524920e
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-bootstrap-autostart.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+source "${BASH_SOURCE%/*}/../common/linux/bootstrap-autostart.sh"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-install-ffmpeg.sh
new file mode 100644
index 00000000..2a0d7258
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-install-ffmpeg.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-mimer.sh
new file mode 100644
index 00000000..bff2a7c7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-mimer.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/mimersql.sh" "openssl-1" "rpm"
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-squish.sh
new file mode 100644
index 00000000..68f0fba2
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/90-squish.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/squishInstall.sh"
+
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-enable_test_stacktraces.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-enable_test_stacktraces.sh
new file mode 100755
index 00000000..600b7850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-enable_test_stacktraces.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/linux/enable_test_stacktraces.sh
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-unset-proxy.sh
new file mode 100644
index 00000000..d63c4919
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-unset-proxy.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Having proxy set while running autotests makes them fail
+sudo sed -i 's/PROXY_ENABLED=\"yes\"/PROXY_ENABLED=\"no\"/' /etc/sysconfig/proxy
+
diff --git a/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-version.sh b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-version.sh
new file mode 100644
index 00000000..00d06674
--- /dev/null
+++ b/coin/provisioning/qtci-linux-SLES-15_SP5-x86_64/99-version.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script needs to be called last during provisioning so that the software information will show up last in provision log.
+
+# Storage installed RPM packages information
+
+set -ex
+
+# shellcheck disable=SC2129
+echo "*********************************************" >> ~/versions.txt
+echo "***** All installed RPM packages *****" >> ~/versions.txt
+rpm -q -a | sort >> ~/versions.txt
+echo "*********************************************" >> ~/versions.txt
+
+"$(dirname "$0")/../common/linux/version.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/01-systemsetup.sh
index bc39e007..81b42211 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script modifies system settings for automated use
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh
index 221d29d9..5fed6690 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install required packages with APT
@@ -118,11 +81,17 @@ installPackages+=(libgstreamer-plugins-base1.0-dev)
installPackages+=(libgstreamer-plugins-good1.0-dev)
installPackages+=(libgstreamer-plugins-bad1.0-dev)
installPackages+=(yasm)
+installPackages+=(libva-dev)
+# for QtMultimedia streaming tests
+installPackages+=(vlc-bin)
+installPackages+=(vlc-plugin-base)
+
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
installPackages+=(g++-multilib)
# python3 development package
installPackages+=(python3-dev)
installPackages+=(python3-pip)
+installPackages+=(python3-venv)
installPackages+=(virtualenv)
installPackages+=(python3-wheel)
# python2 development package
@@ -201,12 +170,9 @@ echo "Installing packages"
waitLoop
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
-# Install all needed packages in a special wheel cache directory
-pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
OpenSSLVersion="$(openssl version |cut -b 9-14)"
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
-
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-notifications.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-notifications.sh
index f38c9bab..1b9ed6c9 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-notifications.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-notifications.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-notifications.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-ntp.sh
index 89806892..1995aa14 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-ntp.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-disable-ntp.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-ntp_linux.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-git_lfs.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-git_lfs.sh
index ad80bc23..987e3624 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-git_lfs.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-git_lfs.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install Git Large File Storage
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh
index 09477763..879f3ffb 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-apport.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-update_notifier.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-update_notifier.sh
index 55c6ce79..f4a5119f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-update_notifier.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-update_notifier.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-update_notifier.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh
index 744228d7..43a9f098 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/03-gcc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang-v100-dyn.sh
index dcd5b2d8..85c261ee 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang.sh
index 0d18dbcf..fac8d4e7 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/22-mqtt_broker.sh
index e55e66f7..b0791cb1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-conan.sh
index b8820053..c5b53fac 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-android_linux.sh
index 70632785..2526bc6d 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-android_linux.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-android_linux.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-install-cmake.sh
index db8a3ff5..a418e4c5 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-install-cmake.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/40-install-cmake.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/60-install_protobuf.sh
index 19c8af39..3e2b8921 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/80-docker.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/80-docker.sh
index 82c2c659..561e762f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/80-docker.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/80-docker.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/docker.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-mimer.sh
index 7d3543e6..ddd5bc33 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh
index fcc7d31c..e42a5373 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/squish-coco.sh
source "${BASH_SOURCE%/*}/../common/linux/squish-coco.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-version.sh b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-version.sh
index c8f3ac03..31821f6b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/99-version.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/ubuntu-version.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-disable_net_lso.sh
index d7bf9ca5..81e7d137 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-disable_net_lso.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-disable_net_lso.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
echo "ethtool -K \${DEVICE_IFACE} tso off" | sudo tee -a /etc/NetworkManager/dispatcher.d/pre-up.d/net_tso_off
sudo chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/net_tso_off
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-systemsetup.sh
index f642059a..98744822 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script modifies system settings for automated use
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-apt.sh
index a9e95902..72d32e8f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-apt.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-apt.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install required packages with APT
@@ -93,6 +56,7 @@ installPackages+=(libxi-dev)
installPackages+=(libdbus-1-dev)
# Needed libraries for WebEngine
installPackages+=(libudev-dev)
+installPackages+=(libdrm-dev)
installPackages+=(libegl1-mesa-dev)
installPackages+=(libfontconfig1-dev)
installPackages+=(libgbm-dev)
@@ -100,6 +64,7 @@ installPackages+=(liblcms2-dev)
installPackages+=(libpci-dev)
installPackages+=(libre2-dev)
installPackages+=(libsnappy-dev)
+installPackages+=(libva-dev)
installPackages+=(libvpx-dev)
installPackages+=(libxkbfile-dev)
installPackages+=(libxshmfence-dev)
@@ -135,12 +100,17 @@ installPackages+=(libgstreamer-gl1.0-0)
installPackages+=(gir1.2-gst-plugins-base-1.0)
installPackages+=(gir1.2-gst-plugins-bad-1.0)
installPackages+=(yasm)
+installPackages+=(libva-dev)
+# for QtMultimedia streaming tests
+installPackages+=(vlc-bin)
+installPackages+=(vlc-plugin-base)
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
installPackages+=(g++-multilib)
# python3 development package
installPackages+=(python3-dev)
installPackages+=(python3-pip)
+installPackages+=(python3-venv)
installPackages+=(virtualenv)
installPackages+=(python3-wheel)
# python2 development package
@@ -249,13 +219,12 @@ echo "Installing packages"
waitLoop
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
-# Install all needed packages in a special wheel cache directory
-pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
OpenSSLVersion="$(openssl version |cut -b 9-14)"
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
-
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-notifications.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-notifications.sh
index f38c9bab..1b9ed6c9 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-notifications.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-notifications.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-notifications.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-ntp.sh
index 89806892..1995aa14 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-ntp.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-disable-ntp.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-ntp_linux.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-git_lfs.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-git_lfs.sh
index ad80bc23..06b5b1e7 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-git_lfs.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-git_lfs.sh
@@ -1,49 +1,12 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install Git Large File Storage
set -ex
curl -L https://packagecloud.io/github/git-lfs/gpgkey | sudo apt-key add -
-sudo apt-add-repository 'deb https://packagecloud.io/github/git-lfs/ubuntu/ xenial main'
+sudo apt-add-repository 'deb https://packagecloud.io/github/git-lfs/ubuntu/ focal main'
sudo apt update
sudo apt install git-lfs
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-apport.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-apport.sh
index 09477763..879f3ffb 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-apport.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-apport.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-apport.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-update_notifier.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-update_notifier.sh
index 55c6ce79..f4a5119f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-update_notifier.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/02-remove-update_notifier.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-update_notifier.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-gcc.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-gcc.sh
index 15142600..8ca760ad 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-gcc.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-gcc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-qemu.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-qemu.sh
index 34d46481..5ed06f29 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-qemu.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/03-qemu.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang-v100-dyn.sh
index dcd5b2d8..85c261ee 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang.sh
index 0d18dbcf..fac8d4e7 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-yocto.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-yocto.sh
index cab1e1b5..a764dc7e 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-yocto.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/04-yocto.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs the Yocto toolchain
@@ -48,7 +11,7 @@ source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-primaryBaseUrlPath="http://ci-files01-hki.intra.qt.io/input/boot2qt/gatesgarth"
+primaryBaseUrlPath="http://ci-files01-hki.ci.qt.io/input/boot2qt/gatesgarth"
altBaseUrlPath="http://download.qt.io/development_releases/prebuilt/boot2qt/gatesgarth"
echo "Installing Yocto toolchain for 32-bit b2qt ARMV7..."
@@ -136,9 +99,11 @@ else
exit 1
fi
-echo "Yocto ARMv7 toolchain = $versionARM" >> ~/versions.txt
-echo "Yocto ARM64 toolchain = $versionARM64" >> ~/versions.txt
-echo "Yocto MIPS64 toolchain = $versionMIPS64" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Yocto ARMv7 toolchain = $versionARM
+Yocto ARM64 toolchain = $versionARM64
+Yocto MIPS64 toolchain = $versionMIPS64
+EOB
# List qt user in qemu toolchain sysroots
sudo sh -c "grep ^qt /etc/passwd >> $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/passwd"
@@ -148,8 +113,9 @@ sudo sh -c "grep ^qt /etc/group >> $yoctoLocationARM64/sysroots/$sysrootARM64/et
# Fix mdns to support both docker and network tests
# See also https://bugreports.qt.io/browse/QTBUG-106013
-sudo sh -c "sed -i '/^hosts:/s/.*/hosts: files myhostname mdns_minimal [NOTFOUND=return] dns mdns4/' $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/nsswitch.conf"
-sudo sh -c "sed -i '/^hosts:/s/.*/hosts: files myhostname mdns_minimal [NOTFOUND=return] dns mdns4/' $yoctoLocationARM64/sysroots/$sysrootARM64/etc/nsswitch.conf"
+sudo sed -i '/^hosts:/s/.*/hosts: files myhostname mdns_minimal [NOTFOUND=return] mdns4 dns/' \
+ $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/nsswitch.conf \
+ $yoctoLocationARM64/sysroots/$sysrootARM64/etc/nsswitch.conf
# Install qemu binfmt for 32bit and 64bit arm architectures
sudo update-binfmts --package qemu-arm --install arm $yoctoLocationARMv7/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-arm \
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/08-integrity.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/08-integrity.sh
index 00a9c984..0e8dbb39 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/08-integrity.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/08-integrity.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/22-mqtt_broker.sh
index e55e66f7..b0791cb1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-conan.sh
index b8820053..c5b53fac 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install_icu.sh
index 373212d3..b417a12f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install_icu.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/30-install_icu.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
@@ -50,11 +13,11 @@ icuVersion="60.2"
icuLocationLib="/opt/icu/lib64"
icuLocationInclude="/opt/icu/include"
sha1="2b972d8897783c08dfe1e52af49216ed92656736"
-baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu18.04-x64_60_2.7z"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu18.04-x64_60_2.7z"
baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Ubuntu18.04-x64_60_2.7z"
sha1Dev="416c89d3ded143ea1d4fcc688dce02b01aaa9ee2"
-develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu18.04-x64-devel_60_2.7z"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu18.04-x64-devel_60_2.7z"
develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Ubuntu18.04-x64-devel_60_2.7z"
echo "Installing custom ICU $icuVersion $sha1 packages on CentOS to $icuLocationLib"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-android_linux.sh
index 70632785..2526bc6d 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-android_linux.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-android_linux.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-install-cmake.sh
index db8a3ff5..a418e4c5 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-install-cmake.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/40-install-cmake.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/50-openssl_for_android_linux.sh
index 3215b914..fd1151d9 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/50-openssl_for_android_linux.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/50-openssl_for_android_linux.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/60-install_protobuf.sh
index 19c8af39..3e2b8921 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/61-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/61-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-install_QemuGA.sh
index 9469553d..9a80fc0b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-qnx710.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-qnx710.sh
index 07f34536..08eeb57b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-qnx710.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/70-qnx710.sh
@@ -1,47 +1,10 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the test suite of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/linux/qnx_700.sh
+# shellcheck source=../common/linux/qnx_710.sh
source "${BASH_SOURCE%/*}/../common/linux/qnx_710.sh"
# setup NFS
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/80-docker.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/80-docker.sh
index 82c2c659..561e762f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/80-docker.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/80-docker.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/docker.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh
index 4e8308bd..fb73a0e9 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/81-fix_mdns_docker_resolution.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# The new version of libnss-mdns resolver library automatically rejects all
# hostnames with more than two labels (i.e. subdomains deep), for example
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/85-qdoc_qtattributionsscanner.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/85-qdoc_qtattributionsscanner.sh
index 144a8434..09d4664f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/85-qdoc_qtattributionsscanner.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/85-qdoc_qtattributionsscanner.sh
@@ -1,70 +1,34 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Provisions qdoc and qtattributionsscanner binaries; these are used for
# documentation testing without the need for a dependency to qttools.
set -e
-# shellcheck source=./check_and_set_proxy.sh
+# shellcheck source=../common/unix/check_and_set_proxy.sh
"${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
-# shellcheck source=./DownloadURL.sh
+# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
version="39fad60085501729985888d3f546c7b8d897a394"
sha1="b3bc413866951807fe2e87e84394cd6f69904718"
url="https://download.qt.io/development_releases/prebuilt/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
-url_cached="http://ci-files01-hki.intra.qt.io/input/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
+url_cached="http://ci-files01-hki.ci.qt.io/input/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
zip="/tmp/qdoc-qtattributionsscanner.7z"
destination="/opt/qt-doctools"
-sudo mkdir -p $destination
-sudo chmod 755 $destination
-DownloadURL $url_cached $url $sha1 $zip
+sudo mkdir -p "$destination"
+sudo chmod 755 "$destination"
+DownloadURL "$url_cached" "$url" "$sha1" "$zip"
if command -v 7zr &> /dev/null; then
- sudo 7zr x $zip -o$destination/
+ sudo 7zr x "$zip" "-o$destination/"
else
- sudo 7z x $zip -o$destination/
+ sudo 7z x "$zip" "-o$destination/"
fi
-sudo chown -R qt:users $destination
-rm -rf $zip
+sudo chown -R qt:users "$destination"
+rm -rf "$zip"
echo -e "qdoc = $version\nqtattributionsscanner = $version" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-mimer.sh
index 7d3543e6..ddd5bc33 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/91-squish-coco.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/91-squish-coco.sh
index fcc7d31c..e42a5373 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/91-squish-coco.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/91-squish-coco.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/squish-coco.sh
source "${BASH_SOURCE%/*}/../common/linux/squish-coco.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-version.sh b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-version.sh
index c8f3ac03..31821f6b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-20.04-x86_64/99-version.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/ubuntu-version.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-notifications.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-notifications.sh
new file mode 100755
index 00000000..1b9ed6c9
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-notifications.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/disable-notifications.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-ntp.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-ntp.sh
new file mode 100755
index 00000000..1995aa14
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable-ntp.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/disable-ntp_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable_auto_suspend.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable_auto_suspend.sh
new file mode 100755
index 00000000..8ad69bfa
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-disable_auto_suspend.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
+
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-apport.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-apport.sh
new file mode 100755
index 00000000..879f3ffb
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-apport.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/remove-apport.sh
+source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-update_notifier.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-update_notifier.sh
new file mode 100755
index 00000000..f4a5119f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-remove-update_notifier.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/remove-update_notifier.sh
+source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-systemsetup.sh
new file mode 100755
index 00000000..98744822
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/01-systemsetup.sh
@@ -0,0 +1,43 @@
+#!/usr/bin/env bash
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script modifies system settings for automated use
+
+set -ex
+
+# shellcheck source=../common/unix/check_and_set_proxy.sh
+source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
+
+NTS_IP=10.212.2.216
+
+echo "Set timezone to UTC."
+sudo timedatectl set-timezone Etc/UTC
+echo "Timeout for blanking the screen (0 = never)"
+gsettings set org.gnome.desktop.session idle-delay 0
+echo "Prevents screen lock when screesaver goes active."
+gsettings set org.gnome.desktop.screensaver lock-enabled false
+echo "Set grub timeout to 0"
+sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
+sudo update-grub
+
+# https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320
+# Checking if Ubuntu 20.04 works without this
+#echo "Setting up workaround for Ubuntu systemd resolve bug"
+#sudo rm -f /etc/resolv.conf
+#sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
+
+# remove hostname to get unique based on IP address
+sudo rm /etc/hostname
+
+echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
+echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+
+echo 'LC_ALL=en_US.UTF8' | sudo tee /etc/default/locale
+
+if [ "$http_proxy" != "" ]; then
+ echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
+fi
+
+# This script diverts qtlogging.ini file so we don't get debugging related auto-test failures.
+sudo dpkg-divert --divert /etc/xdg/QtProject/qtlogging.ini.foo --rename /etc/xdg/QtProject/qtlogging.ini
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/02-apt.sh
new file mode 100755
index 00000000..b04190ae
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/02-apt.sh
@@ -0,0 +1,60 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Install required packages with APT
+
+# shellcheck source=../common/linux/apt_wait_loop.sh
+source "${BASH_SOURCE%/*}/../common/linux/apt_wait_loop.sh"
+
+echo "Disabling auto update"
+sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
+for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
+ sudo systemctl stop $service
+ sudo systemctl disable $service
+done
+
+function set_internal_repo {
+
+ # Stop fetching the dep-11 metadata, since our mirrors do not handle them well
+ sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
+
+ sudo tee "/etc/apt/sources.list" > /dev/null <<-EOC
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ jammy main restricted universe multiverse
+ deb [arch=aarch64 http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ jammy-updates main restricted universe multiverse
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ jammy-backports main restricted universe
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ jammy-security main restricted universe multiverse
+EOC
+}
+
+#repo-clones not set up for aarch64 yet
+#(ping -c 3 repo-clones.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
+
+# Make sure needed ca-certificates are available
+sudo apt-get install --reinstall ca-certificates
+
+## Tools
+# Git is not needed by builds themselves, but is nice to have
+# immediately as one starts debugging
+installPackages+=(git)
+
+# 7zip is a needed decompressing tool
+installPackages+=(p7zip-full)
+
+# Packages needed for RTA and Squish
+installPackages+=(default-jdk)
+installPackages+=(gcc)
+
+echo "Running update for apt"
+waitLoop
+sudo apt-get update
+echo "Installing packages"
+waitLoop
+sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 install "${installPackages[@]}"
+
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
+
+OpenSSLVersion="$(openssl version |cut -b 9-14)"
+echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
+
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-cleanup.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-cleanup.sh
new file mode 100755
index 00000000..4d6e16ea
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-cleanup.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/cleanup_cache.sh
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-version.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-version.sh
new file mode 100755
index 00000000..31821f6b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/99-version.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/ubuntu-version.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable-updates.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable-updates.sh
index f487fed1..4c9adc5f 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable-updates.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable-updates.sh
@@ -1,46 +1,9 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# Disalbe updates
echo "Disabling auto-upgrades"
-sudo sed -i "s/"1"/"0"/g" /etc/apt/apt.conf.d/20auto-upgrades
+sudo sed -i 's/"1"/"0"/g' /etc/apt/apt.conf.d/20auto-upgrades
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable_net_lso.sh
index d7bf9ca5..81e7d137 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable_net_lso.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-disable_net_lso.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
echo "ethtool -K \${DEVICE_IFACE} tso off" | sudo tee -a /etc/NetworkManager/dispatcher.d/pre-up.d/net_tso_off
sudo chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/net_tso_off
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-systemsetup.sh
index f642059a..98744822 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/01-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script modifies system settings for automated use
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-apt.sh
index 8b933501..9a9a5ef2 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-apt.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-apt.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install required packages with APT
@@ -94,6 +57,7 @@ installPackages+=(libdbus-1-dev)
# Needed libraries for WebEngine
installPackages+=(udev)
installPackages+=(libudev-dev)
+installPackages+=(libdrm-dev)
installPackages+=(libegl1-mesa-dev)
installPackages+=(libfontconfig1-dev)
installPackages+=(libgbm-dev)
@@ -101,11 +65,12 @@ installPackages+=(liblcms2-dev)
installPackages+=(libpci-dev)
installPackages+=(libre2-dev)
installPackages+=(libsnappy-dev)
+installPackages+=(libva-dev)
installPackages+=(libvpx-dev)
installPackages+=(libxkbfile-dev)
installPackages+=(libxshmfence-dev)
installPackages+=(libxss-dev)
-installPackages+=(nodejs)
+# installPackages+=(nodejs) too old
installPackages+=(python3-html5lib)
# Common event loop handling
@@ -136,12 +101,17 @@ installPackages+=(libgstreamer-gl1.0-0)
installPackages+=(gir1.2-gst-plugins-base-1.0)
installPackages+=(gir1.2-gst-plugins-bad-1.0)
installPackages+=(yasm)
+installPackages+=(libva-dev)
+# for QtMultimedia streaming tests
+installPackages+=(vlc-bin)
+installPackages+=(vlc-plugin-base)
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
installPackages+=(g++-multilib)
# python3 development package
installPackages+=(python3-dev)
installPackages+=(python3-pip)
+installPackages+=(python3-venv)
installPackages+=(virtualenv)
installPackages+=(python3-wheel)
installPackages+=(python-is-python3)
@@ -246,6 +216,16 @@ sudo dpkg --add-architecture i386
installPackages+=(nfs-kernel-server)
installPackages+=(net-tools)
installPackages+=(bridge-utils)
+# For Debian packaging
+installPackages+=(sbuild)
+installPackages+=(ubuntu-dev-tools)
+# cifs-utils, for mounting smb drive
+installPackages+=(keyutils)
+installPackages+=(cifs-utils)
+# VxWorks QEMU network setup (tunctl)
+installPackages+=(uml-utilities)
+# used for reading vcpkg packages version, from vcpkg.json
+installPackages+=(jq)
echo "Running update for apt"
waitLoop
@@ -254,13 +234,12 @@ echo "Installing packages"
waitLoop
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 install "${installPackages[@]}"
-# Install all needed packages in a special wheel cache directory
-pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
OpenSSLVersion="$(openssl version |cut -b 9-14)"
-echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
-
+echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-notifications.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-notifications.sh
index f38c9bab..1b9ed6c9 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-notifications.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-notifications.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-notifications.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-ntp.sh
index 89806892..1995aa14 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-ntp.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-disable-ntp.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/disable-ntp_linux.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-git_lfs.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-git_lfs.sh
index ad80bc23..d2c0ad14 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-git_lfs.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-git_lfs.sh
@@ -1,49 +1,12 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install Git Large File Storage
set -ex
curl -L https://packagecloud.io/github/git-lfs/gpgkey | sudo apt-key add -
-sudo apt-add-repository 'deb https://packagecloud.io/github/git-lfs/ubuntu/ xenial main'
+sudo apt-add-repository 'deb https://packagecloud.io/github/git-lfs/ubuntu/ jammy main'
sudo apt update
sudo apt install git-lfs
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-apport.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-apport.sh
index 09477763..879f3ffb 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-apport.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-apport.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-apport.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-update_notifier.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-update_notifier.sh
index 55c6ce79..f4a5119f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-update_notifier.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/02-remove-update_notifier.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/remove-update_notifier.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-nodejs.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-nodejs.sh
new file mode 100755
index 00000000..07121a36
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-nodejs.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/install-nodejs.sh
+source "${BASH_SOURCE%/*}/../common/linux/install-nodejs.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..ed49b3a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/linux/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-qemu.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-qemu.sh
index 34d46481..5ed06f29 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-qemu.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-qemu.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang-v100-dyn.sh
index dcd5b2d8..85c261ee 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang.sh
index 0d18dbcf..fac8d4e7 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-yocto.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-yocto.sh
index cab1e1b5..a764dc7e 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-yocto.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/04-yocto.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs the Yocto toolchain
@@ -48,7 +11,7 @@ source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-primaryBaseUrlPath="http://ci-files01-hki.intra.qt.io/input/boot2qt/gatesgarth"
+primaryBaseUrlPath="http://ci-files01-hki.ci.qt.io/input/boot2qt/gatesgarth"
altBaseUrlPath="http://download.qt.io/development_releases/prebuilt/boot2qt/gatesgarth"
echo "Installing Yocto toolchain for 32-bit b2qt ARMV7..."
@@ -136,9 +99,11 @@ else
exit 1
fi
-echo "Yocto ARMv7 toolchain = $versionARM" >> ~/versions.txt
-echo "Yocto ARM64 toolchain = $versionARM64" >> ~/versions.txt
-echo "Yocto MIPS64 toolchain = $versionMIPS64" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Yocto ARMv7 toolchain = $versionARM
+Yocto ARM64 toolchain = $versionARM64
+Yocto MIPS64 toolchain = $versionMIPS64
+EOB
# List qt user in qemu toolchain sysroots
sudo sh -c "grep ^qt /etc/passwd >> $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/passwd"
@@ -148,8 +113,9 @@ sudo sh -c "grep ^qt /etc/group >> $yoctoLocationARM64/sysroots/$sysrootARM64/et
# Fix mdns to support both docker and network tests
# See also https://bugreports.qt.io/browse/QTBUG-106013
-sudo sh -c "sed -i '/^hosts:/s/.*/hosts: files myhostname mdns_minimal [NOTFOUND=return] dns mdns4/' $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/nsswitch.conf"
-sudo sh -c "sed -i '/^hosts:/s/.*/hosts: files myhostname mdns_minimal [NOTFOUND=return] dns mdns4/' $yoctoLocationARM64/sysroots/$sysrootARM64/etc/nsswitch.conf"
+sudo sed -i '/^hosts:/s/.*/hosts: files myhostname mdns_minimal [NOTFOUND=return] mdns4 dns/' \
+ $yoctoLocationARMv7/sysroots/$sysrootARMv7/etc/nsswitch.conf \
+ $yoctoLocationARM64/sysroots/$sysrootARM64/etc/nsswitch.conf
# Install qemu binfmt for 32bit and 64bit arm architectures
sudo update-binfmts --package qemu-arm --install arm $yoctoLocationARMv7/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-arm \
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/08-integrity.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/08-integrity.sh
index 00a9c984..0e8dbb39 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/08-integrity.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/08-integrity.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/22-mqtt_broker.sh
index e55e66f7..b0791cb1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-fbx.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-fbx.sh
index d8df4375..16a9bda8 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install-conan.sh
index b8820053..c5b53fac 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install_icu.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install_icu.sh
index 373212d3..260dc55a 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install_icu.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/30-install_icu.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
@@ -46,16 +9,16 @@ set -ex
# This script will install ICU
-icuVersion="60.2"
+icuVersion="73.2"
icuLocationLib="/opt/icu/lib64"
icuLocationInclude="/opt/icu/include"
-sha1="2b972d8897783c08dfe1e52af49216ed92656736"
-baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu18.04-x64_60_2.7z"
-baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Ubuntu18.04-x64_60_2.7z"
+sha1="5699987afcceb0390e52fb860bb3b4ab8b39cabe"
+baseBinaryPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu22.04-x64.7z"
+baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Ubuntu22.04-x64.7z"
-sha1Dev="416c89d3ded143ea1d4fcc688dce02b01aaa9ee2"
-develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu18.04-x64-devel_60_2.7z"
-develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Ubuntu18.04-x64-devel_60_2.7z"
+sha1Dev="6b9da2fa5fd88db88e9957ee5e3cf9dbcd08fe6b"
+develPackageURL="http://ci-files01-hki.ci.qt.io/input/icu/$icuVersion/icu-linux-g++-Ubuntu22.04-x64-devel.7z"
+develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Ubuntu22.04-x64-devel.7z"
echo "Installing custom ICU $icuVersion $sha1 packages on CentOS to $icuLocationLib"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-android_linux.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-android_linux.sh
index 70632785..2526bc6d 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-android_linux.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-android_linux.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-install-cmake.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-install-cmake.sh
index db8a3ff5..a418e4c5 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-install-cmake.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/40-install-cmake.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/41-install-vcpkg.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/41-install-vcpkg.sh
new file mode 100644
index 00000000..aa88364d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/41-install-vcpkg.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/42-install-vcpkg-ports.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/42-install-vcpkg-ports.sh
new file mode 100755
index 00000000..71a46f9a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/42-install-vcpkg-ports.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg-ports.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/45-install-cpdb.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/45-install-cpdb.sh
index b23942b3..40497ee0 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/45-install-cpdb.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/45-install-cpdb.sh
@@ -1,37 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install cpdb from sources.
# Requires GCC and Perl to be in PATH.
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/50-openssl_for_android_linux.sh
index 3215b914..fd1151d9 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/50-openssl_for_android_linux.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/50-openssl_for_android_linux.sh
@@ -1,43 +1,6 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/60-install_protobuf.sh
index 19c8af39..3e2b8921 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/61-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/61-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-install_QemuGA.sh
index 9469553d..9a80fc0b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx710.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx710.sh
index 07f34536..08eeb57b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx710.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx710.sh
@@ -1,47 +1,10 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the test suite of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/linux/qnx_700.sh
+# shellcheck source=../common/linux/qnx_710.sh
source "${BASH_SOURCE%/*}/../common/linux/qnx_710.sh"
# setup NFS
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx800.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx800.sh
new file mode 100755
index 00000000..45d9e43e
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-qnx800.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/qnx_800.sh
+source "${BASH_SOURCE%/*}/../common/linux/qnx_800.sh"
+
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-vxworks.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-vxworks.sh
new file mode 100755
index 00000000..3bb48d11
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/70-vxworks.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/vx_works.sh
+source "${BASH_SOURCE%/*}/../common/linux/vx_works.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/80-docker.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/80-docker.sh
index 77e553a7..3338562f 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/80-docker.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/80-docker.sh
@@ -1,53 +1,16 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
-
PROVISIONING_DIR="$(dirname "$0")/../"
-. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
-. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-
+# shellcheck source=../common/unix/common.sourced.sh
+source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
+# shellcheck source=../common/unix/DownloadURL.sh
+source "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
-localRepo=http://ci-files01-hki.intra.qt.io/input/docker
+localRepo=http://ci-files01-hki.ci.qt.io/input/docker
# upstreamRepo=https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64
upstreamRepo=https://download.docker.com/linux/ubuntu/dists/jammy/pool/stable/amd64
echo '
@@ -55,22 +18,22 @@ echo '
5ce7508bb9d478dd9fe8ed9869e8ab0eed0355d9 docker-ce_20.10.15_3-0_ubuntu-jammy_amd64.deb
445e81ad86c37d796de64644da4f9b3d6c6df913 docker-ce-cli_20.10.15_3-0_ubuntu-jammy_amd64.deb
' \
- | xargs -n2 | while read sha f
+ | xargs -n2 | while read -r sha f
do
- DownloadURL $localRepo/$f $upstreamRepo/$f $sha
+ DownloadURL "$localRepo/$f" "$upstreamRepo/$f" "$sha"
done
sudo apt-get -y install ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb
rm -f ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb
-sudo usermod -a -G docker $USER
+sudo usermod -a -G docker "$USER"
sudo docker --version
# Download and install the docker-compose extension from https://github.com/docker/compose/releases
f=docker-compose-$(uname -s)-$(uname -m)
DownloadURL \
- $localRepo/$f-1.24.1 \
- https://github.com/docker/compose/releases/download/1.24.1/$f \
+ "$localRepo/$f-1.24.1" \
+ "https://github.com/docker/compose/releases/download/1.24.1/$f" \
cfb3439956216b1248308141f7193776fcf4b9c9b49cbbe2fb07885678e2bb8a
sudo install -m 755 ./docker-compose* /usr/local/bin/docker-compose
sudo docker-compose --version
@@ -91,5 +54,5 @@ sudo systemctl daemon-reload
sudo systemctl restart docker
# Start testserver provisioning
-sudo "$(readlink -f $(dirname ${BASH_SOURCE[0]}))/../common/shared/testserver/docker_testserver.sh"
+sudo "$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")/../common/shared/testserver/docker_testserver.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/81-fix_mdns_docker_resolution.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/81-fix_mdns_docker_resolution.sh
index 84892bca..30fe71ca 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/81-fix_mdns_docker_resolution.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/81-fix_mdns_docker_resolution.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# The new version of libnss-mdns resolver library automatically rejects all
# hostnames with more than two labels (i.e. subdomains deep), for example
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/85-qdoc_qtattributionsscanner.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/85-qdoc_qtattributionsscanner.sh
index 2a33bca2..fd2a3afd 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/85-qdoc_qtattributionsscanner.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/85-qdoc_qtattributionsscanner.sh
@@ -1,70 +1,33 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Provisions qdoc and qtattributionsscanner binaries; these are used for
# documentation testing without the need for a dependency to qttools.
set -e
-# shellcheck source=./check_and_set_proxy.sh
+# shellcheck source=../common/unix/check_and_set_proxy.sh
"${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
-# shellcheck source=./DownloadURL.sh
+# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
-version="b3630c567cf2ed22a4b200b4aa72eeb23ba08dfb"
-sha1="0ff608d33773ffc7c904e18dc57065750f66291b"
-url="https://download.qt.io/development_releases/prebuilt/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu22.04-gcc11.3-x86_64.7z"
-url_cached="http://ci-files01-hki.intra.qt.io/input/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu22.04-gcc11.3-x86_64.7z"
+version="68bdc5764da2d4e442181b408751b6572f36fa74"
+sha1="dac76e8f6cb69990661e7d814bea6f32fea29bf4"
+url="https://download.qt.io/development_releases/prebuilt/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu22.04-gcc11.4-x86_64.7z"
+url_cached="http://ci-files01-hki.ci.qt.io/input/qdoc/qt/qdoc-qtattributionsscanner_${version//\./}-based-linux-Ubuntu22.04-gcc11.4-x86_64.7z"
zip="/tmp/qdoc-qtattributionsscanner.7z"
destination="/opt/qt-doctools"
-sudo mkdir -p $destination
-sudo chmod 755 $destination
-DownloadURL $url_cached $url $sha1 $zip
+sudo mkdir -p "$destination"
+sudo chmod 755 "$destination"
+DownloadURL "$url_cached" "$url" "$sha1" "$zip"
if command -v 7zr &> /dev/null; then
- sudo 7zr x $zip -o$destination/
+ sudo 7zr x "$zip" "-o$destination/"
else
- sudo 7z x $zip -o$destination/
+ sudo 7z x "$zip" "-o$destination/"
fi
-sudo chown -R qt:users $destination
-rm -rf $zip
+sudo chown -R qt:users "$destination"
+rm -rf "$zip"
echo -e "qdoc = $version\nqtattributionsscanner = $version" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-mimer.sh
index ceee6322..f06ca1c8 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/91-squish-coco.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/91-squish-coco.sh
index fcc7d31c..e42a5373 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/91-squish-coco.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/91-squish-coco.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/squish-coco.sh
source "${BASH_SOURCE%/*}/../common/linux/squish-coco.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/92-sbuild.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/92-sbuild.sh
new file mode 100755
index 00000000..b178d71a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/92-sbuild.sh
@@ -0,0 +1,57 @@
+#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Setups sbuild environment
+
+tee ~/.sbuildrc << EOF
+##############################################################################
+# PACKAGE BUILD RELATED (additionally produce _source.changes)
+##############################################################################
+# -d
+\$distribution = 'stable';
+# -A
+\$build_arch_all = 1;
+# -s
+\$build_source = 1;
+# -v
+\$verbose = 1;
+# parallel build
+\$ENV{'DEB_BUILD_OPTIONS'} = 'parallel=8';
+##############################################################################
+# POST-BUILD RELATED (turn off functionality by setting variables to 0)
+##############################################################################
+\$run_lintian = 1;
+\$lintian_opts = ['-i', '-I'];
+\$run_piuparts = 0;
+\$piuparts_opts = ['--schroot', 'stable-amd64-sbuild', '--no-eatmydata'];
+\$run_autopkgtest = 0;
+\$autopkgtest_root_args = '';
+\$autopkgtest_opts = [ '--', 'schroot', '%r-%a-sbuild' ];
+
+##############################################################################
+# PERL MAGIC
+##############################################################################
+1;
+EOF
+
+# Add user group
+sudo sbuild-adduser "$LOGNAME"
+newgrp sbuild
+
+# Create chroot
+sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-amd64
+
+# For ubuntu 22.04
+echo "Create chroot for Ubuntu Jammy"
+## ccache can't be found with Jammy
+sudo sbuild-createchroot --include=eatmydata,gnupg,ca-certificates jammy /srv/chroot/jammy-amd64 http://archive.ubuntu.com/ubuntu/
+echo "Done creating chroot for Ubuntu Jammy"
+
+# Update chroot.
+sudo sbuild-update -udcar stable
+
+
+
+
+
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-axivion-bauhaus-suite.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-axivion-bauhaus-suite.sh
index d177a735..8cecbbc3 100644..100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-axivion-bauhaus-suite.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-axivion-bauhaus-suite.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/linux/axivion-bauhaus-suite.sh
source "${BASH_SOURCE%/*}/../common/linux/axivion-bauhaus-suite.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-download-files-for-sbuild.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-download-files-for-sbuild.sh
new file mode 100755
index 00000000..8b8530a3
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-download-files-for-sbuild.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Get required deb files for sbuild to build qt debian packages for Ubuntu jammy
+mkdir -p /home/qt/debian_packages
+cd /home/qt/debian_packages || exit
+# Backported cmake 3.24
+wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/amd64-jammy/cmake-3.24-deb.tar.gz
+tar xzf cmake-3.24-deb.tar.gz
+rm -rf cmake-3.24-deb.tar.gz
+# get rest of ready made Ubuntu jammy arm debian packages
+# so that sbuild can find those
+
+wget http://ci-files01-hki.ci.qt.io/input/debian/icu/amd64-jammy/libicu-56.1-qt_56.1-1_amd64.deb
+wget http://ci-files01-hki.ci.qt.io/input/debian/icu/amd64-jammy/libicu-56.1-qt-dev_56.1-1_amd64.deb
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh
new file mode 100755
index 00000000..de4a74d5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Install lcov 2.0 from 24.04/noble numbat
+
+echo "Installing lcov"
+wget https://ci-files01-hki.ci.qt.io/input/lcov/lcov_2.0-4ubuntu1_all.deb
+sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 install -f ./lcov_2.0-4ubuntu1_all.deb
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-enable_test_stacktraces.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-enable_test_stacktraces.sh
new file mode 100755
index 00000000..600b7850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-enable_test_stacktraces.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/linux/enable_test_stacktraces.sh
diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-version.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-version.sh
index c8f3ac03..31821f6b 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/99-version.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/linux/ubuntu-version.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/01-systemsetup.sh
new file mode 100644
index 00000000..98744822
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/01-systemsetup.sh
@@ -0,0 +1,43 @@
+#!/usr/bin/env bash
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script modifies system settings for automated use
+
+set -ex
+
+# shellcheck source=../common/unix/check_and_set_proxy.sh
+source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
+
+NTS_IP=10.212.2.216
+
+echo "Set timezone to UTC."
+sudo timedatectl set-timezone Etc/UTC
+echo "Timeout for blanking the screen (0 = never)"
+gsettings set org.gnome.desktop.session idle-delay 0
+echo "Prevents screen lock when screesaver goes active."
+gsettings set org.gnome.desktop.screensaver lock-enabled false
+echo "Set grub timeout to 0"
+sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
+sudo update-grub
+
+# https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320
+# Checking if Ubuntu 20.04 works without this
+#echo "Setting up workaround for Ubuntu systemd resolve bug"
+#sudo rm -f /etc/resolv.conf
+#sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
+
+# remove hostname to get unique based on IP address
+sudo rm /etc/hostname
+
+echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
+echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+
+echo 'LC_ALL=en_US.UTF8' | sudo tee /etc/default/locale
+
+if [ "$http_proxy" != "" ]; then
+ echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
+fi
+
+# This script diverts qtlogging.ini file so we don't get debugging related auto-test failures.
+sudo dpkg-divert --divert /etc/xdg/QtProject/qtlogging.ini.foo --rename /etc/xdg/QtProject/qtlogging.ini
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-apt.sh
new file mode 100644
index 00000000..6c4b86a4
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-apt.sh
@@ -0,0 +1,236 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Install required packages with APT
+
+# shellcheck source=../common/linux/apt_wait_loop.sh
+source "${BASH_SOURCE%/*}/../common/linux/apt_wait_loop.sh"
+
+echo "Disabling auto update"
+sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
+for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
+ sudo systemctl stop $service
+ sudo systemctl disable $service
+done
+
+function set_internal_repo {
+
+ # Stop fetching the dep-11 metadata, since our mirrors do not handle them well
+ sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
+
+ sudo tee "/etc/apt/sources.list.d/ubuntu.list" > /dev/null <<-EOC
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble main restricted universe multiverse
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-updates main restricted universe multiverse
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-backports main restricted universe
+ deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-security main restricted universe multiverse
+EOC
+}
+
+#(ping -c 3 repo-clones.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
+echo "Internal package repository not loading Translation en package (QTQAINFRA-6297). Using public repositories."
+
+# Make sure needed ca-certificates are available
+sudo apt-get install --reinstall ca-certificates
+
+# Git is not needed by builds themselves, but is nice to have
+# immediately as one starts debugging
+installPackages+=(git)
+# 7zip is a needed decompressing tool
+installPackages+=(p7zip-full)
+# To be able to mount yocto-cache during builds
+installPackages+=(nfs-common)
+# libssl-dev provides headers for OpenSSL
+installPackages+=(libssl-dev)
+# Needed libraries for X11 support accordingly to https://wiki.qt.io/Building_Qt_5_from_Git
+installPackages+=("^libxcb.*")
+installPackages+=(libxkbcommon-dev)
+installPackages+=(libxkbcommon-x11-dev)
+installPackages+=(libx11-xcb-dev)
+installPackages+=(libglu1-mesa-dev)
+installPackages+=(libxrender-dev)
+installPackages+=(libxi-dev)
+# Enable linking to system dbus
+installPackages+=(libdbus-1-dev)
+# Needed libraries for WebEngine
+installPackages+=(udev)
+installPackages+=(libudev-dev)
+installPackages+=(libdrm-dev)
+installPackages+=(libegl1-mesa-dev)
+installPackages+=(libfontconfig1-dev)
+installPackages+=(libgbm-dev)
+installPackages+=(liblcms2-dev)
+installPackages+=(libpci-dev)
+installPackages+=(libre2-dev)
+installPackages+=(libsnappy-dev)
+installPackages+=(libva-dev)
+installPackages+=(libvpx-dev)
+installPackages+=(libxkbfile-dev)
+installPackages+=(libxshmfence-dev)
+installPackages+=(libxss-dev)
+# installPackages+=(nodejs) too old
+installPackages+=(python3-html5lib)
+
+# Common event loop handling
+installPackages+=(libglib2.0-dev)
+# MySQL support
+installPackages+=(libmysqlclient-dev)
+# PostgreSQL support
+installPackages+=(libpq-dev)
+# SQLite support
+installPackages+=(libsqlite3-dev)
+# ODBC support
+installPackages+=(unixodbc-dev)
+# Support for FreeType font engine
+installPackages+=(libfreetype6-dev)
+# Enable the usage of system jpeg libraries
+installPackages+=(libjpeg-dev)
+# Enable support for printer driver
+installPackages+=(libcups2-dev)
+# Enable support for printer test
+installPackages+=(cups-pdf)
+# Install libraries needed for QtMultimedia to be able to support all plugins
+installPackages+=(libasound2-dev)
+installPackages+=(libgstreamer1.0-dev)
+installPackages+=(libgstreamer-plugins-base1.0-dev)
+installPackages+=(libgstreamer-plugins-good1.0-dev)
+installPackages+=(libgstreamer-plugins-bad1.0-dev)
+installPackages+=(libgstreamer-gl1.0-0)
+installPackages+=(gir1.2-gst-plugins-base-1.0)
+installPackages+=(gir1.2-gst-plugins-bad-1.0)
+installPackages+=(yasm)
+installPackages+=(libva-dev)
+# for QtMultimedia streaming tests
+installPackages+=(vlc-bin)
+installPackages+=(vlc-plugin-base)
+
+# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
+#installPackages+=(g++-multilib)
+installPackages+=(g++-multilib-powerpc-linux-gnu)
+
+# python3 development package
+installPackages+=(python3-dev)
+installPackages+=(python3-pip)
+installPackages+=(virtualenv)
+installPackages+=(python3-wheel)
+installPackages+=(python-is-python3)
+
+# Automates interactive applications (Needed by RTA to automate configure testing)
+installPackages+=(expect)
+installPackages+=(mesa-common-dev)
+
+# TODO: Ubuntu 24.04 Replacement
+#installPackages+=(libgl1-mesa-glx)
+installPackages+=(libglx-mesa0)
+
+installPackages+=(libgl1-mesa-dev)
+installPackages+=(libegl1-mesa-dev)
+installPackages+=(libegl1)
+installPackages+=(libegl-mesa0)
+installPackages+=(libegl-dev)
+installPackages+=(libglvnd-dev)
+installPackages+=(libgles2-mesa-dev)
+installPackages+=(curl)
+installPackages+=(libcurl4-openssl-dev)
+installPackages+=(libicu-dev)
+installPackages+=(zlib1g-dev)
+installPackages+=(zlib1g)
+installPackages+=(openjdk-8-jdk)
+#Java 11 for Android
+installPackages+=(openjdk-11-jdk)
+installPackages+=(libgtk-3-dev)
+installPackages+=(ninja-build)
+installPackages+=(libssl-dev)
+installPackages+=(libxcursor-dev)
+installPackages+=(libxcomposite-dev)
+installPackages+=(libxdamage-dev)
+installPackages+=(libxrandr-dev)
+installPackages+=(libfontconfig1-dev)
+installPackages+=(libsrtp2-dev)
+installPackages+=(libwebp-dev)
+installPackages+=(libjsoncpp-dev)
+installPackages+=(libopus-dev)
+installPackages+=(libminizip-dev)
+installPackages+=(libavutil-dev)
+installPackages+=(libavformat-dev)
+installPackages+=(libavcodec-dev)
+installPackages+=(libevent-dev)
+installPackages+=(bison)
+installPackages+=(flex)
+installPackages+=(gperf)
+installPackages+=(libasound2-dev)
+installPackages+=(libpulse-dev)
+installPackages+=(libxtst-dev)
+installPackages+=(libnspr4-dev)
+installPackages+=(libnss3-dev)
+installPackages+=(libnss3)
+installPackages+=(libopenal-dev)
+installPackages+=(libbluetooth-dev)
+# Needed for qtspeech
+installPackages+=(libspeechd-dev)
+#Pypdf for PDF reading in RTA tests
+installPackages+=(python3-pypdf2)
+# Needed for b2qt
+installPackages+=(git-lfs)
+installPackages+=(chrpath)
+installPackages+=(gawk)
+installPackages+=(texinfo)
+# Needed for Poppler test in QtWebEngine
+installPackages+=(libpoppler-cpp-dev)
+# Needed for QtCore
+installPackages+=(libdouble-conversion-dev)
+installPackages+=(libpcre2-dev)
+# Needed for testlib selftests
+installPackages+=(valgrind)
+# Needed for qtgampepad
+installPackages+=(libsdl2-2.0)
+installPackages+=(libsdl2-dev)
+# Needed for qtwebkit
+installPackages+=(ruby)
+installPackages+=(libxslt1-dev)
+installPackages+=(libxml2-dev)
+installPackages+=(libhyphen-dev)
+# For remote access
+installPackages+=(ssh)
+# For bitbake
+installPackages+=(diffstat)
+installPackages+=(binfmt-support)
+installPackages+=(zstd)
+installPackages+=(lz4)
+# Vulkan is needed for examples
+installPackages+=(libvulkan-dev)
+# Needed for qtdltlogging
+installPackages+=(libdlt-dev)
+# For QNX
+installPackages+=(nfs-kernel-server)
+installPackages+=(net-tools)
+installPackages+=(bridge-utils)
+# For Debian packaging
+installPackages+=(sbuild)
+installPackages+=(ubuntu-dev-tools)
+# cifs-utils, for mounting smb drive
+installPackages+=(keyutils)
+installPackages+=(cifs-utils)
+# VxWorks QEMU network setup (tunctl)
+installPackages+=(uml-utilities)
+# used for reading vcpkg packages version, from vcpkg.json
+installPackages+=(jq)
+# For building
+installPackages+=(cmake)
+
+echo "Running update for apt"
+waitLoop
+sudo apt-get update
+echo "Installing packages"
+waitLoop
+sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 install "${installPackages[@]}"
+
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
+
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
+
+OpenSSLVersion="$(openssl version |cut -b 9-14)"
+echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-notifications.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-notifications.sh
new file mode 100644
index 00000000..1b9ed6c9
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-notifications.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/disable-notifications.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-ntp.sh
new file mode 100644
index 00000000..1995aa14
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-disable-ntp.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/disable-ntp_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-apport.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-apport.sh
new file mode 100644
index 00000000..879f3ffb
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-apport.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/remove-apport.sh
+source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-update_notifier.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-update_notifier.sh
new file mode 100644
index 00000000..f4a5119f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/02-remove-update_notifier.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/linux/remove-update_notifier.sh
+source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-cleanup.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-cleanup.sh
new file mode 100644
index 00000000..4d6e16ea
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-cleanup.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/cleanup_cache.sh
diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-version.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-version.sh
new file mode 100644
index 00000000..31821f6b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/99-version.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/ubuntu-version.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-disable_net_lso.sh
index c404c366..fc209ad8 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-disable_net_lso.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-disable_net_lso.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
echo "ethtool -K \${DEVICE_IFACE} tso off" | sudo tee -a /etc/NetworkManager/dispatcher.d/net_tso_off
sudo chmod +x /etc/NetworkManager/dispatcher.d/net_tso_off
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-systemsetup.sh
index d3724ceb..13e5c31d 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/01-systemsetup.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/03-enable-repos.sh
index 41545e01..5542b071 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/03-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/03-enable-repos.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/04-zypperpackages.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/04-zypperpackages.sh
index a7c2b83e..49d2333d 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/04-zypperpackages.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/04-zypperpackages.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -38,7 +40,10 @@ sudo zypper -nq install libicu-devel
sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel \
libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \
mozilla-nspr-devel mozilla-nss-devel nodejs12 glproto-devel \
- libxshmfence-devel libXdamage-devel
+ libxshmfence-devel libXdamage-devel libdrm-devel libgbm-devel
+
+# qtwebengine, qtmultimedia+ffmpeg
+sudo zypper -nq install libva-devel
# qtwebkit
sudo zypper -nq install libxml2-devel libxslt-devel
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/05-disable_kwin_overview.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/05-disable_kwin_overview.sh
new file mode 100755
index 00000000..f6a3d71c
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/05-disable_kwin_overview.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/disable_kwin_overview.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang-v100-dyn.sh
index b0080cbc..e1fc1550 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang.sh
index bbe2b4b4..4e371161 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-pythondev.sh
index ab966a02..1523e042 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-pythondev.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/08-pythondev.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# provides: python development libraries
# version: provided by default Linux distribution repository
# needed to build pyside
@@ -10,9 +12,6 @@ sudo zypper -nq install python-devel python-xml
# install python3
sudo zypper -nq install python3-base python3 python3-pip python3-devel python3-virtualenv python3-wheel
-# Install all needed packages in a special wheel cache directory
-pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# shellcheck source=../common/unix/SetEnvVar.sh
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/09-cmake.sh
index 5eb53566..38e86081 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/09-cmake.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/09-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/10-cmake-min-supported.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/10-cmake-min-supported.sh
index cc79d066..70bd2d08 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/10-cmake-min-supported.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/10-cmake-min-supported.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/22-mqtt_broker.sh
index e0875b37..c81f5c66 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/mqtt_broker.sh
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-conan.sh
index b8820053..c5b53fac 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/40-install-flite.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/40-install-flite.sh
index 67ed1991..acd5b030 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/40-install-flite.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/40-install-flite.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/55-emsdk.sh
index 3299f3e5..6b1a79e5 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/55-emsdk.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/55-emsdk.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/60-install_protobuf.sh
index 19c8af39..3e2b8921 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/70-install_QemuGA.sh
index 248e17db..76459a03 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/80-install-chrome.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/80-install-chrome.sh
index 3b3b2ded..d680e017 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/80-install-chrome.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/80-install-chrome.sh
@@ -1,36 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# This script will install up-to-date google Chrome needed for Webassembly auto tests.
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-install-ffmpeg.sh
index 61da9b7b..61da9b7b 100644..100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-install-ffmpeg.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-mimer.sh
index e175a9c9..bff2a7c7 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-cleanup.sh
index 7c2090b8..4d6e16ea 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-cleanup.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-cleanup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-unset-proxy.sh
index 59f3abc2..d63c4919 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-unset-proxy.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-unset-proxy.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-version.sh b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-version.sh
index 87825b16..00d06674 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.3-x86_64/99-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-disable_net_lso.sh
index c404c366..fc209ad8 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-disable_net_lso.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-disable_net_lso.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
echo "ethtool -K \${DEVICE_IFACE} tso off" | sudo tee -a /etc/NetworkManager/dispatcher.d/net_tso_off
sudo chmod +x /etc/NetworkManager/dispatcher.d/net_tso_off
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-set-ulimit.sh
index dadc0781..e951e82a 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-set-ulimit.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-set-ulimit.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-systemsetup.sh
index 57eb01e9..f89ed0c6 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/01-systemsetup.sh
@@ -1,36 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -55,6 +25,7 @@ echo 'export DISPLAY=":0"' >> ~/.bashrc
echo "Disabling file indexing."
sudo balooctl disable
+sudo systemctl enable sshd
sudo systemctl stop packagekit
sudo systemctl disable packagekit
sudo systemctl mask packagekit
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/03-enable-repos.sh
index 58ab7727..1378a305 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/03-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/03-enable-repos.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/04-zypperpackages.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/04-zypperpackages.sh
index 487d4607..f55387b4 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/04-zypperpackages.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/04-zypperpackages.sh
@@ -1,36 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -70,7 +40,10 @@ sudo zypper -nq install libicu-devel
sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel \
libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \
mozilla-nspr-devel mozilla-nss-devel nodejs12 glproto-devel \
- libxshmfence-devel libXdamage-devel
+ libxshmfence-devel libXdamage-devel libdrm-devel libgbm-devel
+
+# qtwebengine, qtmultimedia+ffmpeg
+sudo zypper -nq install libva-devel
# qtwebkit
sudo zypper -nq install libxml2-devel libxslt-devel
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/05-disable_kwin_overview.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/05-disable_kwin_overview.sh
new file mode 100755
index 00000000..f6a3d71c
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/05-disable_kwin_overview.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/disable_kwin_overview.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang-v100-dyn.sh
index b0080cbc..e1fc1550 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang.sh
index bbe2b4b4..4e371161 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-pythondev.sh
index ad810d3e..a43e9fad 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-pythondev.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/08-pythondev.sh
@@ -1,36 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# provides: python development libraries
# version: provided by default Linux distribution repository
@@ -43,9 +13,6 @@ sudo zypper -nq install python-devel python-xml
# install python3
sudo zypper -nq install python3-base python3 python3-pip python3-devel python3-virtualenv python3-wheel
-# Install all needed packages in a special wheel cache directory
-pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
-
-# shellcheck source=../common/unix/SetEnvVar.sh
-source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
+# Configure pip
+pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache
+pip config --user set global.extra-index-url https://pypi.org/simple/
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-cmake.sh
index 5eb53566..38e86081 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-cmake.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-openssl.sh
index e1131e39..94f30890 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-openssl.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/09-openssl.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/10-cmake-min-supported.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/10-cmake-min-supported.sh
index cc79d066..70bd2d08 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/10-cmake-min-supported.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/10-cmake-min-supported.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/22-mqtt_broker.sh
index e0875b37..c81f5c66 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/22-mqtt_broker.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/22-mqtt_broker.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../common/unix/mqtt_broker.sh
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-conan.sh
index b8820053..c5b53fac 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-git.sh
index 05fcdf8e..7a73f354 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/40-install-flite.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/40-install-flite.sh
index 67ed1991..acd5b030 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/40-install-flite.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/40-install-flite.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/55-emsdk.sh
index 3299f3e5..6b1a79e5 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/55-emsdk.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/55-emsdk.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/60-install_protobuf.sh
index b46e5ece..c538ca07 100644..100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/60-install_protobuf.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/60-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/61-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/61-install_grpc.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/61-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/70-install_QemuGA.sh
index 248e17db..76459a03 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/70-install_QemuGA.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/70-install_QemuGA.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QEMU Guest Agent
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/80-install-chrome.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/80-install-chrome.sh
index 3b3b2ded..d680e017 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/80-install-chrome.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/80-install-chrome.sh
@@ -1,36 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# This script will install up-to-date google Chrome needed for Webassembly auto tests.
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-install-ffmpeg.sh
index 61da9b7b..61da9b7b 100644..100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-install-ffmpeg.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-mimer.sh
index e175a9c9..bff2a7c7 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-mimer.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-mimer.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-squish.sh
index e4281588..f803ccc1 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/unix/squishInstall.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-cleanup.sh
new file mode 100755
index 00000000..4d6e16ea
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-cleanup.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/cleanup_cache.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-unset-proxy.sh
index 59f3abc2..d63c4919 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-unset-proxy.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-unset-proxy.sh
@@ -1,42 +1,6 @@
#!/usr/bin/env bash
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-version.sh b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-version.sh
index 87825b16..00d06674 100755
--- a/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-version.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.4-x86_64/99-version.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-disable_net_lso.sh
new file mode 100755
index 00000000..c404c366
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-disable_net_lso.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo "ethtool -K \${DEVICE_IFACE} tso off" | sudo tee -a /etc/NetworkManager/dispatcher.d/net_tso_off
+sudo chmod +x /etc/NetworkManager/dispatcher.d/net_tso_off
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-install_telegraf.sh
new file mode 100755
index 00000000..729f9003
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-install_telegraf.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/unix/telegraf_install.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-set-ulimit.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-set-ulimit.sh
new file mode 100755
index 00000000..dadc0781
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-set-ulimit.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/set_ulimit.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-systemsetup.sh
new file mode 100755
index 00000000..f3334d07
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/01-systemsetup.sh
@@ -0,0 +1,42 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/shared/network_test_server_ip.txt
+source "$BASEDIR/../common/shared/network_test_server_ip.txt"
+# shellcheck source=../common/unix/check_and_set_proxy.sh
+source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
+
+# https://bugzilla.opensuse.org/show_bug.cgi?id=1032027
+sudo btrfs quota disable /
+
+sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlockerrc
+
+sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
+sudo grub2-mkconfig -o /boot/grub2/grub.cfg
+
+echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
+echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+echo "Set DISPLAY"
+echo 'export DISPLAY=":0"' >> ~/.bashrc
+echo "Disabling file indexing."
+sudo balooctl disable
+
+sudo systemctl stop packagekit
+sudo systemctl disable packagekit
+sudo systemctl mask packagekit
+while sudo fuser /usr/lib/packagekitd >/dev/null 2>&1 ; do
+ echo "Waiting for PackageKit to finish..."
+ sleep 0.5
+done
+echo "Disabling update notifications"
+sudo zypper -nq remove plasma5-pk-updates
+
+
+# shellcheck disable=SC2031
+if [ "$http_proxy" != "" ]; then
+ sudo sed -i 's/PROXY_ENABLED=\"no\"/PROXY_ENABLED=\"yes\"/' /etc/sysconfig/proxy
+ sudo sed -i "s|HTTP_PROXY=\".*\"|HTTP_PROXY=\"$proxy\"|" /etc/sysconfig/proxy
+fi
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/02-disable-ntp.sh
new file mode 100755
index 00000000..38707a8a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/02-disable-ntp.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+# shellcheck source=../common/linux/disable-ntp_linux.sh
+source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/03-enable-repos.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/03-enable-repos.sh
new file mode 100755
index 00000000..4dd0314f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/03-enable-repos.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+sudo sed -i "s#baseurl=.*#baseurl=http://repo-clones.ci.qt.io/repos/opensuse/distribution/leap/15.5/repo/oss/#g" /etc/zypp/repos.d/repo-oss.repo
+sudo sed -i "s#baseurl=.*#baseurl=http://repo-clones.ci.qt.io/repos/opensuse/distribution/leap/15.5/repo/non-oss/#g" /etc/zypp/repos.d/repo-non-oss.repo
+sudo sed -i "s#baseurl=.*#baseurl=http://repo-clones.ci.qt.io/repos/opensuse/update/leap/15.5/oss/#g" /etc/zypp/repos.d/repo-update.repo
+sudo sed -i "s#baseurl=.*#baseurl=http://repo-clones.ci.qt.io/repos/opensuse/update/leap/15.5/non-oss/#g" /etc/zypp/repos.d/repo-update-non-oss.repo
+
+sudo zypper lr -u
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/04-zypperpackages.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/04-zypperpackages.sh
new file mode 100755
index 00000000..afea0ff8
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/04-zypperpackages.sh
@@ -0,0 +1,85 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+
+set -ex
+
+sudo zypper -nq install git gcc9 gcc9-c++ ninja
+sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 1 \
+ --slave /usr/bin/g++ g++ /usr/bin/g++-9 \
+ --slave /usr/bin/cc cc /usr/bin/gcc-9 \
+ --slave /usr/bin/c++ c++ /usr/bin/g++-9
+
+sudo zypper -nq install bison flex gperf \
+ zlib-devel \
+ systemd-devel \
+ glib2-devel \
+ libopenssl-3-devel \
+ freetype2-devel \
+ fontconfig-devel \
+ sqlite3-devel \
+ libxkbcommon-devel \
+ libxkbcommon-x11-devel \
+ pcre2-devel libpng16-devel
+
+# EGL support
+sudo zypper -nq install Mesa-libEGL-devel Mesa-libGL-devel
+
+
+# Xinput2
+sudo zypper -nq install libXi-devel
+
+# system provided XCB libraries
+sudo zypper -nq install xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \
+ xcb-util-wm-devel xcb-util-renderutil-devel xcb-util-cursor-devel
+
+# ICU
+sudo zypper -nq install libicu-devel
+
+# qtwebengine
+# Removing nodejs12 as it's not available and testing with common nodejs 18.16.0
+sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel \
+ libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \
+ mozilla-nspr-devel mozilla-nss-devel glproto-devel \
+ libxshmfence-devel libXdamage-devel
+
+# qtwebkit
+sudo zypper -nq install libxml2-devel libxslt-devel
+
+# yasm (for ffmpeg in multimedia)
+sudo zypper -nq install yasm
+
+# GStreamer (qtwebkit and qtmultimedia), pulseaudio (qtmultimedia)
+sudo zypper -nq install gstreamer-devel gstreamer-plugins-base-devel libpulse-devel
+
+# cups
+sudo zypper -nq install cups-devel
+
+#speech-dispatcher
+sudo zypper -nq install libspeechd-devel
+
+# make
+sudo zypper -nq install make
+
+# Tools to build Git
+sudo zypper -nq install autoconf libcurl-devel libexpat-devel
+
+# zip, needed for vcpkg caching
+sudo zypper -nq install zip
+
+# OpenSSL 3
+sudo zypper -nq install openssl-3
+
+# used for reading vcpkg packages version, from vcpkg.json
+sudo zypper -nq install jq
+
+# Valgrind (Needed for testlib selftests)
+sudo zypper -nq install valgrind-devel
+
+# cifs-utils, for mounting smb drive
+sudo zypper -nq install cifs-utils
+
+gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
+echo "GCC = $gccVersion" >> versions.txt
+
+OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
+echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-disable_kwin_overview.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-disable_kwin_overview.sh
new file mode 100755
index 00000000..f6a3d71c
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-disable_kwin_overview.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/disable_kwin_overview.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..ed49b3a5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/05-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/linux/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/linux/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang-v100-dyn.sh
new file mode 100755
index 00000000..b0080cbc
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang-v100-dyn.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang-v100-dyn.sh
+"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang.sh
new file mode 100755
index 00000000..bbe2b4b4
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-libclang.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# shellcheck source=../common/unix/libclang.sh
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-pythondev.sh
new file mode 100755
index 00000000..82101c9b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-pythondev.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+
+# provides: python development libraries
+# version: provided by default Linux distribution repository
+# needed to build pyside
+
+set -ex
+
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+sudo zypper -nq install python-devel python-xml
+
+# install python3
+sudo zypper -nq install python311-base python311-devel python311-pip python311-virtualenv python311-wheel
+python3.11 -m pip install selenium netifaces scache webdriver-manager
+
+SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.11"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-cmake.sh
new file mode 100755
index 00000000..5eb53566
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-cmake.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+"$(dirname "$0")/../common/linux/cmake_linux.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-openssl.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-openssl.sh
new file mode 100755
index 00000000..e1131e39
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/09-openssl.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+"$(dirname "$0")/../common/unix/install-openssl.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/10-cmake-min-supported.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/10-cmake-min-supported.sh
new file mode 100755
index 00000000..cc79d066
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/10-cmake-min-supported.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -ex
+
+"$(dirname "$0")/../common/linux/cmake_min_supported.sh"
+
+# For testing Qt's CMake deployment API with CMake < 3.21, we need patchelf.
+sudo zypper -nq install patchelf
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/20-sccache.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/20-sccache.sh
new file mode 100755
index 00000000..b371d947
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/20-sccache.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/22-mqtt_broker.sh
new file mode 100755
index 00000000..c81f5c66
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/22-mqtt_broker.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# shellcheck source=../common/unix/mqtt_broker.sh
+source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-conan.sh
new file mode 100755
index 00000000..b8820053
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-conan.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/install-conan.sh" "linux"
diff --git a/coin/provisioning/qtci-macos-11.0-x86_64/30-install-git.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-git.sh
index ea4d3c44..05fcdf8e 100755
--- a/coin/provisioning/qtci-macos-11.0-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/30-install-git.sh
@@ -3,4 +3,4 @@
set -ex
BASEDIR=$(dirname "$0")
-"$BASEDIR/../common/macos/install-git.sh"
+"$BASEDIR/../common/linux/install-git.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/40-install-flite.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/40-install-flite.sh
new file mode 100755
index 00000000..67ed1991
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/40-install-flite.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-flite.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/41-install-vcpkg.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/41-install-vcpkg.sh
new file mode 100644
index 00000000..aa88364d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/41-install-vcpkg.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/42-install-vcpkg-ports.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/42-install-vcpkg-ports.sh
new file mode 100755
index 00000000..71a46f9a
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/42-install-vcpkg-ports.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/install-vcpkg-ports.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/55-emsdk.sh
new file mode 100755
index 00000000..6b1a79e5
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/55-emsdk.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/emsdk.sh
+source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/60-install_protobuf.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/60-install_protobuf.sh
new file mode 100755
index 00000000..c538ca07
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/60-install_protobuf.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_protobuf.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
+
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/61-install_grpc.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/61-install_grpc.sh
new file mode 100755
index 00000000..ecd6a51f
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/61-install_grpc.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_grpc.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
+
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/70-install_QemuGA.sh
new file mode 100755
index 00000000..76459a03
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/70-install_QemuGA.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QEMU Guest Agent
+
+set -ex
+
+sudo zypper -nq install qemu-guest-agent
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/80-install-chrome.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/80-install-chrome.sh
new file mode 100755
index 00000000..1cd18de0
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/80-install-chrome.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+set -ex
+
+# This script will install up-to-date google Chrome needed for Webassembly auto tests.
+
+# shellcheck source=../common/unix/DownloadURL.sh
+source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
+
+# Webassembly auto tests run requires latest Chrome. Let's use the latest stable one which means we can't cache this
+sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
+
+# Add the Google public signing key
+externalUrl="https://dl.google.com/linux/linux_signing_key.pub"
+Download "$externalUrl" "/tmp/linux_signing_key.pub"
+sudo rpm --import /tmp/linux_signing_key.pub
+
+# Update the repo cache of zypper and install Chrome
+sudo zypper ref -f
+sudo zypper -nq install --no-confirm google-chrome-stable
+
+# Install Chromedriver Chromium
+sudo zypper -nq install chromedriver
+
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-bootstrap-autostart.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-bootstrap-autostart.sh
new file mode 100755
index 00000000..1ff43850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-bootstrap-autostart.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/linux/bootstrap-autostart.sh"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-install-ffmpeg.sh
new file mode 100755
index 00000000..61da9b7b
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-install-ffmpeg.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-mimer.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-mimer.sh
new file mode 100755
index 00000000..bff2a7c7
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-mimer.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/linux/mimersql.sh" "openssl-1" "rpm"
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-squish.sh
new file mode 100755
index 00000000..e4281588
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/90-squish.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/squishInstall.sh"
+
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/91-install-dummy-sound.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/91-install-dummy-sound.sh
new file mode 100755
index 00000000..345c5efa
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/91-install-dummy-sound.sh
@@ -0,0 +1,60 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+systemd_folder=/etc/systemd/system
+systemd_file=dummysound.service
+script_folder=/home/qt/bin
+script_file=dummy_sound.sh
+
+# Create script to install dummy sound driver,
+# in case no other sound driver is installed.
+sudo tee "${script_folder}/${script_file}" <<"EOF"
+# Check for existing sound driver
+if lsmod | grep -q -i snd
+then
+ echo "(**) Sound driver already loaded. Nothing to do.";
+ exit 0;
+fi
+
+# load dummy sound module
+sudo modprobe snd-dummy
+
+# Check result
+if lsmod | grep -q snd_dummy
+then
+ echo "(**) Dummy sound driver loaded.";
+else
+ echo "(EE) Failed to load dummy sound driver.";
+ exit 1;
+fi
+EOF
+
+# set permissions
+sudo chmod 750 "${script_folder}/${script_file}"
+
+# Create service file
+sudo tee "${systemd_folder}/${systemd_file}" <<"EOF"
+# /etc/systemd/system/dummysound.service
+#
+
+[Unit]
+Description=Install dummy sound driver
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c "/home/qt/bin/dummy_sound.sh"
+
+[Install]
+WantedBy=multi-user.target
+EOF
+
+# Start servive and output result, just for logging
+sudo systemctl start dummysound.service
+# status commented out, returns 3 on VM.
+# sudo systemctl status dummysound.service
+
+# enable service
+sudo systemctl enable dummysound.service
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-cleanup.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-cleanup.sh
new file mode 100755
index 00000000..4d6e16ea
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-cleanup.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+"$(dirname "$0")"/../common/linux/cleanup_cache.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-enable_test_stacktraces.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-enable_test_stacktraces.sh
new file mode 100755
index 00000000..600b7850
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-enable_test_stacktraces.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/linux/enable_test_stacktraces.sh
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-unset-proxy.sh
new file mode 100755
index 00000000..d63c4919
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-unset-proxy.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Having proxy set while running autotests makes them fail
+sudo sed -i 's/PROXY_ENABLED=\"yes\"/PROXY_ENABLED=\"no\"/' /etc/sysconfig/proxy
+
diff --git a/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-version.sh b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-version.sh
new file mode 100755
index 00000000..00d06674
--- /dev/null
+++ b/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/99-version.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script needs to be called last during provisioning so that the software information will show up last in provision log.
+
+# Storage installed RPM packages information
+
+set -ex
+
+# shellcheck disable=SC2129
+echo "*********************************************" >> ~/versions.txt
+echo "***** All installed RPM packages *****" >> ~/versions.txt
+rpm -q -a | sort >> ~/versions.txt
+echo "*********************************************" >> ~/versions.txt
+
+"$(dirname "$0")/../common/linux/version.sh"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/01-disable-updates.sh b/coin/provisioning/qtci-macos-10.15-x86_64/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/01-enable_zsh_history_and_viminfo.sh b/coin/provisioning/qtci-macos-10.15-x86_64/01-enable_zsh_history_and_viminfo.sh
new file mode 100755
index 00000000..6004b140
--- /dev/null
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/01-enable_zsh_history_and_viminfo.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+# shellcheck source=../common/macos/enable_zsh_history_and_viminfo.sh
+source "${BASH_SOURCE%/*}/../common/macos/enable_zsh_history_and_viminfo.sh"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-10.15-x86_64/01-sha1sum-compatibility.sh
index cf0611cd..e52367c8 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/03-bashprofile.sh b/coin/provisioning/qtci-macos-10.15-x86_64/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh
index 99e22d40..115c0489 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,7 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/06-crashreporter.sh b/coin/provisioning/qtci-macos-10.15-x86_64/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_spotlight.sh
index 67e2c1f6..ab85a262 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_spotlight.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_spotlight.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/disable_spotlight.sh
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-10.15-x86_64/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/15-xz.sh b/coin/provisioning/qtci-macos-10.15-x86_64/15-xz.sh
index c2f6e73f..ffe00992 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/15-xz.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -48,7 +11,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
DestDir="/"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/20-java.sh b/coin/provisioning/qtci-macos-10.15-x86_64/20-java.sh
index dcfcb93b..325fee63 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/20-java.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/20-xcode.sh b/coin/provisioning/qtci-macos-10.15-x86_64/20-xcode.sh
index 34ce293d..0f711c1c 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/macos_10.15_catalina/Xcode_12.4.xip 12.4
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/macos_10.15_catalina/Xcode_12.4.xip 12.4
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-10.15-x86_64/21-install-commandlinetools.sh
index 93b079d6..a3e91ae8 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/21-install-commandlinetools.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -45,7 +8,7 @@ set -ex
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="12.4"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.15_catalina/$packageName"
+url="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.15_catalina/$packageName"
sha1="eabb32d167da029dfc70af94de2bf61abd416ca1"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-cmake.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-homebrew.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-homebrew.sh
index f7f9e214..b26d81da 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-homebrew.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-homebrew.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -e
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-mysql.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-mysql.sh
index d113c4cb..0be1e6e8 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-pip.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-pip.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-postgresql.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-postgresql.sh
index 09c7cd37..95460b55 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-postgresql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs PostgreSQL
@@ -52,7 +15,7 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
psqlVersion="9.6.0"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/Postgres-$psqlVersion.zip"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/Postgres-$psqlVersion.zip"
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/$psqlVersion/Postgres-$psqlVersion.zip"
SHA1="5078e44663787006ca55fa3b5e2be598bed82eb5"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-python2.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-python2.sh
index 7ebb8825..4c88a413 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-python2.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-python2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python2.sh
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/25-python3.sh b/coin/provisioning/qtci-macos-10.15-x86_64/25-python3.sh
index eb2a4863..8fee606c 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/25-python3.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/25-python3.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python3.sh
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/26-freetype.sh b/coin/provisioning/qtci-macos-10.15-x86_64/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/26-ninja.sh b/coin/provisioning/qtci-macos-10.15-x86_64/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh b/coin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh
index 2aedfe7b..388ce0f0 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/26-p7zip.sh b/coin/provisioning/qtci-macos-10.15-x86_64/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/26-pcre2.sh b/coin/provisioning/qtci-macos-10.15-x86_64/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/27-libclang.sh b/coin/provisioning/qtci-macos-10.15-x86_64/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-10.15-x86_64/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/30-android.sh b/coin/provisioning/qtci-macos-10.15-x86_64/30-android.sh
index 4a49fd3f..3ae2cbf6 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/30-android.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/30-android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -51,17 +14,17 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
-ndkVersion="r25b"
+ndkVersion="r26b"
ndkFile="android-ndk-$ndkVersion-darwin.zip"
-sdkBuildToolsVersion="33.0.1"
+sdkBuildToolsVersion="34.0.0"
# this is compile sdk version
-sdkApiLevel="android-33"
+sdkApiLevel="android-34"
toolsSourceFile="$basePath/$toolsFile"
ndkSourceFile="$basePath/$ndkFile"
@@ -83,7 +46,7 @@ sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
echo "Checking the contents of Android SDK..."
ls -l "$sdkTargetFolder"
@@ -93,7 +56,9 @@ SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersion" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/30-fbx.sh b/coin/provisioning/qtci-macos-10.15-x86_64/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/30-install-conan.sh b/coin/provisioning/qtci-macos-10.15-x86_64/30-install-conan.sh
index f1d084fd..8d90ef37 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/30-install-git.sh b/coin/provisioning/qtci-macos-10.15-x86_64/30-install-git.sh
index ea4d3c44..08114adf 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/30-install-git.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/30-install-git.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/30-nodejs.sh b/coin/provisioning/qtci-macos-10.15-x86_64/30-nodejs.sh
index 3b88d526..a5cf7d4d 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-macos-10.15-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/35-install_protobuf.sh b/coin/provisioning/qtci-macos-10.15-x86_64/35-install_protobuf.sh
index 2ef3eb8f..ecb5f835 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/35-openssl.sh b/coin/provisioning/qtci-macos-10.15-x86_64/35-openssl.sh
index 57a86c47..c67c0aaf 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
+# shellcheck source=../common/unix/install-openssl.sh
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/36-emsdk.sh b/coin/provisioning/qtci-macos-10.15-x86_64/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/80-screenresolution.sh b/coin/provisioning/qtci-macos-10.15-x86_64/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/81-bluetooth.sh b/coin/provisioning/qtci-macos-10.15-x86_64/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/90-docker.sh b/coin/provisioning/qtci-macos-10.15-x86_64/90-docker.sh
index 4fd7a6f3..1ab281cb 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/90-docker.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/90-docker.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-10.15-x86_64/90-install-ffmpeg.sh
index 1f8734c3..4a41cb74 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/90-squish.sh b/coin/provisioning/qtci-macos-10.15-x86_64/90-squish.sh
index 17a0c38e..c2658d0e 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/97-set-locale.sh b/coin/provisioning/qtci-macos-10.15-x86_64/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/98-mimersql.sh b/coin/provisioning/qtci-macos-10.15-x86_64/98-mimersql.sh
new file mode 100755
index 00000000..75be3f12
--- /dev/null
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos"
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/99-mac-version.sh b/coin/provisioning/qtci-macos-10.15-x86_64/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-11-arm/01-disable-app-reopen.sh b/coin/provisioning/qtci-macos-11-arm/01-disable-app-reopen.sh
index cc6c1a4b..382fb40c 100755
--- a/coin/provisioning/qtci-macos-11-arm/01-disable-app-reopen.sh
+++ b/coin/provisioning/qtci-macos-11-arm/01-disable-app-reopen.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable-app-reopen.sh
diff --git a/coin/provisioning/qtci-macos-11-arm/01-disable-net-lso.sh b/coin/provisioning/qtci-macos-11-arm/01-disable-net-lso.sh
index 659ebe96..659ebe96 100644..100755
--- a/coin/provisioning/qtci-macos-11-arm/01-disable-net-lso.sh
+++ b/coin/provisioning/qtci-macos-11-arm/01-disable-net-lso.sh
diff --git a/coin/provisioning/qtci-macos-11-arm/01-disable-updates.sh b/coin/provisioning/qtci-macos-11-arm/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-11-arm/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-11-arm/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-arm/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-11-arm/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-arm/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-11-arm/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-11-arm/01-sha1sum-compatibility.sh
index cf0611cd..e52367c8 100755
--- a/coin/provisioning/qtci-macos-11-arm/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-11-arm/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-11-arm/03-bashprofile.sh b/coin/provisioning/qtci-macos-11-arm/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-11-arm/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-11-arm/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/05-systemsetup.sh b/coin/provisioning/qtci-macos-11-arm/05-systemsetup.sh
index 29624282..1d8b7f09 100755
--- a/coin/provisioning/qtci-macos-11-arm/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-11-arm/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,7 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
@@ -107,7 +70,7 @@ sudo systemsetup setusingnetworktime on
sudo rm -f "$targetFile"
# Enable automount for nfs shares
-sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.intra.qt.io/input/mac/arm/auto_master
+sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.ci.qt.io/input/mac/arm/auto_master
sudo automount -cv
# Disable multicast advertisements
diff --git a/coin/provisioning/qtci-macos-11-arm/06-crashreporter.sh b/coin/provisioning/qtci-macos-11-arm/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-11-arm/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-11-arm/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-11-arm/06-disable_spotlight.sh
index 67e2c1f6..ab85a262 100755
--- a/coin/provisioning/qtci-macos-11-arm/06-disable_spotlight.sh
+++ b/coin/provisioning/qtci-macos-11-arm/06-disable_spotlight.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/disable_spotlight.sh
diff --git a/coin/provisioning/qtci-macos-11-arm/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-11-arm/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-11-arm/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-11-arm/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-11-arm/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-11-arm/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-11-arm/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-11-arm/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/15-xz.sh b/coin/provisioning/qtci-macos-11-arm/15-xz.sh
index 9b70c54e..b7e00a20 100755
--- a/coin/provisioning/qtci-macos-11-arm/15-xz.sh
+++ b/coin/provisioning/qtci-macos-11-arm/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -58,7 +21,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
# SourceUrl="https://tukaani.org/xz/xz-5.2.5.tar.gz"
SHA1="1afc327965d4af33399ae28f22c4b8e5a9e98dc2"
diff --git a/coin/provisioning/qtci-macos-11-arm/20-java.sh b/coin/provisioning/qtci-macos-11-arm/20-java.sh
index a6f3330c..00c867f4 100755
--- a/coin/provisioning/qtci-macos-11-arm/20-java.sh
+++ b/coin/provisioning/qtci-macos-11-arm/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-arm/20-xcode.sh b/coin/provisioning/qtci-macos-11-arm/20-xcode.sh
index e122c8f0..0e844bf0 100755
--- a/coin/provisioning/qtci-macos-11-arm/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-11-arm/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_13.2.1.xip 13.2.1
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_13.2.1.xip 13.2.1
diff --git a/coin/provisioning/qtci-macos-11-arm/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-11-arm/21-install-commandlinetools.sh
index c50c1406..6aea79fb 100755
--- a/coin/provisioning/qtci-macos-11-arm/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-11-arm/21-install-commandlinetools.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -45,7 +8,7 @@ set -ex
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="13.2"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
sha1="b3a0b597435cfbc5c09ad5772cf7313c87032252"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-11-arm/23-homebrew.sh b/coin/provisioning/qtci-macos-11-arm/23-homebrew.sh
new file mode 100755
index 00000000..c6377114
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-arm/23-homebrew.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Will install homebrew package manager for macOS.
+# WARNING: Requires commandlinetools
+
+
+set -e
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/homebrew_for_arm_mac.sh"
diff --git a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/50-openssl_for_android_linux.sh b/coin/provisioning/qtci-macos-11-arm/24-pyenv.sh
index 2d5d3b75..3a7a8f77 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/50-openssl_for_android_linux.sh
+++ b/coin/provisioning/qtci-macos-11-arm/24-pyenv.sh
@@ -1,8 +1,9 @@
-#!/bin/bash
+#!/usr/bin/env bash
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
+## Copyright (C) 2017 Pelagicore AG
## Contact: https://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -39,7 +40,10 @@
##
#############################################################################
-set -ex
+# This script installs python3
-# shellcheck source=../common/unix/openssl_for_android_linux.sh
-source "${BASH_SOURCE%/*}/../common/unix/openssl_for_android_linux.sh"
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+# Try with default
+/opt/homebrew/bin/brew install pyenv
diff --git a/coin/provisioning/qtci-macos-11-arm/25-cmake.sh b/coin/provisioning/qtci-macos-11-arm/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-11-arm/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/25-mysql.sh b/coin/provisioning/qtci-macos-11-arm/25-mysql.sh
index d113c4cb..0be1e6e8 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-11-arm/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-11-arm/25-pip.sh b/coin/provisioning/qtci-macos-11-arm/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-pip.sh
+++ b/coin/provisioning/qtci-macos-11-arm/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/25-postgresql.sh b/coin/provisioning/qtci-macos-11-arm/25-postgresql.sh
index db1f5236..06cae6ef 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-11-arm/25-postgresql.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-arm/25-python2.sh b/coin/provisioning/qtci-macos-11-arm/25-python2.sh
index da1ea956..51331de4 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-python2.sh
+++ b/coin/provisioning/qtci-macos-11-arm/25-python2.sh
@@ -1,53 +1,16 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# This script installs python2
-# shellcheck source=./InstallPKGFromURL.sh
+# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-# shellcheck source=../unix/SetEnvVar.sh
+# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-# shellcheck source=./pip.sh
+# shellcheck source=../common/macos/pip.sh
source "${BASH_SOURCE%/*}/../common/macos/pip.sh"
InstallPip python2.7
@@ -57,4 +20,3 @@ InstallPip python2.7
SetEnvVar "PATH" "/Library/Frameworks/Python.framework/Versions/2.7/bin/:\$PATH"
echo "python2 = 2.7.16" >> ~/versions.txt
-
diff --git a/coin/provisioning/qtci-macos-11-arm/25-python3.sh b/coin/provisioning/qtci-macos-11-arm/25-python3.sh
index ceeeae1e..5a0df739 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-python3.sh
+++ b/coin/provisioning/qtci-macos-11-arm/25-python3.sh
@@ -1,52 +1,13 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs python3
-# shellcheck source=../unix/SetEnvVar.sh
+# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-brew install --formula ${BASH_SOURCE%/*}/pyenv.rb
-
pyenv install 3.9.7
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user install virtualenv wheel html5lib
@@ -56,8 +17,4 @@ SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
# Use 3.9 as a default python
SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
-# Install all needed packages in a special wheel cache directory
-/Users/qt/.pyenv/versions/3.9.7/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
-
echo "python3 = 3.9.7" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-11-arm/26-brew_packages.sh b/coin/provisioning/qtci-macos-11-arm/26-brew_packages.sh
new file mode 100644
index 00000000..aa5b881b
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-arm/26-brew_packages.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Util-linux is needed for libuuid which is needed during the license service build
+# Path to util-linux folder is defined in 'src/libs/qlicenseservice/CMakeLists.txt'
+brew install util-linux
diff --git a/coin/provisioning/qtci-macos-11-arm/26-freetype.sh b/coin/provisioning/qtci-macos-11-arm/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-11-arm/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-11-arm/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/26-jq.sh b/coin/provisioning/qtci-macos-11-arm/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-arm/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-11-arm/26-ninja.sh b/coin/provisioning/qtci-macos-11-arm/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-11-arm/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-11-arm/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/26-odbc.sh b/coin/provisioning/qtci-macos-11-arm/26-odbc.sh
index 821c859f..2b6b013a 100755
--- a/coin/provisioning/qtci-macos-11-arm/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-11-arm/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/26-p7zip.sh b/coin/provisioning/qtci-macos-11-arm/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-11-arm/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-11-arm/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/26-pcre2.sh b/coin/provisioning/qtci-macos-11-arm/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-11-arm/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-11-arm/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/27-libclang.sh b/coin/provisioning/qtci-macos-11-arm/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-11-arm/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-11-arm/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-11-arm/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-11-arm/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-11-arm/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-11-arm/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-arm/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-11-arm/30-android.sh b/coin/provisioning/qtci-macos-11-arm/30-android.sh
index 4a49fd3f..3ae2cbf6 100755
--- a/coin/provisioning/qtci-macos-11-arm/30-android.sh
+++ b/coin/provisioning/qtci-macos-11-arm/30-android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -51,17 +14,17 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
-ndkVersion="r25b"
+ndkVersion="r26b"
ndkFile="android-ndk-$ndkVersion-darwin.zip"
-sdkBuildToolsVersion="33.0.1"
+sdkBuildToolsVersion="34.0.0"
# this is compile sdk version
-sdkApiLevel="android-33"
+sdkApiLevel="android-34"
toolsSourceFile="$basePath/$toolsFile"
ndkSourceFile="$basePath/$ndkFile"
@@ -83,7 +46,7 @@ sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
echo "Checking the contents of Android SDK..."
ls -l "$sdkTargetFolder"
@@ -93,7 +56,9 @@ SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersion" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
diff --git a/coin/provisioning/qtci-macos-11-arm/30-fbx.sh b/coin/provisioning/qtci-macos-11-arm/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-11-arm/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-11-arm/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/30-install-conan.sh b/coin/provisioning/qtci-macos-11-arm/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-macos-11-arm/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-11-arm/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/30-nodejs.sh b/coin/provisioning/qtci-macos-11-arm/30-nodejs.sh
index ab992405..8f73b2d6 100755
--- a/coin/provisioning/qtci-macos-11-arm/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-11-arm/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/35-install-breakpad.sh b/coin/provisioning/qtci-macos-11-arm/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-11-arm/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-11-arm/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/35-install_protobuf.sh b/coin/provisioning/qtci-macos-11-arm/35-install_protobuf.sh
index 2ef3eb8f..ecb5f835 100755
--- a/coin/provisioning/qtci-macos-11-arm/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-11-arm/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/35-openssl.sh b/coin/provisioning/qtci-macos-11-arm/35-openssl.sh
index 57a86c47..c86788db 100755
--- a/coin/provisioning/qtci-macos-11-arm/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-11-arm/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
-source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos"
+# shellcheck source=../common/unix/install-openssl.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-11-arm/36-emsdk.sh b/coin/provisioning/qtci-macos-11-arm/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-11-arm/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-11-arm/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/36-install_grpc.sh b/coin/provisioning/qtci-macos-11-arm/36-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-macos-11-arm/36-install_grpc.sh
+++ b/coin/provisioning/qtci-macos-11-arm/36-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/40-qnx700.sh b/coin/provisioning/qtci-macos-11-arm/40-qnx700.sh
index 712e72c9..48286a67 100755
--- a/coin/provisioning/qtci-macos-11-arm/40-qnx700.sh
+++ b/coin/provisioning/qtci-macos-11-arm/40-qnx700.sh
@@ -1,48 +1,11 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QNX 7.
targetFolder="/opt/"
-sourceFile="/net/ci-files01-hki.intra.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
+sourceFile="/net/ci-files01-hki.ci.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
folderName="qnx700"
sudo mkdir -p "$targetFolder"
diff --git a/coin/provisioning/qtci-macos-11-arm/55-signtools.sh b/coin/provisioning/qtci-macos-11-arm/55-signtools.sh
index c543b8ac..ff5a977a 100755
--- a/coin/provisioning/qtci-macos-11-arm/55-signtools.sh
+++ b/coin/provisioning/qtci-macos-11-arm/55-signtools.sh
@@ -1,50 +1,13 @@
#!/usr/bin/env sh
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install tools for singing packages
# This script assume that OS is vanilla. Target machine dosen't have any signing certificates installed.
set -ex
-cache="http://ci-files01-hki.intra.qt.io/input"
+cache="http://ci-files01-hki.ci.qt.io/input"
cacheSigningTools="$cache/mac/sign_tools"
targetFolder="/Users/qt"
keychains="$targetFolder/Library/Keychains"
diff --git a/coin/provisioning/qtci-macos-11-arm/80-screenresolution.sh b/coin/provisioning/qtci-macos-11-arm/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-11-arm/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-11-arm/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-11-arm/81-bluetooth.sh b/coin/provisioning/qtci-macos-11-arm/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-11-arm/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-11-arm/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-11-arm/90-install-ffmpeg.sh
index a8333b36..23cb13e1 100755
--- a/coin/provisioning/qtci-macos-11-arm/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-11-arm/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-arm/97-set-locale.sh b/coin/provisioning/qtci-macos-11-arm/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-11-arm/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-11-arm/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-11-arm/98-mimersql.sh b/coin/provisioning/qtci-macos-11-arm/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-arm/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-11-arm/99-mac-version.sh b/coin/provisioning/qtci-macos-11-arm/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-11-arm/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-11-arm/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-11-arm/pyenv.rb b/coin/provisioning/qtci-macos-11-arm/pyenv.rb
deleted file mode 100644
index 8e981111..00000000
--- a/coin/provisioning/qtci-macos-11-arm/pyenv.rb
+++ /dev/null
@@ -1,82 +0,0 @@
-class Pyenv < Formula
- desc "Python version management"
- homepage "https://github.com/pyenv/pyenv"
- url "https://github.com/pyenv/pyenv/archive/v2.2.0.tar.gz"
- sha256 "ef62a5d0a0d582b38497ae8d24a2a417d4a21c42811123c08082541a7092825d"
- license "MIT"
- version_scheme 1
- head "https://github.com/pyenv/pyenv.git", branch: "master"
-
- livecheck do
- url :stable
- strategy :github_latest
- end
-
- bottle do
- sha256 cellar: :any, arm64_monterey: "1d326dcae6327e1a62a8026e80665a0d995eec0d26c27f417ef34a9b75a2e2a7"
- sha256 cellar: :any, arm64_big_sur: "38f17626731a50f95ce1ad71495de2d260706a1420a19f2f29e7c935525c8c01"
- sha256 cellar: :any, monterey: "b02075ca6820755aee0956795c7decbfac56562ba66fec06bea193116cef5de6"
- sha256 cellar: :any, big_sur: "880bf4a355cc3da07562b82bac1bf7d0f4bcde6c613f5ea691f50d4e013b1bf8"
- sha256 cellar: :any, catalina: "5f7f283d3029f6293a52fc5449cf6aae8be5976f605318c9afa300be3e7d88f8"
- sha256 cellar: :any_skip_relocation, x86_64_linux: "fb8949a118e2b8012383fe822148778944d24fe7eab36655fad6e1f1d506e2ad"
- end
-
- depends_on "autoconf"
- depends_on "openssl@1.1"
- depends_on "pkg-config"
- depends_on "readline"
-
- uses_from_macos "bzip2"
- uses_from_macos "libffi"
- uses_from_macos "ncurses"
- uses_from_macos "xz"
- uses_from_macos "zlib"
-
- on_linux do
- depends_on "python@3.10" => :test
- end
-
- def install
- inreplace "libexec/pyenv", "/usr/local", HOMEBREW_PREFIX
- inreplace "libexec/pyenv-rehash", "$(command -v pyenv)", opt_bin/"pyenv"
- inreplace "pyenv.d/rehash/source.bash", "$(command -v pyenv)", opt_bin/"pyenv"
-
- system "src/configure"
- system "make", "-C", "src"
-
- prefix.install Dir["*"]
- %w[pyenv-install pyenv-uninstall python-build].each do |cmd|
- bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}"
- end
-
- share.install prefix/"man"
-
- # Do not manually install shell completions. See:
- # - https://github.com/pyenv/pyenv/issues/1056#issuecomment-356818337
- # - https://github.com/Homebrew/homebrew-core/pull/22727
- end
-
- test do
- # Create a fake python version and executable.
- pyenv_root = Pathname(shell_output("pyenv root").strip)
- python_bin = pyenv_root/"versions/1.2.3/bin"
- foo_script = python_bin/"foo"
- foo_script.write "echo hello"
- chmod "+x", foo_script
-
- # Test versions.
- versions = shell_output("eval \"$(#{bin}/pyenv init --path)\" " \
- "&& eval \"$(#{bin}/pyenv init -)\" " \
- "&& pyenv versions").split("\n")
- assert_equal 2, versions.length
- assert_match(/\* system/, versions[0])
- assert_equal(" 1.2.3", versions[1])
-
- # Test rehash.
- system "pyenv", "rehash"
- refute_match "Cellar", (pyenv_root/"shims/foo").read
- assert_equal "hello", shell_output("eval \"$(#{bin}/pyenv init --path)\" " \
- "&& eval \"$(#{bin}/pyenv init -)\" " \
- "&& PYENV_VERSION='1.2.3' foo").chomp
- end
-end
diff --git a/coin/provisioning/qtci-macos-11-x86_64/01-disable-updates.sh b/coin/provisioning/qtci-macos-11-x86_64/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-x86_64/01-enable_zsh_history_and_viminfo.sh b/coin/provisioning/qtci-macos-11-x86_64/01-enable_zsh_history_and_viminfo.sh
new file mode 100755
index 00000000..6004b140
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-x86_64/01-enable_zsh_history_and_viminfo.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+# shellcheck source=../common/macos/enable_zsh_history_and_viminfo.sh
+source "${BASH_SOURCE%/*}/../common/macos/enable_zsh_history_and_viminfo.sh"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-11-x86_64/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-x86_64/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-11-x86_64/01-sha1sum-compatibility.sh
index cf0611cd..e52367c8 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-11-x86_64/03-bashprofile.sh b/coin/provisioning/qtci-macos-11-x86_64/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-11-x86_64/05-systemsetup.sh
index 99e22d40..115c0489 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,7 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/06-crashreporter.sh b/coin/provisioning/qtci-macos-11-x86_64/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-11-x86_64/06-disable_spotlight.sh
index 67e2c1f6..ab85a262 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/06-disable_spotlight.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/06-disable_spotlight.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/disable_spotlight.sh
diff --git a/coin/provisioning/qtci-macos-11-x86_64/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-11-x86_64/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-11-x86_64/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-11-x86_64/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/15-xz.sh b/coin/provisioning/qtci-macos-11-x86_64/15-xz.sh
index c2f6e73f..ffe00992 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/15-xz.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -48,7 +11,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
DestDir="/"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/20-java.sh b/coin/provisioning/qtci-macos-11-x86_64/20-java.sh
index dcfcb93b..325fee63 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/20-java.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-x86_64/20-xcode.sh b/coin/provisioning/qtci-macos-11-x86_64/20-xcode.sh
index e122c8f0..0e844bf0 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_13.2.1.xip 13.2.1
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_13.2.1.xip 13.2.1
diff --git a/coin/provisioning/qtci-macos-11-x86_64/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-11-x86_64/21-install-commandlinetools.sh
index c50c1406..6aea79fb 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/21-install-commandlinetools.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -45,7 +8,7 @@ set -ex
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="13.2"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
sha1="b3a0b597435cfbc5c09ad5772cf7313c87032252"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-cmake.sh b/coin/provisioning/qtci-macos-11-x86_64/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-homebrew.sh b/coin/provisioning/qtci-macos-11-x86_64/25-homebrew.sh
index b177ab82..f83960f4 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-homebrew.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-homebrew.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Will install homebrew package manager for macOS.
# WARNING: Requires commandlinetools
@@ -49,15 +12,15 @@ set -e
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
3210da71e12a699ab3bba43910a6d5fc64b92000 \
/tmp/homebrew_install.sh
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
sudo chmod 755 /tmp/homebrew_install.sh
-{ (echo $pw | /tmp/homebrew_install.sh); } 2> /dev/null
+{ (echo "$pw" | /tmp/homebrew_install.sh); } 2> /dev/null
rm -f "/Users/qt/pw"
# No need to manually do `brew update`, the homebrew installer script does it.
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-mysql.sh b/coin/provisioning/qtci-macos-11-x86_64/25-mysql.sh
index d113c4cb..0be1e6e8 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-pip.sh b/coin/provisioning/qtci-macos-11-x86_64/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-pip.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-postgresql.sh b/coin/provisioning/qtci-macos-11-x86_64/25-postgresql.sh
index db1f5236..06cae6ef 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-postgresql.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-python2.sh b/coin/provisioning/qtci-macos-11-x86_64/25-python2.sh
index 7ebb8825..4c88a413 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-python2.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-python2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python2.sh
diff --git a/coin/provisioning/qtci-macos-11-x86_64/25-python3.sh b/coin/provisioning/qtci-macos-11-x86_64/25-python3.sh
index eb2a4863..8fee606c 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/25-python3.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/25-python3.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python3.sh
diff --git a/coin/provisioning/qtci-macos-11-x86_64/26-freetype.sh b/coin/provisioning/qtci-macos-11-x86_64/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/26-jq.sh b/coin/provisioning/qtci-macos-11-x86_64/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-x86_64/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-11-x86_64/26-ninja.sh b/coin/provisioning/qtci-macos-11-x86_64/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/26-odbc.sh b/coin/provisioning/qtci-macos-11-x86_64/26-odbc.sh
index 821c859f..2b6b013a 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/26-p7zip.sh b/coin/provisioning/qtci-macos-11-x86_64/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/26-pcre2.sh b/coin/provisioning/qtci-macos-11-x86_64/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/27-libclang.sh b/coin/provisioning/qtci-macos-11-x86_64/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-11-x86_64/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-11-x86_64/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-x86_64/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/29-libusb.sh b/coin/provisioning/qtci-macos-11-x86_64/29-libusb.sh
index c58274b6..e9e9e238 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/29-libusb.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/29-libusb.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/30-android.sh b/coin/provisioning/qtci-macos-11-x86_64/30-android.sh
index 4a49fd3f..11bcf7ad 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/30-android.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/30-android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -51,17 +14,17 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
-ndkVersion="r25b"
+ndkVersion="r26b"
ndkFile="android-ndk-$ndkVersion-darwin.zip"
-sdkBuildToolsVersion="33.0.1"
+sdkBuildToolsVersion="34.0.0"
# this is compile sdk version
-sdkApiLevel="android-33"
+sdkApiLevel="android-34"
toolsSourceFile="$basePath/$toolsFile"
ndkSourceFile="$basePath/$ndkFile"
@@ -73,6 +36,7 @@ sudo unzip -q "$toolsSourceFile" -d "$sdkTargetFolder"
echo "Changing ownership of Android files."
sudo chown -R qt:wheel "$targetFolder"
+sudo chmod -R 755 $targetFolder
# Run the following command under `eval` or `sh -c` so that the shell properly splits it
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
@@ -83,7 +47,7 @@ sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
echo "Checking the contents of Android SDK..."
ls -l "$sdkTargetFolder"
@@ -93,7 +57,9 @@ SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersion" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
diff --git a/coin/provisioning/qtci-macos-11-x86_64/30-fbx.sh b/coin/provisioning/qtci-macos-11-x86_64/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/30-install-conan.sh b/coin/provisioning/qtci-macos-11-x86_64/30-install-conan.sh
index f1d084fd..8d90ef37 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/30-nodejs.sh b/coin/provisioning/qtci-macos-11-x86_64/30-nodejs.sh
index 3b88d526..a5cf7d4d 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-macos-11-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/35-install_protobuf.sh b/coin/provisioning/qtci-macos-11-x86_64/35-install_protobuf.sh
index 2ef3eb8f..ecb5f835 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/35-openssl.sh b/coin/provisioning/qtci-macos-11-x86_64/35-openssl.sh
index 24d899a8..c86788db 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
+# shellcheck source=../common/unix/install-openssl.sh
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/36-emsdk.sh b/coin/provisioning/qtci-macos-11-x86_64/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/36-install_grpc.sh b/coin/provisioning/qtci-macos-11-x86_64/36-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-macos-11-x86_64/36-install_grpc.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/36-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/80-screenresolution.sh b/coin/provisioning/qtci-macos-11-x86_64/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-11-x86_64/81-bluetooth.sh b/coin/provisioning/qtci-macos-11-x86_64/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-11-x86_64/90-install-ffmpeg.sh
index a8333b36..23cb13e1 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-11-x86_64/90-squish.sh b/coin/provisioning/qtci-macos-11-x86_64/90-squish.sh
index 17a0c38e..c2658d0e 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-11-x86_64/97-set-locale.sh b/coin/provisioning/qtci-macos-11-x86_64/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/98-mimersql.sh b/coin/provisioning/qtci-macos-11-x86_64/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-11-x86_64/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-11-x86_64/99-mac-version.sh b/coin/provisioning/qtci-macos-11-x86_64/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-11-x86_64/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-11-x86_64/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-12-arm/01-disable-app-reopen.sh b/coin/provisioning/qtci-macos-12-arm/01-disable-app-reopen.sh
index cc6c1a4b..382fb40c 100755
--- a/coin/provisioning/qtci-macos-12-arm/01-disable-app-reopen.sh
+++ b/coin/provisioning/qtci-macos-12-arm/01-disable-app-reopen.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable-app-reopen.sh
diff --git a/coin/provisioning/qtci-macos-12-arm/01-disable-net-lso.sh b/coin/provisioning/qtci-macos-12-arm/01-disable-net-lso.sh
index 659ebe96..659ebe96 100644..100755
--- a/coin/provisioning/qtci-macos-12-arm/01-disable-net-lso.sh
+++ b/coin/provisioning/qtci-macos-12-arm/01-disable-net-lso.sh
diff --git a/coin/provisioning/qtci-macos-12-arm/01-disable-updates.sh b/coin/provisioning/qtci-macos-12-arm/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-12-arm/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-12-arm/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-arm/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-12-arm/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-12-arm/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-12-arm/01-sha1sum-compatibility.sh
index cf0611cd..e52367c8 100755
--- a/coin/provisioning/qtci-macos-12-arm/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-12-arm/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-12-arm/03-bashprofile.sh b/coin/provisioning/qtci-macos-12-arm/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-12-arm/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-12-arm/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/05-systemsetup.sh b/coin/provisioning/qtci-macos-12-arm/05-systemsetup.sh
index 29624282..1d8b7f09 100755
--- a/coin/provisioning/qtci-macos-12-arm/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-12-arm/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,7 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
@@ -107,7 +70,7 @@ sudo systemsetup setusingnetworktime on
sudo rm -f "$targetFile"
# Enable automount for nfs shares
-sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.intra.qt.io/input/mac/arm/auto_master
+sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.ci.qt.io/input/mac/arm/auto_master
sudo automount -cv
# Disable multicast advertisements
diff --git a/coin/provisioning/qtci-macos-12-arm/06-crashreporter.sh b/coin/provisioning/qtci-macos-12-arm/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-12-arm/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-12-arm/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-12-arm/06-disable_spotlight.sh
index 67e2c1f6..ab85a262 100755
--- a/coin/provisioning/qtci-macos-12-arm/06-disable_spotlight.sh
+++ b/coin/provisioning/qtci-macos-12-arm/06-disable_spotlight.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/disable_spotlight.sh
diff --git a/coin/provisioning/qtci-macos-12-arm/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-12-arm/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-12-arm/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-12-arm/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-12-arm/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-12-arm/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-12-arm/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-12-arm/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/15-xz.sh b/coin/provisioning/qtci-macos-12-arm/15-xz.sh
index 9b70c54e..b7e00a20 100755
--- a/coin/provisioning/qtci-macos-12-arm/15-xz.sh
+++ b/coin/provisioning/qtci-macos-12-arm/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -58,7 +21,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
# SourceUrl="https://tukaani.org/xz/xz-5.2.5.tar.gz"
SHA1="1afc327965d4af33399ae28f22c4b8e5a9e98dc2"
diff --git a/coin/provisioning/qtci-macos-12-arm/20-java.sh b/coin/provisioning/qtci-macos-12-arm/20-java.sh
index a6f3330c..00c867f4 100755
--- a/coin/provisioning/qtci-macos-12-arm/20-java.sh
+++ b/coin/provisioning/qtci-macos-12-arm/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-arm/20-xcode.sh b/coin/provisioning/qtci-macos-12-arm/20-xcode.sh
index a062b6e2..102211cc 100755
--- a/coin/provisioning/qtci-macos-12-arm/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-12-arm/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
diff --git a/coin/provisioning/qtci-macos-12-arm/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-12-arm/21-install-commandlinetools.sh
index 3777e52f..d2981173 100755
--- a/coin/provisioning/qtci-macos-12-arm/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-12-arm/21-install-commandlinetools.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -45,7 +8,7 @@ set -ex
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="14.2"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
sha1="f9d18da696bc54755bd85fb4f42c0a8866bdade6"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-12-arm/23-homebrew.sh b/coin/provisioning/qtci-macos-12-arm/23-homebrew.sh
new file mode 100755
index 00000000..c6377114
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/23-homebrew.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Will install homebrew package manager for macOS.
+# WARNING: Requires commandlinetools
+
+
+set -e
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/homebrew_for_arm_mac.sh"
diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh b/coin/provisioning/qtci-macos-12-arm/24-pyenv.sh
index 6b8c0e84..3a7a8f77 100755
--- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh
+++ b/coin/provisioning/qtci-macos-12-arm/24-pyenv.sh
@@ -3,6 +3,7 @@
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
+## Copyright (C) 2017 Pelagicore AG
## Contact: https://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -39,21 +40,10 @@
##
#############################################################################
-# build cmake for the debian packgaes
-# Create chroot for Ubuntu focal
-#mk-sbuild --arch=amd64 --name=focal --debootstrap-mirror="http://archive.ubuntu.com/ubuntu/" --distro=ubuntu focal
-
-mkdir -p /home/qt/debian_packages
-cd /home/qt/debian_packages
-wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/amd64-focal/cmake-3.24-deb.tar.gz
-tar xzf cmake-3.24-deb.tar.gz
-#git clone git@gitlab.ics.com:qt6_packaging/tqtc/cmake.git
-#wget https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3.tar.gz -O cmake_3.24.3.orig.tar.gz
-#dpkg-source -b cmake
-#sbuild --build-dep-resolver=aptitude -sAd focal -c focal-amd64 cmake_3.24.3-1~bpo1.dsc
-
-
-
-
+# This script installs python3
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+# Try with default
+/opt/homebrew/bin/brew install pyenv
diff --git a/coin/provisioning/qtci-macos-12-arm/25-cmake.sh b/coin/provisioning/qtci-macos-12-arm/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-12-arm/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-12-arm/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/25-mysql.sh b/coin/provisioning/qtci-macos-12-arm/25-mysql.sh
index d113c4cb..0be1e6e8 100755
--- a/coin/provisioning/qtci-macos-12-arm/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-12-arm/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-12-arm/25-pip.sh b/coin/provisioning/qtci-macos-12-arm/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-12-arm/25-pip.sh
+++ b/coin/provisioning/qtci-macos-12-arm/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/25-postgresql.sh b/coin/provisioning/qtci-macos-12-arm/25-postgresql.sh
index db1f5236..06cae6ef 100755
--- a/coin/provisioning/qtci-macos-12-arm/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-12-arm/25-postgresql.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-arm/25-python.sh b/coin/provisioning/qtci-macos-12-arm/25-python.sh
index b9f5c7a8..9bfb6384 100755
--- a/coin/provisioning/qtci-macos-12-arm/25-python.sh
+++ b/coin/provisioning/qtci-macos-12-arm/25-python.sh
@@ -1,52 +1,13 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs python3
-# shellcheck source=../unix/SetEnvVar.sh
+# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-brew install --formula ${BASH_SOURCE%/*}/pyenv.rb
-
pyenv install 3.9.7
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user install virtualenv wheel html5lib
@@ -56,10 +17,6 @@ SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
# Use 3.9 as a default python
SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
-# Install all needed packages in a special wheel cache directory
-/Users/qt/.pyenv/versions/3.9.7/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
-
# QtWebengine still requires python2
pyenv install 2.7.18
SetEnvVar "PYTHON2_PATH" "/Users/qt/.pyenv/versions/2.7.18/bin/"
diff --git a/coin/provisioning/qtci-macos-12-arm/26-brew_packages.sh b/coin/provisioning/qtci-macos-12-arm/26-brew_packages.sh
new file mode 100644
index 00000000..aa5b881b
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/26-brew_packages.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Util-linux is needed for libuuid which is needed during the license service build
+# Path to util-linux folder is defined in 'src/libs/qlicenseservice/CMakeLists.txt'
+brew install util-linux
diff --git a/coin/provisioning/qtci-macos-12-arm/26-freetype.sh b/coin/provisioning/qtci-macos-12-arm/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-12-arm/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-12-arm/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/26-jq.sh b/coin/provisioning/qtci-macos-12-arm/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-12-arm/26-ninja.sh b/coin/provisioning/qtci-macos-12-arm/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-12-arm/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-12-arm/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/26-odbc.sh b/coin/provisioning/qtci-macos-12-arm/26-odbc.sh
index 821c859f..2b6b013a 100755
--- a/coin/provisioning/qtci-macos-12-arm/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-12-arm/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/26-p7zip.sh b/coin/provisioning/qtci-macos-12-arm/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-12-arm/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-12-arm/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/26-pcre2.sh b/coin/provisioning/qtci-macos-12-arm/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-12-arm/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-12-arm/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/27-libclang.sh b/coin/provisioning/qtci-macos-12-arm/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-12-arm/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-12-arm/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-12-arm/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-12-arm/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-12-arm/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-12-arm/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-12-arm/29-libusb.sh b/coin/provisioning/qtci-macos-12-arm/29-libusb.sh
index c58274b6..e9e9e238 100755
--- a/coin/provisioning/qtci-macos-12-arm/29-libusb.sh
+++ b/coin/provisioning/qtci-macos-12-arm/29-libusb.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/30-android.sh b/coin/provisioning/qtci-macos-12-arm/30-android.sh
index d65ff7a7..6259b71e 100755
--- a/coin/provisioning/qtci-macos-12-arm/30-android.sh
+++ b/coin/provisioning/qtci-macos-12-arm/30-android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -51,17 +14,17 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
-ndkVersion="r25b"
+ndkVersion="r26b"
ndkFile="android-ndk-$ndkVersion-darwin.zip"
-sdkBuildToolsVersion="33.0.1"
+sdkBuildToolsVersion="34.0.0"
# this is compile sdk version
-sdkApiLevel="android-33"
+sdkApiLevel="android-34"
toolsSourceFile="$basePath/$toolsFile"
ndkSourceFile="$basePath/$ndkFile"
@@ -83,7 +46,7 @@ sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
echo "Checking the contents of Android SDK..."
ls -l "$sdkTargetFolder"
@@ -93,7 +56,9 @@ SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersion" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
diff --git a/coin/provisioning/qtci-macos-12-arm/30-fbx.sh b/coin/provisioning/qtci-macos-12-arm/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-12-arm/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-12-arm/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/30-install-conan.sh b/coin/provisioning/qtci-macos-12-arm/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-macos-12-arm/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-12-arm/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/30-nodejs.sh b/coin/provisioning/qtci-macos-12-arm/30-nodejs.sh
index ab992405..8f73b2d6 100755
--- a/coin/provisioning/qtci-macos-12-arm/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-12-arm/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/35-install-breakpad.sh b/coin/provisioning/qtci-macos-12-arm/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-12-arm/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-12-arm/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/35-install_protobuf.sh b/coin/provisioning/qtci-macos-12-arm/35-install_protobuf.sh
index 2ef3eb8f..ecb5f835 100755
--- a/coin/provisioning/qtci-macos-12-arm/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-12-arm/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/35-openssl.sh b/coin/provisioning/qtci-macos-12-arm/35-openssl.sh
index 57a86c47..c86788db 100755
--- a/coin/provisioning/qtci-macos-12-arm/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-12-arm/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
-source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos"
+# shellcheck source=../common/unix/install-openssl.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-12-arm/36-emsdk.sh b/coin/provisioning/qtci-macos-12-arm/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-12-arm/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-12-arm/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/36-install_grpc.sh b/coin/provisioning/qtci-macos-12-arm/36-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-macos-12-arm/36-install_grpc.sh
+++ b/coin/provisioning/qtci-macos-12-arm/36-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/40-qnx700.sh b/coin/provisioning/qtci-macos-12-arm/40-qnx700.sh
index 712e72c9..48286a67 100755
--- a/coin/provisioning/qtci-macos-12-arm/40-qnx700.sh
+++ b/coin/provisioning/qtci-macos-12-arm/40-qnx700.sh
@@ -1,48 +1,11 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QNX 7.
targetFolder="/opt/"
-sourceFile="/net/ci-files01-hki.intra.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
+sourceFile="/net/ci-files01-hki.ci.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
folderName="qnx700"
sudo mkdir -p "$targetFolder"
diff --git a/coin/provisioning/qtci-macos-12-arm/50-openssl_for_android_darwin.sh b/coin/provisioning/qtci-macos-12-arm/50-openssl_for_android_darwin.sh
index 86ae3793..c3e51d23 100755
--- a/coin/provisioning/qtci-macos-12-arm/50-openssl_for_android_darwin.sh
+++ b/coin/provisioning/qtci-macos-12-arm/50-openssl_for_android_darwin.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/unix/openssl_for_android.sh
diff --git a/coin/provisioning/qtci-macos-12-arm/55-signtools.sh b/coin/provisioning/qtci-macos-12-arm/55-signtools.sh
index c543b8ac..ff5a977a 100755
--- a/coin/provisioning/qtci-macos-12-arm/55-signtools.sh
+++ b/coin/provisioning/qtci-macos-12-arm/55-signtools.sh
@@ -1,50 +1,13 @@
#!/usr/bin/env sh
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install tools for singing packages
# This script assume that OS is vanilla. Target machine dosen't have any signing certificates installed.
set -ex
-cache="http://ci-files01-hki.intra.qt.io/input"
+cache="http://ci-files01-hki.ci.qt.io/input"
cacheSigningTools="$cache/mac/sign_tools"
targetFolder="/Users/qt"
keychains="$targetFolder/Library/Keychains"
diff --git a/coin/provisioning/qtci-macos-12-arm/80-screenresolution.sh b/coin/provisioning/qtci-macos-12-arm/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-12-arm/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-12-arm/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-12-arm/81-bluetooth.sh b/coin/provisioning/qtci-macos-12-arm/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-12-arm/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-12-arm/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/90-docker.sh b/coin/provisioning/qtci-macos-12-arm/90-docker.sh
index 08e0330f..f03971a9 100755
--- a/coin/provisioning/qtci-macos-12-arm/90-docker.sh
+++ b/coin/provisioning/qtci-macos-12-arm/90-docker.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-12-arm/90-install-ffmpeg.sh
index a8333b36..23cb13e1 100755
--- a/coin/provisioning/qtci-macos-12-arm/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-12-arm/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-arm/90-vlc.sh b/coin/provisioning/qtci-macos-12-arm/90-vlc.sh
new file mode 100644
index 00000000..4924fe5c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/90-vlc.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# for QtMM streaming tests
+brew install --cask vlc
diff --git a/coin/provisioning/qtci-macos-12-arm/97-set-locale.sh b/coin/provisioning/qtci-macos-12-arm/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-12-arm/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-12-arm/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-12-arm/98-mimersql.sh b/coin/provisioning/qtci-macos-12-arm/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-arm/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-12-arm/99-mac-version.sh b/coin/provisioning/qtci-macos-12-arm/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-12-arm/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-12-arm/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-12-arm/pyenv.rb b/coin/provisioning/qtci-macos-12-arm/pyenv.rb
deleted file mode 100644
index 8e981111..00000000
--- a/coin/provisioning/qtci-macos-12-arm/pyenv.rb
+++ /dev/null
@@ -1,82 +0,0 @@
-class Pyenv < Formula
- desc "Python version management"
- homepage "https://github.com/pyenv/pyenv"
- url "https://github.com/pyenv/pyenv/archive/v2.2.0.tar.gz"
- sha256 "ef62a5d0a0d582b38497ae8d24a2a417d4a21c42811123c08082541a7092825d"
- license "MIT"
- version_scheme 1
- head "https://github.com/pyenv/pyenv.git", branch: "master"
-
- livecheck do
- url :stable
- strategy :github_latest
- end
-
- bottle do
- sha256 cellar: :any, arm64_monterey: "1d326dcae6327e1a62a8026e80665a0d995eec0d26c27f417ef34a9b75a2e2a7"
- sha256 cellar: :any, arm64_big_sur: "38f17626731a50f95ce1ad71495de2d260706a1420a19f2f29e7c935525c8c01"
- sha256 cellar: :any, monterey: "b02075ca6820755aee0956795c7decbfac56562ba66fec06bea193116cef5de6"
- sha256 cellar: :any, big_sur: "880bf4a355cc3da07562b82bac1bf7d0f4bcde6c613f5ea691f50d4e013b1bf8"
- sha256 cellar: :any, catalina: "5f7f283d3029f6293a52fc5449cf6aae8be5976f605318c9afa300be3e7d88f8"
- sha256 cellar: :any_skip_relocation, x86_64_linux: "fb8949a118e2b8012383fe822148778944d24fe7eab36655fad6e1f1d506e2ad"
- end
-
- depends_on "autoconf"
- depends_on "openssl@1.1"
- depends_on "pkg-config"
- depends_on "readline"
-
- uses_from_macos "bzip2"
- uses_from_macos "libffi"
- uses_from_macos "ncurses"
- uses_from_macos "xz"
- uses_from_macos "zlib"
-
- on_linux do
- depends_on "python@3.10" => :test
- end
-
- def install
- inreplace "libexec/pyenv", "/usr/local", HOMEBREW_PREFIX
- inreplace "libexec/pyenv-rehash", "$(command -v pyenv)", opt_bin/"pyenv"
- inreplace "pyenv.d/rehash/source.bash", "$(command -v pyenv)", opt_bin/"pyenv"
-
- system "src/configure"
- system "make", "-C", "src"
-
- prefix.install Dir["*"]
- %w[pyenv-install pyenv-uninstall python-build].each do |cmd|
- bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}"
- end
-
- share.install prefix/"man"
-
- # Do not manually install shell completions. See:
- # - https://github.com/pyenv/pyenv/issues/1056#issuecomment-356818337
- # - https://github.com/Homebrew/homebrew-core/pull/22727
- end
-
- test do
- # Create a fake python version and executable.
- pyenv_root = Pathname(shell_output("pyenv root").strip)
- python_bin = pyenv_root/"versions/1.2.3/bin"
- foo_script = python_bin/"foo"
- foo_script.write "echo hello"
- chmod "+x", foo_script
-
- # Test versions.
- versions = shell_output("eval \"$(#{bin}/pyenv init --path)\" " \
- "&& eval \"$(#{bin}/pyenv init -)\" " \
- "&& pyenv versions").split("\n")
- assert_equal 2, versions.length
- assert_match(/\* system/, versions[0])
- assert_equal(" 1.2.3", versions[1])
-
- # Test rehash.
- system "pyenv", "rehash"
- refute_match "Cellar", (pyenv_root/"shims/foo").read
- assert_equal "hello", shell_output("eval \"$(#{bin}/pyenv init --path)\" " \
- "&& eval \"$(#{bin}/pyenv init -)\" " \
- "&& PYENV_VERSION='1.2.3' foo").chomp
- end
-end
diff --git a/coin/provisioning/qtci-macos-12-x86_64/01-disable-updates.sh b/coin/provisioning/qtci-macos-12-x86_64/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-x86_64/01-enable_zsh_history_and_viminfo.sh b/coin/provisioning/qtci-macos-12-x86_64/01-enable_zsh_history_and_viminfo.sh
new file mode 100755
index 00000000..6004b140
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-x86_64/01-enable_zsh_history_and_viminfo.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+# shellcheck source=../common/macos/enable_zsh_history_and_viminfo.sh
+source "${BASH_SOURCE%/*}/../common/macos/enable_zsh_history_and_viminfo.sh"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-12-x86_64/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-x86_64/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-12-x86_64/01-sha1sum-compatibility.sh
index cf0611cd..e52367c8 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-12-x86_64/03-bashprofile.sh b/coin/provisioning/qtci-macos-12-x86_64/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-12-x86_64/05-systemsetup.sh
index 99e22d40..115c0489 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,7 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/06-crashreporter.sh b/coin/provisioning/qtci-macos-12-x86_64/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-12-x86_64/06-disable_spotlight.sh
index 67e2c1f6..ab85a262 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/06-disable_spotlight.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/06-disable_spotlight.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/disable_spotlight.sh
diff --git a/coin/provisioning/qtci-macos-12-x86_64/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-12-x86_64/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-12-x86_64/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-12-x86_64/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/15-xz.sh b/coin/provisioning/qtci-macos-12-x86_64/15-xz.sh
index c2f6e73f..ffe00992 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/15-xz.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -48,7 +11,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
DestDir="/"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/20-java.sh b/coin/provisioning/qtci-macos-12-x86_64/20-java.sh
index dcfcb93b..325fee63 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/20-java.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-x86_64/20-xcode.sh b/coin/provisioning/qtci-macos-12-x86_64/20-xcode.sh
index a062b6e2..102211cc 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
diff --git a/coin/provisioning/qtci-macos-12-x86_64/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-12-x86_64/21-install-commandlinetools.sh
index 3777e52f..d2981173 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/21-install-commandlinetools.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -45,7 +8,7 @@ set -ex
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="14.2"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
sha1="f9d18da696bc54755bd85fb4f42c0a8866bdade6"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-cmake.sh b/coin/provisioning/qtci-macos-12-x86_64/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-homebrew.sh b/coin/provisioning/qtci-macos-12-x86_64/25-homebrew.sh
index b177ab82..f83960f4 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-homebrew.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-homebrew.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Will install homebrew package manager for macOS.
# WARNING: Requires commandlinetools
@@ -49,15 +12,15 @@ set -e
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
3210da71e12a699ab3bba43910a6d5fc64b92000 \
/tmp/homebrew_install.sh
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
sudo chmod 755 /tmp/homebrew_install.sh
-{ (echo $pw | /tmp/homebrew_install.sh); } 2> /dev/null
+{ (echo "$pw" | /tmp/homebrew_install.sh); } 2> /dev/null
rm -f "/Users/qt/pw"
# No need to manually do `brew update`, the homebrew installer script does it.
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-mysql.sh b/coin/provisioning/qtci-macos-12-x86_64/25-mysql.sh
index d113c4cb..0be1e6e8 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-pip.sh b/coin/provisioning/qtci-macos-12-x86_64/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-pip.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-postgresql.sh b/coin/provisioning/qtci-macos-12-x86_64/25-postgresql.sh
index db1f5236..06cae6ef 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-postgresql.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-python2.sh b/coin/provisioning/qtci-macos-12-x86_64/25-python2.sh
index 7ebb8825..4c88a413 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-python2.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-python2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python2.sh
diff --git a/coin/provisioning/qtci-macos-12-x86_64/25-python3.sh b/coin/provisioning/qtci-macos-12-x86_64/25-python3.sh
index eb2a4863..8fee606c 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/25-python3.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/25-python3.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python3.sh
diff --git a/coin/provisioning/qtci-macos-12-x86_64/26-freetype.sh b/coin/provisioning/qtci-macos-12-x86_64/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/26-jq.sh b/coin/provisioning/qtci-macos-12-x86_64/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-x86_64/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-12-x86_64/26-ninja.sh b/coin/provisioning/qtci-macos-12-x86_64/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/26-odbc.sh b/coin/provisioning/qtci-macos-12-x86_64/26-odbc.sh
index 821c859f..2b6b013a 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/26-p7zip.sh b/coin/provisioning/qtci-macos-12-x86_64/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/26-pcre2.sh b/coin/provisioning/qtci-macos-12-x86_64/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/27-libclang.sh b/coin/provisioning/qtci-macos-12-x86_64/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-12-x86_64/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-12-x86_64/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-x86_64/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/29-libusb.sh b/coin/provisioning/qtci-macos-12-x86_64/29-libusb.sh
index c58274b6..e9e9e238 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/29-libusb.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/29-libusb.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/30-android.sh b/coin/provisioning/qtci-macos-12-x86_64/30-android.sh
index c47c2e7b..ddb3aec0 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/30-android.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/30-android.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/30-fbx.sh b/coin/provisioning/qtci-macos-12-x86_64/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/30-install-conan.sh b/coin/provisioning/qtci-macos-12-x86_64/30-install-conan.sh
index f1d084fd..8d90ef37 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/30-nodejs.sh b/coin/provisioning/qtci-macos-12-x86_64/30-nodejs.sh
index 3b88d526..a5cf7d4d 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-macos-12-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/35-install_protobuf.sh b/coin/provisioning/qtci-macos-12-x86_64/35-install_protobuf.sh
index 2ef3eb8f..ecb5f835 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/35-openssl.sh b/coin/provisioning/qtci-macos-12-x86_64/35-openssl.sh
index 24d899a8..c86788db 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
+# shellcheck source=../common/unix/install-openssl.sh
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/36-emsdk.sh b/coin/provisioning/qtci-macos-12-x86_64/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/36-install_grpc.sh b/coin/provisioning/qtci-macos-12-x86_64/36-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-macos-12-x86_64/36-install_grpc.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/36-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/50-openssl_for_android_darwin.sh b/coin/provisioning/qtci-macos-12-x86_64/50-openssl_for_android_darwin.sh
index 86ae3793..c3e51d23 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/50-openssl_for_android_darwin.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/50-openssl_for_android_darwin.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/unix/openssl_for_android.sh
diff --git a/coin/provisioning/qtci-macos-12-x86_64/80-screenresolution.sh b/coin/provisioning/qtci-macos-12-x86_64/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-12-x86_64/81-bluetooth.sh b/coin/provisioning/qtci-macos-12-x86_64/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/90-docker.sh b/coin/provisioning/qtci-macos-12-x86_64/90-docker.sh
index 4fd7a6f3..1ab281cb 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/90-docker.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/90-docker.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-12-x86_64/90-install-ffmpeg.sh
index a96a652a..8f6da818 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-12-x86_64/90-squish.sh b/coin/provisioning/qtci-macos-12-x86_64/90-squish.sh
index 17a0c38e..c2658d0e 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-12-x86_64/90-vlc.sh b/coin/provisioning/qtci-macos-12-x86_64/90-vlc.sh
new file mode 100644
index 00000000..4924fe5c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-x86_64/90-vlc.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# for QtMM streaming tests
+brew install --cask vlc
diff --git a/coin/provisioning/qtci-macos-12-x86_64/97-set-locale.sh b/coin/provisioning/qtci-macos-12-x86_64/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/98-mimersql.sh b/coin/provisioning/qtci-macos-12-x86_64/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-12-x86_64/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-12-x86_64/99-mac-version.sh b/coin/provisioning/qtci-macos-12-x86_64/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-12-x86_64/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-12-x86_64/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-13-arm/01-disable-app-reopen.sh b/coin/provisioning/qtci-macos-13-arm/01-disable-app-reopen.sh
index cc6c1a4b..382fb40c 100755
--- a/coin/provisioning/qtci-macos-13-arm/01-disable-app-reopen.sh
+++ b/coin/provisioning/qtci-macos-13-arm/01-disable-app-reopen.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable-app-reopen.sh
diff --git a/coin/provisioning/qtci-macos-13-arm/01-disable-net-lso.sh b/coin/provisioning/qtci-macos-13-arm/01-disable-net-lso.sh
index 659ebe96..659ebe96 100644..100755
--- a/coin/provisioning/qtci-macos-13-arm/01-disable-net-lso.sh
+++ b/coin/provisioning/qtci-macos-13-arm/01-disable-net-lso.sh
diff --git a/coin/provisioning/qtci-macos-13-arm/01-disable-updates.sh b/coin/provisioning/qtci-macos-13-arm/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-13-arm/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-13-arm/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-arm/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-13-arm/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-13-arm/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-13-arm/01-sha1sum-compatibility.sh
index cf0611cd..e52367c8 100755
--- a/coin/provisioning/qtci-macos-13-arm/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-13-arm/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-13-arm/03-bashprofile.sh b/coin/provisioning/qtci-macos-13-arm/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-13-arm/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-13-arm/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/05-systemsetup.sh b/coin/provisioning/qtci-macos-13-arm/05-systemsetup.sh
index 29624282..023625d8 100755
--- a/coin/provisioning/qtci-macos-13-arm/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-13-arm/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,9 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
+ -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts \
+ -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
@@ -107,7 +72,9 @@ sudo systemsetup setusingnetworktime on
sudo rm -f "$targetFile"
# Enable automount for nfs shares
-sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.intra.qt.io/input/mac/arm/auto_master
+sudo sed -i'.orig' -e 's:^#/net:/net:' \
+ -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master \
+ || sudo curl -o /etc/auto_master http://ci-files01-hki.ci.qt.io/input/mac/arm/auto_master
sudo automount -cv
# Disable multicast advertisements
diff --git a/coin/provisioning/qtci-macos-13-arm/06-crashreporter.sh b/coin/provisioning/qtci-macos-13-arm/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-13-arm/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-13-arm/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-13-arm/06-disable_spotlight.sh
new file mode 100755
index 00000000..ab85a262
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/06-disable_spotlight.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/macos/disable_spotlight.sh
+source "${BASH_SOURCE%/*}/../common/macos/disable_spotlight.sh"
diff --git a/coin/provisioning/qtci-macos-13-arm/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-13-arm/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-13-arm/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-13-arm/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-13-arm/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-13-arm/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-13-arm/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-13-arm/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/15-xz.sh b/coin/provisioning/qtci-macos-13-arm/15-xz.sh
index 9b70c54e..b7e00a20 100755
--- a/coin/provisioning/qtci-macos-13-arm/15-xz.sh
+++ b/coin/provisioning/qtci-macos-13-arm/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -58,7 +21,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
# SourceUrl="https://tukaani.org/xz/xz-5.2.5.tar.gz"
SHA1="1afc327965d4af33399ae28f22c4b8e5a9e98dc2"
diff --git a/coin/provisioning/qtci-macos-13-arm/20-java.sh b/coin/provisioning/qtci-macos-13-arm/20-java.sh
index a6f3330c..00c867f4 100755
--- a/coin/provisioning/qtci-macos-13-arm/20-java.sh
+++ b/coin/provisioning/qtci-macos-13-arm/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-arm/20-xcode.sh b/coin/provisioning/qtci-macos-13-arm/20-xcode.sh
index 7d226223..102211cc 100755
--- a/coin/provisioning/qtci-macos-13-arm/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-13-arm/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.3.xip 14.3
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
diff --git a/coin/provisioning/qtci-macos-13-arm/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-13-arm/21-install-commandlinetools.sh
index 2d0f1052..d2981173 100755
--- a/coin/provisioning/qtci-macos-13-arm/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-13-arm/21-install-commandlinetools.sh
@@ -1,51 +1,14 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/install-commandlinetools.sh
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
-version="14.3"
+version="14.2"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
-sha1="bd255759d8733c7ea820ebc6ad8f65114e42d36d"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
+sha1="f9d18da696bc54755bd85fb4f42c0a8866bdade6"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-13-arm/23-homebrew.sh b/coin/provisioning/qtci-macos-13-arm/23-homebrew.sh
new file mode 100755
index 00000000..4983540c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/23-homebrew.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Will install homebrew package manager for macOS.
+# WARNING: Requires commandlinetools
+
+
+set -e
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/homebrew_for_arm_mac.sh"
+# Can we force reading bash env this late?
+echo "if [ -f ~/.bashrc ]; then
+ . ~/.bashrc
+fi" >> .profile
diff --git a/coin/provisioning/qtci-macos-11-arm/25-homebrew.sh b/coin/provisioning/qtci-macos-13-arm/24-pyenv.sh
index c29c76f6..3a7a8f77 100755
--- a/coin/provisioning/qtci-macos-11-arm/25-homebrew.sh
+++ b/coin/provisioning/qtci-macos-13-arm/24-pyenv.sh
@@ -3,6 +3,7 @@
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
+## Copyright (C) 2017 Pelagicore AG
## Contact: https://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -39,29 +40,10 @@
##
#############################################################################
-# Will install homebrew package manager for macOS.
-# WARNING: Requires commandlinetools
+# This script installs python3
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-set -e
-
-. "$(dirname "$0")"/../common/unix/DownloadURL.sh
-. "$(dirname "$0")"/../common/unix/SetEnvVar.sh
-
-
-DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
- https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
- 3210da71e12a699ab3bba43910a6d5fc64b92000 \
- /tmp/homebrew_install.sh
-
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
-{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
-sudo chmod 755 /tmp/homebrew_install.sh
-{ (echo $pw | /tmp/homebrew_install.sh); } 2> /dev/null
-rm -f "/Users/qt/pw"
-
-# No need to manually do `brew update`, the homebrew installer script does it.
-### brew update
-
-SetEnvVar "PATH" "\$PATH:/opt/homebrew/bin"
+# Try with default
+/opt/homebrew/bin/brew install pyenv
diff --git a/coin/provisioning/qtci-macos-13-arm/25-cmake.sh b/coin/provisioning/qtci-macos-13-arm/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-13-arm/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-13-arm/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/25-homebrew.sh b/coin/provisioning/qtci-macos-13-arm/25-homebrew.sh
deleted file mode 100755
index c29c76f6..00000000
--- a/coin/provisioning/qtci-macos-13-arm/25-homebrew.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Will install homebrew package manager for macOS.
-# WARNING: Requires commandlinetools
-
-
-set -e
-
-. "$(dirname "$0")"/../common/unix/DownloadURL.sh
-. "$(dirname "$0")"/../common/unix/SetEnvVar.sh
-
-
-DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
- https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
- 3210da71e12a699ab3bba43910a6d5fc64b92000 \
- /tmp/homebrew_install.sh
-
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
-{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
-sudo chmod 755 /tmp/homebrew_install.sh
-{ (echo $pw | /tmp/homebrew_install.sh); } 2> /dev/null
-rm -f "/Users/qt/pw"
-
-# No need to manually do `brew update`, the homebrew installer script does it.
-### brew update
-
-SetEnvVar "PATH" "\$PATH:/opt/homebrew/bin"
diff --git a/coin/provisioning/qtci-macos-13-arm/25-mysql.sh b/coin/provisioning/qtci-macos-13-arm/25-mysql.sh
index d113c4cb..0be1e6e8 100755
--- a/coin/provisioning/qtci-macos-13-arm/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-13-arm/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-13-arm/25-pip.sh b/coin/provisioning/qtci-macos-13-arm/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-13-arm/25-pip.sh
+++ b/coin/provisioning/qtci-macos-13-arm/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/25-postgresql.sh b/coin/provisioning/qtci-macos-13-arm/25-postgresql.sh
index db1f5236..06cae6ef 100755
--- a/coin/provisioning/qtci-macos-13-arm/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-13-arm/25-postgresql.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-arm/25-python.sh b/coin/provisioning/qtci-macos-13-arm/25-python.sh
index f21f3c5e..9bfb6384 100755
--- a/coin/provisioning/qtci-macos-13-arm/25-python.sh
+++ b/coin/provisioning/qtci-macos-13-arm/25-python.sh
@@ -1,52 +1,13 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs python3
-# shellcheck source=../unix/SetEnvVar.sh
+# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-brew install ${BASH_SOURCE%/*}/pyenv.rb
-
pyenv install 3.9.7
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user install virtualenv wheel html5lib
@@ -56,10 +17,6 @@ SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
# Use 3.9 as a default python
SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
-# Install all needed packages in a special wheel cache directory
-/Users/qt/.pyenv/versions/3.9.7/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
-SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
-
# QtWebengine still requires python2
pyenv install 2.7.18
SetEnvVar "PYTHON2_PATH" "/Users/qt/.pyenv/versions/2.7.18/bin/"
diff --git a/coin/provisioning/qtci-macos-13-arm/26-freetype.sh b/coin/provisioning/qtci-macos-13-arm/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-13-arm/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-13-arm/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/26-jq.sh b/coin/provisioning/qtci-macos-13-arm/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-13-arm/26-ninja.sh b/coin/provisioning/qtci-macos-13-arm/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-13-arm/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-13-arm/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/26-odbc.sh b/coin/provisioning/qtci-macos-13-arm/26-odbc.sh
index 821c859f..2b6b013a 100755
--- a/coin/provisioning/qtci-macos-13-arm/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-13-arm/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/26-p7zip.sh b/coin/provisioning/qtci-macos-13-arm/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-13-arm/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-13-arm/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/26-pcre2.sh b/coin/provisioning/qtci-macos-13-arm/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-13-arm/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-13-arm/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/27-libclang.sh b/coin/provisioning/qtci-macos-13-arm/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-13-arm/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-13-arm/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-13-arm/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-13-arm/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-13-arm/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-13-arm/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-13-arm/30-android.sh b/coin/provisioning/qtci-macos-13-arm/30-android.sh
index d65ff7a7..6259b71e 100755
--- a/coin/provisioning/qtci-macos-13-arm/30-android.sh
+++ b/coin/provisioning/qtci-macos-13-arm/30-android.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install Android sdk and ndk.
@@ -51,17 +14,17 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
targetFolder="/opt/android"
sdkTargetFolder="$targetFolder/sdk"
-basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
-ndkVersion="r25b"
+ndkVersion="r26b"
ndkFile="android-ndk-$ndkVersion-darwin.zip"
-sdkBuildToolsVersion="33.0.1"
+sdkBuildToolsVersion="34.0.0"
# this is compile sdk version
-sdkApiLevel="android-33"
+sdkApiLevel="android-34"
toolsSourceFile="$basePath/$toolsFile"
ndkSourceFile="$basePath/$ndkFile"
@@ -83,7 +46,7 @@ sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
- | eval $sdkmanager_no_progress_bar_cmd
+ | eval "$sdkmanager_no_progress_bar_cmd"
echo "Checking the contents of Android SDK..."
ls -l "$sdkTargetFolder"
@@ -93,7 +56,9 @@ SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
-echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
-echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
-echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
-echo "Android NDK = $ndkVersion" >> ~/versions.txt
+cat << EOB >> ~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
diff --git a/coin/provisioning/qtci-macos-13-arm/30-fbx.sh b/coin/provisioning/qtci-macos-13-arm/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-13-arm/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-13-arm/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/30-install-conan.sh b/coin/provisioning/qtci-macos-13-arm/30-install-conan.sh
index ec54fa54..67a4f911 100755
--- a/coin/provisioning/qtci-macos-13-arm/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-13-arm/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/30-nodejs.sh b/coin/provisioning/qtci-macos-13-arm/30-nodejs.sh
index ab992405..8f73b2d6 100755
--- a/coin/provisioning/qtci-macos-13-arm/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-13-arm/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/35-install-breakpad.sh b/coin/provisioning/qtci-macos-13-arm/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-13-arm/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-13-arm/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/35-install_protobuf.sh b/coin/provisioning/qtci-macos-13-arm/35-install_protobuf.sh
index 2ef3eb8f..ecb5f835 100644..100755
--- a/coin/provisioning/qtci-macos-13-arm/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-13-arm/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/35-openssl.sh b/coin/provisioning/qtci-macos-13-arm/35-openssl.sh
index 57a86c47..c86788db 100755
--- a/coin/provisioning/qtci-macos-13-arm/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-13-arm/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
-source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos"
+# shellcheck source=../common/unix/install-openssl.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-13-arm/36-emsdk.sh b/coin/provisioning/qtci-macos-13-arm/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-13-arm/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-13-arm/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/36-install_grpc.sh b/coin/provisioning/qtci-macos-13-arm/36-install_grpc.sh
index cd557707..ecd6a51f 100644..100755
--- a/coin/provisioning/qtci-macos-13-arm/36-install_grpc.sh
+++ b/coin/provisioning/qtci-macos-13-arm/36-install_grpc.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/40-qnx700.sh b/coin/provisioning/qtci-macos-13-arm/40-qnx700.sh
index 712e72c9..48286a67 100755
--- a/coin/provisioning/qtci-macos-13-arm/40-qnx700.sh
+++ b/coin/provisioning/qtci-macos-13-arm/40-qnx700.sh
@@ -1,48 +1,11 @@
#!/bin/bash
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs QNX 7.
targetFolder="/opt/"
-sourceFile="/net/ci-files01-hki.intra.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
+sourceFile="/net/ci-files01-hki.ci.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
folderName="qnx700"
sudo mkdir -p "$targetFolder"
diff --git a/coin/provisioning/qtci-macos-13-arm/55-signtools.sh b/coin/provisioning/qtci-macos-13-arm/55-signtools.sh
index c543b8ac..ff5a977a 100755
--- a/coin/provisioning/qtci-macos-13-arm/55-signtools.sh
+++ b/coin/provisioning/qtci-macos-13-arm/55-signtools.sh
@@ -1,50 +1,13 @@
#!/usr/bin/env sh
-
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install tools for singing packages
# This script assume that OS is vanilla. Target machine dosen't have any signing certificates installed.
set -ex
-cache="http://ci-files01-hki.intra.qt.io/input"
+cache="http://ci-files01-hki.ci.qt.io/input"
cacheSigningTools="$cache/mac/sign_tools"
targetFolder="/Users/qt"
keychains="$targetFolder/Library/Keychains"
diff --git a/coin/provisioning/qtci-macos-13-arm/80-screenresolution.sh b/coin/provisioning/qtci-macos-13-arm/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-13-arm/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-13-arm/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-13-arm/81-bluetooth.sh b/coin/provisioning/qtci-macos-13-arm/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-13-arm/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-13-arm/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/90-docker.sh b/coin/provisioning/qtci-macos-13-arm/90-docker.sh
index 08e0330f..f03971a9 100755
--- a/coin/provisioning/qtci-macos-13-arm/90-docker.sh
+++ b/coin/provisioning/qtci-macos-13-arm/90-docker.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-13-arm/90-install-ffmpeg.sh
index a8333b36..23cb13e1 100755
--- a/coin/provisioning/qtci-macos-13-arm/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-13-arm/90-install-ffmpeg.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-arm/90-vlc.sh b/coin/provisioning/qtci-macos-13-arm/90-vlc.sh
new file mode 100644
index 00000000..4924fe5c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/90-vlc.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# for QtMM streaming tests
+brew install --cask vlc
diff --git a/coin/provisioning/qtci-macos-13-arm/97-set-locale.sh b/coin/provisioning/qtci-macos-13-arm/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-13-arm/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-13-arm/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-13-arm/98-mimersql.sh b/coin/provisioning/qtci-macos-13-arm/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-arm/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-13-arm/99-mac-version.sh b/coin/provisioning/qtci-macos-13-arm/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-13-arm/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-13-arm/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/01-disable-updates.sh b/coin/provisioning/qtci-macos-13-x86_64/01-disable-updates.sh
index 10efb43e..a2b2a0f0 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/01-disable-updates.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/01-disable-updates.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-x86_64/01-enable_zsh_history_and_viminfo.sh b/coin/provisioning/qtci-macos-13-x86_64/01-enable_zsh_history_and_viminfo.sh
new file mode 100755
index 00000000..6004b140
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/01-enable_zsh_history_and_viminfo.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+# shellcheck source=../common/macos/enable_zsh_history_and_viminfo.sh
+source "${BASH_SOURCE%/*}/../common/macos/enable_zsh_history_and_viminfo.sh"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-13-x86_64/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-13-x86_64/01-sha1sum-compatibility.sh
index 156b522b..583195c7 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/01-sha1sum-compatibility.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/01-sha1sum-compatibility.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#!/usr/bin/env bash
diff --git a/coin/provisioning/qtci-macos-13-x86_64/03-bashprofile.sh b/coin/provisioning/qtci-macos-13-x86_64/03-bashprofile.sh
index 2c3e45f3..4eed8433 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/03-bashprofile.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/03-bashprofile.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-13-x86_64/05-systemsetup.sh
index c3a0dc90..5a1e3fbf 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/05-systemsetup.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
@@ -46,7 +9,7 @@ set -ex
targetFile="$HOME/vncpw.txt"
# Fetch password
-curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.intra.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
@@ -96,7 +59,7 @@ defaults write -g KeyRepeat -int 2
set +x
echo "Enable remote desktop sharing"
-sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw $VNCPassword -restart -agent -privs -all
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
set -x
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/06-crashreporter.sh b/coin/provisioning/qtci-macos-13-x86_64/06-crashreporter.sh
index 8461c656..cb7c0774 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/06-crashreporter.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/06-crashreporter.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-13-x86_64/06-disable_spotlight.sh
index 67e2c1f6..ab85a262 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/06-disable_spotlight.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/06-disable_spotlight.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/disable_spotlight.sh
diff --git a/coin/provisioning/qtci-macos-13-x86_64/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-13-x86_64/06-disable_update_downloads.sh
index 3c11214d..18cb98ea 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/06-disable_update_downloads.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/06-disable_update_downloads.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-13-x86_64/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-13-x86_64/07-SSL_keychain.sh
index 6e7c796a..e14dcee9 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/07-SSL_keychain.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/07-SSL_keychain.sh
@@ -1,4 +1,6 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/15-xz.sh b/coin/provisioning/qtci-macos-13-x86_64/15-xz.sh
index 42bfb230..57cc1f5c 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/15-xz.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/15-xz.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs XZ-Utils
@@ -48,7 +11,7 @@ set -ex
# shellcheck source=../common/macos/InstallPKGFromURL.sh
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
DestDir="/"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/20-java.sh b/coin/provisioning/qtci-macos-13-x86_64/20-java.sh
index dcfcb93b..325fee63 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/20-java.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/20-java.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-x86_64/20-xcode.sh b/coin/provisioning/qtci-macos-13-x86_64/20-xcode.sh
index a5f9a7eb..75c7ddc9 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/20-xcode.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/20-xcode.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
@@ -56,4 +19,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
-InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.3.xip 14.3
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
diff --git a/coin/provisioning/qtci-macos-13-x86_64/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-13-x86_64/21-install-commandlinetools.sh
index b4e61699..3e71b5c9 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/21-install-commandlinetools.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/21-install-commandlinetools.sh
@@ -1,51 +1,14 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2023 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/install-commandlinetools.sh
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
-version="14.3"
+version="14.2"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
-url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
-sha1="bd255759d8733c7ea820ebc6ad8f65114e42d36d"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
+sha1="f9d18da696bc54755bd85fb4f42c0a8866bdade6"
InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-cmake.sh b/coin/provisioning/qtci-macos-13-x86_64/25-cmake.sh
index 4f4d405e..33095880 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-cmake.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-cmake.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-homebrew.sh b/coin/provisioning/qtci-macos-13-x86_64/25-homebrew.sh
index 7e75d7fc..237dc507 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-homebrew.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-homebrew.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Will install homebrew package manager for macOS.
# WARNING: Requires commandlinetools
@@ -49,15 +12,15 @@ set -e
DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
3210da71e12a699ab3bba43910a6d5fc64b92000 \
/tmp/homebrew_install.sh
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
sudo chmod 755 /tmp/homebrew_install.sh
-{ (echo $pw | /tmp/homebrew_install.sh); } 2> /dev/null
+{ (echo "$pw" | /tmp/homebrew_install.sh); } 2> /dev/null
rm -f "/Users/qt/pw"
# No need to manually do `brew update`, the homebrew installer script does it.
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-mysql.sh b/coin/provisioning/qtci-macos-13-x86_64/25-mysql.sh
index d351e67f..f5717d0b 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-mysql.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-mysql.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs MySQL
@@ -50,7 +13,7 @@ source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
appPrefix=""
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-pip.sh b/coin/provisioning/qtci-macos-13-x86_64/25-pip.sh
index 86db3e27..3fc865d0 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-pip.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-pip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-postgresql.sh b/coin/provisioning/qtci-macos-13-x86_64/25-postgresql.sh
index db1f5236..06cae6ef 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-postgresql.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-postgresql.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-python2.sh b/coin/provisioning/qtci-macos-13-x86_64/25-python2.sh
index 7ebb8825..4c88a413 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-python2.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-python2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python2.sh
diff --git a/coin/provisioning/qtci-macos-13-x86_64/25-python3.sh b/coin/provisioning/qtci-macos-13-x86_64/25-python3.sh
index eb2a4863..8fee606c 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/25-python3.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/25-python3.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/macos/python3.sh
diff --git a/coin/provisioning/qtci-macos-13-x86_64/26-freetype.sh b/coin/provisioning/qtci-macos-13-x86_64/26-freetype.sh
index 0faec4b4..fa0790f8 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/26-freetype.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/26-freetype.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/26-jq.sh b/coin/provisioning/qtci-macos-13-x86_64/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-13-x86_64/26-ninja.sh b/coin/provisioning/qtci-macos-13-x86_64/26-ninja.sh
index 08428b2f..4443eeb4 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/26-ninja.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/26-ninja.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/26-odbc.sh b/coin/provisioning/qtci-macos-13-x86_64/26-odbc.sh
index 821c859f..2b6b013a 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/26-odbc.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/26-odbc.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/26-p7zip.sh b/coin/provisioning/qtci-macos-13-x86_64/26-p7zip.sh
index 15511332..8cdcd0c3 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/26-p7zip.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/26-p7zip.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install 7z to be used from command line
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/26-pcre2.sh b/coin/provisioning/qtci-macos-13-x86_64/26-pcre2.sh
index f8af516b..c10d6206 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/26-pcre2.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/26-pcre2.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/27-libclang.sh b/coin/provisioning/qtci-macos-13-x86_64/27-libclang.sh
index aad628cb..cc025e6e 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/27-libclang.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/27-libclang.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-13-x86_64/28-libclang-v100-dyn.sh
index c9d6e93d..d95e7e00 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/28-libclang-v100-dyn.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/28-libclang-v100-dyn.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-13-x86_64/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/29-libusb.sh b/coin/provisioning/qtci-macos-13-x86_64/29-libusb.sh
index c58274b6..e9e9e238 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/29-libusb.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/29-libusb.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/30-android.sh b/coin/provisioning/qtci-macos-13-x86_64/30-android.sh
index c47c2e7b..ddb3aec0 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/30-android.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/30-android.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/30-fbx.sh b/coin/provisioning/qtci-macos-13-x86_64/30-fbx.sh
index 34eefeb6..e991bc08 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/30-fbx.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/30-fbx.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/30-install-conan.sh b/coin/provisioning/qtci-macos-13-x86_64/30-install-conan.sh
index f1d084fd..8d90ef37 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/30-install-conan.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/30-install-conan.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/30-nodejs.sh b/coin/provisioning/qtci-macos-13-x86_64/30-nodejs.sh
index 3b88d526..a5cf7d4d 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/30-nodejs.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/30-nodejs.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-macos-13-x86_64/35-install-breakpad.sh
index 74dd1579..8a9dde56 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/35-install-breakpad.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/35-install-breakpad.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/35-install_protobuf.sh b/coin/provisioning/qtci-macos-13-x86_64/35-install_protobuf.sh
index b46e5ece..c538ca07 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/35-install_protobuf.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/35-install_protobuf.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/35-openssl.sh b/coin/provisioning/qtci-macos-13-x86_64/35-openssl.sh
index 24d899a8..c86788db 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/35-openssl.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/35-openssl.sh
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
-# shellcheck source=../common/macos/install_openssl.sh
+# shellcheck source=../common/unix/install-openssl.sh
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/36-emsdk.sh b/coin/provisioning/qtci-macos-13-x86_64/36-emsdk.sh
index 7396d336..c8aec444 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/36-emsdk.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/36-emsdk.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/36-install_grpc.sh b/coin/provisioning/qtci-macos-13-x86_64/36-install_grpc.sh
new file mode 100755
index 00000000..ecd6a51f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/36-install_grpc.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_grpc.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
+
diff --git a/coin/provisioning/qtci-macos-13-x86_64/50-openssl_for_android_darwin.sh b/coin/provisioning/qtci-macos-13-x86_64/50-openssl_for_android_darwin.sh
index 86ae3793..c3e51d23 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/50-openssl_for_android_darwin.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/50-openssl_for_android_darwin.sh
@@ -1,43 +1,6 @@
#!/usr/bin/env bash
-
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
# shellcheck source=../common/unix/openssl_for_android.sh
diff --git a/coin/provisioning/qtci-macos-13-x86_64/80-screenresolution.sh b/coin/provisioning/qtci-macos-13-x86_64/80-screenresolution.sh
index 920c579c..ed905a33 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/80-screenresolution.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/80-screenresolution.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"$(dirname "$0")"/../common/macos/screenresolution.sh
diff --git a/coin/provisioning/qtci-macos-13-x86_64/81-bluetooth.sh b/coin/provisioning/qtci-macos-13-x86_64/81-bluetooth.sh
index e08aca4e..c58b9a34 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/81-bluetooth.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/81-bluetooth.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
diff --git a/coin/provisioning/qtci-macos-13-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-13-x86_64/90-install-ffmpeg.sh
index a8333b36..dfdc1022 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/90-install-ffmpeg.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/90-install-ffmpeg.sh
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "macos-universal"
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-arm64"
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-ios.sh"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/90-squish.sh b/coin/provisioning/qtci-macos-13-x86_64/90-squish.sh
index 17a0c38e..c2658d0e 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/90-squish.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/90-squish.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
diff --git a/coin/provisioning/qtci-macos-13-x86_64/90-vlc.sh b/coin/provisioning/qtci-macos-13-x86_64/90-vlc.sh
new file mode 100644
index 00000000..4924fe5c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/90-vlc.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# for QtMM streaming tests
+brew install --cask vlc
diff --git a/coin/provisioning/qtci-macos-13-x86_64/97-set-locale.sh b/coin/provisioning/qtci-macos-13-x86_64/97-set-locale.sh
index e34b7381..bc966cbf 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/97-set-locale.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/97-set-locale.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/set-locale.sh
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/98-mimersql.sh b/coin/provisioning/qtci-macos-13-x86_64/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-13-x86_64/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-13-x86_64/99-mac-version.sh b/coin/provisioning/qtci-macos-13-x86_64/99-mac-version.sh
index 99d94150..b9b5aeb0 100755
--- a/coin/provisioning/qtci-macos-13-x86_64/99-mac-version.sh
+++ b/coin/provisioning/qtci-macos-13-x86_64/99-mac-version.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
BASEDIR=$(dirname "$0")
-$BASEDIR/../common/macos/macos-version.sh
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/01-disable-app-reopen.sh b/coin/provisioning/qtci-macos-14-arm/01-disable-app-reopen.sh
new file mode 100755
index 00000000..382fb40c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-disable-app-reopen.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/macos/disable-app-reopen.sh
diff --git a/coin/provisioning/qtci-macos-14-arm/01-disable-net-lso.sh b/coin/provisioning/qtci-macos-14-arm/01-disable-net-lso.sh
new file mode 100755
index 00000000..659ebe96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-disable-net-lso.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/disable_net_lso.sh
diff --git a/coin/provisioning/qtci-macos-14-arm/01-disable-notifications_and_warnings.sh b/coin/provisioning/qtci-macos-14-arm/01-disable-notifications_and_warnings.sh
new file mode 100755
index 00000000..27efbb62
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-disable-notifications_and_warnings.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/disable-notifications_and_warnings.sh
diff --git a/coin/provisioning/qtci-macos-14-arm/01-disable-updates.sh b/coin/provisioning/qtci-macos-14-arm/01-disable-updates.sh
new file mode 100755
index 00000000..a2b2a0f0
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-disable-updates.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/system_updates.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/01-increase_limits.sh b/coin/provisioning/qtci-macos-14-arm/01-increase_limits.sh
new file mode 100755
index 00000000..08669e52
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-increase_limits.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/increase_limits.sh
diff --git a/coin/provisioning/qtci-macos-14-arm/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-14-arm/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/01-set_tcc_permissions.sh b/coin/provisioning/qtci-macos-14-arm/01-set_tcc_permissions.sh
new file mode 100755
index 00000000..da38f582
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-set_tcc_permissions.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+source "${BASH_SOURCE%/*}/../common/macos/set_tcc_permissions.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-14-arm/01-sha1sum-compatibility.sh
new file mode 100755
index 00000000..e52367c8
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/01-sha1sum-compatibility.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#!/usr/bin/env bash
+
+set -ex
+
+# shellcheck source=../common/macos/sha1sum-compatibility.sh
+source "${BASH_SOURCE%/*}/../common/macos/sha1sum-compatibility.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/03-bashprofile.sh b/coin/provisioning/qtci-macos-14-arm/03-bashprofile.sh
new file mode 100755
index 00000000..4eed8433
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/03-bashprofile.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Read .bashrc if exist
+printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
+
diff --git a/coin/provisioning/qtci-macos-14-arm/05-systemsetup.sh b/coin/provisioning/qtci-macos-14-arm/05-systemsetup.sh
new file mode 100755
index 00000000..1d8b7f09
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/05-systemsetup.sh
@@ -0,0 +1,80 @@
+#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# This script modified system settings for automated use
+
+targetFile="$HOME/vncpw.txt"
+
+# Fetch password
+curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
+shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
+
+{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
+NTS_IP=10.212.2.216
+
+echo "Disable Screensaver"
+# For current session
+defaults -currentHost write com.apple.screensaver idleTime 0
+
+echo "Disable sleep"
+sudo pmset sleep 0 displaysleep 0
+
+# For session after a reboot
+mkdir -p "$HOME/Library/LaunchAgents"
+sudo tee -a "$HOME/Library/LaunchAgents/no-screensaver.plist" <<EOT
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+
+<plist version="1.0">
+ <dict>
+ <key>Label</key>
+ <string>org.qt.io.screensaver_disable</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>defaults</string>
+ <string>-currentHost</string>
+ <string>write</string>
+ <string>com.apple.screensaver</string>
+ <string>idleTime</string>
+ <string>0</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <false/>
+ </dict>
+</plist>
+EOT
+
+defaults write com.apple.screensaver askForPassword -int 0
+
+echo "Set keyboard type rates and delays"
+# normal minimum is 15 (225 ms)
+defaults write -g InitialKeyRepeat -int 15
+# normal minimum is 2 (30 ms)
+defaults write -g KeyRepeat -int 2
+
+set +x
+echo "Enable remote desktop sharing"
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
+set -x
+
+echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
+echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+
+sudo systemsetup settimezone GMT
+sudo systemsetup setusingnetworktime on
+sudo rm -f "$targetFile"
+
+# Enable automount for nfs shares
+sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.ci.qt.io/input/mac/arm/auto_master
+sudo automount -cv
+
+# Disable multicast advertisements
+sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
+
+# Enable Use keyboard navigation to move focus between controls
+defaults write -g AppleKeyboardUIMode -int 2
diff --git a/coin/provisioning/qtci-macos-14-arm/06-crashreporter.sh b/coin/provisioning/qtci-macos-14-arm/06-crashreporter.sh
new file mode 100755
index 00000000..cb7c0774
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/06-crashreporter.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+defaults write com.apple.CrashReporter DialogType server
diff --git a/coin/provisioning/qtci-macos-14-arm/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-14-arm/06-disable_spotlight.sh
new file mode 100755
index 00000000..ab85a262
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/06-disable_spotlight.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/macos/disable_spotlight.sh
+source "${BASH_SOURCE%/*}/../common/macos/disable_spotlight.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-14-arm/06-disable_update_downloads.sh
new file mode 100755
index 00000000..18cb98ea
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/06-disable_update_downloads.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-14-arm/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-14-arm/07-SSL_keychain.sh
new file mode 100755
index 00000000..e14dcee9
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/07-SSL_keychain.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+# Enables the usage of temporary keychains for SSL autotests
+SetEnvVar "QT_SSL_USE_TEMPORARY_KEYCHAIN" "1"
diff --git a/coin/provisioning/qtci-macos-14-arm/15-xz.sh b/coin/provisioning/qtci-macos-14-arm/15-xz.sh
new file mode 100755
index 00000000..b7e00a20
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/15-xz.sh
@@ -0,0 +1,32 @@
+#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs XZ-Utils
+
+# XZ-Utils are needed for uncompressing xz-compressed files
+
+# pkg was self builded.
+# wget https://downloads.sourceforge.net/project/lzmautils/xz-5.2.5.tar.gz
+# tar -xzf xz-5.2.5.tar.gz -C /tmp
+# cd /tmp/xz-5.2.5
+# ./configure
+# make
+# ./configure prefix=/tmp/destination_root
+# make install
+# cd /tmp
+# pkgbuild --root destination_root --identifier io.qt.xz.pkg xz-arm64.pkg
+
+set -ex
+
+# shellcheck source=../common/macos/InstallPKGFromURL.sh
+source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
+# SourceUrl="https://tukaani.org/xz/xz-5.2.5.tar.gz"
+
+SHA1="1afc327965d4af33399ae28f22c4b8e5a9e98dc2"
+DestDir="/"
+
+InstallPKGFromURL "$PrimaryUrl" "$PrimaryUrl" "$SHA1" "$DestDir"
+
+echo "XZ = 5.2.5" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-14-arm/20-java.sh b/coin/provisioning/qtci-macos-14-arm/20-java.sh
new file mode 100755
index 00000000..00c867f4
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/20-java.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/java_arm.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/20-xcode.sh b/coin/provisioning/qtci-macos-14-arm/20-xcode.sh
new file mode 100755
index 00000000..62d78e72
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/20-xcode.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs Xcode
+# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
+# This can be achieved by fetching Xcode_9.xip from Apple Store.
+# Uncompress it with 'xar -xf Xcode_9.xip'
+# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
+# with which you can run 'python parse_pbzx2.py Content'.
+# This will give you five files called "Content.part<00..05>.cpio.xz".
+# Extract those that have the extension .xz with xz.
+# "cat" together all the content files "cat file1, file2, file3, file4, file5 >file_new"
+# Compress the new file with xz back to something like Xcode_9.xz
+# Upload the file to temporary storage for this script to use.
+
+set -ex
+
+# shellcheck source=../common/macos/install_xcode.sh
+source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
+
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_15.3.xip 15.3
diff --git a/coin/provisioning/qtci-macos-14-arm/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-14-arm/21-install-commandlinetools.sh
new file mode 100755
index 00000000..7d1708bd
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/21-install-commandlinetools.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/install-commandlinetools.sh
+source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
+version="15.3"
+packageName="Command_Line_Tools_for_Xcode_$version.dmg"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
+sha1="e7149414aff0e3d6c85245683e77ddde2f410ec0"
+
+InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-14-arm/23-homebrew.sh b/coin/provisioning/qtci-macos-14-arm/23-homebrew.sh
new file mode 100755
index 00000000..4983540c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/23-homebrew.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Will install homebrew package manager for macOS.
+# WARNING: Requires commandlinetools
+
+
+set -e
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/homebrew_for_arm_mac.sh"
+# Can we force reading bash env this late?
+echo "if [ -f ~/.bashrc ]; then
+ . ~/.bashrc
+fi" >> .profile
diff --git a/coin/provisioning/qtci-macos-12-arm/25-homebrew.sh b/coin/provisioning/qtci-macos-14-arm/24-pyenv.sh
index c29c76f6..3a7a8f77 100755
--- a/coin/provisioning/qtci-macos-12-arm/25-homebrew.sh
+++ b/coin/provisioning/qtci-macos-14-arm/24-pyenv.sh
@@ -3,6 +3,7 @@
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
+## Copyright (C) 2017 Pelagicore AG
## Contact: https://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -39,29 +40,10 @@
##
#############################################################################
-# Will install homebrew package manager for macOS.
-# WARNING: Requires commandlinetools
+# This script installs python3
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
-set -e
-
-. "$(dirname "$0")"/../common/unix/DownloadURL.sh
-. "$(dirname "$0")"/../common/unix/SetEnvVar.sh
-
-
-DownloadURL \
- http://ci-files01-hki.intra.qt.io/input/mac/homebrew/a822f0d0f1838c07e86b356fcd2bf93c7a11c2aa/install.sh \
- https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
- 3210da71e12a699ab3bba43910a6d5fc64b92000 \
- /tmp/homebrew_install.sh
-
-DownloadURL "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
-{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
-sudo chmod 755 /tmp/homebrew_install.sh
-{ (echo $pw | /tmp/homebrew_install.sh); } 2> /dev/null
-rm -f "/Users/qt/pw"
-
-# No need to manually do `brew update`, the homebrew installer script does it.
-### brew update
-
-SetEnvVar "PATH" "\$PATH:/opt/homebrew/bin"
+# Try with default
+/opt/homebrew/bin/brew install pyenv
diff --git a/coin/provisioning/qtci-macos-14-arm/24-sccache.sh b/coin/provisioning/qtci-macos-14-arm/24-sccache.sh
new file mode 100755
index 00000000..358b23fb
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/24-sccache.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/macos/sccache.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/25-cmake.sh b/coin/provisioning/qtci-macos-14-arm/25-cmake.sh
new file mode 100755
index 00000000..33095880
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/25-cmake.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/cmake.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/25-mysql.sh b/coin/provisioning/qtci-macos-14-arm/25-mysql.sh
new file mode 100755
index 00000000..0be1e6e8
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/25-mysql.sh
@@ -0,0 +1,27 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs MySQL
+
+# MySQL is needed for Qt to be able to support MySQL
+
+set -ex
+
+# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
+source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
+appPrefix=""
+targetDir="/opt/mysql57/"
+
+sudo mkdir -p "/opt"
+
+InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix" "$targetDir"
+
+SetEnvVar "MYSQLBINPATH" "/opt/mysql57/bin"
+echo "MySQL = 5.7.15" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-14-arm/25-pip.sh b/coin/provisioning/qtci-macos-14-arm/25-pip.sh
new file mode 100755
index 00000000..3fc865d0
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/25-pip.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pip.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/25-postgresql.sh b/coin/provisioning/qtci-macos-14-arm/25-postgresql.sh
new file mode 100755
index 00000000..06cae6ef
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/25-postgresql.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/postgresql.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/25-python.sh b/coin/provisioning/qtci-macos-14-arm/25-python.sh
new file mode 100755
index 00000000..5a0df739
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/25-python.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+# Copyright (C) 2021 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs python3
+
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+pyenv install 3.9.7
+
+/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user install virtualenv wheel html5lib
+
+SetEnvVar "PYTHON3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
+SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
+# Use 3.9 as a default python
+SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
+
+echo "python3 = 3.9.7" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-14-arm/26-freetype.sh b/coin/provisioning/qtci-macos-14-arm/26-freetype.sh
new file mode 100755
index 00000000..fa0790f8
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/26-freetype.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install freetype
diff --git a/coin/provisioning/qtci-macos-14-arm/26-jq.sh b/coin/provisioning/qtci-macos-14-arm/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-14-arm/26-ninja.sh b/coin/provisioning/qtci-macos-14-arm/26-ninja.sh
new file mode 100755
index 00000000..4443eeb4
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/26-ninja.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/ninja.sh
+source "${BASH_SOURCE%/*}/../common/macos/ninja.sh"
+
+
diff --git a/coin/provisioning/qtci-macos-14-arm/26-odbc.sh b/coin/provisioning/qtci-macos-14-arm/26-odbc.sh
new file mode 100755
index 00000000..2b6b013a
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/26-odbc.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# Install libiodbc
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/libiodbc.sh" --with-universal
diff --git a/coin/provisioning/qtci-macos-14-arm/26-p7zip.sh b/coin/provisioning/qtci-macos-14-arm/26-p7zip.sh
new file mode 100755
index 00000000..8cdcd0c3
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/26-p7zip.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# Install 7z to be used from command line
+
+set -ex
+
+brew update
+brew install p7zip
diff --git a/coin/provisioning/qtci-macos-14-arm/26-pcre2.sh b/coin/provisioning/qtci-macos-14-arm/26-pcre2.sh
new file mode 100755
index 00000000..c10d6206
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/26-pcre2.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install pcre2
diff --git a/coin/provisioning/qtci-macos-14-arm/27-libclang.sh b/coin/provisioning/qtci-macos-14-arm/27-libclang.sh
new file mode 100755
index 00000000..cc025e6e
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/27-libclang.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# There is only one mac package and common script uses it as a default
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-14-arm/28-libclang-v100-dyn.sh
new file mode 100755
index 00000000..d95e7e00
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/28-libclang-v100-dyn.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-14-arm/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/30-android.sh b/coin/provisioning/qtci-macos-14-arm/30-android.sh
new file mode 100755
index 00000000..6259b71e
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/30-android.sh
@@ -0,0 +1,64 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script install Android sdk and ndk.
+
+# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
+
+set -ex
+
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+targetFolder="/opt/android"
+sdkTargetFolder="$targetFolder/sdk"
+
+basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
+
+toolsVersion="2.1"
+# toolsFile dertermines tools version
+toolsFile="commandlinetools-mac-6609375_latest.zip"
+
+ndkVersion="r26b"
+ndkFile="android-ndk-$ndkVersion-darwin.zip"
+sdkBuildToolsVersion="34.0.0"
+# this is compile sdk version
+sdkApiLevel="android-34"
+
+toolsSourceFile="$basePath/$toolsFile"
+ndkSourceFile="$basePath/$ndkFile"
+
+echo "Unzipping Android NDK to '$targetFolder'"
+sudo unzip -q "$ndkSourceFile" -d "$targetFolder"
+echo "Unzipping Android Tools to '$sdkTargetFolder'"
+sudo unzip -q "$toolsSourceFile" -d "$sdkTargetFolder"
+
+echo "Changing ownership of Android files."
+sudo chown -R qt:wheel "$targetFolder"
+
+# Run the following command under `eval` or `sh -c` so that the shell properly splits it
+sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
+
+sudo mkdir "$sdkTargetFolder/cmdline-tools"
+sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
+
+echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
+(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
+ "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
+ | eval "$sdkmanager_no_progress_bar_cmd"
+
+echo "Checking the contents of Android SDK..."
+ls -l "$sdkTargetFolder"
+
+SetEnvVar "ANDROID_SDK_ROOT" "$sdkTargetFolder"
+SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
+SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
+SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
+
+cat << EOB >> ~/versions.txt
+Android SDK tools = $toolsVersion
+Android SDK Build Tools = $sdkBuildToolsVersion
+Android SDK API level = $sdkApiLevel
+Android NDK = $ndkVersion
+EOB
diff --git a/coin/provisioning/qtci-macos-14-arm/30-fbx.sh b/coin/provisioning/qtci-macos-14-arm/30-fbx.sh
new file mode 100755
index 00000000..e991bc08
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/30-fbx.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/fbx_macos.sh"
+
diff --git a/coin/provisioning/qtci-macos-14-arm/30-install-conan.sh b/coin/provisioning/qtci-macos-14-arm/30-install-conan.sh
new file mode 100755
index 00000000..67a4f911
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/30-install-conan.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/install-conan.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/30-nodejs.sh b/coin/provisioning/qtci-macos-14-arm/30-nodejs.sh
new file mode 100755
index 00000000..8f73b2d6
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/30-nodejs.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install nodejs
+
diff --git a/coin/provisioning/qtci-macos-14-arm/35-install-breakpad.sh b/coin/provisioning/qtci-macos-14-arm/35-install-breakpad.sh
new file mode 100755
index 00000000..8a9dde56
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/35-install-breakpad.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install-breakpad.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/35-install_protobuf.sh b/coin/provisioning/qtci-macos-14-arm/35-install_protobuf.sh
new file mode 100755
index 00000000..ecb5f835
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/35-install_protobuf.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_protobuf.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
+
diff --git a/coin/provisioning/qtci-macos-14-arm/35-openssl.sh b/coin/provisioning/qtci-macos-14-arm/35-openssl.sh
new file mode 100755
index 00000000..c86788db
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/35-openssl.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install-openssl.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
+
diff --git a/coin/provisioning/qtci-macos-14-arm/36-emsdk.sh b/coin/provisioning/qtci-macos-14-arm/36-emsdk.sh
new file mode 100755
index 00000000..c8aec444
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/36-emsdk.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/emsdk.sh
+source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/36-install_grpc.sh b/coin/provisioning/qtci-macos-14-arm/36-install_grpc.sh
new file mode 100755
index 00000000..d2860845
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/36-install_grpc.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_grpc.sh
+# Temporarily disabled due to OpenSSL linking errors
+#source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
+
diff --git a/coin/provisioning/qtci-macos-14-arm/40-qnx700.sh b/coin/provisioning/qtci-macos-14-arm/40-qnx700.sh
new file mode 100755
index 00000000..48286a67
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/40-qnx700.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QNX 7.
+
+targetFolder="/opt/"
+sourceFile="/net/ci-files01-hki.ci.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
+folderName="qnx700"
+
+sudo mkdir -p "$targetFolder"
+
+echo "Extracting QNX 7"
+sudo tar -C "$targetFolder" -Jxf $sourceFile
+
+sudo chown -R qt:wheel "$targetFolder"/"$folderName"
+
+# Verify that we have last file in zip
+if [ ! -f $targetFolder/$folderName/qnxsdp-env.sh ]; then
+ exit 1
+fi
+
+# Set env variables
+echo "export QNX_700=$targetFolder/$folderName" >> ~/.bashrc
+echo "QNX SDP = 7.0.0" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-14-arm/55-signtools.sh b/coin/provisioning/qtci-macos-14-arm/55-signtools.sh
new file mode 100755
index 00000000..ff5a977a
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/55-signtools.sh
@@ -0,0 +1,107 @@
+#!/usr/bin/env sh
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Install tools for singing packages
+# This script assume that OS is vanilla. Target machine dosen't have any signing certificates installed.
+
+set -ex
+
+cache="http://ci-files01-hki.ci.qt.io/input"
+cacheSigningTools="$cache/mac/sign_tools"
+targetFolder="/Users/qt"
+keychains="$targetFolder/Library/Keychains"
+
+Install() {
+
+ url=$1
+ targetFile=$2
+ expectedSha1=$3
+
+ echo "Fetching $targetFile from $url..."
+ curl --retry 5 --retry-delay 10 --retry-max-time 60 "$url" -o "$targetFile"
+ shasum "$targetFile" |grep "$expectedSha1"
+
+}
+
+# qt-license
+sha1QtLicense="9d59241d16f68d914f1c7aa1dc23e05faa169e8d"
+Install "$cache/semisecure/.qt-license" "$targetFolder/.qt-license" $sha1QtLicense
+
+# Login keychain
+sha1LoginKeychainPassword="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
+Install "$cacheSigningTools/login_keychain_password.txt" "$targetFolder/login_keychain_password.txt" "$sha1LoginKeychainPassword"
+{ loginKeychainPassword=$(cat "$targetFolder/login_keychain_password.txt"); } 2> /dev/null
+loginKeychain=$keychains/login.keychain
+
+echo "Setting login.keychain as default keychain.."
+security default-keychain -s $loginKeychain*
+echo "Unlocking Login keychain with password.."
+{ security unlock-keychain -p "$loginKeychainPassword" $loginKeychain*; } 2> /dev/null
+
+echo "remove the "Lock after X minutes of inactivity" from login.keychain"
+security set-keychain-settings $loginKeychain
+
+# Apple Worldwide Developer Relations Certification Authority -> https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
+sha1AppleWWDRCA="ff6797793a3cd798dc5b2abef56f73edc9f83a64"
+Install "$cacheSigningTools/AppleWWDRCA.cer" "$targetFolder/AppleWWDRCA.cer" $sha1AppleWWDRCA
+sudo security add-certificates -k $loginKeychain* "$targetFolder/AppleWWDRCA.cer"
+
+# Developer ID Certification Authority -> https://www.apple.com/certificateauthority/DeveloperIDCA.cer
+sha1DeveloperIDCA="3b166c3b7dc4b751c9fe2afab9135641e388e186"
+Install "$cacheSigningTools/DeveloperIDCA.cer" "$targetFolder/DeveloperIDCA.cer" $sha1DeveloperIDCA
+sudo security add-certificates -k $loginKeychain* "$targetFolder/DeveloperIDCA.cer"
+
+# Create script to unlock keychain 'security unlock-keychain -p 'password' Developer_ID_TheQtCompany.keychain'
+sha1UnLockKeychain="4398870e3f558ad28c80566b5f70e24dc29ea724"
+unlockKeychain=$targetFolder/unlock-keychain.sh
+{ Install "$cacheSigningTools/unlock-keychain.sh" "$unlockKeychain" $sha1UnLockKeychain; } 2> /dev/null
+sudo chmod 755 "$unlockKeychain"
+
+# Codesigning requirements file. The bundle identifier in the requirements file should match the identifier of the application that is signed.
+shaCsreq="2c3f00b1845a0f475673fd6934ba25ea51d1f910"
+csreq=$targetFolder/csreq_qt_company.txt
+Install "$cacheSigningTools/csreq_qt_company.txt" "$csreq" $shaCsreq
+chmod 755 "$csreq"
+
+# iOS signing tools
+devIDKeychain="Developer_ID_TheQtCompany.keychain-db"
+shaDevIdKeychain="972cca1879cdaeeb6042f9879756c748a8d1eddc"
+Install "$cacheSigningTools/$devIDKeychain" "$keychains/$devIDKeychain" $shaDevIdKeychain
+echo "Opening $devIDKeychain.."
+open "$keychains/$devIDKeychain"
+
+sha1DeveloperIDTheQtCompanyKeychainPassword="d758e067736bbda7a91ffaec66cd38afdaf68ea6"
+Install "$cacheSigningTools/Developer_ID_TheQtCompany_keychain_password.txt" "$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt" "$sha1DeveloperIDTheQtCompanyKeychainPassword"
+{ DeveloperIDTheQtCompanyKeychainPassword=$(cat "$targetFolder/Developer_ID_TheQtCompany_keychain_password.txt"); } 2> /dev/null
+
+echo "Unlocking $devIDKeychain with password.."
+{ security unlock-keychain -p "$DeveloperIDTheQtCompanyKeychainPassword" $keychains/Developer_ID_TheQtCompany.keychain; } 2> /dev/null
+security set-keychain-settings $keychains/Developer_ID_TheQtCompany.keychain
+
+sha1Ios="aae58d00d0a1b179a09f21cfc67f9d16fb95ff36"
+{ Install "$cacheSigningTools/ios_password.txt" "$targetFolder/ios_password.txt" $sha1Ios; } 2> /dev/null
+{ iosPassword=$(cat "$targetFolder/ios_password.txt"); } 2> /dev/null
+
+iPhoneDeveloper="iPhoneDeveloperCiTeam2020.p12"
+shaIPhoneDeveloper="73136e44fed850f398e85908e4a73f20a6bdd8a2"
+Install "$cacheSigningTools/latest_ios_cert_2020/$iPhoneDeveloper" "$targetFolder/$iPhoneDeveloper" $shaIPhoneDeveloper
+echo "Importing $iPhoneDeveloper.."
+{ security import $targetFolder/$iPhoneDeveloper -k $loginKeychain* -P "$iosPassword" -T /usr/bin/codesign; } 2> /dev/null
+
+iPhoneDistribution="iPhoneDistributionCiTeam2020.p12"
+shaIPhoneDistribution="36215c3cbc6bfee48e86aafbd53c56282fe36d8d"
+Install "$cacheSigningTools/latest_ios_cert_2020/$iPhoneDistribution" "$targetFolder/$iPhoneDistribution" $shaIPhoneDistribution
+echo "Importing $iPhoneDistribution.."
+{ security import "$targetFolder/$iPhoneDistribution" -k $loginKeychain* -P "$iosPassword" -T /usr/bin/codesign; } 2> /dev/null
+
+# Mobileprovision
+echo "Creating directory $targetFolder/Library/MobileDevice/Provisioning Profiles.."
+mkdir "$targetFolder/Library/MobileDevice"
+mkdir "$targetFolder/Library/MobileDevice/Provisioning Profiles"
+shaMobileprovision="ec9697276253ca7bf4401912236f0e6fde4214da"
+Install "$cacheSigningTools/latest_ios_cert_2020/iOS_Dev_2020_citeam.mobileprovision" "$targetFolder/Library/MobileDevice/Provisioning Profiles/iOS_Dev_2020_citeam.mobileprovision" $shaMobileprovision
+
+# Removing password files
+rm -fr "$targetFolder/login_keychain_password.txt"
+
diff --git a/coin/provisioning/qtci-macos-14-arm/80-screenresolution.sh b/coin/provisioning/qtci-macos-14-arm/80-screenresolution.sh
new file mode 100755
index 00000000..ed905a33
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/80-screenresolution.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+"$(dirname "$0")"/../common/macos/screenresolution.sh
+
diff --git a/coin/provisioning/qtci-macos-14-arm/81-bluetooth.sh b/coin/provisioning/qtci-macos-14-arm/81-bluetooth.sh
new file mode 100755
index 00000000..c58b9a34
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/81-bluetooth.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install blueutil
+
+#Disable Bluetooth
+blueutil -p 0
diff --git a/coin/provisioning/qtci-macos-14-arm/90-docker.sh b/coin/provisioning/qtci-macos-14-arm/90-docker.sh
new file mode 100755
index 00000000..f03971a9
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/90-docker.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/docker.sh
+source "${BASH_SOURCE%/*}/../common/macos/docker.sh" "arm64"
+
diff --git a/coin/provisioning/qtci-macos-14-arm/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-14-arm/90-install-ffmpeg.sh
new file mode 100755
index 00000000..23cb13e1
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/90-install-ffmpeg.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-14-arm/90-vlc.sh b/coin/provisioning/qtci-macos-14-arm/90-vlc.sh
new file mode 100644
index 00000000..4924fe5c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/90-vlc.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# for QtMM streaming tests
+brew install --cask vlc
diff --git a/coin/provisioning/qtci-macos-14-arm/97-set-locale.sh b/coin/provisioning/qtci-macos-14-arm/97-set-locale.sh
new file mode 100755
index 00000000..bc966cbf
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/97-set-locale.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/set-locale.sh"
diff --git a/coin/provisioning/qtci-macos-14-arm/98-mimersql.sh b/coin/provisioning/qtci-macos-14-arm/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-14-arm/99-mac-version.sh b/coin/provisioning/qtci-macos-14-arm/99-mac-version.sh
new file mode 100755
index 00000000..b9b5aeb0
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-arm/99-mac-version.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/macos-version.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-disable-net-lso.sh b/coin/provisioning/qtci-macos-14-x86_64/01-disable-net-lso.sh
new file mode 100755
index 00000000..659ebe96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-disable-net-lso.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/disable_net_lso.sh
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-disable-notifications_and_warnings.sh b/coin/provisioning/qtci-macos-14-x86_64/01-disable-notifications_and_warnings.sh
new file mode 100755
index 00000000..27efbb62
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-disable-notifications_and_warnings.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/disable-notifications_and_warnings.sh
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-disable-updates.sh b/coin/provisioning/qtci-macos-14-x86_64/01-disable-updates.sh
new file mode 100755
index 00000000..a2b2a0f0
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-disable-updates.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/system_updates.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-enable_zsh_history_and_viminfo.sh b/coin/provisioning/qtci-macos-14-x86_64/01-enable_zsh_history_and_viminfo.sh
new file mode 100755
index 00000000..6004b140
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-enable_zsh_history_and_viminfo.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+# shellcheck source=../common/macos/enable_zsh_history_and_viminfo.sh
+source "${BASH_SOURCE%/*}/../common/macos/enable_zsh_history_and_viminfo.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-increase_limits.sh b/coin/provisioning/qtci-macos-14-x86_64/01-increase_limits.sh
new file mode 100755
index 00000000..08669e52
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-increase_limits.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/increase_limits.sh
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-macos-14-x86_64/01-install_telegraf.sh
new file mode 100755
index 00000000..abd9ba0d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-install_telegraf.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname "$0")"/../common/macos/telegraf_install.sh
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-mount-vcpkg-cache-drive.sh b/coin/provisioning/qtci-macos-14-x86_64/01-mount-vcpkg-cache-drive.sh
new file mode 100755
index 00000000..2739f40f
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-mount-vcpkg-cache-drive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
+source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/01-sha1sum-compatibility.sh b/coin/provisioning/qtci-macos-14-x86_64/01-sha1sum-compatibility.sh
new file mode 100755
index 00000000..e31fe48b
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/01-sha1sum-compatibility.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#!/usr/bin/env bash
+
+set -ex
+
+# shellcheck source=../common/macos/sha1sum-compatibility.sh
+source "${BASH_SOURCE%/*}/../common/macos/sha1sum-compatibility.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/03-bashprofile.sh b/coin/provisioning/qtci-macos-14-x86_64/03-bashprofile.sh
new file mode 100755
index 00000000..4eed8433
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/03-bashprofile.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# Read .bashrc if exist
+printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-14-x86_64/05-systemsetup.sh
new file mode 100755
index 00000000..d7f07955
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/05-systemsetup.sh
@@ -0,0 +1,84 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# This script modifies system settings for automated use
+
+targetFile="$HOME/vncpw.txt"
+
+# Fetch password
+curl --retry 5 --retry-delay 10 --retry-max-time 60 \
+ "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" \
+ -o "$targetFile"
+shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
+
+{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
+NTS_IP=10.212.2.216
+
+echo "Disable Screensaver"
+# For current session
+defaults -currentHost write com.apple.screensaver idleTime 0
+
+echo "Disable sleep"
+sudo pmset sleep 0 displaysleep 0
+
+# For session after a reboot
+mkdir -p "$HOME/Library/LaunchAgents"
+sudo tee -a "$HOME/Library/LaunchAgents/no-screensaver.plist" <<EOT
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+
+<plist version="1.0">
+ <dict>
+ <key>Label</key>
+ <string>org.qt.io.screensaver_disable</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>defaults</string>
+ <string>-currentHost</string>
+ <string>write</string>
+ <string>com.apple.screensaver</string>
+ <string>idleTime</string>
+ <string>0</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <false/>
+ </dict>
+</plist>
+EOT
+
+defaults write com.apple.screensaver askForPassword -int 0
+
+echo "Set keyboard type rates and delays"
+# normal minimum is 15 (225 ms)
+defaults write -g InitialKeyRepeat -int 15
+# normal minimum is 2 (30 ms)
+defaults write -g KeyRepeat -int 2
+
+set +x
+echo "Enable remote desktop sharing"
+sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
+ -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts \
+ -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
+set -x
+
+echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
+echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
+
+sudo systemsetup settimezone GMT
+sudo systemsetup setusingnetworktime off
+sudo rm -f "$targetFile"
+
+# Enable automount for nfs shares
+sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
+sudo automount -cv
+
+# Disable multicast advertisements
+sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
+
+# Enable Use keyboard navigation to move focus between controls
+defaults write -g AppleKeyboardUIMode -int 2
diff --git a/coin/provisioning/qtci-macos-14-x86_64/06-crashreporter.sh b/coin/provisioning/qtci-macos-14-x86_64/06-crashreporter.sh
new file mode 100755
index 00000000..cb7c0774
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/06-crashreporter.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+defaults write com.apple.CrashReporter DialogType server
diff --git a/coin/provisioning/qtci-macos-14-x86_64/06-disable_spotlight.sh b/coin/provisioning/qtci-macos-14-x86_64/06-disable_spotlight.sh
new file mode 100755
index 00000000..ab85a262
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/06-disable_spotlight.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/macos/disable_spotlight.sh
+source "${BASH_SOURCE%/*}/../common/macos/disable_spotlight.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/06-disable_update_downloads.sh b/coin/provisioning/qtci-macos-14-x86_64/06-disable_update_downloads.sh
new file mode 100755
index 00000000..18cb98ea
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/06-disable_update_downloads.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/macos/disable_update_downloads.sh
diff --git a/coin/provisioning/qtci-macos-14-x86_64/07-SSL_keychain.sh b/coin/provisioning/qtci-macos-14-x86_64/07-SSL_keychain.sh
new file mode 100755
index 00000000..e14dcee9
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/07-SSL_keychain.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+# Enables the usage of temporary keychains for SSL autotests
+SetEnvVar "QT_SSL_USE_TEMPORARY_KEYCHAIN" "1"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/15-xz.sh b/coin/provisioning/qtci-macos-14-x86_64/15-xz.sh
new file mode 100755
index 00000000..9abb7f53
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/15-xz.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs XZ-Utils
+
+# XZ-Utils are needed for uncompressing xz-compressed files
+
+set -ex
+
+# shellcheck source=../common/macos/InstallPKGFromURL.sh
+source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
+
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
+AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
+SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
+DestDir="/"
+
+InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
+
+echo "XZ = 5.0.7" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-14-x86_64/20-java.sh b/coin/provisioning/qtci-macos-14-x86_64/20-java.sh
new file mode 100755
index 00000000..325fee63
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/20-java.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/java.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/20-xcode.sh b/coin/provisioning/qtci-macos-14-x86_64/20-xcode.sh
new file mode 100755
index 00000000..62d78e72
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/20-xcode.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs Xcode
+# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
+# This can be achieved by fetching Xcode_9.xip from Apple Store.
+# Uncompress it with 'xar -xf Xcode_9.xip'
+# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
+# with which you can run 'python parse_pbzx2.py Content'.
+# This will give you five files called "Content.part<00..05>.cpio.xz".
+# Extract those that have the extension .xz with xz.
+# "cat" together all the content files "cat file1, file2, file3, file4, file5 >file_new"
+# Compress the new file with xz back to something like Xcode_9.xz
+# Upload the file to temporary storage for this script to use.
+
+set -ex
+
+# shellcheck source=../common/macos/install_xcode.sh
+source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
+
+InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_15.3.xip 15.3
diff --git a/coin/provisioning/qtci-macos-14-x86_64/21-install-commandlinetools.sh b/coin/provisioning/qtci-macos-14-x86_64/21-install-commandlinetools.sh
new file mode 100755
index 00000000..7d1708bd
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/21-install-commandlinetools.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/install-commandlinetools.sh
+source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
+version="15.3"
+packageName="Command_Line_Tools_for_Xcode_$version.dmg"
+url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
+sha1="e7149414aff0e3d6c85245683e77ddde2f410ec0"
+
+InstallCommandLineTools $url $url $sha1 $packageName $version
diff --git a/coin/provisioning/qtci-macos-14-x86_64/24-sccache.sh b/coin/provisioning/qtci-macos-14-x86_64/24-sccache.sh
new file mode 100755
index 00000000..358b23fb
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/24-sccache.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+source "${BASH_SOURCE%/*}/../common/macos/sccache.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-cmake.sh b/coin/provisioning/qtci-macos-14-x86_64/25-cmake.sh
new file mode 100755
index 00000000..33095880
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-cmake.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/cmake.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-homebrew.sh b/coin/provisioning/qtci-macos-14-x86_64/25-homebrew.sh
new file mode 100755
index 00000000..7ff457b7
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-homebrew.sh
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Will install homebrew package manager for macOS.
+# WARNING: Requires commandlinetools
+
+
+set -e
+
+. "$(dirname "$0")"/../common/unix/DownloadURL.sh
+
+DownloadURL \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew/d8f6c666d20a3d42e007ceec161a06651ad92ba331a24a3de62912edb129a522/install.sh \
+ http://ci-files01-hki.ci.qt.io/input/mac/homebrew/d8f6c666d20a3d42e007ceec161a06651ad92ba331a24a3de62912edb129a522/install.sh \
+ d8f6c666d20a3d42e007ceec161a06651ad92ba331a24a3de62912edb129a522 \
+ /tmp/homebrew_install.sh
+
+DownloadURL "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/pw" "aae58d00d0a1b179a09f21cfc67f9d16fb95ff36" "/Users/qt/pw"
+{ pw=$(cat "/Users/qt/pw"); } 2> /dev/null
+sudo chmod 755 /tmp/homebrew_install.sh
+{ (echo "$pw" | /tmp/homebrew_install.sh); } 2> /dev/null
+rm -f "/Users/qt/pw"
+
+# No need to manually do `brew update`, the homebrew installer script does it.
+### brew update
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-mysql.sh b/coin/provisioning/qtci-macos-14-x86_64/25-mysql.sh
new file mode 100755
index 00000000..b9f0c0ae
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-mysql.sh
@@ -0,0 +1,27 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs MySQL
+
+# MySQL is needed for Qt to be able to support MySQL
+
+set -ex
+
+# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
+source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
+# shellcheck source=../common/unix/SetEnvVar.sh
+source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
+
+PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
+SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
+appPrefix=""
+targetDir="/opt/mysql57/"
+
+sudo mkdir -p "/opt"
+
+InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix" "$targetDir"
+
+SetEnvVar "MYSQLBINPATH" "/opt/mysql57/bin"
+echo "MySQL = 5.7.15" >> ~/versions.txt
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-pip.sh b/coin/provisioning/qtci-macos-14-x86_64/25-pip.sh
new file mode 100755
index 00000000..3fc865d0
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-pip.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pip.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-postgresql.sh b/coin/provisioning/qtci-macos-14-x86_64/25-postgresql.sh
new file mode 100755
index 00000000..06cae6ef
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-postgresql.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/postgresql.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-python2.sh b/coin/provisioning/qtci-macos-14-x86_64/25-python2.sh
new file mode 100755
index 00000000..4c88a413
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-python2.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/macos/python2.sh
+source "${BASH_SOURCE%/*}/../common/macos/python2.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/25-python3.sh b/coin/provisioning/qtci-macos-14-x86_64/25-python3.sh
new file mode 100755
index 00000000..8fee606c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/25-python3.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/macos/python3.sh
+source "${BASH_SOURCE%/*}/../common/macos/python3.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/26-freetype.sh b/coin/provisioning/qtci-macos-14-x86_64/26-freetype.sh
new file mode 100755
index 00000000..fa0790f8
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/26-freetype.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install freetype
diff --git a/coin/provisioning/qtci-macos-14-x86_64/26-jq.sh b/coin/provisioning/qtci-macos-14-x86_64/26-jq.sh
new file mode 100755
index 00000000..4dffcb96
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/26-jq.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -ex
+
+brew install jq
diff --git a/coin/provisioning/qtci-macos-14-x86_64/26-ninja.sh b/coin/provisioning/qtci-macos-14-x86_64/26-ninja.sh
new file mode 100755
index 00000000..4443eeb4
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/26-ninja.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/ninja.sh
+source "${BASH_SOURCE%/*}/../common/macos/ninja.sh"
+
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/26-odbc.sh b/coin/provisioning/qtci-macos-14-x86_64/26-odbc.sh
new file mode 100755
index 00000000..2b6b013a
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/26-odbc.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# Install libiodbc
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/libiodbc.sh" --with-universal
diff --git a/coin/provisioning/qtci-macos-14-x86_64/26-p7zip.sh b/coin/provisioning/qtci-macos-14-x86_64/26-p7zip.sh
new file mode 100755
index 00000000..8cdcd0c3
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/26-p7zip.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+# Install 7z to be used from command line
+
+set -ex
+
+brew update
+brew install p7zip
diff --git a/coin/provisioning/qtci-macos-14-x86_64/26-pcre2.sh b/coin/provisioning/qtci-macos-14-x86_64/26-pcre2.sh
new file mode 100755
index 00000000..c10d6206
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/26-pcre2.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install pcre2
diff --git a/coin/provisioning/qtci-macos-14-x86_64/27-libclang.sh b/coin/provisioning/qtci-macos-14-x86_64/27-libclang.sh
new file mode 100755
index 00000000..cc025e6e
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/27-libclang.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+# There is only one mac package and common script uses it as a default
+"$BASEDIR/../common/unix/libclang.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/28-libclang-v100-dyn.sh b/coin/provisioning/qtci-macos-14-x86_64/28-libclang-v100-dyn.sh
new file mode 100755
index 00000000..d95e7e00
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/28-libclang-v100-dyn.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/29-install-pkgconfig.sh b/coin/provisioning/qtci-macos-14-x86_64/29-install-pkgconfig.sh
new file mode 100755
index 00000000..33e11580
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/29-install-pkgconfig.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/pkgconfig.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/29-libusb.sh b/coin/provisioning/qtci-macos-14-x86_64/29-libusb.sh
new file mode 100755
index 00000000..e9e9e238
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/29-libusb.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+
+"$BASEDIR/../common/macos/libusb.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/30-android.sh b/coin/provisioning/qtci-macos-14-x86_64/30-android.sh
new file mode 100755
index 00000000..ddb3aec0
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/30-android.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/macos/android.sh
+source "${BASH_SOURCE%/*}/../common/macos/android.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/30-fbx.sh b/coin/provisioning/qtci-macos-14-x86_64/30-fbx.sh
new file mode 100755
index 00000000..e991bc08
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/30-fbx.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/fbx_macos.sh"
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/30-install-conan.sh b/coin/provisioning/qtci-macos-14-x86_64/30-install-conan.sh
new file mode 100755
index 00000000..8d90ef37
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/30-install-conan.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/install-conan.sh" "macos"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/30-nodejs.sh b/coin/provisioning/qtci-macos-14-x86_64/30-nodejs.sh
new file mode 100755
index 00000000..a5cf7d4d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/30-nodejs.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/nodejs.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/35-install-breakpad.sh b/coin/provisioning/qtci-macos-14-x86_64/35-install-breakpad.sh
new file mode 100755
index 00000000..8a9dde56
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/35-install-breakpad.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install-breakpad.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/35-install_protobuf.sh b/coin/provisioning/qtci-macos-14-x86_64/35-install_protobuf.sh
new file mode 100755
index 00000000..b0761374
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/35-install_protobuf.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install_protobuf.sh
+source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/35-openssl.sh b/coin/provisioning/qtci-macos-14-x86_64/35-openssl.sh
new file mode 100755
index 00000000..c86788db
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/35-openssl.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/install-openssl.sh
+source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/36-emsdk.sh b/coin/provisioning/qtci-macos-14-x86_64/36-emsdk.sh
new file mode 100755
index 00000000..c8aec444
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/36-emsdk.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# shellcheck source=../common/unix/emsdk.sh
+source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/50-openssl_for_android_darwin.sh b/coin/provisioning/qtci-macos-14-x86_64/50-openssl_for_android_darwin.sh
new file mode 100755
index 00000000..8cb78e85
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/50-openssl_for_android_darwin.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+# shellcheck source=../common/unix/openssl_for_android.sh
+source "${BASH_SOURCE%/*}/../common/unix/openssl_for_android.sh"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/80-screenresolution.sh b/coin/provisioning/qtci-macos-14-x86_64/80-screenresolution.sh
new file mode 100755
index 00000000..ed905a33
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/80-screenresolution.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+"$(dirname "$0")"/../common/macos/screenresolution.sh
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/81-bluetooth.sh b/coin/provisioning/qtci-macos-14-x86_64/81-bluetooth.sh
new file mode 100755
index 00000000..c58b9a34
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/81-bluetooth.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+brew install blueutil
+
+#Disable Bluetooth
+blueutil -p 0
diff --git a/coin/provisioning/qtci-macos-14-x86_64/90-install-ffmpeg.sh b/coin/provisioning/qtci-macos-14-x86_64/90-install-ffmpeg.sh
new file mode 100755
index 00000000..23cb13e1
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/90-install-ffmpeg.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/90-squish.sh b/coin/provisioning/qtci-macos-14-x86_64/90-squish.sh
new file mode 100755
index 00000000..c2658d0e
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/90-squish.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/unix/squishInstall.sh"
+
diff --git a/coin/provisioning/qtci-macos-14-x86_64/90-vlc.sh b/coin/provisioning/qtci-macos-14-x86_64/90-vlc.sh
new file mode 100644
index 00000000..4924fe5c
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/90-vlc.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+# for QtMM streaming tests
+brew install --cask vlc
diff --git a/coin/provisioning/qtci-macos-14-x86_64/97-set-locale.sh b/coin/provisioning/qtci-macos-14-x86_64/97-set-locale.sh
new file mode 100755
index 00000000..4ac0fd13
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/97-set-locale.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/macos/set-locale.sh
diff --git a/coin/provisioning/qtci-macos-14-x86_64/98-mimersql.sh b/coin/provisioning/qtci-macos-14-x86_64/98-mimersql.sh
new file mode 100755
index 00000000..70d5bc1d
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/98-mimersql.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
diff --git a/coin/provisioning/qtci-macos-14-x86_64/99-mac-version.sh b/coin/provisioning/qtci-macos-14-x86_64/99-mac-version.sh
new file mode 100755
index 00000000..d145d1e9
--- /dev/null
+++ b/coin/provisioning/qtci-macos-14-x86_64/99-mac-version.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+set -ex
+
+BASEDIR=$(dirname "$0")
+"$BASEDIR"/../common/macos/macos-version.sh
diff --git a/coin/provisioning/qtci-windows-10-x86/00-disable-netadapterlso.ps1 b/coin/provisioning/qtci-windows-10-x86/00-disable-netadapterlso.ps1
index 36fff06e..d20f1402 100644
--- a/coin/provisioning/qtci-windows-10-x86/00-disable-netadapterlso.ps1
+++ b/coin/provisioning/qtci-windows-10-x86/00-disable-netadapterlso.ps1
@@ -1,2 +1 @@
-Disable-NetAdapterLso Ethernet
-Start-Sleep -s 15 # Give windows some time to adjust network settings
+. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"
diff --git a/coin/provisioning/qtci-windows-10-x86/02-python.ps1 b/coin/provisioning/qtci-windows-10-x86/02-python.ps1
deleted file mode 100644
index 19e64a94..00000000
--- a/coin/provisioning/qtci-windows-10-x86/02-python.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 32
diff --git a/coin/provisioning/qtci-windows-10-x86/05-msvc.ps1 b/coin/provisioning/qtci-windows-10-x86/05-msvc.ps1
index 3f554a4b..a83ddea4 100644
--- a/coin/provisioning/qtci-windows-10-x86/05-msvc.ps1
+++ b/coin/provisioning/qtci-windows-10-x86/05-msvc.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studios are pre-provisioned to tier1 images
diff --git a/coin/provisioning/qtci-windows-10-x86/06-longpath.ps1 b/coin/provisioning/qtci-windows-10-x86/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-10-x86/09-install-openssh.ps1 b/coin/provisioning/qtci-windows-10-x86/09-install-openssh.ps1
new file mode 100644
index 00000000..9de844da
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86/09-install-openssh.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-openssh.ps1"
diff --git a/coin/provisioning/qtci-windows-10-x86/90-signing-tools.ps1 b/coin/provisioning/qtci-windows-10-x86/90-signing-tools.ps1
index a1c04177..fbd8c52f 100644
--- a/coin/provisioning/qtci-windows-10-x86/90-signing-tools.ps1
+++ b/coin/provisioning/qtci-windows-10-x86/90-signing-tools.ps1
@@ -1,48 +1,12 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
# Signing tools are needed to sign offline installers when releasing
-$url = "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/sign.zip"
+$url = "http://ci-files01-hki.ci.qt.io/input/semisecure/sign/sign.zip"
$destination = "C:\Windows\temp\sign.zip"
Download $url $url $destination
diff --git a/coin/provisioning/qtci-windows-10-x86_64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-10-x86_64/01-change-resolution.ps1
index 679769a8..c1e73a62 100644
--- a/coin/provisioning/qtci-windows-10-x86_64/01-change-resolution.ps1
+++ b/coin/provisioning/qtci-windows-10-x86_64/01-change-resolution.ps1
@@ -22,4 +22,7 @@ Function ChangeResolution {
Write-Host "Changing the resolution to ${x_value}x${y_value}"
ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-10-x86_64/02-python-32bit.ps1 b/coin/provisioning/qtci-windows-10-x86_64/02-python-32bit.ps1
deleted file mode 100644
index bd2d52c3..00000000
--- a/coin/provisioning/qtci-windows-10-x86_64/02-python-32bit.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 32 "C:\Python27_32"
diff --git a/coin/provisioning/qtci-windows-10-x86_64/02-python.ps1 b/coin/provisioning/qtci-windows-10-x86_64/02-python.ps1
deleted file mode 100644
index e2e9be9c..00000000
--- a/coin/provisioning/qtci-windows-10-x86_64/02-python.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 64
diff --git a/coin/provisioning/qtci-windows-10-x86_64/06-longpath.ps1 b/coin/provisioning/qtci-windows-10-x86_64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86_64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-10-x86_64/09-install-openssh.ps1 b/coin/provisioning/qtci-windows-10-x86_64/09-install-openssh.ps1
new file mode 100644
index 00000000..9de844da
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86_64/09-install-openssh.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-openssh.ps1"
diff --git a/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1
index 9dc9efb5..adc2c506 100644
--- a/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1
+++ b/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1
@@ -1,48 +1,12 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
# This script installs LLVM-Mingw by mstorsjo
$zip = Get-DownloadLocation "llvm-mingw-20220906-ucrt-x86_64.zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-ucrt-x86_64.zip"
Download $url_official $url_cache $zip
diff --git a/coin/provisioning/qtci-windows-10-x86_64/90-install-virtualbox.ps1 b/coin/provisioning/qtci-windows-10-x86_64/90-install-virtualbox.ps1
index fc4ce546..bf14fd23 100644
--- a/coin/provisioning/qtci-windows-10-x86_64/90-install-virtualbox.ps1
+++ b/coin/provisioning/qtci-windows-10-x86_64/90-install-virtualbox.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
$version = "5.2.4"
$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
diff --git a/coin/provisioning/qtci-windows-10-x86_64/97-msvc2015.ps1 b/coin/provisioning/qtci-windows-10-x86_64/97-msvc2015.ps1
index 5ecf031e..2f458f75 100644
--- a/coin/provisioning/qtci-windows-10-x86_64/97-msvc2015.ps1
+++ b/coin/provisioning/qtci-windows-10-x86_64/97-msvc2015.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studios are pre-provisioned to tier1 images
diff --git a/coin/provisioning/qtci-windows-10-x86_64/97-msvc2019.ps1 b/coin/provisioning/qtci-windows-10-x86_64/97-msvc2019.ps1
index 4f048086..96f0a2d3 100644
--- a/coin/provisioning/qtci-windows-10-x86_64/97-msvc2019.ps1
+++ b/coin/provisioning/qtci-windows-10-x86_64/97-msvc2019.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# MSVC 2019 and Build Tools are pre-provisioned, but the updating happens with:
. "$PSScriptRoot\..\common\windows\update-msvc2019.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/01-change-resolution.ps1
index 679769a8..c1e73a62 100644
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/01-change-resolution.ps1
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/01-change-resolution.ps1
@@ -22,4 +22,7 @@ Function ChangeResolution {
Write-Host "Changing the resolution to ${x_value}x${y_value}"
ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/01-mount-vcpkg-cache-drive.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/01-mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..97dbd7d6
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/01-mount-vcpkg-cache-drive.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mount-vcpkg-cache-drive.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/01-msvc2019.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/01-msvc2019.ps1
index f8a0150c..53136f18 100644
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/01-msvc2019.ps1
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/01-msvc2019.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# MSVC 2019 and Build Tools are pre-provisioned, but the updating happens with:
. "$PSScriptRoot\..\common\windows\update-msvc2019.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/02-python-32bit.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/02-python-32bit.ps1
deleted file mode 100644
index bd2d52c3..00000000
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/02-python-32bit.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 32 "C:\Python27_32"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/02-python.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/02-python.ps1
deleted file mode 100644
index e2e9be9c..00000000
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/02-python.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 64
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/06-longpath.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/08-install-jq.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/08-install-jq.ps1
new file mode 100644
index 00000000..18fa568a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/08-install-jq.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-jq.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/25-llvm-mingw.ps1
index 14a6c57b..8912f952 100644
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/25-llvm-mingw.ps1
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/25-llvm-mingw.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220906
$zip = Get-DownloadLocation "llvm-mingw-20220906-ucrt-x86_64.zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-ucrt-x86_64.zip"
Download $url_official $url_cache $zip
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/90-install-virtualbox.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/90-install-virtualbox.ps1
index fc4ce546..bf14fd23 100644
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/90-install-virtualbox.ps1
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/90-install-virtualbox.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
$version = "5.2.4"
$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/93-grpc.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/93-grpc.ps1
new file mode 100644
index 00000000..7d0b471d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/93-grpc.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\grpc.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/93-install-vcpkg.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/93-install-vcpkg.ps1
new file mode 100644
index 00000000..3c360de9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/93-install-vcpkg.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/94-install-vcpkg-ports.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/94-install-vcpkg-ports.ps1
new file mode 100644
index 00000000..1dd657bc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/94-install-vcpkg-ports.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg-ports.ps1"
diff --git a/coin/provisioning/qtci-windows-10_21H2-x86_64/97-msvc2015.ps1 b/coin/provisioning/qtci-windows-10_21H2-x86_64/97-msvc2015.ps1
index 8b955d83..2c1735d0 100644
--- a/coin/provisioning/qtci-windows-10_21H2-x86_64/97-msvc2015.ps1
+++ b/coin/provisioning/qtci-windows-10_21H2-x86_64/97-msvc2015.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studios are pre-provisioned to tier1 images
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/01-change-resolution.ps1
index 679769a8..c1e73a62 100644
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/01-change-resolution.ps1
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/01-change-resolution.ps1
@@ -22,4 +22,7 @@ Function ChangeResolution {
Write-Host "Changing the resolution to ${x_value}x${y_value}"
ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/01-mount-vcpkg-cache-drive.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/01-mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..97dbd7d6
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/01-mount-vcpkg-cache-drive.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mount-vcpkg-cache-drive.ps1"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/02-python-32bit.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/02-python-32bit.ps1
deleted file mode 100644
index bd2d52c3..00000000
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/02-python-32bit.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 32 "C:\Python27_32"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/02-python.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/02-python.ps1
deleted file mode 100644
index e2e9be9c..00000000
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/02-python.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 64
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/06-longpath.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/08-install-jq.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/08-install-jq.ps1
new file mode 100644
index 00000000..18fa568a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/08-install-jq.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-jq.ps1"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1120_64.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1120_64.ps1
deleted file mode 100644
index e23cec73..00000000
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1120_64.ps1
+++ /dev/null
@@ -1,11 +0,0 @@
-. "$PSScriptRoot\..\common\windows\install-mingw.ps1"
-
-# This script will install 64-bit MinGW 11.2.0
-# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
-
-$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev3"
-
-$sha1 = "50174112ceca6f9fe42debbedda54ce6e9187302"
-
-InstallMinGW $release $sha1
-
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1310_64.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1310_64.ps1
new file mode 100644
index 00000000..ef8e0a50
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-mingw1310_64.ps1
@@ -0,0 +1,11 @@
+. "$PSScriptRoot\..\common\windows\install-mingw.ps1"
+
+# This script will install 64-bit MinGW 13.1.0
+# Note! MinGW version is 9.0.0 but the GCC version is 13.1 which is used with the naming of MinGW
+
+$release = "MinGW-w64-x86_64-13.1.0-release-posix-seh-msvcrt-rt_v11-rev1"
+
+$sha1 = "561db0989c1b2cb73e0ceb27aed3b0ee8cb1db48"
+
+InstallMinGW $release $sha1
+
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-openssh.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-openssh.ps1
new file mode 100644
index 00000000..9de844da
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/09-install-openssh.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-openssh.ps1"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/25-llvm-mingw.ps1
index 14a6c57b..3b84e504 100644
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/25-llvm-mingw.ps1
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/25-llvm-mingw.ps1
@@ -1,56 +1,20 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
# This script installs LLVM-Mingw by mstorsjo
-# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220906
+# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220323
-$zip = Get-DownloadLocation "llvm-mingw-20220906-ucrt-x86_64.zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
-$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-ucrt-x86_64.zip"
+$zip = Get-DownloadLocation "llvm-mingw-20231017-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20231017-ucrt-x86_64.zip"
+$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20231017/llvm-mingw-20231017-ucrt-x86_64.zip"
Download $url_official $url_cache $zip
-Verify-Checksum $zip "51ff525eefa4f5db905cc7b4c8b56079c3baed65"
+Verify-Checksum $zip "1a39032b5add2f06fe0dfa56d0279b313b974da3"
Extract-7Zip $zip C:\
-Rename-Item C:\llvm-mingw-20220906-ucrt-x86_64 C:\llvm-mingw
+Rename-Item C:\llvm-mingw-20231017-ucrt-x86_64 C:\llvm-mingw
-Write-Output "llvm-mingw = 15.0.0" >> ~/versions.txt
+Write-Output "llvm-mingw = 17.0.3" >> ~/versions.txt
Remove-Item -Path $zip
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/90-install-virtualbox.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/90-install-virtualbox.ps1
index fc4ce546..bf14fd23 100644
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/90-install-virtualbox.ps1
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/90-install-virtualbox.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
$version = "5.2.4"
$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/93-grpc.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/93-grpc.ps1
new file mode 100644
index 00000000..7d0b471d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/93-grpc.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\grpc.ps1"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/93-install-vcpkg.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/93-install-vcpkg.ps1
new file mode 100644
index 00000000..3c360de9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/93-install-vcpkg.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg.ps1"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/94-install-vcpkg-ports.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/94-install-vcpkg-ports.ps1
new file mode 100644
index 00000000..9d5a693e
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/94-install-vcpkg-ports.ps1
@@ -0,0 +1,3 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg-ports.ps1"
+
+. "$PSScriptRoot\..\common\windows\install-vcpkg-ports-android.ps1"
diff --git a/coin/provisioning/qtci-windows-10_22H2-x86_64/97-msvc2015.ps1 b/coin/provisioning/qtci-windows-10_22H2-x86_64/97-msvc2015.ps1
index 8b955d83..2c1735d0 100644
--- a/coin/provisioning/qtci-windows-10_22H2-x86_64/97-msvc2015.ps1
+++ b/coin/provisioning/qtci-windows-10_22H2-x86_64/97-msvc2015.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studios are pre-provisioned to tier1 images
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/01-change-resolution.ps1
index 679769a8..c1e73a62 100644
--- a/coin/provisioning/qtci-windows-11_21H2-x86_64/01-change-resolution.ps1
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/01-change-resolution.ps1
@@ -22,4 +22,7 @@ Function ChangeResolution {
Write-Host "Changing the resolution to ${x_value}x${y_value}"
ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/01-mount-vcpkg-cache-drive.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/01-mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..97dbd7d6
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/01-mount-vcpkg-cache-drive.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mount-vcpkg-cache-drive.ps1"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/02-python-32bit.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/02-python-32bit.ps1
deleted file mode 100644
index bd2d52c3..00000000
--- a/coin/provisioning/qtci-windows-11_21H2-x86_64/02-python-32bit.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 32 "C:\Python27_32"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/02-python.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/02-python.ps1
deleted file mode 100644
index e2e9be9c..00000000
--- a/coin/provisioning/qtci-windows-11_21H2-x86_64/02-python.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 64
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/06-longpath.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/08-install-jq.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/08-install-jq.ps1
new file mode 100644
index 00000000..18fa568a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/08-install-jq.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-jq.ps1"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/25-llvm-mingw.ps1
index 14a6c57b..8912f952 100644
--- a/coin/provisioning/qtci-windows-11_21H2-x86_64/25-llvm-mingw.ps1
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/25-llvm-mingw.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220906
$zip = Get-DownloadLocation "llvm-mingw-20220906-ucrt-x86_64.zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-ucrt-x86_64.zip"
Download $url_official $url_cache $zip
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/90-install-virtualbox.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/90-install-virtualbox.ps1
index fc4ce546..bf14fd23 100644
--- a/coin/provisioning/qtci-windows-11_21H2-x86_64/90-install-virtualbox.ps1
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/90-install-virtualbox.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
$version = "5.2.4"
$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/93-grpc.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/93-grpc.ps1
new file mode 100644
index 00000000..7d0b471d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/93-grpc.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\grpc.ps1"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/93-install-vcpkg.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/93-install-vcpkg.ps1
new file mode 100644
index 00000000..3c360de9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/93-install-vcpkg.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg.ps1"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/94-install-vcpkg-ports.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/94-install-vcpkg-ports.ps1
new file mode 100644
index 00000000..1dd657bc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/94-install-vcpkg-ports.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg-ports.ps1"
diff --git a/coin/provisioning/qtci-windows-11_21H2-x86_64/97-msvc2015.ps1 b/coin/provisioning/qtci-windows-11_21H2-x86_64/97-msvc2015.ps1
index 8b955d83..2c1735d0 100644
--- a/coin/provisioning/qtci-windows-11_21H2-x86_64/97-msvc2015.ps1
+++ b/coin/provisioning/qtci-windows-11_21H2-x86_64/97-msvc2015.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studios are pre-provisioned to tier1 images
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/00-disable-netadapterlso.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/00-disable-netadapterlso.ps1
new file mode 100644
index 00000000..d20f1402
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/00-disable-netadapterlso.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/00-install-sevenzip.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/00-install-sevenzip.ps1
new file mode 100644
index 00000000..a9044256
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/00-install-sevenzip.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-sevenzip.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-allow-remote-desktop-access.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-allow-remote-desktop-access.ps1
new file mode 100644
index 00000000..af05e838
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-allow-remote-desktop-access.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\allow-remote-desktop-access.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-change-resolution.ps1
new file mode 100644
index 00000000..c1e73a62
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-change-resolution.ps1
@@ -0,0 +1,28 @@
+$x_value = "1280"
+$y_value = "800"
+
+Function ChangeResolution {
+ Param (
+ [string]$driver
+ )
+
+ $path = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration"
+
+ reg.exe ADD "$path\$driver\00\" /V PrimSurfSize.cx /T REG_dWORD /D $x_value /F
+ reg.exe ADD "$path\$driver\00\" /V PrimSurfSize.cy /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V DwmClipBox.bottom /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V DwmClipBox.right /T REG_dWORD /D $x_value /F
+ reg.exe ADD "$path\$driver\00\00" /V PrimSurfSize.cx /T REG_dWORD /D $x_value /F
+ reg.exe ADD "$path\$driver\00\00" /V PrimSurfSize.cy /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V ActiveSize.cy /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V ActiveSize.cx /T REG_dWORD /D $x_value /F
+
+}
+
+Write-Host "Changing the resolution to ${x_value}x${y_value}"
+ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
+ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
+ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-notifications.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-notifications.ps1
new file mode 100644
index 00000000..ada20147
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-notifications.ps1
@@ -0,0 +1,9 @@
+# Windows 'Notifications & actions'
+# Disable 'Get notifications from apps and other senders'
+reg.exe ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /V ToastEnabled /T REG_dWORD /D 0 /F
+
+# Disable 'Show me the Windows welcome experience after udpates and occasionally when I sign in to highlight what's new and suggested'
+reg.exe ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-310093Enabled /T REG_dWORD /D 0 /F
+
+# Disable 'Get tips, tricks and suggestions as you use Windows'
+reg.exe ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338389Enabled /T REG_dWORD /D 0 /F
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-runtimebroker.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-runtimebroker.ps1
new file mode 100644
index 00000000..8ae8190d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-runtimebroker.ps1
@@ -0,0 +1,4 @@
+# Disable RunTime Broker
+# The RunTime Broker is a Windows system process, which helps to manage app permissions on your pc between Windows apps and ensures apps are behaving themselves.
+# Coordinates execution of background work for WinRT application. If this service is stopped or disabled, then background work might not be triggered.
+reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBrokerSvc" /V Start /T REG_dWORD /D 4 /F
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-windows-telemetry.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-windows-telemetry.ps1
new file mode 100644
index 00000000..3f5a75f4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-disable-windows-telemetry.ps1
@@ -0,0 +1,7 @@
+# Disable Connected User Experiences and Telemetry service
+# The Connected User Experiences and Telemetry service enables features that support in-application and connected user experiences.
+# Additionally, this service manages the event driven collection and transmission of diagnostic and usage information
+# (used to improve the experience and quality of the Windows Platform) when the diagnostics and usage privacy option settings are enabled under Feedback and Diagnostics.
+reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Data Collection" /V AllowTelemetry /T REG_dWORD /D 0 /F
+stop-service diagtrack
+set-service diagtrack -startuptype disabled
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-enable-guest-logon.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-enable-guest-logon.ps1
new file mode 100644
index 00000000..3cf989d3
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-enable-guest-logon.ps1
@@ -0,0 +1,2 @@
+# Allow SMB client guest logons to SMB server.
+reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /V AllowInsecureGuestAuth /T REG_dWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-install_telegraf.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-install_telegraf.ps1
new file mode 100644
index 00000000..77fa8cbf
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-install_telegraf.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install_telegraf.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/01-set-proxy.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-set-proxy.ps1
new file mode 100644
index 00000000..13b1ec60
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/01-set-proxy.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\set-proxy.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-autoreboot.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-autoreboot.ps1
new file mode 100644
index 00000000..73430b76
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-autoreboot.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-autoreboot.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-sleep.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-sleep.ps1
new file mode 100644
index 00000000..5bf811ef
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/02-disable-sleep.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-sleep.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/03-nodejs.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/03-nodejs.ps1
new file mode 100644
index 00000000..6032e945
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/03-nodejs.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\nodejs.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/05-enable-devmode.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/05-enable-devmode.ps1
new file mode 100644
index 00000000..01e6f8b0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/05-enable-devmode.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\win10-enable-devmode.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/05-wsearch-off.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/05-wsearch-off.ps1
new file mode 100644
index 00000000..eed6b734
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/05-wsearch-off.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\wsearch-off.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/06-longpath.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/06-mesa_llvmpipe.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/06-mesa_llvmpipe.ps1
new file mode 100644
index 00000000..1b1a07e9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/06-mesa_llvmpipe.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mesa_llvmpipe.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/06-ninja.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/06-ninja.ps1
new file mode 100644
index 00000000..ba571a1e
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/06-ninja.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\ninja.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/08-install-git.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/08-install-git.ps1
new file mode 100644
index 00000000..38106de7
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/08-install-git.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-git.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/08-python3.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/08-python3.ps1
new file mode 100644
index 00000000..5ca36491
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/08-python3.ps1
@@ -0,0 +1,9 @@
+# Parameters:
+# - Arch 32/64
+# - installer sha1
+# - install target dir
+# - version
+# - Optional true/false if set as default with PYTHON3/PIP3_PATH variables, default false
+
+# Downloading https://www.python.org/ftp/python/3.12.3/python-3.12.3-arm64.exe
+. "$PSScriptRoot\..\common\windows\python3.ps1" 64 "a7fe973fd406c0db2b982d83e9feb30f8fde704f" "C:\Python312_64" "3.12.3" $true
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-openssh.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-openssh.ps1
new file mode 100644
index 00000000..9de844da
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-openssh.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-openssh.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-sed.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-sed.ps1
new file mode 100644
index 00000000..b3c8fded
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-install-sed.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-sed.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl-arm64.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl-arm64.ps1
new file mode 100644
index 00000000..c1bbf271
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl-arm64.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\openssl-arm64.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl.ps1
new file mode 100644
index 00000000..db3013e0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-openssl.ps1
@@ -0,0 +1,4 @@
+# Windows ARM has own common script
+# - "$PSScriptRoot\..\common\windows\openssl-arm64.ps1"
+# - need to check should these be combined or excluded
+#. "$PSScriptRoot\..\common\windows\openssl.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/09-set-network-test-server.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-set-network-test-server.ps1
new file mode 100644
index 00000000..7918fabf
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-set-network-test-server.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\set-network-test-server.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/09-vulkansdk.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-vulkansdk.ps1
new file mode 100644
index 00000000..54a3d563
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/09-vulkansdk.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\vulkansdk.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/22-mqtt_broker.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/22-mqtt_broker.ps1
new file mode 100644
index 00000000..71deb0d4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/22-mqtt_broker.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mqtt_broker.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/23-winrtrunner.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/23-winrtrunner.ps1
new file mode 100644
index 00000000..078f862e
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/23-winrtrunner.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\winrtrunner.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/25-llvm-mingw.ps1
new file mode 100644
index 00000000..9ce91521
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/25-llvm-mingw.ps1
@@ -0,0 +1,20 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\..\common\windows\helpers.ps1"
+
+# This script installs LLVM-Mingw by mstorsjo
+# https://github.com/mstorsjo/llvm-mingw/releases/tag/20240320
+
+$zip = Get-DownloadLocation "llvm-mingw-20240320-ucrt-aarch64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20240320-ucrt-aarch64.zip"
+$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20240320/llvm-mingw-20240320-ucrt-aarch64.zip"
+
+Download $url_official $url_cache $zip
+Verify-Checksum $zip "1ea4870551a6aaf0d51332be1ea10ce776ee3b42"
+Extract-7Zip $zip C:\
+
+Rename-Item C:\llvm-mingw-20240320-ucrt-aarch64 C:\llvm-mingw
+
+Write-Output "llvm-mingw = 18.1.2" >> ~/versions.txt
+Remove-Item -Path $zip
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/29-libusb.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/29-libusb.ps1
new file mode 100644
index 00000000..6035912d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/29-libusb.ps1
@@ -0,0 +1,3 @@
+
+
+. "$PSScriptRoot\..\common\windows\libusb.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/35-install-breakpad.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/35-install-breakpad.ps1
new file mode 100644
index 00000000..9360a326
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/35-install-breakpad.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-breakpad.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/36-install-gnuwin32.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/36-install-gnuwin32.ps1
new file mode 100644
index 00000000..0e2abbac
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/36-install-gnuwin32.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\install-gnuwin32.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/60-jom.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/60-jom.ps1
new file mode 100644
index 00000000..b246ce25
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/60-jom.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\jom.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/70-cmake.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/70-cmake.ps1
new file mode 100644
index 00000000..73dc7bc2
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/70-cmake.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\cmake.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/85-disable_quickedit_powershell.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/85-disable_quickedit_powershell.ps1
new file mode 100644
index 00000000..547e15a8
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/85-disable_quickedit_powershell.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-quickedit.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/90-3dstudio_3rdparty.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-3dstudio_3rdparty.ps1
new file mode 100644
index 00000000..114f52f9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-3dstudio_3rdparty.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\3dstudio_3rdparty.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-notepad++.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-notepad++.ps1
new file mode 100644
index 00000000..455d92bf
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-notepad++.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-notepad++.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-stm32cubeprogrammer.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-stm32cubeprogrammer.ps1
new file mode 100644
index 00000000..25c2bb42
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-install-stm32cubeprogrammer.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-stm32cubeprogrammer.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/90-libusb.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-libusb.ps1
new file mode 100644
index 00000000..29a1cfa4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-libusb.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\libusb.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/90-python-modules.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-python-modules.ps1
new file mode 100644
index 00000000..adf9e30b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/90-python-modules.ps1
@@ -0,0 +1,5 @@
+. "$PSScriptRoot\..\common\windows\helpers.ps1"
+
+# Needed by packaging scripts
+$scriptsPath = [System.Environment]::GetEnvironmentVariable('PIP3_PATH', [System.EnvironmentVariableTarget]::Machine)
+Run-Executable "$scriptsPath\pip3.exe" "install bs4"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/96-disable-windows-module-installer.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/96-disable-windows-module-installer.ps1
new file mode 100644
index 00000000..fb8ec541
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/96-disable-windows-module-installer.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-windows-module-installer.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/98-unset-proxy.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/98-unset-proxy.ps1
new file mode 100644
index 00000000..0c25a0fb
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/98-unset-proxy.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\unset-proxy.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/99-share-test-folders.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/99-share-test-folders.ps1
new file mode 100644
index 00000000..576fcfdc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/99-share-test-folders.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\share-test-folders.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-aarch64/99-version.ps1 b/coin/provisioning/qtci-windows-11_22H2-aarch64/99-version.ps1
new file mode 100644
index 00000000..36e498bc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-aarch64/99-version.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\version.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/01-change-resolution.ps1
index 679769a8..c1e73a62 100644
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/01-change-resolution.ps1
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/01-change-resolution.ps1
@@ -22,4 +22,7 @@ Function ChangeResolution {
Write-Host "Changing the resolution to ${x_value}x${y_value}"
ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/01-mount-vcpkg-cache-drive.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/01-mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..97dbd7d6
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/01-mount-vcpkg-cache-drive.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mount-vcpkg-cache-drive.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/02-python-32bit.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/02-python-32bit.ps1
deleted file mode 100644
index bd2d52c3..00000000
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/02-python-32bit.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 32 "C:\Python27_32"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/02-python.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/02-python.ps1
deleted file mode 100644
index e2e9be9c..00000000
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/02-python.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 64
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/06-longpath.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/08-install-jq.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/08-install-jq.ps1
new file mode 100644
index 00000000..18fa568a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/08-install-jq.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-jq.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1120_64.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1120_64.ps1
deleted file mode 100644
index e23cec73..00000000
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1120_64.ps1
+++ /dev/null
@@ -1,11 +0,0 @@
-. "$PSScriptRoot\..\common\windows\install-mingw.ps1"
-
-# This script will install 64-bit MinGW 11.2.0
-# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
-
-$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev3"
-
-$sha1 = "50174112ceca6f9fe42debbedda54ce6e9187302"
-
-InstallMinGW $release $sha1
-
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1310_64.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1310_64.ps1
new file mode 100644
index 00000000..ef8e0a50
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-mingw1310_64.ps1
@@ -0,0 +1,11 @@
+. "$PSScriptRoot\..\common\windows\install-mingw.ps1"
+
+# This script will install 64-bit MinGW 13.1.0
+# Note! MinGW version is 9.0.0 but the GCC version is 13.1 which is used with the naming of MinGW
+
+$release = "MinGW-w64-x86_64-13.1.0-release-posix-seh-msvcrt-rt_v11-rev1"
+
+$sha1 = "561db0989c1b2cb73e0ceb27aed3b0ee8cb1db48"
+
+InstallMinGW $release $sha1
+
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-openssh.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-openssh.ps1
new file mode 100644
index 00000000..9de844da
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/09-install-openssh.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-openssh.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/25-llvm-mingw.ps1
index c8b8f251..3b84e504 100644
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/25-llvm-mingw.ps1
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/25-llvm-mingw.ps1
@@ -1,56 +1,20 @@
-#############################################################################
-##
-## Copyright (C) 2022 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
# This script installs LLVM-Mingw by mstorsjo
# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220323
-$zip = Get-DownloadLocation "llvm-mingw-20220323-ucrt-x86_64.zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/llvm-mingw-20220323-ucrt-x86_64.zip"
-$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20220323/llvm-mingw-20220323-ucrt-x86_64.zip"
+$zip = Get-DownloadLocation "llvm-mingw-20231017-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20231017-ucrt-x86_64.zip"
+$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20231017/llvm-mingw-20231017-ucrt-x86_64.zip"
Download $url_official $url_cache $zip
-Verify-Checksum $zip "2b55846635f9e57fd37a19e0ba4183b3176ad57f"
+Verify-Checksum $zip "1a39032b5add2f06fe0dfa56d0279b313b974da3"
Extract-7Zip $zip C:\
-Rename-Item C:\llvm-mingw-20220323-ucrt-x86_64 C:\llvm-mingw
+Rename-Item C:\llvm-mingw-20231017-ucrt-x86_64 C:\llvm-mingw
-Write-Output "llvm-mingw = 14.0.0" >> ~/versions.txt
+Write-Output "llvm-mingw = 17.0.3" >> ~/versions.txt
Remove-Item -Path $zip
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/90-install-virtualbox.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/90-install-virtualbox.ps1
index fc4ce546..bf14fd23 100644
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/90-install-virtualbox.ps1
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/90-install-virtualbox.ps1
@@ -1,41 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\common\windows\helpers.ps1"
@@ -43,7 +7,7 @@
$version = "5.2.4"
$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/93-grpc.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/93-grpc.ps1
new file mode 100644
index 00000000..7d0b471d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/93-grpc.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\grpc.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/93-install-vcpkg.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/93-install-vcpkg.ps1
new file mode 100644
index 00000000..3c360de9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/93-install-vcpkg.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/94-install-vcpkg-ports.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/94-install-vcpkg-ports.ps1
new file mode 100644
index 00000000..1dd657bc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/94-install-vcpkg-ports.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg-ports.ps1"
diff --git a/coin/provisioning/qtci-windows-11_22H2-x86_64/97-msvc2015.ps1 b/coin/provisioning/qtci-windows-11_22H2-x86_64/97-msvc2015.ps1
index 8b955d83..2c1735d0 100644
--- a/coin/provisioning/qtci-windows-11_22H2-x86_64/97-msvc2015.ps1
+++ b/coin/provisioning/qtci-windows-11_22H2-x86_64/97-msvc2015.ps1
@@ -1,41 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Visual Studios are pre-provisioned to tier1 images
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/00-disable-netadapterlso.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/00-disable-netadapterlso.ps1
new file mode 100644
index 00000000..d20f1402
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/00-disable-netadapterlso.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/00-install-sevenzip.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/00-install-sevenzip.ps1
new file mode 100644
index 00000000..a9044256
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/00-install-sevenzip.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-sevenzip.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-allow-remote-desktop-access.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-allow-remote-desktop-access.ps1
new file mode 100644
index 00000000..af05e838
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-allow-remote-desktop-access.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\allow-remote-desktop-access.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-change-resolution.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-change-resolution.ps1
new file mode 100644
index 00000000..c1e73a62
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-change-resolution.ps1
@@ -0,0 +1,28 @@
+$x_value = "1280"
+$y_value = "800"
+
+Function ChangeResolution {
+ Param (
+ [string]$driver
+ )
+
+ $path = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration"
+
+ reg.exe ADD "$path\$driver\00\" /V PrimSurfSize.cx /T REG_dWORD /D $x_value /F
+ reg.exe ADD "$path\$driver\00\" /V PrimSurfSize.cy /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V DwmClipBox.bottom /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V DwmClipBox.right /T REG_dWORD /D $x_value /F
+ reg.exe ADD "$path\$driver\00\00" /V PrimSurfSize.cx /T REG_dWORD /D $x_value /F
+ reg.exe ADD "$path\$driver\00\00" /V PrimSurfSize.cy /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V ActiveSize.cy /T REG_dWORD /D $y_value /F
+ reg.exe ADD "$path\$driver\00\00" /V ActiveSize.cx /T REG_dWORD /D $x_value /F
+
+}
+
+Write-Host "Changing the resolution to ${x_value}x${y_value}"
+ChangeResolution "MSBDD_NOEDID_1234_1111_00000000_00020000_0^E3701873EC28AFCFF631E725354CDC2D"
+ChangeResolution "MSBDD_NOEDID_15AD_0405_00000000_000F0000_0^C13AE38966E73205F75BFACA84EB83A5"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3A_1234_1111_00000000_00020000_0^EC6E4468E7627A114F1F86EA72F3C134"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00010000_0^4189234F4C5A30C0FE2E08AED7E5F516"
+ChangeResolution "MSBDD_RHT12340_2A_07DE_3D_1234_1111_00000000_00020000_0^0E45B5CD7061674FC90A8064A6FE81F4"
+ChangeResolution "MSNILNOEDID_1414_008D_FFFFFFFF_FFFFFFFF_0^030B4FCE00727AC1593E5B6FD18648D6"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-notifications.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-notifications.ps1
new file mode 100644
index 00000000..ada20147
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-notifications.ps1
@@ -0,0 +1,9 @@
+# Windows 'Notifications & actions'
+# Disable 'Get notifications from apps and other senders'
+reg.exe ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /V ToastEnabled /T REG_dWORD /D 0 /F
+
+# Disable 'Show me the Windows welcome experience after udpates and occasionally when I sign in to highlight what's new and suggested'
+reg.exe ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-310093Enabled /T REG_dWORD /D 0 /F
+
+# Disable 'Get tips, tricks and suggestions as you use Windows'
+reg.exe ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V SubscribedContent-338389Enabled /T REG_dWORD /D 0 /F
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-runtimebroker.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-runtimebroker.ps1
new file mode 100644
index 00000000..8ae8190d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-runtimebroker.ps1
@@ -0,0 +1,4 @@
+# Disable RunTime Broker
+# The RunTime Broker is a Windows system process, which helps to manage app permissions on your pc between Windows apps and ensures apps are behaving themselves.
+# Coordinates execution of background work for WinRT application. If this service is stopped or disabled, then background work might not be triggered.
+reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBrokerSvc" /V Start /T REG_dWORD /D 4 /F
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-windows-telemetry.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-windows-telemetry.ps1
new file mode 100644
index 00000000..3f5a75f4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-disable-windows-telemetry.ps1
@@ -0,0 +1,7 @@
+# Disable Connected User Experiences and Telemetry service
+# The Connected User Experiences and Telemetry service enables features that support in-application and connected user experiences.
+# Additionally, this service manages the event driven collection and transmission of diagnostic and usage information
+# (used to improve the experience and quality of the Windows Platform) when the diagnostics and usage privacy option settings are enabled under Feedback and Diagnostics.
+reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Data Collection" /V AllowTelemetry /T REG_dWORD /D 0 /F
+stop-service diagtrack
+set-service diagtrack -startuptype disabled
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-enable-guest-logon.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-enable-guest-logon.ps1
new file mode 100644
index 00000000..3cf989d3
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-enable-guest-logon.ps1
@@ -0,0 +1,2 @@
+# Allow SMB client guest logons to SMB server.
+reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /V AllowInsecureGuestAuth /T REG_dWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-install_telegraf.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-install_telegraf.ps1
new file mode 100644
index 00000000..77fa8cbf
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-install_telegraf.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install_telegraf.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-mount-vcpkg-cache-drive.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..97dbd7d6
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-mount-vcpkg-cache-drive.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mount-vcpkg-cache-drive.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/01-set-proxy.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-set-proxy.ps1
new file mode 100644
index 00000000..13b1ec60
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/01-set-proxy.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\set-proxy.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-autoreboot.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-autoreboot.ps1
new file mode 100644
index 00000000..73430b76
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-autoreboot.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-autoreboot.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-sleep.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-sleep.ps1
new file mode 100644
index 00000000..5bf811ef
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/02-disable-sleep.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-sleep.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/03-nodejs.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/03-nodejs.ps1
new file mode 100644
index 00000000..6032e945
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/03-nodejs.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\nodejs.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/04-msys.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/04-msys.ps1
new file mode 100644
index 00000000..44efea92
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/04-msys.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\msys.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/05-enable-devmode.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/05-enable-devmode.ps1
new file mode 100644
index 00000000..01e6f8b0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/05-enable-devmode.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\win10-enable-devmode.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/05-wsearch-off.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/05-wsearch-off.ps1
new file mode 100644
index 00000000..eed6b734
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/05-wsearch-off.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\wsearch-off.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/06-longpath.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/06-longpath.ps1
new file mode 100644
index 00000000..6561d57b
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/06-longpath.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\longpath.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/06-mesa_llvmpipe.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/06-mesa_llvmpipe.ps1
new file mode 100644
index 00000000..1b1a07e9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/06-mesa_llvmpipe.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mesa_llvmpipe.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/06-ninja.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/06-ninja.ps1
new file mode 100644
index 00000000..ba571a1e
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/06-ninja.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\ninja.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-git.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-git.ps1
new file mode 100644
index 00000000..38106de7
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-git.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-git.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jdk.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jdk.ps1
new file mode 100644
index 00000000..15065b55
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jdk.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-jdk.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jq.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jq.ps1
new file mode 100644
index 00000000..18fa568a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-install-jq.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-jq.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang-v100-dyn.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang-v100-dyn.ps1
new file mode 100644
index 00000000..82b91257
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang-v100-dyn.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\libclang-v100-dyn.ps1" 64 vs2019
+. "$PSScriptRoot\..\common\windows\libclang-v100-dyn.ps1" 32 vs2019
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang.ps1
new file mode 100644
index 00000000..7681f01a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-libclang.ps1
@@ -0,0 +1,3 @@
+# Do not set the default LLVM_INSTALL_DIR for mingw, leave it with msvc for compat
+. "$PSScriptRoot\..\common\windows\libclang.ps1" 64 mingw $False
+. "$PSScriptRoot\..\common\windows\libclang.ps1" 64 vs2019
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/08-python3.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-python3.ps1
new file mode 100644
index 00000000..7d52476a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/08-python3.ps1
@@ -0,0 +1,12 @@
+# Parameters:
+# - Arch 32/64
+# - installer sha1
+# - install target dir
+# - version
+# - Optional true/false if set as default with PYTHON3/PIP3_PATH variables, default false
+
+. "$PSScriptRoot\..\common\windows\python3.ps1" 64 "f8d42a421db25a01b53f0c135a9a74ddae042643" "C:\Python37_64" "3.7.9"
+. "$PSScriptRoot\..\common\windows\python3.ps1" 64 "3ee4e92a8ef94c70fb56859503fdc805d217d689" "C:\Python310_64" "3.10.0"
+# default ones
+. "$PSScriptRoot\..\common\windows\python3.ps1" 64 "a8ac14ee5486547caf84abdf151be22d9d069c0a" "C:\Python38_64" "3.8.1" $true
+. "$PSScriptRoot\..\common\windows\python3.ps1" 32 "14ff2c2e5538b03a012cb4c9d519d970444ebd42" "C:\Python38_32" "3.8.1" $true
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-dependencywalker.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-dependencywalker.ps1
new file mode 100644
index 00000000..331de489
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-dependencywalker.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-dependencywalker.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-mingw1310_64.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-mingw1310_64.ps1
new file mode 100644
index 00000000..ef8e0a50
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-mingw1310_64.ps1
@@ -0,0 +1,11 @@
+. "$PSScriptRoot\..\common\windows\install-mingw.ps1"
+
+# This script will install 64-bit MinGW 13.1.0
+# Note! MinGW version is 9.0.0 but the GCC version is 13.1 which is used with the naming of MinGW
+
+$release = "MinGW-w64-x86_64-13.1.0-release-posix-seh-msvcrt-rt_v11-rev1"
+
+$sha1 = "561db0989c1b2cb73e0ceb27aed3b0ee8cb1db48"
+
+InstallMinGW $release $sha1
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-openssh.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-openssh.ps1
new file mode 100644
index 00000000..9de844da
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-openssh.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-openssh.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-ruby.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-ruby.ps1
new file mode 100644
index 00000000..875b426f
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-ruby.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-ruby.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-sed.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-sed.ps1
new file mode 100644
index 00000000..b3c8fded
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-sed.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-sed.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-strawberry-perl.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-strawberry-perl.ps1
new file mode 100644
index 00000000..2b5756be
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-install-strawberry-perl.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-strawberry-perl.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl-arm64.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl-arm64.ps1
new file mode 100644
index 00000000..c1bbf271
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl-arm64.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\openssl-arm64.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl.ps1
new file mode 100644
index 00000000..d57ad1cd
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-openssl.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\openssl.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-set-network-test-server.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-set-network-test-server.ps1
new file mode 100644
index 00000000..7918fabf
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-set-network-test-server.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\set-network-test-server.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/09-vulkansdk.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-vulkansdk.ps1
new file mode 100644
index 00000000..54a3d563
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/09-vulkansdk.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\vulkansdk.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/10-dxsdk.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/10-dxsdk.ps1
new file mode 100644
index 00000000..155df6b8
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/10-dxsdk.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\dxsdk.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/10-install-msys2.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/10-install-msys2.ps1
new file mode 100644
index 00000000..be9a3634
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/10-install-msys2.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-msys2.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/11-conan.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/11-conan.ps1
new file mode 100644
index 00000000..6215f9e4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/11-conan.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\conan.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/20-install-sccache.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/20-install-sccache.ps1
new file mode 100644
index 00000000..0794bff3
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/20-install-sccache.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-sccache.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/22-mqtt_broker.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/22-mqtt_broker.ps1
new file mode 100644
index 00000000..71deb0d4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/22-mqtt_broker.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mqtt_broker.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/23-winrtrunner.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/23-winrtrunner.ps1
new file mode 100644
index 00000000..078f862e
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/23-winrtrunner.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\winrtrunner.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/25-llvm-mingw.ps1
new file mode 100644
index 00000000..3b84e504
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/25-llvm-mingw.ps1
@@ -0,0 +1,20 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\..\common\windows\helpers.ps1"
+
+# This script installs LLVM-Mingw by mstorsjo
+# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220323
+
+$zip = Get-DownloadLocation "llvm-mingw-20231017-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20231017-ucrt-x86_64.zip"
+$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20231017/llvm-mingw-20231017-ucrt-x86_64.zip"
+
+Download $url_official $url_cache $zip
+Verify-Checksum $zip "1a39032b5add2f06fe0dfa56d0279b313b974da3"
+Extract-7Zip $zip C:\
+
+Rename-Item C:\llvm-mingw-20231017-ucrt-x86_64 C:\llvm-mingw
+
+Write-Output "llvm-mingw = 17.0.3" >> ~/versions.txt
+Remove-Item -Path $zip
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/29-libusb.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/29-libusb.ps1
new file mode 100644
index 00000000..6035912d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/29-libusb.ps1
@@ -0,0 +1,3 @@
+
+
+. "$PSScriptRoot\..\common\windows\libusb.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/30-fbx.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/30-fbx.ps1
new file mode 100644
index 00000000..468b0433
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/30-fbx.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\fbx_windows.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/35-install-breakpad.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/35-install-breakpad.ps1
new file mode 100644
index 00000000..9360a326
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/35-install-breakpad.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-breakpad.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/36-install-gnuwin32.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/36-install-gnuwin32.ps1
new file mode 100644
index 00000000..0e2abbac
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/36-install-gnuwin32.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\install-gnuwin32.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/40-android.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/40-android.ps1
new file mode 100644
index 00000000..69799974
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/40-android.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\android.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/50-openssl_for_android.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/50-openssl_for_android.ps1
new file mode 100644
index 00000000..25c6f28a
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/50-openssl_for_android.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\android-openssl.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/60-jom.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/60-jom.ps1
new file mode 100644
index 00000000..b246ce25
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/60-jom.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\jom.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/70-cmake.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/70-cmake.ps1
new file mode 100644
index 00000000..73dc7bc2
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/70-cmake.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\cmake.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/79-opcua_unifiedautomation.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/79-opcua_unifiedautomation.ps1
new file mode 100644
index 00000000..e7f14459
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/79-opcua_unifiedautomation.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\opcua_unifiedautomation.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/80-emsdk.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/80-emsdk.ps1
new file mode 100644
index 00000000..b72470a2
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/80-emsdk.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\emsdk.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/85-disable_quickedit_powershell.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/85-disable_quickedit_powershell.ps1
new file mode 100644
index 00000000..547e15a8
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/85-disable_quickedit_powershell.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-quickedit.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-3dstudio_3rdparty.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-3dstudio_3rdparty.ps1
new file mode 100644
index 00000000..114f52f9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-3dstudio_3rdparty.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\3dstudio_3rdparty.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-exceutequeueditems.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-exceutequeueditems.ps1
new file mode 100644
index 00000000..52306fb9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-exceutequeueditems.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\exceutequeueditems.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-dotnet.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-dotnet.ps1
new file mode 100644
index 00000000..a2ecfba2
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-dotnet.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\install-dotnet.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-ffmpeg.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-ffmpeg.ps1
new file mode 100644
index 00000000..e16f634c
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-ffmpeg.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\install-ffmpeg.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-mcuxpresso.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-mcuxpresso.ps1
new file mode 100644
index 00000000..22d19322
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-mcuxpresso.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-mcuxpresso.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-notepad++.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-notepad++.ps1
new file mode 100644
index 00000000..455d92bf
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-notepad++.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-notepad++.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-stm32cubeprogrammer.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-stm32cubeprogrammer.ps1
new file mode 100644
index 00000000..25c2bb42
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-stm32cubeprogrammer.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-stm32cubeprogrammer.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-virtualbox.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-virtualbox.ps1
new file mode 100644
index 00000000..bf14fd23
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-install-virtualbox.ps1
@@ -0,0 +1,21 @@
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\..\common\windows\helpers.ps1"
+
+# This script will install VirtualBox
+
+$version = "5.2.4"
+$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
+$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
+$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
+
+Download $url_official $url_cache $virtualboxPackage
+Verify-Checksum $virtualboxPackage $sha1
+Run-Executable $virtualboxPackage "--silent"
+
+Write-Output "Cleaning $virtualboxPackage.."
+Remove "$virtualboxPackage"
+
+Write-Output "VirtualBox = $version" >> ~\versions.txt
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-libusb.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-libusb.ps1
new file mode 100644
index 00000000..29a1cfa4
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-libusb.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\libusb.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-mimersql.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-mimersql.ps1
new file mode 100644
index 00000000..576dd9d2
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-mimersql.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\mimersql.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-mysql.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-mysql.ps1
new file mode 100644
index 00000000..864a79a5
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-mysql.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\mysql.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-postgresql.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-postgresql.ps1
new file mode 100644
index 00000000..0e0d87be
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-postgresql.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\postgresql.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-python-modules.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-python-modules.ps1
new file mode 100644
index 00000000..80ab54dc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-python-modules.ps1
@@ -0,0 +1,4 @@
+. "$PSScriptRoot\..\common\windows\helpers.ps1"
+# Needed by packaging scripts
+$scriptsPath = [System.Environment]::GetEnvironmentVariable('PIP3_PATH', [System.EnvironmentVariableTarget]::Machine)
+Run-Executable "$scriptsPath\pip3.exe" "install bs4"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/90-squish.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-squish.ps1
new file mode 100644
index 00000000..ff758845
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/90-squish.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\squishInstall.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/91-install-azure-tool.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/91-install-azure-tool.ps1
new file mode 100644
index 00000000..f1d5acc3
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/91-install-azure-tool.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-azure-tool.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/91-squish-coco.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/91-squish-coco.ps1
new file mode 100644
index 00000000..bf4f8a96
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/91-squish-coco.ps1
@@ -0,0 +1,2 @@
+ "$PSScriptRoot\..\common\windows\squish-coco.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/92-protobuf.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/92-protobuf.ps1
new file mode 100644
index 00000000..c455bce7
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/92-protobuf.ps1
@@ -0,0 +1,2 @@
+. "$PSScriptRoot\..\common\windows\protobuf.ps1"
+
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/93-grpc.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/93-grpc.ps1
new file mode 100644
index 00000000..7d0b471d
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/93-grpc.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\grpc.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/93-install-vcpkg.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/93-install-vcpkg.ps1
new file mode 100644
index 00000000..3c360de9
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/93-install-vcpkg.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/94-install-vcpkg-ports.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/94-install-vcpkg-ports.ps1
new file mode 100644
index 00000000..1dd657bc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/94-install-vcpkg-ports.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\install-vcpkg-ports.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/96-disable-windows-module-installer.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/96-disable-windows-module-installer.ps1
new file mode 100644
index 00000000..fb8ec541
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/96-disable-windows-module-installer.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\disable-windows-module-installer.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/98-unset-proxy.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/98-unset-proxy.ps1
new file mode 100644
index 00000000..0c25a0fb
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/98-unset-proxy.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\unset-proxy.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/99-share-test-folders.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/99-share-test-folders.ps1
new file mode 100644
index 00000000..576fcfdc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/99-share-test-folders.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\share-test-folders.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/99-version.ps1 b/coin/provisioning/qtci-windows-11_23H2-x86_64/99-version.ps1
new file mode 100644
index 00000000..36e498bc
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/99-version.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\version.ps1"
diff --git a/coin/provisioning/qtci-windows-11_23H2-x86_64/conanfiles/qtwebkit.txt b/coin/provisioning/qtci-windows-11_23H2-x86_64/conanfiles/qtwebkit.txt
new file mode 100644
index 00000000..eaafc008
--- /dev/null
+++ b/coin/provisioning/qtci-windows-11_23H2-x86_64/conanfiles/qtwebkit.txt
@@ -0,0 +1,31 @@
+[requires]
+icu/65.1@qtproject/stable
+libxml2/2.9.10@qtproject/stable
+libxslt/1.1.34@qtproject/stable
+libjpeg-turbo/2.0.5@qtproject/stable
+
+[generators]
+cmake
+txt
+
+[options]
+icu:shared=True
+icu:data_packaging=library
+
+libxml2:shared=True
+libxml2:iconv=False
+libxml2:icu=True
+libxml2:zlib=False
+
+libxslt:shared=True
+
+libjpeg-turbo:shared=False
+
+[imports]
+bin, icudt65.dll -> ./bin
+bin, icuin65.dll -> ./bin
+bin, icuuc65.dll -> ./bin
+bin, libxml2.dll -> ./bin
+bin, libxslt.dll -> ./bin
+bin, libxml2-2.dll -> ./bin
+bin, libxslt-1.dll -> ./bin
diff --git a/coin/provisioning/qtci-windows-8.1-x86_64/07-python2.ps1 b/coin/provisioning/qtci-windows-8.1-x86_64/07-python2.ps1
deleted file mode 100644
index e2e9be9c..00000000
--- a/coin/provisioning/qtci-windows-8.1-x86_64/07-python2.ps1
+++ /dev/null
@@ -1 +0,0 @@
-. "$PSScriptRoot\..\common\windows\python.ps1" 64
diff --git a/conanfile_profiles.py b/conanfile_profiles.py
deleted file mode 100644
index afab3997..00000000
--- a/conanfile_profiles.py
+++ /dev/null
@@ -1,53 +0,0 @@
-#############################################################################
-##
-## Copyright (C) 2021 The Qt Company Ltd.
-## Contact: https://www.qt.io/licensing/
-##
-## This file is part of the release tools of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:GPL-EXCEPT$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3 as published by the Free Software
-## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-from conans import ConanFile
-
-
-class QtBuildProfiles(ConanFile):
- name = "qtbuildprofiles"
- license = "LGPL-3.0, GPL-2.0+, Commercial Qt License Agreement"
- author = "The Qt Company <https://www.qt.io/contact-us>"
- url = "https://code.qt.io/cgit/qt/qt5.git"
- description = "Build profiles for Qt binaries."
- topics = ("qt", "qt6", "profile")
- # use commit ID as the RREV (recipe revision)
- revision_mode = "scm"
- no_copy_source = True
-
- def export_sources(self):
- self.copy("*", src="coin/conan/profiles", dst=".")
-
- def package_id(self):
- self.info.header_only()
-
- def package(self):
- self.copy(pattern="*")
-
- def deploy(self):
- self.copy("*")
diff --git a/configure b/configure
index ced66676..aab559b9 100755
--- a/configure
+++ b/configure
@@ -1,43 +1,22 @@
#! /bin/sh
-#############################################################################
-##
-## Copyright (C) 2020 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the build tools of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:GPL-EXCEPT$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3 as published by the Free Software
-## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-srcpath=`dirname $0`
-srcpath=`(cd "$srcpath"; pwd)`
-configure=$srcpath/qtbase/configure
-if [ ! -e "$configure" ]; then
- echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
- exit 1
-fi
+src_path=`dirname $0`
+src_path=`(cd "$src_path"; /bin/pwd)`
-set -ex
+optfile=config.tl.opt
+opttmpfile=config.tl.opt.in
-mkdir -p qtbase
-cd qtbase
+# Posix compatible way to truncate file
+: > "$optfile"
+: > "$opttmpfile"
-exec "$configure" -top-level "$@"
+# For consistency, use QtWriteArgsFile.cmake to write the optfile like we do on Windows.
+# We do the same with the configure script in qtbase.
+for arg in "$@"; do echo \"$arg\" >> "$opttmpfile"; done
+
+cmake -DIN_FILE="${opttmpfile}" -DOUT_FILE="${optfile}" -P "${src_path}/cmake/QtWriteArgsFile.cmake"
+
+cmake_script_path="$src_path/cmake/QtTopLevelConfigureScript.cmake"
+exec cmake -DTOP_LEVEL_SRC_PATH="$src_path" -DOPTFILE="${optfile}" -P "$cmake_script_path"
diff --git a/configure.bat b/configure.bat
index 500d627f..9c0e0e62 100644
--- a/configure.bat
+++ b/configure.bat
@@ -1,48 +1,23 @@
-@echo off
-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-::
-:: Copyright (C) 2020 The Qt Company Ltd.
-:: Contact: http://www.qt.io/licensing/
-::
-:: This file is part of the tools applications of the Qt Toolkit.
-::
-:: $QT_BEGIN_LICENSE:GPL-EXCEPT$
-:: Commercial License Usage
-:: Licensees holding valid commercial Qt licenses may use this file in
-:: accordance with the commercial license agreement provided with the
-:: Software or, alternatively, in accordance with the terms contained in
-:: a written agreement between you and The Qt Company. For licensing terms
-:: and conditions see https://www.qt.io/terms-conditions. For further
-:: information use the contact form at https://www.qt.io/contact-us.
-::
-:: GNU General Public License Usage
-:: Alternatively, this file may be used under the terms of the GNU
-:: General Public License version 3 as published by the Free Software
-:: Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-:: included in the packaging of this file. Please review the following
-:: information to ensure the GNU General Public License requirements will
-:: be met: https://www.gnu.org/licenses/gpl-3.0.html.
-::
-:: $QT_END_LICENSE$
-::
-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
-set "srcpath=%~dp0"
-set "configure=%srcpath%qtbase\configure.bat"
-if not exist "%configure%" (
- echo %configure% not found. Did you forget to run "init-repository"? >&2
- exit /b 1
-)
+:: Copyright (C) 2024 The Qt Company Ltd.
+:: SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-if not exist qtbase mkdir qtbase || exit /b 1
-
-echo + cd qtbase
-cd qtbase || exit /b 1
+@echo off
+setlocal ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
+set script_dir_path=%~dp0
+set script_dir_path=%script_dir_path:~0,-1%
-echo + %configure% -top-level %*
-call %configure% -top-level %*
-set err=%errorlevel%
+set cmake_scripts_dir=%script_dir_path%\cmake
+:: The '.' in 'echo.%*' ensures we don't print "echo is off" when no arguments are passed
+:: https://devblogs.microsoft.com/oldnewthing/20170802-00/?p=96735
+:: The space before the '>' makes sure that when we have a digit at the end of the args, we
+:: don't accidentally concatenate it with the '>' resulting in '0>' or '2>' which redirects into the
+:: file from a stream different than stdout, leading to broken or empty content.
+echo.%* >config.tl.opt.in
-cd ..
+call cmake -DIN_FILE=config.tl.opt.in -DOUT_FILE=config.tl.opt ^
+ -P "%cmake_scripts_dir%\QtWriteArgsFile.cmake"
+call cmake -DOPTFILE=config.tl.opt -DTOP_LEVEL_SRC_PATH="%script_dir_path%" ^
+ -P "%cmake_scripts_dir%\QtTopLevelConfigureScript.cmake"
-exit /b %err%
+del config.tl.opt.in
+del config.tl.opt
diff --git a/init-repository b/init-repository
index e9372155..8becca95 100755
--- a/init-repository
+++ b/init-repository
@@ -1,689 +1,30 @@
-#!/usr/bin/env perl
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the utilities of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see https://www.qt.io/terms-conditions. For further
-## information use the contact form at https://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 3 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL3 included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 3 requirements
-## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 2.0 or (at your option) the GNU General
-## Public license version 3 or any later version approved by the KDE Free
-## Qt Foundation. The licenses are as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-## included in the packaging of this file. Please review the following
-## information to ensure the GNU General Public License requirements will
-## be met: https://www.gnu.org/licenses/gpl-2.0.html and
-## https://www.gnu.org/licenses/gpl-3.0.html.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+#!/bin/sh
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-use v5.8;
-use strict;
-use warnings;
+set -eu
-package Qt::InitRepository;
+script_dir_path=`dirname $0`
+script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`
+optfile=init-repository.opt
+opttmpfile=init-repository.opt.in
-sub printUsage($)
-{
- my ($ex) = @_;
+# check whether cmake exists
+if ! [ -x "$(command -v cmake)" ]; then
+ echo "Error: cmake was not found. You need to install it before configuring Qt."
+ exit 1
+fi
- print <<EOF ;
-Usage:
- ./init-repository [options]
+# Posix compatible way to truncate file
+: > "$optfile"
+: > "$opttmpfile"
- This script may be run after an initial `git clone' of Qt5 in order to
- check out all submodules. It fetches them from canonical URLs inferred
- from the clone's origin.
+# For consistency, use QtWriteArgsFile.cmake to write the optfile like we do on Windows.
+# We do the same with the configure script in qtbase.
+for arg in "$@"; do echo \"$arg\" >> "$opttmpfile"; done
-Options:
- Global options:
+cmake -DIN_FILE="${opttmpfile}" -DOUT_FILE="${optfile}" -P "${script_dir_path}/cmake/QtWriteArgsFile.cmake"
- --force, -f
- Force initialization (even if the submodules are already checked
- out).
-
- --force-hooks
- Force initialization of hooks (even if there are already hooks in
- checked out submodules).
-
- --quiet, -q
- Be quiet. Will exit cleanly if the repository is already
- initialized.
-
- Module options:
-
- --module-subset=<module1>,<module2>...
- Only initialize the specified subset of modules given as the
- argument. Specified modules must already exist in .gitmodules. The
- string "all" results in cloning all known modules. The strings
- "essential", "addon", "preview", "deprecated", "obsolete",
- "additionalLibrary", and "ignore" refer to classes of modules
- identified by "status=" lines in the .gitmodules file.
- You can use "default" in the subset as a short-hand for
- "essential,addon,preview,deprecated", which corresponds to the set of
- maintained modules included in standard Qt releases; this is also the
- default module subset when this option is not given. Entries
- may be prefixed with a dash to exclude them from a bigger
- set, e.g. "all,-ignore".
-
- --no-update
- Skip the `git submodule update' command.
-
- --no-fetch
- Skip the `git fetch' commands. Implied by --no-update.
-
- --branch
- Instead of checking out specific SHA1s, check out the submodule
- branches that correspond with the current supermodule commit. By
- default, this option will cause local commits in the submodules to
- be rebased. With --no-update, the branches will be checked out, but
- their heads will not move.
-
- --ignore-submodules
- Set git config to ignore submodules by default when doing operations
- on the qt5 repo, such as `pull', `fetch', `diff' etc.
-
- After using this option, pass `--ignore-submodules=none' to git to
- override it as needed.
-
- Repository options:
-
- --berlin
- Switch to internal URLs and make use of the Berlin git mirrors.
- (Implies `--mirror').
-
- --oslo
- Switch to internal URLs and make use of the Oslo git mirrors.
- (Implies `--mirror').
-
- --codereview-username <Gerrit/JIRA username>
- Specify the user name for the (potentially) writable `gerrit' remote
- for each module, for use with the Gerrit code review tool.
-
- If this option is omitted, the gerrit remote is created without a
- username and port number, and thus relies on a correct SSH
- configuration.
-
- --alternates <path to other Qt5 repo>
- Adds alternates for each submodule to another full qt5 checkout.
- This makes this qt5 checkout very small, as it will use the object
- store of the alternates before unique objects are stored in its own
- object store.
-
- This option has no effect when using `--no-update'.
-
- NOTE: This will make this repo dependent on the alternate, which is
- potentially dangerous! The dependency can be broken by also using
- the `--copy-objects' option, or by running "git repack -a" in each
- submodule, where required. Please read the note about the `--shared'
- option in the documentation of `git clone' for more information.
-
- --copy-objects
- When `--alternates' is used, automatically do a "git repack -a" in
- each submodule after cloning, to ensure that the repositories are
- independent from the source used as a reference for cloning.
-
- Note that this negates the disk usage benefits gained from the use
- of `--alternates'.
-
- --mirror <url-base>
- Uses <url-base> as the base URL for submodule git mirrors.
-
- For example:
-
- --mirror user\@machine:/foo/bar/qt/
-
- ...will use the following as a mirror for qtbase:
-
- user\@machine:/foo/bar/qt/qtbase.git
-
- The mirror is permitted to contain a subset of the submodules; any
- missing modules will fall back to the canonical URLs.
-
-EOF
- exit($ex);
-}
-
-use Carp qw( confess );
-use Cwd qw( getcwd abs_path );
-use English qw( -no_match_vars );
-use File::Spec::Functions qw ( rel2abs );
-use Getopt::Long qw( GetOptions );
-
-my $script_path = abs_path($0);
-$script_path =~ s,[/\\][^/\\]+$,,;
-
-my $GERRIT_SSH_BASE
- = 'ssh://@USER@codereview.qt-project.org@PORT@/qt/';
-
-my $BER_MIRROR_URL_BASE
- = 'git://hegel/qt/';
-
-my $OSLO_MIRROR_URL_BASE
- = 'git://qilin/qt/';
-
-sub new
-{
- my ($class, @arguments) = @_;
-
- my $self = {};
- bless $self, $class;
- $self->parse_arguments(@arguments);
-
- return $self;
-}
-
-# Like `system', but possibly log the command, and die on non-zero exit code
-sub exe
-{
- my ($self, @cmd) = @_;
-
- if (!$self->{quiet}) {
- print "+ @cmd\n";
- }
-
- if (system(@cmd) != 0) {
- confess "@cmd exited with status $CHILD_ERROR";
- }
-
- return;
-}
-
-sub parse_arguments
-{
- my ($self) = @_;
-
- %{$self} = (%{$self},
- 'alternates' => "",
- 'branch' => 0,
- 'codereview-username' => "",
- 'detach-alternates' => 0 ,
- 'force' => 0 ,
- 'force-hooks' => 0 ,
- 'ignore-submodules' => 0 ,
- 'mirror-url' => "",
- 'update' => 1 ,
- 'fetch' => 1 ,
- 'module-subset' => "default",
- );
-
- GetOptions(
- 'alternates=s' => \$self->{qw{ alternates }},
- 'branch' => \$self->{qw{ branch }},
- 'codereview-username=s' => \$self->{qw{ codereview-username }},
- 'copy-objects' => \$self->{qw{ detach-alternates }},
- 'force|f' => \$self->{qw{ force }},
- 'force-hooks' => \$self->{qw{ force-hooks }},
- 'ignore-submodules' => \$self->{qw{ ignore-submodules }},
- 'mirror=s' => \$self->{qw{ mirror-url }},
- 'quiet' => \$self->{qw{ quiet }},
- 'update!' => \$self->{qw{ update }},
- 'fetch!' => \$self->{qw{ fetch }},
- 'module-subset=s' => \$self->{qw{ module-subset }},
-
- 'help|?' => sub { printUsage(1); },
-
- 'berlin' => sub {
- $self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
- },
- 'oslo' => sub {
- $self->{'mirror-url'} = $OSLO_MIRROR_URL_BASE;
- },
- ) || printUsage(2);
- @ARGV && printUsage(2);
-
- # Replace any double trailing slashes from end of mirror
- $self->{'mirror-url'} =~ s{//+$}{/};
-
- $self->{'module-subset'} =~ s/\bdefault\b/preview,essential,addon,deprecated/;
- $self->{'module-subset'} = [ split(/,/, $self->{'module-subset'}) ];
-
- $self->{'fetch'} = 0 if (!$self->{'update'});
-
- return;
-}
-
-sub check_if_already_initialized
-{
- my ($self) = @_;
-
- # We consider the repo as `initialized' if submodule.qtbase.url is set
- if (qx(git config --get submodule.qtbase.url)) {
- if (!$self->{force}) {
- exit 0 if ($self->{quiet});
- print "Will not reinitialize already initialized repository (use -f to force)!\n";
- exit 1;
- }
- }
-
- return;
-}
-
-sub git_submodule_init
-{
- my ($self, @init_args) = @_;
-
- if ($self->{quiet}) {
- unshift @init_args, '--quiet';
- }
- $self->exe('git', 'submodule', 'init', @init_args);
-
- my $template = getcwd()."/.commit-template";
- if (-e $template) {
- $self->exe('git', 'config', 'commit.template', $template);
- }
-
- return;
-}
-
-use constant {
- STS_PREVIEW => 1,
- STS_ESSENTIAL => 2,
- STS_ADDON => 3,
- STS_DEPRECATED => 4,
- STS_OBSOLETE => 5,
- STS_ADDITIONAL => 6
-};
-
-sub has_url_scheme
-{
- my ($url) = @_;
- return $url =~ "^[a-z][a-z0-9+\-.]*://";
-}
-
-sub git_clone_all_submodules
-{
- my ($self, $my_repo_base, $co_branch, $alternates, @subset) = @_;
-
- my %subdirs = ();
- my %subbranches = ();
- my %subbases = ();
- my %subinits = ();
- my @submodconfig = qx(git config -l -f .gitmodules);
- foreach my $line (@submodconfig) {
- # Example line: submodule.qtqa.url=../qtqa.git
- next if ($line !~ /^submodule\.([^.=]+)\.([^.=]+)=(.*)$/);
- if ($2 eq "path") {
- $subdirs{$1} = $3;
- } elsif ($2 eq "branch") {
- $subbranches{$1} = $3;
- } elsif ($2 eq "url") {
- my ($mod, $base) = ($1, $3);
- if (!has_url_scheme($base)) {
- $base = $my_repo_base.'/'.$base;
- }
- while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
- $subbases{$mod} = $base;
- } elsif ($2 eq "update") {
- push @subset, '-'.$1 if ($3 eq 'none');
- } elsif ($2 eq "status") {
- if ($3 eq "preview") {
- $subinits{$1} = STS_PREVIEW;
- } elsif ($3 eq "essential") {
- $subinits{$1} = STS_ESSENTIAL;
- } elsif ($3 eq "addon") {
- $subinits{$1} = STS_ADDON;
- } elsif ($3 eq "deprecated") {
- $subinits{$1} = STS_DEPRECATED;
- } elsif ($3 eq "obsolete") {
- $subinits{$1} = STS_OBSOLETE;
- } elsif ($3 eq "additionalLibrary") {
- $subinits{$1} = STS_ADDITIONAL;
- } elsif ($3 eq "ignore") {
- delete $subinits{$1};
- } else {
- die("Invalid subrepo status '$3' for '$1'.\n");
- }
- }
- }
-
- my %include = ();
- foreach my $mod (@subset) {
- my $del = ($mod =~ s/^-//);
- my $fail = 0;
- my @what;
- if ($mod eq "all") {
- @what = keys %subbases;
- } elsif ($mod eq "essential") {
- @what = grep { ($subinits{$_} || 0) eq STS_ESSENTIAL } keys %subbases;
- } elsif ($mod eq "addon") {
- @what = grep { ($subinits{$_} || 0) eq STS_ADDON } keys %subbases;
- } elsif ($mod eq "additionalLibrary") {
- @what = grep { ($subinits{$_} || 0) eq STS_ADDITIONAL } keys %subbases;
- } elsif ($mod eq "preview") {
- @what = grep { ($subinits{$_} || 0) eq STS_PREVIEW } keys %subbases;
- } elsif ($mod eq "deprecated") {
- @what = grep { ($subinits{$_} || 0) eq STS_DEPRECATED } keys %subbases;
- } elsif ($mod eq "obsolete") {
- @what = grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases;
- } elsif ($mod eq "ignore") {
- @what = grep { ($subinits{$_} || 0) eq 0 } keys %subbases;
- } elsif (defined($subdirs{$mod})) {
- push @what, $mod;
- } else {
- $fail = 1;
- }
- if ($del) {
- print "Warning: excluding non-existent module '$mod'.\n"
- if ($fail);
- map { delete $include{$_} } @what;
- } else {
- die("Error: module subset names non-existent '$mod'.\n")
- if ($fail);
- map { $include{$_} = 1; } @what;
- }
- }
-
- my @modules = sort keys %include;
-
- $self->git_submodule_init(map { $subdirs{$_} } @modules);
-
- # manually clone each repo here, so we can easily use reference repos, mirrors etc
- my @configresult = qx(git config -l);
- foreach my $line (@configresult) {
- # Example line: submodule.qtqa.url=git://code.qt.io/qt/qtqa.git
- next if ($line !~ /submodule\.([^.=]+)\.url=/);
- my $module = $1;
-
- if (!defined($include{$module})) {
- $self->exe('git', 'config', '--remove-section', "submodule.$module");
- next;
- }
-
- if ($self->{'ignore-submodules'}) {
- $self->exe('git', 'config', "submodule.$module.ignore", 'all');
- }
- }
-
- my $any_bad = 0;
- foreach my $module (@modules) {
- $any_bad = 1
- if ($self->git_stat_one_submodule($subdirs{$module}));
- }
- die("Dirty submodule(s) present; cannot proceed.\n")
- if ($any_bad);
-
- foreach my $module (@modules) {
- $self->git_clone_one_submodule($subdirs{$module}, $subbases{$module},
- $co_branch && $subbranches{$module}, $alternates);
- }
-
- if ($co_branch) {
- foreach my $module (@modules) {
- my $branch = $subbranches{$module};
- die("No branch defined for submodule $module.\n") if (!defined($branch));
- my $orig_cwd = getcwd();
- my $module_dir = $subdirs{$module};
- chdir($module_dir) or confess "chdir $module_dir: $OS_ERROR";
- my $br = qx(git rev-parse -q --verify $branch);
- if (!$br) {
- $self->exe('git', 'checkout', '-b', $branch, "origin/$branch");
- } else {
- $self->exe('git', 'checkout', $branch);
- }
- chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
- }
- }
- if ($self->{update}) {
- my @cmd = ('git', 'submodule', 'update', '--force', '--no-fetch');
- push @cmd, '--remote', '--rebase' if ($co_branch);
- $self->exe(@cmd);
-
- foreach my $module (@modules) {
- if (-f $module.'/.gitmodules') {
- my $orig_cwd = getcwd();
- chdir($module) or confess "chdir $module: $OS_ERROR";
- $self->git_clone_all_submodules($subbases{$module}, 0, "$alternates/$module", "all");
- chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
- }
- }
- }
-
- return;
-}
-
-sub git_add_remotes
-{
- my ($self, $gerrit_repo_basename) = @_;
-
- my $gerrit_repo_url = $GERRIT_SSH_BASE;
- # If given a username, make a "verbose" remote.
- # Otherwise, rely on proper SSH configuration.
- if ($self->{'codereview-username'}) {
- $gerrit_repo_url =~ s,\@USER\@,$self->{'codereview-username'}\@,;
- $gerrit_repo_url =~ s,\@PORT\@,:29418,;
- } else {
- $gerrit_repo_url =~ s,\@[^\@]+\@,,g;
- }
-
- $gerrit_repo_url .= $gerrit_repo_basename;
- $self->exe('git', 'config', 'remote.gerrit.url', $gerrit_repo_url);
- $self->exe('git', 'config', 'remote.gerrit.fetch', '+refs/heads/*:refs/remotes/gerrit/*', '/heads/');
-}
-
-sub git_stat_one_submodule
-{
- my ($self, $submodule) = @_;
-
- return 0 if (! -e "$submodule/.git");
-
- my $orig_cwd = getcwd();
- chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
-
- my @sts = qx(git status --porcelain --untracked=no --ignore-submodules=all);
-
- # After a git clone --no-checkout, git status reports all files as
- # staged for deletion, but we still want to update the submodule.
- # It's unlikely that a genuinely dirty index would have _only_ this
- # type of modifications, and it doesn't seem like a horribly big deal
- # to lose them anyway, so ignore them.
- @sts = grep(!/^D /, @sts);
-
- chdir($orig_cwd) or confess "cd $orig_cwd: $OS_ERROR";
-
- return 0 if (!@sts);
-
- print STDERR "$submodule is dirty.\n";
-
- return -1;
-}
-
-sub git_clone_one_submodule
-{
- my ($self, $submodule, $repo_basename, $branch, $alternates) = @_;
-
- my $mirror_url = $self->{ 'mirror-url' };
- my $protocol = $self->{ 'protocol' };
-
- # `--reference FOO' args for the clone, if any.
- my @reference_args;
-
- if ($alternates) {
- # alternates is a qt5 repo, so the submodule will be under that.
- if (-e "$alternates/$submodule/.git") {
- @reference_args = ('--reference', "$alternates/$submodule");
- }
- else {
- print " *** $alternates/$submodule not found, ignoring alternate for this submodule\n";
- }
- }
-
- my $do_clone = (! -e "$submodule/.git");
-
- my $url = $repo_basename;
- if (!has_url_scheme($url)) {
- $url = $self->{'base-url'}.$url;
- }
-
- my $mirror;
- if (!has_url_scheme($repo_basename) && $mirror_url && ($do_clone || $self->{fetch})) {
- $mirror = $mirror_url.$repo_basename;
- }
-
- if ($mirror) {
- # Only use the mirror if it can be reached.
- eval { $self->exe('git', 'ls-remote', $mirror, 'test/if/mirror/exists') };
- if ($@) {
- warn "mirror [$mirror] is not accessible; $url will be used\n";
- undef $mirror;
- }
- }
-
- if ($do_clone) {
- if ($branch) {
- push @reference_args, '--branch', $branch;
- } else {
- push @reference_args, '--no-checkout';
- }
- $self->exe('git', 'clone', @reference_args,
- ($mirror ? $mirror : $url), $submodule);
- }
-
- my $orig_cwd = getcwd();
- chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
-
- if ($mirror) {
- # This is only for the user's convenience - we make no use of it.
- $self->exe('git', 'config', 'remote.mirror.url', $mirror);
- $self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
- }
-
- if (!$do_clone && $self->{fetch}) {
- # If we didn't clone, fetch from the right location. We always update
- # the origin remote, so that submodule update --remote works.
- $self->exe('git', 'config', 'remote.origin.url', ($mirror ? $mirror : $url));
- $self->exe('git', 'fetch', 'origin');
- }
-
- if (!($do_clone || $self->{fetch}) || $mirror) {
- # Leave the origin configured to the canonical URL. It's already correct
- # if we cloned/fetched without a mirror; otherwise it may be anything.
- $self->exe('git', 'config', 'remote.origin.url', $url);
- }
-
- my $template = $orig_cwd."/.commit-template";
- if (-e $template) {
- $self->exe('git', 'config', 'commit.template', $template);
- }
-
- if (!has_url_scheme($repo_basename)) {
- $self->git_add_remotes($repo_basename);
- }
-
- if ($self->{'detach-alternates'}) {
- $self->exe('git', 'repack', '-a');
-
- my $alternates_path = '.git/objects/info/alternates';
- if (-e $alternates_path) {
- unlink($alternates_path) || confess "unlink $alternates_path: $OS_ERROR";
- }
- }
-
- chdir($orig_cwd) or confess "cd $orig_cwd: $OS_ERROR";
-
- return;
-}
-
-sub ensure_link
-{
- my ($self, $src, $tgt) = @_;
- return if (!$self->{'force-hooks'} and -f $tgt);
- unlink($tgt); # In case we have a dead symlink or pre-existing hook
- print "Aliasing $src\n as $tgt ...\n" if (!$self->{quiet});
- if ($^O ne "msys" && $^O ne "MSWin32") {
- return if eval { symlink($src, $tgt) };
- }
- # Windows doesn't do (proper) symlinks. As the post_commit script needs
- # them to locate itself, we write a forwarding script instead.
- open SCRIPT, ">".$tgt or die "Cannot create forwarding script $tgt: $!\n";
- # Make the path palatable for MSYS.
- $src =~ s,\\,/,g;
- $src =~ s,^(.):/,/$1/,g;
- print SCRIPT "#!/bin/sh\nexec $src \"\$\@\"\n";
- close SCRIPT;
-}
-
-sub git_install_hooks
-{
- my ($self) = @_;
-
- my $hooks = $script_path.'/qtrepotools/git-hooks';
- if (!-d $hooks) {
- print "Warning: cannot find Git hooks, qtrepotools module might be absent\n";
- return;
- };
-
- my @configresult = qx(git config --list --local);
- foreach my $line (@configresult) {
- next if ($line !~ /submodule\.([^.=]+)\.url=/);
- my $module = $1;
- my $module_gitdir = $module.'/.git';
- if (!-d $module_gitdir) {
- open GITD, $module_gitdir or die "Cannot open $module: $!\n";
- my $gd = <GITD>;
- close GITD;
- chomp($gd);
- $gd =~ s/^gitdir: // or die "Malformed .git file $module_gitdir\n";
- $module_gitdir = rel2abs($gd, $module);
- if (open COMD, $module_gitdir.'/commondir') {
- my $cd = <COMD>;
- chomp($cd);
- $module_gitdir .= '/'.$cd;
- $module_gitdir = abs_path($module_gitdir);
- close COMD;
- }
- }
- $self->ensure_link($hooks.'/gerrit_commit_msg_hook', $module_gitdir.'/hooks/commit-msg');
- $self->ensure_link($hooks.'/git_post_commit_hook', $module_gitdir.'/hooks/post-commit');
- $self->ensure_link($hooks.'/clang-format-pre-commit', $module_gitdir.'/hooks/pre-commit');
- }
-}
-
-sub run
-{
- my ($self) = @_;
-
- $self->check_if_already_initialized;
-
- chomp(my $url = `git config remote.origin.url`);
- die("Have no origin remote.\n") if (!$url);
- $url =~ s,\.git$,,;
- $url =~ s/((?:tqtc-)?qt5)$//;
- my $qtrepo = $1 || 'qt5';
- $self->{'base-url'} = $url;
-
- $self->git_clone_all_submodules($qtrepo, $self->{branch}, $self->{alternates}, @{$self->{'module-subset'}});
-
- $self->git_add_remotes($qtrepo);
-
- $self->git_install_hooks;
-
- return;
-}
-
-#==============================================================================
-
-Qt::InitRepository->new()->run if (!caller);
-1;
+cmake_script_path="$script_dir_path/cmake/QtIRScript.cmake"
+exec cmake -DOPTFILE="${optfile}" -P "$cmake_script_path"
diff --git a/init-repository.bat b/init-repository.bat
new file mode 100644
index 00000000..b9daca2a
--- /dev/null
+++ b/init-repository.bat
@@ -0,0 +1,23 @@
+:: Copyright (C) 2024 The Qt Company Ltd.
+:: SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+@echo off
+setlocal ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
+set script_dir_path=%~dp0
+set script_dir_path=%script_dir_path:~0,-1%
+
+set cmake_scripts_dir=%script_dir_path%\cmake
+:: The '.' in 'echo.%*' ensures we don't print "echo is off" when no arguments are passed
+:: https://devblogs.microsoft.com/oldnewthing/20170802-00/?p=96735
+:: The space before the '>' makes sure that when we have a digit at the end of the args, we
+:: don't accidentally concatenate it with the '>' resulting in '0>' or '2>' which redirects into the
+:: file from a stream different than stdout, leading to broken or empty content.
+echo.%* >init-repository.opt.in
+
+call cmake -DIN_FILE=init-repository.opt.in -DOUT_FILE=init-repository.opt ^
+ -P "%cmake_scripts_dir%\QtWriteArgsFile.cmake"
+call cmake -DOPTFILE=init-repository.opt ^
+ -P "%cmake_scripts_dir%\QtIRScript.cmake"
+
+del init-repository.opt.in
+del init-repository.opt
diff --git a/init-repository.pl b/init-repository.pl
new file mode 100755
index 00000000..3a5f26f6
--- /dev/null
+++ b/init-repository.pl
@@ -0,0 +1,653 @@
+#!/usr/bin/env perl
+# Copyright (C) 2015 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+use v5.8;
+use strict;
+use warnings;
+
+package Qt::InitRepository;
+
+
+sub printUsage($)
+{
+ my ($ex) = @_;
+
+ print <<EOF ;
+Usage:
+ ./init-repository [options]
+
+ This script may be run after an initial `git clone' of Qt5 in order to
+ check out all submodules. It fetches them from canonical URLs inferred
+ from the clone's origin.
+
+Options:
+ Global options:
+
+ --force, -f
+ Force initialization (even if the submodules are already checked
+ out).
+
+ --force-hooks
+ Force initialization of hooks (even if there are already hooks in
+ checked out submodules).
+
+ --quiet, -q
+ Be quiet. Will exit cleanly if the repository is already
+ initialized.
+
+ Module options:
+
+ --module-subset=<module1>,<module2>...
+ Only initialize the specified subset of modules given as the
+ argument. Specified modules must already exist in .gitmodules. The
+ string "all" results in cloning all known modules. The strings
+ "essential", "addon", "preview", "deprecated", "obsolete",
+ "additionalLibrary", and "ignore" refer to classes of modules
+ identified by "status=" lines in the .gitmodules file.
+ You can use "default" in the subset as a short-hand for
+ "essential,addon,preview,deprecated", which corresponds to the set of
+ maintained modules included in standard Qt releases; this is also the
+ default module subset when this option is not given. Entries
+ may be prefixed with a dash to exclude them from a bigger
+ set, e.g. "all,-ignore".
+
+ --no-update
+ Skip the `git submodule update' command.
+
+ --no-fetch
+ Skip the `git fetch' commands. Implied by --no-update.
+
+ --branch
+ Instead of checking out specific SHA1s, check out the submodule
+ branches that correspond with the current supermodule commit. By
+ default, this option will cause local commits in the submodules to
+ be rebased. With --no-update, the branches will be checked out, but
+ their heads will not move.
+
+ --ignore-submodules
+ Set git config to ignore submodules by default when doing operations
+ on the qt5 repo, such as `pull', `fetch', `diff' etc.
+
+ After using this option, pass `--ignore-submodules=none' to git to
+ override it as needed.
+
+ Repository options:
+
+ --berlin
+ Switch to internal URLs and make use of the Berlin git mirrors.
+ (Implies `--mirror').
+
+ --oslo
+ Switch to internal URLs and make use of the Oslo git mirrors.
+ (Implies `--mirror').
+
+ --codereview-username <Gerrit/JIRA username>
+ Specify the user name for the (potentially) writable `gerrit' remote
+ for each module, for use with the Gerrit code review tool.
+
+ If this option is omitted, the gerrit remote is created without a
+ username and port number, and thus relies on a correct SSH
+ configuration.
+
+ --alternates <path to other Qt5 repo>
+ Adds alternates for each submodule to another full qt5 checkout.
+ This makes this qt5 checkout very small, as it will use the object
+ store of the alternates before unique objects are stored in its own
+ object store.
+
+ This option has no effect when using `--no-update'.
+
+ NOTE: This will make this repo dependent on the alternate, which is
+ potentially dangerous! The dependency can be broken by also using
+ the `--copy-objects' option, or by running "git repack -a" in each
+ submodule, where required. Please read the note about the `--shared'
+ option in the documentation of `git clone' for more information.
+
+ --copy-objects
+ When `--alternates' is used, automatically do a "git repack -a" in
+ each submodule after cloning, to ensure that the repositories are
+ independent from the source used as a reference for cloning.
+
+ Note that this negates the disk usage benefits gained from the use
+ of `--alternates'.
+
+ --mirror <url-base>
+ Uses <url-base> as the base URL for submodule git mirrors.
+
+ For example:
+
+ --mirror user\@machine:/foo/bar/qt/
+
+ ...will use the following as a mirror for qtbase:
+
+ user\@machine:/foo/bar/qt/qtbase.git
+
+ The mirror is permitted to contain a subset of the submodules; any
+ missing modules will fall back to the canonical URLs.
+
+EOF
+ exit($ex);
+}
+
+use Carp qw( confess );
+use Cwd qw( getcwd abs_path );
+use English qw( -no_match_vars );
+use File::Spec::Functions qw ( rel2abs );
+use Getopt::Long qw( GetOptions );
+
+my $script_path = abs_path($0);
+$script_path =~ s,[/\\][^/\\]+$,,;
+
+my $GERRIT_SSH_BASE
+ = 'ssh://@USER@codereview.qt-project.org@PORT@/qt/';
+
+my $BER_MIRROR_URL_BASE
+ = 'git://hegel/qt/';
+
+my $OSLO_MIRROR_URL_BASE
+ = 'git://qilin/qt/';
+
+sub new
+{
+ my ($class, @arguments) = @_;
+
+ my $self = {};
+ bless $self, $class;
+ $self->parse_arguments(@arguments);
+
+ return $self;
+}
+
+# Like `system', but possibly log the command, and die on non-zero exit code
+sub exe
+{
+ my ($self, @cmd) = @_;
+
+ if (!$self->{quiet}) {
+ print "+ @cmd\n";
+ }
+
+ if (system(@cmd) != 0) {
+ confess "@cmd exited with status $CHILD_ERROR";
+ }
+
+ return;
+}
+
+sub parse_arguments
+{
+ my ($self) = @_;
+
+ %{$self} = (%{$self},
+ 'alternates' => "",
+ 'branch' => 0,
+ 'codereview-username' => "",
+ 'detach-alternates' => 0 ,
+ 'force' => 0 ,
+ 'force-hooks' => 0 ,
+ 'ignore-submodules' => 0 ,
+ 'mirror-url' => "",
+ 'update' => 1 ,
+ 'fetch' => 1 ,
+ 'module-subset' => "default",
+ );
+
+ GetOptions(
+ 'alternates=s' => \$self->{qw{ alternates }},
+ 'branch' => \$self->{qw{ branch }},
+ 'codereview-username=s' => \$self->{qw{ codereview-username }},
+ 'copy-objects' => \$self->{qw{ detach-alternates }},
+ 'force|f' => \$self->{qw{ force }},
+ 'force-hooks' => \$self->{qw{ force-hooks }},
+ 'ignore-submodules' => \$self->{qw{ ignore-submodules }},
+ 'mirror=s' => \$self->{qw{ mirror-url }},
+ 'quiet' => \$self->{qw{ quiet }},
+ 'update!' => \$self->{qw{ update }},
+ 'fetch!' => \$self->{qw{ fetch }},
+ 'module-subset=s' => \$self->{qw{ module-subset }},
+
+ 'help|?' => sub { printUsage(1); },
+
+ 'berlin' => sub {
+ $self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
+ },
+ 'oslo' => sub {
+ $self->{'mirror-url'} = $OSLO_MIRROR_URL_BASE;
+ },
+ ) || printUsage(2);
+ @ARGV && printUsage(2);
+
+ # Replace any double trailing slashes from end of mirror
+ $self->{'mirror-url'} =~ s{//+$}{/};
+
+ $self->{'module-subset'} =~ s/\bdefault\b/preview,essential,addon,deprecated/;
+ $self->{'module-subset'} = [ split(/,/, $self->{'module-subset'}) ];
+
+ $self->{'fetch'} = 0 if (!$self->{'update'});
+
+ return;
+}
+
+sub check_if_already_initialized
+{
+ my ($self) = @_;
+
+ # We consider the repo as `initialized' if submodule.qtbase.url is set
+ if (qx(git config --get submodule.qtbase.url)) {
+ if (!$self->{force}) {
+ exit 0 if ($self->{quiet});
+ print "Will not reinitialize already initialized repository (use -f to force)!\n";
+ exit 1;
+ }
+ }
+
+ return;
+}
+
+sub git_submodule_init
+{
+ my ($self, @init_args) = @_;
+
+ if ($self->{quiet}) {
+ unshift @init_args, '--quiet';
+ }
+ $self->exe('git', 'submodule', 'init', @init_args);
+
+ my $template = getcwd()."/.commit-template";
+ if (-e $template) {
+ $self->exe('git', 'config', 'commit.template', $template);
+ }
+
+ return;
+}
+
+use constant {
+ STS_PREVIEW => 1,
+ STS_ESSENTIAL => 2,
+ STS_ADDON => 3,
+ STS_DEPRECATED => 4,
+ STS_OBSOLETE => 5,
+ STS_ADDITIONAL => 6
+};
+
+sub has_url_scheme
+{
+ my ($url) = @_;
+ return $url =~ "^[a-z][a-z0-9+\-.]*://";
+}
+
+sub git_clone_all_submodules
+{
+ my ($self, $my_repo_base, $co_branch, $alternates, @subset) = @_;
+
+ my %subdirs = ();
+ my %subbranches = ();
+ my %subbases = ();
+ my %subinits = ();
+ my @submodconfig = qx(git config -l -f .gitmodules);
+ foreach my $line (@submodconfig) {
+ # Example line: submodule.qtqa.url=../qtqa.git
+ next if ($line !~ /^submodule\.([^.=]+)\.([^.=]+)=(.*)$/);
+ if ($2 eq "path") {
+ $subdirs{$1} = $3;
+ } elsif ($2 eq "branch") {
+ $subbranches{$1} = $3;
+ } elsif ($2 eq "url") {
+ my ($mod, $base) = ($1, $3);
+ if (!has_url_scheme($base)) {
+ $base = $my_repo_base.'/'.$base;
+ }
+ while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
+ $subbases{$mod} = $base;
+ } elsif ($2 eq "update") {
+ push @subset, '-'.$1 if ($3 eq 'none');
+ } elsif ($2 eq "status") {
+ if ($3 eq "preview") {
+ $subinits{$1} = STS_PREVIEW;
+ } elsif ($3 eq "essential") {
+ $subinits{$1} = STS_ESSENTIAL;
+ } elsif ($3 eq "addon") {
+ $subinits{$1} = STS_ADDON;
+ } elsif ($3 eq "deprecated") {
+ $subinits{$1} = STS_DEPRECATED;
+ } elsif ($3 eq "obsolete") {
+ $subinits{$1} = STS_OBSOLETE;
+ } elsif ($3 eq "additionalLibrary") {
+ $subinits{$1} = STS_ADDITIONAL;
+ } elsif ($3 eq "ignore") {
+ delete $subinits{$1};
+ } else {
+ die("Invalid subrepo status '$3' for '$1'.\n");
+ }
+ }
+ }
+
+ my %include = ();
+ foreach my $mod (@subset) {
+ my $del = ($mod =~ s/^-//);
+ my $fail = 0;
+ my @what;
+ if ($mod eq "all") {
+ @what = keys %subbases;
+ } elsif ($mod eq "essential") {
+ @what = grep { ($subinits{$_} || 0) eq STS_ESSENTIAL } keys %subbases;
+ } elsif ($mod eq "addon") {
+ @what = grep { ($subinits{$_} || 0) eq STS_ADDON } keys %subbases;
+ } elsif ($mod eq "additionalLibrary") {
+ @what = grep { ($subinits{$_} || 0) eq STS_ADDITIONAL } keys %subbases;
+ } elsif ($mod eq "preview") {
+ @what = grep { ($subinits{$_} || 0) eq STS_PREVIEW } keys %subbases;
+ } elsif ($mod eq "deprecated") {
+ @what = grep { ($subinits{$_} || 0) eq STS_DEPRECATED } keys %subbases;
+ } elsif ($mod eq "obsolete") {
+ @what = grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases;
+ } elsif ($mod eq "ignore") {
+ @what = grep { ($subinits{$_} || 0) eq 0 } keys %subbases;
+ } elsif (defined($subdirs{$mod})) {
+ push @what, $mod;
+ } else {
+ $fail = 1;
+ }
+ if ($del) {
+ print "Warning: excluding non-existent module '$mod'.\n"
+ if ($fail);
+ map { delete $include{$_} } @what;
+ } else {
+ die("Error: module subset names non-existent '$mod'.\n")
+ if ($fail);
+ map { $include{$_} = 1; } @what;
+ }
+ }
+
+ my @modules = sort keys %include;
+
+ $self->git_submodule_init(map { $subdirs{$_} } @modules);
+
+ # manually clone each repo here, so we can easily use reference repos, mirrors etc
+ my @configresult = qx(git config -l);
+ foreach my $line (@configresult) {
+ # Example line: submodule.qtqa.url=git://code.qt.io/qt/qtqa.git
+ next if ($line !~ /submodule\.([^.=]+)\.url=/);
+ my $module = $1;
+
+ if (!defined($include{$module})) {
+ $self->exe('git', 'config', '--remove-section', "submodule.$module");
+ next;
+ }
+
+ if ($self->{'ignore-submodules'}) {
+ $self->exe('git', 'config', "submodule.$module.ignore", 'all');
+ }
+ }
+
+ my $any_bad = 0;
+ foreach my $module (@modules) {
+ $any_bad = 1
+ if ($self->git_stat_one_submodule($subdirs{$module}));
+ }
+ die("Dirty submodule(s) present; cannot proceed.\n")
+ if ($any_bad);
+
+ foreach my $module (@modules) {
+ $self->git_clone_one_submodule($subdirs{$module}, $subbases{$module},
+ $co_branch && $subbranches{$module}, $alternates);
+ }
+
+ if ($co_branch) {
+ foreach my $module (@modules) {
+ my $branch = $subbranches{$module};
+ die("No branch defined for submodule $module.\n") if (!defined($branch));
+ my $orig_cwd = getcwd();
+ my $module_dir = $subdirs{$module};
+ chdir($module_dir) or confess "chdir $module_dir: $OS_ERROR";
+ my $br = qx(git rev-parse -q --verify $branch);
+ if (!$br) {
+ $self->exe('git', 'checkout', '-b', $branch, "origin/$branch");
+ } else {
+ $self->exe('git', 'checkout', $branch);
+ }
+ chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
+ }
+ }
+ if ($self->{update}) {
+ my @cmd = ('git', 'submodule', 'update', '--force', '--no-fetch');
+ push @cmd, '--remote', '--rebase' if ($co_branch);
+ $self->exe(@cmd);
+
+ foreach my $module (@modules) {
+ if (-f $module.'/.gitmodules') {
+ my $orig_cwd = getcwd();
+ chdir($module) or confess "chdir $module: $OS_ERROR";
+ $self->git_clone_all_submodules($subbases{$module}, 0, "$alternates/$module", "all");
+ chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
+ }
+ }
+ }
+
+ return;
+}
+
+sub git_add_remotes
+{
+ my ($self, $gerrit_repo_basename) = @_;
+
+ my $gerrit_repo_url = $GERRIT_SSH_BASE;
+ # If given a username, make a "verbose" remote.
+ # Otherwise, rely on proper SSH configuration.
+ if ($self->{'codereview-username'}) {
+ $gerrit_repo_url =~ s,\@USER\@,$self->{'codereview-username'}\@,;
+ $gerrit_repo_url =~ s,\@PORT\@,:29418,;
+ } else {
+ $gerrit_repo_url =~ s,\@[^\@]+\@,,g;
+ }
+
+ $gerrit_repo_url .= $gerrit_repo_basename;
+ $self->exe('git', 'config', 'remote.gerrit.url', $gerrit_repo_url);
+ $self->exe('git', 'config', 'remote.gerrit.fetch', '+refs/heads/*:refs/remotes/gerrit/*', '/heads/');
+}
+
+sub git_stat_one_submodule
+{
+ my ($self, $submodule) = @_;
+
+ return 0 if (! -e "$submodule/.git");
+
+ my $orig_cwd = getcwd();
+ chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
+
+ my @sts = qx(git status --porcelain --untracked=no --ignore-submodules=all);
+
+ # After a git clone --no-checkout, git status reports all files as
+ # staged for deletion, but we still want to update the submodule.
+ # It's unlikely that a genuinely dirty index would have _only_ this
+ # type of modifications, and it doesn't seem like a horribly big deal
+ # to lose them anyway, so ignore them.
+ @sts = grep(!/^D /, @sts);
+
+ chdir($orig_cwd) or confess "cd $orig_cwd: $OS_ERROR";
+
+ return 0 if (!@sts);
+
+ print STDERR "$submodule is dirty.\n";
+
+ return -1;
+}
+
+sub git_clone_one_submodule
+{
+ my ($self, $submodule, $repo_basename, $branch, $alternates) = @_;
+
+ my $mirror_url = $self->{ 'mirror-url' };
+ my $protocol = $self->{ 'protocol' };
+
+ # `--reference FOO' args for the clone, if any.
+ my @reference_args;
+
+ if ($alternates) {
+ # alternates is a qt5 repo, so the submodule will be under that.
+ if (-e "$alternates/$submodule/.git") {
+ @reference_args = ('--reference', "$alternates/$submodule");
+ }
+ else {
+ print " *** $alternates/$submodule not found, ignoring alternate for this submodule\n";
+ }
+ }
+
+ my $do_clone = (! -e "$submodule/.git");
+
+ my $url = $repo_basename;
+ if (!has_url_scheme($url)) {
+ $url = $self->{'base-url'}.$url;
+ }
+
+ my $mirror;
+ if (!has_url_scheme($repo_basename) && $mirror_url && ($do_clone || $self->{fetch})) {
+ $mirror = $mirror_url.$repo_basename;
+ }
+
+ if ($mirror) {
+ # Only use the mirror if it can be reached.
+ eval { $self->exe('git', 'ls-remote', $mirror, 'test/if/mirror/exists') };
+ if ($@) {
+ warn "mirror [$mirror] is not accessible; $url will be used\n";
+ undef $mirror;
+ }
+ }
+
+ if ($do_clone) {
+ if ($branch) {
+ push @reference_args, '--branch', $branch;
+ } else {
+ push @reference_args, '--no-checkout';
+ }
+ $self->exe('git', 'clone', @reference_args,
+ ($mirror ? $mirror : $url), $submodule);
+ }
+
+ my $orig_cwd = getcwd();
+ chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
+
+ if ($mirror) {
+ # This is only for the user's convenience - we make no use of it.
+ $self->exe('git', 'config', 'remote.mirror.url', $mirror);
+ $self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
+ }
+
+ if (!$do_clone && $self->{fetch}) {
+ # If we didn't clone, fetch from the right location. We always update
+ # the origin remote, so that submodule update --remote works.
+ $self->exe('git', 'config', 'remote.origin.url', ($mirror ? $mirror : $url));
+ $self->exe('git', 'fetch', 'origin');
+ }
+
+ if (!($do_clone || $self->{fetch}) || $mirror) {
+ # Leave the origin configured to the canonical URL. It's already correct
+ # if we cloned/fetched without a mirror; otherwise it may be anything.
+ $self->exe('git', 'config', 'remote.origin.url', $url);
+ }
+
+ my $template = $orig_cwd."/.commit-template";
+ if (-e $template) {
+ $self->exe('git', 'config', 'commit.template', $template);
+ }
+
+ if (!has_url_scheme($repo_basename)) {
+ $self->git_add_remotes($repo_basename);
+ }
+
+ if ($self->{'detach-alternates'}) {
+ $self->exe('git', 'repack', '-a');
+
+ my $alternates_path = '.git/objects/info/alternates';
+ if (-e $alternates_path) {
+ unlink($alternates_path) || confess "unlink $alternates_path: $OS_ERROR";
+ }
+ }
+
+ chdir($orig_cwd) or confess "cd $orig_cwd: $OS_ERROR";
+
+ return;
+}
+
+sub ensure_link
+{
+ my ($self, $src, $tgt) = @_;
+ return if (!$self->{'force-hooks'} and -f $tgt);
+ unlink($tgt); # In case we have a dead symlink or pre-existing hook
+ print "Aliasing $src\n as $tgt ...\n" if (!$self->{quiet});
+ if ($^O ne "msys" && $^O ne "MSWin32") {
+ return if eval { symlink($src, $tgt) };
+ }
+ # Windows doesn't do (proper) symlinks. As the post_commit script needs
+ # them to locate itself, we write a forwarding script instead.
+ open SCRIPT, ">".$tgt or die "Cannot create forwarding script $tgt: $!\n";
+ # Make the path palatable for MSYS.
+ $src =~ s,\\,/,g;
+ $src =~ s,^(.):/,/$1/,g;
+ print SCRIPT "#!/bin/sh\nexec $src \"\$\@\"\n";
+ close SCRIPT;
+}
+
+sub git_install_hooks
+{
+ my ($self) = @_;
+
+ my $hooks = $script_path.'/qtrepotools/git-hooks';
+ if (!-d $hooks) {
+ print "Warning: cannot find Git hooks, qtrepotools module might be absent\n";
+ return;
+ };
+
+ my @configresult = qx(git config --list --local);
+ foreach my $line (@configresult) {
+ next if ($line !~ /submodule\.([^.=]+)\.url=/);
+ my $module = $1;
+ my $module_gitdir = $module.'/.git';
+ if (!-d $module_gitdir) {
+ open GITD, $module_gitdir or die "Cannot open $module: $!\n";
+ my $gd = <GITD>;
+ close GITD;
+ chomp($gd);
+ $gd =~ s/^gitdir: // or die "Malformed .git file $module_gitdir\n";
+ $module_gitdir = rel2abs($gd, $module);
+ if (open COMD, $module_gitdir.'/commondir') {
+ my $cd = <COMD>;
+ chomp($cd);
+ $module_gitdir .= '/'.$cd;
+ $module_gitdir = abs_path($module_gitdir);
+ close COMD;
+ }
+ }
+ $self->ensure_link($hooks.'/gerrit_commit_msg_hook', $module_gitdir.'/hooks/commit-msg');
+ $self->ensure_link($hooks.'/git_post_commit_hook', $module_gitdir.'/hooks/post-commit');
+ $self->ensure_link($hooks.'/clang-format-pre-commit', $module_gitdir.'/hooks/pre-commit');
+ }
+}
+
+sub run
+{
+ my ($self) = @_;
+
+ $self->check_if_already_initialized;
+
+ chomp(my $url = `git config remote.origin.url`);
+ die("Have no origin remote.\n") if (!$url);
+ $url =~ s,\.git/?$,,;
+ $url =~ s/((?:tqtc-)?qt5)$//;
+ my $qtrepo = $1 || 'qt5';
+ $self->{'base-url'} = $url;
+
+ $self->git_clone_all_submodules($qtrepo, $self->{branch}, $self->{alternates}, @{$self->{'module-subset'}});
+
+ $self->git_add_remotes($qtrepo);
+
+ $self->git_install_hooks;
+
+ return;
+}
+
+#==============================================================================
+
+Qt::InitRepository->new()->run if (!caller);
+1;
diff --git a/qt3d b/qt3d
-Subproject 920382c85c7933d0ca8f1cffb81aaaa17af2560
+Subproject a11869764c28de24052f3511ec8c4ecc0f38175
diff --git a/qt5compat b/qt5compat
-Subproject b53f53763d0aee4ed453a5b427ae24e7dda6308
+Subproject 64112c38677d90b9dfc93806f66d8dfa92e2e2b
diff --git a/qtactiveqt b/qtactiveqt
-Subproject 7b60de6efd365becb71da6639d771859965b38c
+Subproject 02bf4fd26bc68207ef33eeb0db049aae6f4c174
diff --git a/qtbase b/qtbase
-Subproject 44cfdfa7c07a4f1aa1e5b6a384418556e6b3028
+Subproject 7c128f8866ff174f7fe8ff59399f37330995a97
diff --git a/qtcharts b/qtcharts
-Subproject ce064aa8a6d5333de09f13a4ddf55132aaa9255
+Subproject c44c385c5101257d710d4fabaf7e918f8dbd85a
diff --git a/qtcoap b/qtcoap
-Subproject a55bff01011325251ff455024b2684de5346494
+Subproject 775819519ce8392dab5926cca4ecb743da9e6f6
diff --git a/qtconnectivity b/qtconnectivity
-Subproject f92df5f13df75da35f537ba8920f3069de4b72a
+Subproject 4f23284110ed3bca8f95b4ada70606dc28cd91f
diff --git a/qtdatavis3d b/qtdatavis3d
-Subproject 09b0b45ab88733365fa30c16288d7faffcc4d35
+Subproject 4898a9ea1430b55593c965843d5e487128f4a74
diff --git a/qtdeclarative b/qtdeclarative
-Subproject b982c2146cd729e8dbfc41c33b3022b6ef702e9
+Subproject 8bd1fd8c891319dc715ee93a9d7575654130c0f
diff --git a/qtdoc b/qtdoc
-Subproject 12256ef6ccdcfa5a030c37cb5b0cfab1e4e934a
+Subproject 515b2708d7ec45ce6648ed33719a00e20e436e9
diff --git a/qtgraphs b/qtgraphs
-Subproject ef3dcf12853f838ccea3834f6f4ea0d56bf1f1a
+Subproject c9bb08c0eb97fcb6ca1900bf9efe98527721355
diff --git a/qtgrpc b/qtgrpc
-Subproject 8c1a9a50190b3845da1c444535817123b24dd3c
+Subproject d397a3a47baf408af390bfae9eff6d0412264d6
diff --git a/qthttpserver b/qthttpserver
-Subproject eb71e1bc7bdf874e3349d73cfba32fdda6c6d94
+Subproject eff52b094934dd4c9c5a502e19d7fff861a1396
diff --git a/qtimageformats b/qtimageformats
-Subproject 29a949b133e98ed9f58511164149403edccce7c
+Subproject 56b46249609c306bc69567409df58d3e5a861f2
diff --git a/qtlanguageserver b/qtlanguageserver
-Subproject 756d85baaab4f8a33a81913a4e971fae235dcdf
+Subproject cae8369fa2f3af22afb200971f14772d5af2a4f
diff --git a/qtlocation b/qtlocation
-Subproject 181834612d7fad00b1de1b2b6d505a435b271e2
+Subproject 4cd3e324306cea6a3cefe24d0dfbe427a03b3bd
diff --git a/qtlottie b/qtlottie
-Subproject ce4f32538f24772b718f2b334769250aa24c8e5
+Subproject c7249e19089a924a38494c78f1d5ec61def0c74
diff --git a/qtmqtt b/qtmqtt
-Subproject e2f58cee5c316d92d2b3b824867af8a7c1094b7
+Subproject 513d1df905bfd2b2e9448d0631a37190f1042ab
diff --git a/qtmultimedia b/qtmultimedia
-Subproject ec1747b0d18718649b1d6fd8581b55d5012a9c8
+Subproject 75d764f1313c2be69303f5a66300ae38bd2d7d5
diff --git a/qtnetworkauth b/qtnetworkauth
-Subproject 75a8a8eb81865cceea52121744d5cb150dedf82
+Subproject ebe318e21e450465549fa5cc5157406ebe29972
diff --git a/qtopcua b/qtopcua
-Subproject 97864141a3871b9649ac0b670337dcc0c5867cd
+Subproject a2cf037dbddb15fae3d43646bed9fb5ac6b2007
diff --git a/qtpositioning b/qtpositioning
-Subproject fec9b22d86981008c7217bd14ef1241b9983c67
+Subproject 504f3663f91d456fb5d9dc1f33f5d10186e9966
diff --git a/qtqa b/qtqa
-Subproject 57689bfc28bd036d1caec765b29b8a0834c9830
+Subproject f75cbfc7e2a74442a9ce2d44fe24533dc88ae91
diff --git a/qtquick3d b/qtquick3d
-Subproject 8f92f961b705a6e457c12cd158693818bb05213
+Subproject c08a576b453f1edba012e14fdd534732c164b40
diff --git a/qtquick3dphysics b/qtquick3dphysics
-Subproject d689345cabe9205daff6ff1405d10fc4ef523c9
+Subproject 62069d24efc4557edba38c1fbd1469ee45476e3
diff --git a/qtquickeffectmaker b/qtquickeffectmaker
-Subproject 63af8b85d3ac4051397f9286b33e746f4416723
+Subproject 4f4c69f8261a8c6daa7a24a239a7bc2ccbd4085
diff --git a/qtquicktimeline b/qtquicktimeline
-Subproject f88a21433614fc12c881d963aec664bcfdf5f8c
+Subproject d42c3d7c7db4e05ef403ec5be88ccd8075f2b0a
diff --git a/qtremoteobjects b/qtremoteobjects
-Subproject 1d1d9925a76beb3b86b0de2386635c8b77a45bc
+Subproject 27e1aa57ad4d16747f19d439c67489461514900
diff --git a/qtrepotools b/qtrepotools
-Subproject 9d46982641e0584c61a9b3ccc5f0ae43fe0b68c
+Subproject 141876182b9431a7f847f877188bd5e1c0407de
diff --git a/qtscxml b/qtscxml
-Subproject 7f4d742224d69edb823a2cf69fe0a67aec7361f
+Subproject 6a6bbebd66ba95be6949bb54b7ae8ca431d66e1
diff --git a/qtsensors b/qtsensors
-Subproject 97a36e0ca9cf0305220ce5b47d8d2340ace05cc
+Subproject d9763eba5c7451c290a3a0b843d73b20e470448
diff --git a/qtserialbus b/qtserialbus
-Subproject 93c3e33897293bf64d145c5d8ab16e20df21209
+Subproject 855b06eca5bd5da83cc0a6fabffdfd57e69cc9e
diff --git a/qtserialport b/qtserialport
-Subproject 3b407d359d46c6510e07d568b4c227155c5cf2b
+Subproject 65f83bb82831b9334a7681b2e0f5e53ce4f0287
diff --git a/qtshadertools b/qtshadertools
-Subproject d6f53b3da241a9bdccb8ea07160c760ca4a2fa8
+Subproject bcc9bb31dde0e6e5e23367ce4f1e393261494a0
diff --git a/qtspeech b/qtspeech
-Subproject 747d2cc1a15ffcbb3743b77f8f9ba71d1feceb9
+Subproject 64f7e69d752e1cfb5ba24439bc7508f5e476f6a
diff --git a/qtsvg b/qtsvg
-Subproject e35ae8ce98053079331902e648e6ade1efff6e0
+Subproject ccb00b0ca4e6e9345ad8b585aa3b3fd0e1f3172
diff --git a/qttools b/qttools
-Subproject 3182e4ac04fc1e55a0ee5bf767863e4df95a1dc
+Subproject d544624a5968d8561e092590657c72002650de7
diff --git a/qttranslations b/qttranslations
-Subproject 9e3669e3370b2efd088aa7d771721557f3e69aa
+Subproject 7a228858ecaf37fef5bc1d5e7e398a729eca0e4
diff --git a/qtvirtualkeyboard b/qtvirtualkeyboard
-Subproject ac0936917b88e10c9c6d2a26e2ed1f3e0b874a5
+Subproject c452cd42278089acab3cc1a9475216571176689
diff --git a/qtwayland b/qtwayland
-Subproject e1c1e58baf3ac4e866c90eab9963b6efc397fe6
+Subproject 2af3227e771fec9d7b8e78ea73bd497309dd027
diff --git a/qtwebchannel b/qtwebchannel
-Subproject c3188853c8ee5253619b0615f74952349180381
+Subproject 9880dcc0a200809b724850cdadb0e401b7cdfcc
diff --git a/qtwebengine b/qtwebengine
-Subproject c4bc5914c27d7097bef44f4e987b2c5e4e03cd1
+Subproject 0e2d491b388a0651c54d2505e57fd61e7d6454d
diff --git a/qtwebsockets b/qtwebsockets
-Subproject f9e3cb1e44ab4dc8a8d4cc751cb3604ee033931
+Subproject 75535c4221061fd1e38f15d80a38226765cb62a
diff --git a/qtwebview b/qtwebview
-Subproject aa3788b056c0ec16e93a135ed3d446ff95bab6c
+Subproject d1dc8c3a42724f342013e0e038fe3d5af5cc467
diff --git a/tests/manual/RunCMake/CMakeLists.txt b/tests/manual/RunCMake/CMakeLists.txt
new file mode 100644
index 00000000..f3ade5f8
--- /dev/null
+++ b/tests/manual/RunCMake/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+cmake_minimum_required(VERSION 3.16)
+project(tst_run_cmake_tests)
+enable_testing()
+
+include("${CMAKE_CURRENT_SOURCE_DIR}/Common.cmake")
+
+add_RunCMake_test(InitRepository
+ -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}
+)
diff --git a/tests/manual/RunCMake/Common.cmake b/tests/manual/RunCMake/Common.cmake
new file mode 100644
index 00000000..c4e782d7
--- /dev/null
+++ b/tests/manual/RunCMake/Common.cmake
@@ -0,0 +1,20 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+set(top_repo_dir_path "${CMAKE_CURRENT_LIST_DIR}/../../..")
+get_filename_component(top_repo_dir_path "${top_repo_dir_path}" ABSOLUTE)
+
+macro(qt_ir_setup_test_include_paths)
+ set(ir_script_path "${top_repo_dir_path}/cmake")
+ list(APPEND CMAKE_MODULE_PATH
+ "${ir_script_path}"
+ "${ir_script_path}/3rdparty/cmake"
+ )
+ include(QtIRHelpers)
+ qt_ir_include_all_helpers()
+endmacro()
+qt_ir_setup_test_include_paths()
+
+# Used by add_RunCMake_test
+set(CMAKE_CMAKE_COMMAND "${CMAKE_COMMAND}")
+set(_isMultiConfig FALSE)
diff --git a/tests/manual/RunCMake/InitRepository/0030_ir_qtsvg-stdout.txt b/tests/manual/RunCMake/InitRepository/0030_ir_qtsvg-stdout.txt
new file mode 100644
index 00000000..7e765d78
--- /dev/null
+++ b/tests/manual/RunCMake/InitRepository/0030_ir_qtsvg-stdout.txt
@@ -0,0 +1,13 @@
+\+ git submodule init qtsvg
+Submodule 'qtsvg' \(https://code.qt.io/qt/qtsvg.git\) registered for path 'qtsvg'
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git clone --no-checkout https://code.qt.io/qt/qtsvg.git qtsvg
+Cloning into 'qtsvg'...
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtsvg.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git submodule update --force --no-fetch
+Submodule path 'qtsvg': checked out '[0-9a-zA-Z]+'
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qt5
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+Warning: cannot find Git hooks, qtrepotools module might be absent
diff --git a/tests/manual/RunCMake/InitRepository/0040_ir_qtsvg_again-stdout.txt b/tests/manual/RunCMake/InitRepository/0040_ir_qtsvg_again-stdout.txt
new file mode 100644
index 00000000..f71f37ec
--- /dev/null
+++ b/tests/manual/RunCMake/InitRepository/0040_ir_qtsvg_again-stdout.txt
@@ -0,0 +1 @@
+Will not reinitialize already initialized repository \(use -f to force\)!
diff --git a/tests/manual/RunCMake/InitRepository/0050_ir_existing-stdout.txt b/tests/manual/RunCMake/InitRepository/0050_ir_existing-stdout.txt
new file mode 100644
index 00000000..ef0476a9
--- /dev/null
+++ b/tests/manual/RunCMake/InitRepository/0050_ir_existing-stdout.txt
@@ -0,0 +1,12 @@
+\+ git submodule init qtsvg
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.origin.url https://code.qt.io/qt/qtsvg.git
+\+ git fetch origin
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtsvg.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git submodule update --force --no-fetch
+Submodule path 'qtsvg': checked out '[0-9a-zA-Z]+'
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qt5
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+Warning: cannot find Git hooks, qtrepotools module might be absent
diff --git a/tests/manual/RunCMake/InitRepository/0060_ir_shadertools_and_svg-stdout.txt b/tests/manual/RunCMake/InitRepository/0060_ir_shadertools_and_svg-stdout.txt
new file mode 100644
index 00000000..8922dcdd
--- /dev/null
+++ b/tests/manual/RunCMake/InitRepository/0060_ir_shadertools_and_svg-stdout.txt
@@ -0,0 +1,19 @@
+\+ git submodule init qtshadertools qtsvg
+Submodule 'qtshadertools' \(https://code.qt.io/qt/qtshadertools.git\) registered for path 'qtshadertools'
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git clone --no-checkout https://code.qt.io/qt/qtshadertools.git qtshadertools
+Cloning into 'qtshadertools'...
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtshadertools.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git config remote.origin.url https://code.qt.io/qt/qtsvg.git
+\+ git fetch origin
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtsvg.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git submodule update --force --no-fetch
+Submodule path 'qtshadertools': checked out '[0-9a-zA-Z]+'
+Submodule path 'qtsvg': checked out '[0-9a-zA-Z]+'
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qt5
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+Warning: cannot find Git hooks, qtrepotools module might be absent
diff --git a/tests/manual/RunCMake/InitRepository/0070_ir_qttools_with_deps-stdout.txt b/tests/manual/RunCMake/InitRepository/0070_ir_qttools_with_deps-stdout.txt
new file mode 100644
index 00000000..2db90337
--- /dev/null
+++ b/tests/manual/RunCMake/InitRepository/0070_ir_qttools_with_deps-stdout.txt
@@ -0,0 +1,44 @@
+\+ git submodule init qtshadertools qtsvg qtactiveqt qttools
+Submodule 'qtactiveqt' \(https://code.qt.io/qt/qtactiveqt.git\) registered for path 'qtactiveqt'
+Submodule 'qttools' \(https://code.qt.io/qt/qttools.git\) registered for path 'qttools'
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.origin.url https://code.qt.io/qt/qtshadertools.git
+\+ git fetch origin
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtshadertools.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git config remote.origin.url https://code.qt.io/qt/qtsvg.git
+\+ git fetch origin
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtsvg.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git clone --no-checkout https://code.qt.io/qt/qtactiveqt.git qtactiveqt
+Cloning into 'qtactiveqt'...
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qtactiveqt.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git clone --no-checkout https://code.qt.io/qt/qttools.git qttools
+Cloning into 'qttools'...
+\+ git config commit.template .+/tests/manual/RunCMake/build/tmp.+/qt6/.commit-template
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qttools.git
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+\+ git submodule update --force --no-fetch
+Submodule path 'qtactiveqt': checked out '[0-9a-zA-Z]+'
+Submodule path 'qtshadertools': checked out '[0-9a-zA-Z]+'
+Submodule path 'qtsvg': checked out '[0-9a-zA-Z]+'
+Submodule path 'qttools': checked out '[0-9a-zA-Z]+'
+\+ git submodule init src/assistant/qlitehtml
+Submodule 'src/assistant/qlitehtml' \(https://code.qt.io/playground/qlitehtml.git\) registered for path 'src/assistant/qlitehtml'
+\+ git clone --no-checkout https://code.qt.io/playground/qlitehtml.git src/assistant/qlitehtml
+Cloning into 'src/assistant/qlitehtml'...
+\+ git submodule update --force --no-fetch
+Submodule path 'src/assistant/qlitehtml': checked out '[0-9a-zA-Z]+'
+\+ git submodule init src/3rdparty/litehtml
+Submodule 'src/3rdparty/litehtml' \(https://github.com/litehtml/litehtml.git\) registered for path 'src/3rdparty/litehtml'
+\+ git clone --no-checkout https://github.com/litehtml/litehtml.git src/3rdparty/litehtml
+Cloning into 'src/3rdparty/litehtml'...
+\+ git submodule update --force --no-fetch
+Submodule path 'src/3rdparty/litehtml': checked out '[0-9a-zA-Z]+'
+\+ git config remote.gerrit.url ssh://codereview.qt-project.org/qt/qt5
+\+ git config remote.gerrit.fetch \+refs/heads/\*:refs/remotes/gerrit/\* /heads/
+Warning: cannot find Git hooks, qtrepotools module might be absent
diff --git a/tests/manual/RunCMake/InitRepository/RunCMakeTest.cmake b/tests/manual/RunCMake/InitRepository/RunCMakeTest.cmake
new file mode 100644
index 00000000..a83b192e
--- /dev/null
+++ b/tests/manual/RunCMake/InitRepository/RunCMakeTest.cmake
@@ -0,0 +1,153 @@
+# Copyright (C) 2024 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+cmake_minimum_required(VERSION 3.16)
+include("${CMAKE_CURRENT_SOURCE_DIR}/../Common.cmake")
+
+# The file is included separately from Common.cmake because it has side-effects
+# that we want to apply only in the RunCMake part of the test.
+include(QtIRRunCMake)
+
+# Uses prefix set from outside scope.
+function(run_suite_command name)
+ run_cmake_command(${prefix}_${name} ${ARGN})
+endfunction()
+
+macro(read_expected_output test file_name)
+ set(expect "")
+ set(expect_path "${RunCMake_SOURCE_DIR}/${file_name}-stdout.txt")
+ if(EXISTS "${expect_path}")
+ file(READ "${expect_path}" expect)
+ endif()
+
+ if(NOT expect)
+ message(FATAL_ERROR "No expected output for test ${file_name}. "
+ "Make sure to add a ${file_name}-stdout.txt file.")
+ endif()
+
+ set(RunCMake_TEST_EXPECT_stdout "${expect}")
+endmacro()
+
+function(run_suite_test test_name)
+ set(options "ONLY_CMAKE")
+ set(oneValueArgs "EXPECT_NAME")
+ set(multiValueArgs "COMMAND_ARGS")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ if(prefix STREQUAL "perl" AND arg_ONLY_CMAKE)
+ return()
+ endif()
+
+ if(arg_EXPECT_NAME)
+ set(expect_name "${arg_EXPECT_NAME}")
+ else()
+ set(expect_name "${test_name}")
+ endif()
+
+ read_expected_output(${test_name} ${expect_name})
+ run_suite_command(${test_name} ${arg_COMMAND_ARGS})
+endfunction()
+
+function(run_suite)
+ set(options
+ USE_PERL_SCRIPT
+ )
+ set(oneValueArgs "")
+ set(multiValueArgs "")
+ cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+
+ if(arg_USE_PERL_SCRIPT)
+ set(use_perl_script TRUE)
+ set(prefix "perl")
+ set(extra_ir_args "")
+ else()
+ set(use_perl_script FALSE)
+ set(prefix "cmake")
+ # When testing the cmake script, we don't want to resolve deps by default and
+ # we want output to be the same as the one shown by the perl script.
+ set(extra_ir_args "--no-resolve-deps" "--perl-identical-output")
+ endif()
+
+ # Set in Common.cmake
+ set(local_clone_url "${top_repo_dir_path}")
+
+ # Path to temp qt6 dir based on script used.
+ set(tmp_path "${CMAKE_CURRENT_SOURCE_DIR}/tmp_${prefix}")
+ set(qt6_repo_dir "${tmp_path}/qt6")
+
+ # Path to init-repository script
+ set(init_repository_script_path "${qt6_repo_dir}/init-repository")
+ if(use_perl_script)
+ string(APPEND init_repository_script_path ".pl")
+
+ # Need to call perl explicitly, especially on Windows
+ list(PREPEND init_repository_script_path perl)
+ elseif(CMAKE_HOST_WIN32)
+ string(APPEND init_repository_script_path ".bat")
+ endif()
+
+ # Clean up the temp qt6 repo dir.
+ file(REMOVE_RECURSE "${qt6_repo_dir}")
+ file(REMOVE_RECURSE "${tmp_path}")
+ file(MAKE_DIRECTORY "${tmp_path}")
+ set(RunCMake_TEST_COMMAND_WORKING_DIRECTORY "${tmp_path}")
+
+ # Make a copy of the qt6 repo
+ run_suite_command(0010_prepare_qt6_clone git clone "${local_clone_url}" qt6 --quiet)
+ set(RunCMake_TEST_COMMAND_WORKING_DIRECTORY "${qt6_repo_dir}")
+
+ # Adjust its remote url to be the official mirror rather the local url.
+ set(remote_clone_url "https://code.qt.io/qt/qt5.git")
+ run_suite_command(0020_set_qt6_remote_url git remote set-url origin "${remote_clone_url}")
+
+ # Ignore certain lines
+ set(RunCMake_TEST_EXTRA_IGNORE_LINE_REGEX
+ "|Trace will be written to"
+ "|Put cmake in trace mode, but with variables expanded"
+ "|Put cmake in trace mode and redirect trace output"
+ )
+
+ # Merge stdout with stderr, otherwise we can't test for the same output across script
+ # implementations, because CMake has no easy way to control with output stream
+ # should be used.
+ set(RunCMake_TEST_OUTPUT_MERGE TRUE)
+
+ # Initialize just qtsvg
+ run_suite_test(0030_ir_qtsvg
+ COMMAND_ARGS ${init_repository_script_path} --module-subset=qtsvg ${extra_ir_args})
+
+ # Asking to do it again will refuse to do it, unless forced, because the repo has already been
+ # initialized. Only do this check for cmake, because the perl script checks for initialization
+ # if qtbase is initialized, and we don't want to test that because cloning qtbase just for the
+ # test is too slow.
+ run_suite_test(0040_ir_qtsvg_again
+ ONLY_CMAKE
+ COMMAND_ARGS ${init_repository_script_path} --module-subset=qtsvg ${extra_ir_args})
+
+ # Configuring without a module-subset will initialize qtsvg again, because the new behavior
+ # of the cmake script is to initialize previously existing submodules, rather than all of them.
+ run_suite_test(0050_ir_existing
+ ONLY_CMAKE
+ COMMAND_ARGS ${init_repository_script_path} -f ${extra_ir_args})
+
+ # Initialize more than one submodule, choosing the smaller ones, for faster cloning.
+ run_suite_test(0060_ir_shadertools_and_svg
+ COMMAND_ARGS ${init_repository_script_path}
+ --module-subset=qtshadertools,qtsvg -f
+ ${extra_ir_args})
+
+ # Initialize qttools with dependencies, but without qtbase and qtdeclarative.
+ # This should also clone qtactiveqt.
+ list(REMOVE_ITEM extra_ir_args "--no-resolve-deps")
+ run_suite_test(0070_ir_qttools_with_deps
+ ONLY_CMAKE
+ COMMAND_ARGS ${init_repository_script_path}
+ --module-subset=qttools,-qtbase,-qtdeclarative,-qtimageformats,-qtlanguageserver -f
+ ${extra_ir_args})
+
+ # Unset the working dir for further tests.
+ unset(RunCMake_TEST_COMMAND_WORKING_DIRECTORY)
+endfunction()
+
+run_suite()
+run_suite(USE_PERL_SCRIPT)