keshavbhatt / whatsie

Feature rich WhatsApp Client for Desktop Linux
MIT License
1.98k stars 59 forks source link

Add Qt 6 support #209

Closed Orochimarufan closed 2 weeks ago

Orochimarufan commented 3 weeks ago

Here is a quick attempt to allow building against Qt 6. Qt 5.15 is still supported using conditional compilation. Very light testing was done on 6.8 and 5.15.

This only makes the minimum amount of changes necessary. Renamed classes are #included and aliased to their old name where possible and deprecated things are left alone if they are still included in 6.8 and the replacement was introduced after 5.15.

I've split up the changes into commits by what Qt6 change they address. I can squash them down if wanted.

keshavbhatt commented 2 weeks ago

Hi @Orochimarufan Thanks for this PR.

My plan is to merge this PR in Orochimarufan-qt6 branch. In coming days before we merge these changes to main branch,
my aim is to ensure the following things:

feel free to open any improvement PRs against the qt6 branch in this repo. To avoid conflicts we can track each issue we want to fix by opening github issue on the repo.

Orochimarufan commented 2 weeks ago

Very good. Is there a Flatpak beta branch as well?