>>> from PyQt4 import QtCore
>>> str = QtCore.QString('Hello')
AttributeError: 'module' object has no attribute 'QString'
>>> QtCore.QString._init_(self)
AttributeError: 'module' object has no attribute 'QString'
Sí, he leído QString Class Reference¿Cómo crear QString en PyQt4?
Por qué no puedo importar QString
de QtCore
, tal como se especifica en la documentación?
Lo importación está usando para leer QtCore – Mark
import sys de PyQt4 importación QtGui, QtCore –