Skip to content

Updates for Qt5#50

Closed
zquestz wants to merge 3 commits into
tjohnman:qt4from
zquestz:qt5
Closed

Updates for Qt5#50
zquestz wants to merge 3 commits into
tjohnman:qt4from
zquestz:qt5

Conversation

@zquestz

@zquestz zquestz commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

This PR fixes all essential deprecation warnings and a bunch of small warning nits.

Code compiles and works well using Qt5.

The only unresolved warnings are unused variables and params. I can live with those.

Comment thread src/ctransaction.cpp
Comment thread src/main.cpp
Comment thread Obsession.pro
Comment thread src/cdownload.cpp
Comment thread src/cdownload.cpp
Comment thread src/ctransaction.cpp
@tjohnman

tjohnman commented Oct 8, 2024

Copy link
Copy Markdown
Owner

Thank you for the PR. But this would break Qt 4 compatibility, which we specifically use to maintain builds for older macs. QStandardPaths for example did not exist until Qt 5.

@zquestz

zquestz commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

Did you want to maintain a Qt5 branch?

@zquestz

zquestz commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

Also, can you look at the last two comments, want to make sure those are right. =)

@tjohnman

tjohnman commented Oct 8, 2024

Copy link
Copy Markdown
Owner

Did you want to maintain a Qt5 branch?

We actually downgraded from Qt 5 to 4 to make it compatible on older machines. As long as Qt 4 works on modern ones I see no point really.

@zquestz

zquestz commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

Gotcha, then I will just maintain my patch for the AUR!

@tjohnman

tjohnman commented Oct 9, 2024

Copy link
Copy Markdown
Owner

Thank you. I will implement some of the tweaks and fixes you did. Closing this now.

@tjohnman tjohnman closed this Oct 9, 2024
tjohnman added a commit that referenced this pull request Oct 9, 2024
As implemented by @zquestz in #50
@tjohnman tjohnman mentioned this pull request Oct 9, 2024
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.

2 participants