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

Feature/Qt6 - Fix issue with QItemSelectionModel::select method in Mu #685

Conversation

cedrik-fuoco-adsk
Copy link
Contributor

Feature/Qt6 - Fix issue with QItemSelectionModel::select method in Mu

Linked issues

n/a

Summarize your change.

Added a special case to deal with calls to QItemSelectionModel::select.

Describe the reason for the change.

The new implementation of QMetaMethod:invoke in Qt 6 is using variadic templates and C++ type deduction (instead of QGenericArgument). Therefore, it does not convert the QItemSelectionModel::SelectionFlags enum to int and an error message appears.

Describe what you have tested and on which operating system.

Rocky 8 and MacOS

Signed-off-by: Cédrik Fuoco <[email protected]>
Copy link
Contributor

@bernie-laberge bernie-laberge left a comment

Choose a reason for hiding this comment

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

LGTM

@cedrik-fuoco-adsk cedrik-fuoco-adsk merged commit 8cb8ab9 into AcademySoftwareFoundation:feature/qt6 Feb 13, 2025
20 checks passed
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.

3 participants