-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qt6 feature branch - Various fix for all platforms and VFX 2024 CI (E…
…xcept Windows) (#618) ### Qt6 feature branch - Various fix for all platforms and VFX 2024 CI (Except Windows) ### Linked issues #366 ### Summarize your change. Here's are the changes: - Added VFX 2024 CI (except for Windows) without ci-openrv from aswf-docker for now (Linux only, not tested yet) - Code changes to fix issues on Windows - Code changes to fix issues on MacOS - Added OpenSSL 3 for VFX2024 - Added some logic to all `.wrapper` to detect which VFX platform is active (using Python version) and then use the right OpenSSL version. - FIx issue with Python not finding Tkinter on MacOS. The issue was with VFX2024, but the fix make sense for VFX2023 too. **There are a lot of reformatting because of the pre-commit hook. Windows is not included in the VFX 2024 CI because of issues with PySide6 in the CI.** ### Describe what you have tested and on which operating system. - [x] Rocky linux 8/9 - [x] MacOS - [ ] Windows (partial, can compile with my windows, but not in CI because of pyside6 issue) --------- Signed-off-by: Cédrik Fuoco <[email protected]>
- Loading branch information
1 parent
f484962
commit 0cb14d8
Showing
42 changed files
with
1,262 additions
and
483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ inputs: | |
qt-version: | ||
description: 'Qt version to build' | ||
required: true | ||
qt-version-short: | ||
description: 'Qt version to build major.minor' | ||
required: true | ||
python3-version: | ||
description: 'Python 3 version' | ||
required: true | ||
|
@@ -48,7 +51,13 @@ runs: | |
brew install --quiet --formula libiconv libpng libpq libtool libuv libxau libxcb libxdmcp | ||
brew install --quiet --formula autoconf automake cmake pcre2 harfbuzz freetype node@18 nspr nss | ||
brew install --quiet --formula xcb-proto xcb-util xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm | ||
brew install --quiet --formula brotli bzip2 dbus glew icu4c jpeg md4c [email protected] pkg-config sqlite xorgproto zlib zstd | ||
brew install --quiet --formula brotli bzip2 dbus glew icu4c jpeg md4c pkg-config sqlite xorgproto zlib zstd | ||
shell: bash | ||
|
||
- name: Install Homebrew dependencies (OpenSSL 1.1.1) | ||
if: steps.arm64-qt.outputs.cache-hit != 'true' | ||
run: | | ||
brew install --quiet --formula [email protected] | ||
brew list [email protected] | ||
shell: bash | ||
|
||
|
@@ -95,7 +104,7 @@ runs: | |
- name: Download Qt ${{ inputs.qt-version }} source | ||
if: steps.arm64-qt.outputs.cache-hit != 'true' | ||
run: | | ||
curl https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/5.15/${{ inputs.qt-version }}/single/qt-everywhere-opensource-src-${{ inputs.qt-version }}.tar.xz -o qt.tar.xz | ||
curl https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/qt/${{ inputs.qt-version-short }}/${{ inputs.qt-version }}/single/qt-everywhere-opensource-src-${{ inputs.qt-version }}.tar.xz -o qt.tar.xz | ||
tar xf qt.tar.xz | ||
mv qt-everywhere-src-${{ inputs.qt-version }} qt-src | ||
shell: bash | ||
|
@@ -106,7 +115,7 @@ runs: | |
mkdir -p qt-build | ||
shell: bash | ||
|
||
- name: Configure Qt ${{ inputs.qt-version }} | ||
- name: Configure Qt ${{ inputs.qt-version }} for CY2023 | ||
if: steps.arm64-qt.outputs.cache-hit != 'true' | ||
run: | | ||
../qt-src/configure \ | ||
|
@@ -115,7 +124,7 @@ runs: | |
-no-rpath \ | ||
-opensource \ | ||
-plugin-sql-sqlite \ | ||
-openssl \ | ||
-openssl-linked \ | ||
-verbose \ | ||
-opengl desktop \ | ||
-no-warnings-are-errors \ | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.