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

Qt6 - Change Qt.UserRole to Qt.ItemDataRole.UserRole #617

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

Gustry
Copy link
Member

@Gustry Gustry commented Jan 7, 2025

Hopefully, it will fix #616

@nicogodet Can you try this fix ?

It was a hard search and replace from Qt.UserRole to Qt.ItemDataRole.UserRole

If so, I will edit the wiki https://github.com/qgis/QGIS/wiki/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6 and raise the issue about the migrating script.

Thanks for your early testing.

@nicogodet
Copy link
Contributor

Hi @Gustry
lizmap\definitions\definitions.py
lizmap\widgets\check_project.py
lizmap\widgets\table_files.py

I stopped here but probably more files require a fix too...

@Gustry Gustry merged commit 97a7422 into 3liz:master Jan 7, 2025
5 checks passed
@Gustry Gustry deleted the qt6 branch January 7, 2025 11:35
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.

[Bug]: Python error: not fully Qt6 compatible
2 participants