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

Possible to restore Qt4 compatibility? #138

Open
barracuda156 opened this issue Aug 18, 2023 · 3 comments
Open

Possible to restore Qt4 compatibility? #138

barracuda156 opened this issue Aug 18, 2023 · 3 comments

Comments

@barracuda156
Copy link

We do not have Qt5+ on PowerPC, unfortunately. However, Qt4 works perfectly.

@tibirna
Copy link
Owner

tibirna commented Aug 29, 2023

Hello. Sorry for the late answer (grave family matters...).

There is a "compile_with_qt4" branch from back in 2014. You can compile that version with Qt4. Of course, you'll miss the few features added afterwards.

Theoretically, all commits added afterwards, which are not explicitly "fixing" compilation with Qt5, could be ported to the Qt4 branch. This is time intensive work, though, and I don't see who will embark into this, given that 99% of computers in the world that use Qt are using Qt5, and many are starting to use Qt6. Last version of Qt4 was published more than 12 years ago. I wonder if it isn't more beneficial to attempt compiling Qt5 on PowerPC (which would enable all the new apps based on this library).

Thanks for your understanding.

@barracuda156
Copy link
Author

@tibirna Thank you for responding! I have actually got 2.7 to build with Qt4, and it builds fine pretty much on every macOS: https://ports.macports.org/port/qgit/details (no build bot for PowerPC, but that I have confirmed locally).
Anything still to borrow from compile_with_qt4 branch, or no point in that?

I did not try fixing later versions, no time so far, but perhaps some later commits could be backported.

@tibirna
Copy link
Owner

tibirna commented Aug 29, 2023

@barracuda156 no point in trying to borrow from compile_with_qt4, it's already completely contained in newer versions.

Thank you very much for the effort in backporting. If you don't mind a bit more work, please consider pushing a branch on top of 2.7 containing your changes that allow compiling with Qt4. Thus, all those interested will benefit from your generous time investment.

Thanks
Cristian

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

No branches or pull requests

2 participants