aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2
blob: 70afb33fd3e9e87ac86f635ba88e005af5eabf86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
tree 07ae0fd5f12b5f04778dd1254df088ee4ac84610
parent 963ff1fdf0172bf6aa87660802432c208ffab56c
author Christian Tismer <ctismer@gmail.com> 1436368722 +0200
committer Christian Tismer <ctismer@gmail.com> 1436368722 +0200

fixed a problem with qRegisterMetaType that came up with Qt5.

The problem is that an unqualified name gets registered ("iterator") by some hard to
understand heuristics of shiboken. This way, the same name is used for objects which have
different size in Qt5, and therefore things crash.

The quick fix was to skip exactly the name "iterator" and output a warning.
This needs to be fixed in a better way, but costs too much time at the moment,
because I don't understand enough about possible side-effects, yet.