-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrated to qt6 #429
Draft
wolfseifert
wants to merge
80
commits into
Murmele:master
Choose a base branch
from
wolfseifert:patch-gittyup-qt6
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+307
−273
Draft
migrated to qt6 #429
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
2b558bd
Reason:
wolfseifert feadf99
format
Murmele ad2a208
fix
Murmele 7e2fec7
update openssl version to 3.0
Murmele 2b2f5cd
fix compilation
Murmele ca253a8
fix compilation
Murmele c8df519
update github build file to support Qt6
Murmele 3986e2a
Reason:
Murmele 7bf3f9a
update action
Murmele 318760f
try to remove xcbqpa
Murmele 39e0348
use temporarly different branch from flathub with Qt6 upgrade
Murmele 93e49b3
Wrong weekday in unittests
Murmele e468b2b
remove Win32 support because Qt6 does not support it anymore
Murmele f9ea366
add includes
Murmele 7afb87c
try to fix compilation error on windows
Murmele b08b683
try to fix compilation on mac
Murmele 706f288
fix compilation on win
Murmele e99a59f
fix ninja check for windows
Murmele 57cf7c9
use always windows
Murmele dfb45a6
revert
Murmele 8e467ce
revert
Murmele 35680a2
revert and format
Murmele 75a6d21
Merge branch 'master' into patch-gittyup-qt6
Murmele 48a8bda
Merge remote-tracking branch 'refs/remotes/origin/master'
Murmele fe3f6e4
fix compilation
Murmele 6cdd2c7
dirty fix for macos
Murmele f1e54d8
dirty fix for macos
0verEngineer 936125d
Rebase to upstream master
0verEngineer 3a38653
format
Murmele b8f9644
fix
Murmele 1373928
update openssl version to 3.0
Murmele f99eb4a
fix compilation
Murmele a7bb1de
fix compilation
Murmele 5ba277e
rebase
Murmele 4c33bcd
Reason:
Murmele feac7e6
try to remove xcbqpa
Murmele 6a77845
use temporarly different branch from flathub with Qt6 upgrade
Murmele 00ccbc3
Wrong weekday in unittests
Murmele 73fb281
remove Win32 support because Qt6 does not support it anymore
Murmele f216d4d
add includes
Murmele 2df645b
try to fix compilation error on windows
Murmele 9660d98
try to fix compilation on mac
Murmele cec89ce
fix compilation on win
Murmele 82f09b9
fix ninja check for windows
Murmele c9f0db6
use always windows
Murmele 2c93534
revert
Murmele 16503ac
revert
Murmele 2bb70a2
revert and format
Murmele dac85de
fix compilation
Murmele d05094b
dirty fix for macos
Murmele 0552f31
dirty fix for macos
0verEngineer 3e72c9e
Merge branch 'patch-gittyup-qt6' of [email protected]:wolfseifert/Gittyu…
0verEngineer 271c7a5
Appimage build fix
0verEngineer 2fe4f03
Potential Appimage fix
0verEngineer bf8fb25
Adds listing of plugins dir in appimage build step for debugging
0verEngineer 27698df
Potential appimage build fix
0verEngineer 29e1925
potential appimage build fix
0verEngineer 0898973
try lowercase
Murmele c6cbc83
forgotten at another place as well
Murmele e516467
Revert "try lowercase"
Murmele a697e06
Revert "forgotten at another place as well"
Murmele b624c25
update license date
Murmele 6281b1f
list folders
Murmele 8b0ec9c
Reason:
Murmele 9c349e5
format
Murmele a4efa04
WIP
Murmele 6a04614
Must be so.6
Murmele 7b12168
Disable using qt_import_plugins for UNIX again
Murmele 00675a7
Try to change qt version without wildcard
Murmele 37cf410
- Use qt 6.7.1 to build the project
0verEngineer 79592fa
Merge branch 'master' into patch-gittyup-qt6
Murmele c63b67d
Fix formatting
0verEngineer 57c84d7
Update insall-qt-action for the github workflows
0verEngineer 51e22ce
Downgrade qt again because aqt-install is broken with qt 6.7.x
0verEngineer fb83908
Downgrade install-qt-action to match qt version
0verEngineer 5fb5d66
qt downgrade
0verEngineer 3803be2
fix flatpak manifest qt version
Murmele 6bbcfdd
add missing Q_OBJECT
Murmele 918df65
Add missing Q_OBJECT
Murmele c33a6c2
Revert "Add missing Q_OBJECT"
Murmele File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -65,6 +65,18 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Clone flatpak manifest from Flathub | ||
uses: GuillaumeFalourd/clone-github-repo-action@v2 | ||
with: | ||
owner: 'flathub' | ||
repository: 'com.github.Murmele.Gittyup' | ||
|
||
# just until the new release is out | ||
- name: Checkout restructureCMake | ||
run: | | ||
cd com.github.Murmele.Gittyup | ||
git checkout Qt6 | ||
|
||
- name: Replace git tag by the commit id on which it runs | ||
if: github.ref_type != 'tag' | ||
run: > | ||
|
@@ -120,11 +132,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
qt: | ||
- version: 5.15.2 | ||
check_only: false | ||
|
||
- version: 5.12.0 | ||
check_only: true | ||
- version: 6.5.3 | ||
|
||
env: | ||
- name: linux | ||
|
@@ -161,23 +169,6 @@ jobs: | |
CXX: clang++ | ||
pack: 1 | ||
|
||
- name: win32 | ||
os: windows-latest | ||
ninja_platform: win | ||
qt_platform: windows | ||
qt_arch: win32_msvc2019 | ||
qt_arch_check_only: win32_msvc2017 | ||
openssl_arch: VC-WIN32 | ||
msvc_arch: x86 | ||
cmake_flags: "-DUSE_BUNDLED_ZLIB=1" | ||
cmake_env: | ||
CMAKE_RC_FLAGS: "/C 1252" | ||
CC: clang | ||
CXX: clang++ | ||
CMAKE_C_FLAGS: -m32 | ||
CMAKE_CXX_FLAGS: -m32 | ||
pack: 1 | ||
|
||
steps: | ||
# otherwise the testcases will fail, because signature is invalid | ||
- name: Set git name and email | ||
|
@@ -206,7 +197,6 @@ jobs: | |
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
timeout-minutes: 10 | ||
if: "!matrix.qt.check_only" | ||
with: | ||
version: ${{ matrix.qt.version }} | ||
target: desktop | ||
|
@@ -215,18 +205,6 @@ jobs: | |
install-deps: true | ||
modules: qtwebengine | ||
|
||
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
timeout-minutes: 10 | ||
if: matrix.qt.check_only | ||
with: | ||
version: ${{ matrix.qt.version }} | ||
target: desktop | ||
host: ${{ matrix.env.qt_platform }} | ||
arch: ${{ matrix.env.qt_arch_check_only }} | ||
install-deps: true | ||
modules: qtwebengine | ||
|
||
- name: Install Ninja | ||
uses: seanmiddleditch/gha-setup-ninja@v4 | ||
with: | ||
|
@@ -256,10 +234,6 @@ jobs: | |
run: | | ||
cd dep/openssl/openssl | ||
|
||
# this is necessary until https://github.com/openssl/openssl/issues/18720 | ||
# is fixed in OpenSSL 1.1.1r | ||
export CFLAGS=-Wno-error=implicit-function-declaration | ||
|
||
./Configure ${{ matrix.env.openssl_arch }} no-shared | ||
make | ||
|
||
|
@@ -291,7 +265,7 @@ jobs: | |
|
||
# Command copied from flathub build process | ||
- name: Validate appdata file | ||
if: matrix.env.ninja_platform == 'linux' && !matrix.qt.check_only | ||
if: matrix.env.ninja_platform == 'linux' | ||
run: | | ||
echo "Show generated appdata file" | ||
cat ./build/release/rsrc/linux/com.github.Murmele.Gittyup.appdata.xml | ||
|
@@ -302,14 +276,14 @@ jobs: | |
flatpak run --env=G_DEBUG=fatal-criticals org.freedesktop.appstream-glib validate ./build/release/rsrc/linux/com.github.Murmele.Gittyup.appdata.xml | ||
|
||
- name: Publish build artifacts | ||
if: matrix.env.pack && !matrix.qt.check_only | ||
if: matrix.env.pack | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: build/release/pack/Gittyup-* | ||
name: Gittyup ${{ matrix.env.name }} | ||
|
||
- name: Publish version file | ||
if: matrix.env.pack && !matrix.qt.check_only | ||
if: matrix.env.pack | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: build/release/Version.txt | ||
|
@@ -334,12 +308,12 @@ jobs: | |
ninja check_no_win32_offscreen | ||
|
||
- name: Build Appimage | ||
if: matrix.env.ninja_platform == 'linux' && !matrix.qt.check_only | ||
if: matrix.env.ninja_platform == 'linux' | ||
run: | | ||
cd build/release | ||
sudo apt -y install appstream | ||
sudo apt -y install libfuse2 | ||
sudo apt -y install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 | ||
sudo apt -y install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-cursor0 libxkbcommon0 libx11-xcb1 | ||
sudo apt -y install libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb-xrm0 libxcb-xv0 libxcb-xvmc0 libxcb1 | ||
|
||
mkdir -p AppDir | ||
|
@@ -352,6 +326,12 @@ jobs: | |
|
||
wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2) | ||
chmod +x appimagetool-*.AppImage | ||
echo Show QTDIR | ||
ls $QTDIR | ||
echo Show QTDIR plugins | ||
ls $QTDIR/plugins | ||
echo Show QTDIR plugins platforms | ||
ls $QTDIR/plugins/platforms | ||
QTDIR=$QTDIR ./appimagetool-*.AppImage -s deploy ./AppDir/usr/share/applications/*.desktop --appimage-extract-and-run # Bundle EVERYTHING | ||
|
||
# Modify the AppDir: move ld-linux into the same directory as the payload application | ||
|
@@ -365,7 +345,7 @@ jobs: | |
#ls -lh Gittyup-* | ||
|
||
- name: Publish Appimage | ||
if: matrix.env.ninja_platform == 'linux' && !matrix.qt.check_only | ||
if: matrix.env.ninja_platform == 'linux' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: build/release/*.AppImage | ||
|
@@ -402,7 +382,6 @@ jobs: | |
automatic_release_tag: 'development' | ||
files: | | ||
**/artifacts/Gittyup win64/Gittyup*.exe | ||
**/artifacts/Gittyup win32/Gittyup*.exe | ||
**/artifacts/Gittyup macos/Gittyup*.dmg | ||
**/artifacts/GittyupFlatpak/*.flatpak | ||
**/artifacts/GittyupAppImage/Gittyup*.AppImage | ||
|
@@ -417,7 +396,6 @@ jobs: | |
automatic_release_tag: ${{ github.ref_name }} | ||
files: | | ||
**/artifacts/Gittyup win64/Gittyup*.exe | ||
**/artifacts/Gittyup win32/Gittyup*.exe | ||
**/artifacts/Gittyup macos/Gittyup*.dmg | ||
**/artifacts/GittyupFlatpak/*.flatpak | ||
**/artifacts/GittyupAppImage/Gittyup*.AppImage | ||
|
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
Submodule openssl
updated
9063 files
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updating? Maybe it fixes the theme issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try it when i have some time this or next week, but i don't think it will fix our problems here, it must have something to do with the custom theme Gittyup has because default ways of theming work in every qt6 version i tried.