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

QgsApplication::init(): register QgsMapLayer* meta type (fixes #44095) #45254

Merged
merged 1 commit into from
Sep 25, 2021

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Sep 25, 2021

Otherwise when using QgsProject::addMapLayer() from Python, the
following warning is emitted:

Warning: QObject::connect: Cannot queue arguments of type 'QList<QgsMapLayer*>'
(Make sure 'QList<QgsMapLayer*>' is registered using qRegisterMetaType().)

…4095)

Otherwise when using QgsProject::addMapLayer() from Python, the
following warning is emitted:
```
Warning: QObject::connect: Cannot queue arguments of type 'QList<QgsMapLayer*>'
(Make sure 'QList<QgsMapLayer*>' is registered using qRegisterMetaType().)
```
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.

None yet

2 participants