Zdravim,
ten priklad s ComboBox.addItem(str, QVariant) mi pod py2 funguje, ale pod py3 skonci s chybou:
Traceback (most recent call last):
File "./test3.py", line 23, in <module>
programsComboBox.addItem("Jan Novak",QtCore.QVariant("661107/3939"))
TypeError: PyQt4.QtCore.QVariant represents a mapped type and cannot be instantiated
Cim to je sposobne, ako upravit ten kod, aby to fungovalo?
Dakujem