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

Fix deserialization of graphicsitems due to shape being a QPainterPath #968

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

dfaure-kdab
Copy link
Member

This fixes
QVariant::load: unknown user type with name QPainterPath.
warnings, and infinite Loading... in the scene inspector (when that property is the only problem...)

@dfaure-kdab dfaure-kdab force-pushed the wip/dfaure/QPainterPath branch from 593d9aa to 7a92afd Compare April 4, 2024 20:50
@dfaure-kdab
Copy link
Member Author

Fixed Qt5 build by adding Q_DECLARE_METATYPE (and cleaning up the duplicate one)

Qt5 requires Q_DECLARE_METATYPE, so add it in remoteviewinterface.cpp
@dfaure-kdab dfaure-kdab force-pushed the wip/dfaure/QPainterPath branch from 7a92afd to 9de12ab Compare April 5, 2024 08:48
@Waqar144 Waqar144 merged commit f49463c into KDAB:master Apr 5, 2024
13 of 14 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.

2 participants