-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Qt versions in GitHub workflows and project configuration files
Signed-off-by: xiaoming <[email protected]>
- Loading branch information
1 parent
71d745d
commit 4e89ec2
Showing
6 changed files
with
25 additions
and
10 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 |
---|---|---|
|
@@ -31,7 +31,8 @@ jobs: | |
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
with: | ||
version: '6.2.0' | ||
version: '6.5.3' | ||
aqtversion: ==3.1.7 | ||
|
||
- name: Setup OpenCV | ||
uses: Dovyski/[email protected] | ||
|
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 |
---|---|---|
|
@@ -31,7 +31,8 @@ jobs: | |
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
with: | ||
version: '6.2.0' | ||
version: '6.5.3' | ||
aqtversion: ==3.1.7 | ||
|
||
- name: Install prerequisites | ||
shell: bash -l {0} | ||
|
@@ -52,7 +53,7 @@ jobs: | |
run: | | ||
git fetch --tags --force | ||
sed -i'.original' -e 's/--long --dirty/--long/g' ./tools/generate_info.sh | ||
sed -i'.original' -e 's/QT_DIR=\/opt\/Qt6.2.0\/6.2.0\/gcc_64/QT_DIR=$(cd "$(dirname "$0")";pwd)\/..\/Qt\/6.2.0\/macos/g' build_dmg.sh | ||
sed -i'.original' -e 's/QT_DIR=\/opt\/Qt6.2.0\/6.2.0\/gcc_64/QT_DIR=$(cd "$(dirname "$0")";pwd)\/..\/Qt\/6.5.3\/macos/g' build_dmg.sh | ||
sed -i'.original' -e 's/\/home\/xiaoming\/Desktop\/opencv/\/usr\/local/g' build_dmg.sh | ||
sed -i'.original' -e 's/\/home\/xiaoming\/Desktop\/opencv/\/usr\/local/g' partform_unix.pri | ||
./build_dmg.sh | ||
|
@@ -78,7 +79,8 @@ jobs: | |
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
with: | ||
version: '6.2.0' | ||
version: '6.5.3' | ||
aqtversion: ==3.1.7 | ||
|
||
- name: Install prerequisites | ||
shell: bash -l {0} | ||
|
@@ -99,15 +101,15 @@ jobs: | |
run: | | ||
git fetch --tags --force | ||
sed -i'.original' -e 's/--long --dirty/--long/g' ./tools/generate_info.sh | ||
sed -i'.original' -e 's/QT_DIR=\/opt\/Qt6.2.0\/6.2.0\/gcc_64/QT_DIR=$(cd "$(dirname "$0")";pwd)\/..\/Qt\/6.2.0\/macos/g' build_dmg.sh | ||
sed -i'.original' -e 's/QT_DIR=\/opt\/Qt6.2.0\/6.2.0\/gcc_64/QT_DIR=$(cd "$(dirname "$0")";pwd)\/..\/Qt\/6.5.3\/macos/g' build_dmg.sh | ||
sed -i'.original' -e 's/\/home\/xiaoming\/Desktop\/opencv/\/usr\/local/g' build_dmg.sh | ||
sed -i'.original' -e 's/\/home\/xiaoming\/Desktop\/opencv/\/usr\/local/g' partform_unix.pri | ||
./build_dmg.sh | ||
- name: Upload build asserts | ||
uses: actions/[email protected] | ||
with: | ||
name: YUVviewer_macos | ||
name: YUVviewer_macos_arm64 | ||
path: | | ||
./build_release/out/YUVviewer.dmg | ||
|
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 |
---|---|---|
|
@@ -31,8 +31,9 @@ jobs: | |
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
with: | ||
arch: win64_mingw81 | ||
version: '6.2.0' | ||
arch: win64_mingw | ||
version: '6.5.3' | ||
aqtversion: ==3.1.7 | ||
|
||
- name: Cache opencv | ||
uses: actions/cache@v4 | ||
|
@@ -79,6 +80,7 @@ jobs: | |
./tools/sed/sed.exe -i "s/libopencv_imgcodecs420/libopencv_imgcodecs400/g" ./build_setup.bat | ||
./tools/sed/sed.exe -i "s/libopencv_core420/libopencv_core400/g" ./build_setup.bat | ||
./tools/sed/sed.exe -i "s/OPENCV_DIR=D:\\Qt\\opencv4.2.0/OPENCV_DIR=C:\\opencv4.0.0/g" ./partform_win32.pri | ||
c:/Windows/system32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -File "./tools/generate_info.ps1" > ./build_info.inc | ||
./build_setup.bat | ||
- name: Upload build asserts | ||
|
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