>s = QtCore.QStringList(set(['1', '2', '3'])) This line crach python interpreter But >s = QtCore.QStringList(list(set(['1', '2', '3']))) work ok. My Environment: WinVista Home Basic Ru + sp1 Python 2.5.2 sip 4.7.7 (from source, build gcc mingw 3.4.5) Qt 4.4.1 (from source, build gcc mingw 3.4.5) PyQt 4.4.3 (from source, build gcc mingw 3.4.5)