-
PyQt4 used to support two APIs for several Qt classes (QString, QVariant, etc): - API v2 (default for Python 3) automatically converted these Qt classes to native Python classes. - API v1 (default for Python 2) did not do any conversion, and exposed the Qt classes to Python instead. PyQt5 always uses API v2 for any version of Python. The only exception is QVariant, where it is possible to get a behavior similar to API v1, but v2 is still the default.
64eb2488