Skip to content
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

Port to Qt 6 #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

alexispurslane
Copy link

In the interests of future maintainability and compatibility, I ported QTADS to Qt6. Everything should work identically, I just went through and replaced uses of constructs that were removed in Qt6. I also removed the uses of globalStrut entirely because according to the Qt developers it was useless and usually set to zero anyways.

I also add the capacity to accept command line flags and two flags (--help and --embed), because I need the ability to tell qtads to print out its window id for something else I'm working on. I hope you don't mind.

@alexispurslane
Copy link
Author

alexispurslane commented Oct 28, 2023

I'm not familiar at all with this codebase, and not even that experienced with C++, and I'm very foggy today, so please feel free to comment/critique and ill change it to get this PR merged! :D

@a-detiste
Copy link
Contributor

Nice work. I would upload this to debian/experimental as a patch if I'm really bored or anyone ask for ;-)

@fos1
Copy link

fos1 commented Nov 15, 2023 via email

@a-detiste
Copy link
Contributor

it is very well alive, I enabled CI right now.

one can have a look a the build warnings if interrested

https://salsa.debian.org/games-team/qtads/-/commit/a8cf846ac80918031a37c3a33da8981cf506cec7

@realnc
Copy link
Owner

realnc commented Nov 15, 2023

Thank you very much for doing the work! I'll need to find some time go over it and merge it. Right now I'm kind of swamped with other things.

@alexispurslane
Copy link
Author

Thank you very much for doing the work! I'll need to find some time go over it and merge it. Right now I'm kind of swamped with other things.

Thank you! And yeah that's perfectly understandable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants