[PyQt] How to get a real QString instead of a python str?

Russell Warren russ at perspexis.com
Fri Sep 25 14:10:16 BST 2015


Qt has QString.toCaseFolded
<http://doc.qt.io/qt-5/qstring.html#toCaseFolded> that I'd like to access
since python 2.7 doesn't have the str.casefold
<https://docs.python.org/3/library/stdtypes.html#str.casefold>() of python
3.3+.  However, QtCore.QString doesn't exist in PyQt5... is there some
other way to get a hold of a real QString with PyQt5?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150925/45ac9846/attachment.html>


More information about the PyQt mailing list