Skip to content

QT: remove deprecations for QT 5.15#6464

Merged
dyfer merged 21 commits intosupercollider:developfrom
dyfer:topic/qt-remove-deprecations-2
Sep 13, 2024
Merged

QT: remove deprecations for QT 5.15#6464
dyfer merged 21 commits intosupercollider:developfrom
dyfer:topic/qt-remove-deprecations-2

Conversation

@dyfer
Copy link
Member

@dyfer dyfer commented Sep 8, 2024

Purpose and Motivation

This PR provides updates and fixes for the deprecations up to Qt 5.15.
This is an "intermediary" PR, extracted from the Qt6 update branch for easier review. It generally does not include Qt6 code explicitly, even though commits do mention qt6...

Thanks @jrsurge for starting this work back in the day! A number of commits were extracted from @jrsurge's qt6 branch.

This PR also raises the minimum supported QT to 5.15; however I'd wait with updating documentation until the Qt6 updates are finalized.

Please review carefully! I'm not confident in C++ nor in Qt :)

Types of changes

  • Bug fix (?)

To-do list

  • Code is tested
  • All tests are passing
  • n/a Updated documentation
  • This PR is ready for review

@dyfer dyfer added qt5 qt6 issues specific to version 6 of Qt labels Sep 8, 2024
@dyfer
Copy link
Member Author

dyfer commented Sep 13, 2024

Anybody interested in reviewing this? Qt6 is waiting... 😀 @JordanHendersonMusic @capital-G @telephon

@capital-G capital-G added this to the Qt6 milestone Sep 13, 2024
Copy link
Contributor

@JordanHendersonMusic JordanHendersonMusic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a very clear one to one translation.

I did wonder about load and load relaxed, but the docs say load was relaxed.

Bring on qt6!!

@dyfer dyfer merged commit b8d6d1d into supercollider:develop Sep 13, 2024
Copy link
Contributor

@capital-G capital-G left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this step towards Qt6 :)

Comment on lines +35 to +36
#include "../doc_manager.hpp"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just out of curiosity - how do the occasional additional new imports are coming into place here? Are they Qt specific, do they help the compiler/IDE to be more explicit or are these just left-overs from development?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were fixing building errors with Qt6. I guess technically they shouldn't be part of this PR :), but since they still work with Qt 5.15, then I don't think it hurts anything.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Looking forward to the Qt6 PR :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coming up! Once the previous CI passes, so that we have that brew universal cache...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qt5 qt6 issues specific to version 6 of Qt

Projects

Development

Successfully merging this pull request may close these issues.

4 participants