<div dir="ltr">My application has a QComboBox that contains icons on each line. It worked fine with (Py)Qt 4.3. I'm now using Qt 4.4.0 and PyQt <a href="http://4.4.2.">4.4.2.</a> I receive the following error at runtime:<br>
<br><div style="margin-left: 40px;">
Traceback (most recent call last):<br> File "./Q7Z.pyw", line 14, in <module><br> import Main<br> File "Main.py", line 52, in <module><br> uiMain.setupUi(mwMain)<br> File "/media/Exchange/Programming/PyQt4/Q7Z/SVN/SourceForge/trunk/Q7Z/Source/Ui_Main.py", line 758, in setupUi<br>
self.retranslateUi(Main)<br> File "/media/Exchange/Programming/PyQt4/Q7Z/SVN/SourceForge/trunk/Q7Z/Source/Ui_Main.py", line 804, in retranslateUi<br> self.cbAlgorithm.addItem(icon,QtGui.QApplication.translate("Main", "7-Zip", None, QtGui.QApplication.UnicodeUTF8))<br>
NameError: global name 'icon' is not defined<br></div><br>Related issues have been raised both on this mailing list and here: <a href="http://groups.google.com/group/profitpy-discuss/browse_thread/thread/fb579a71c66fecb2" target="_blank">http://groups.google.com/group/profitpy-discuss/browse_thread/thread/fb579a71c66fecb2</a>. Will this problem be fixed in time for the PyQt 4.4.3 release?<br>
<br></div>