PDA

View Full Version : How do I convert a QString to Python str in PyQt?



di_zou
9th November 2009, 16:03
I have a C++ function that is wrapped for Python. This function has a parameter that must be a Python string. When I pass in the QString, PyQt is not converting the QString into a Python string automatically. So how do I explicitly do this?