[PyKDE] PyQt4, my approach was wrong before or now?

Andreas Pakulat apaku at gmx.de
Sun Mar 5 14:39:07 GMT 2006


On 05.03.06 14:41:10, V. Armando Sole wrote:
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *

> My problem is the above code was working till the 20060218 snapshot inclusive. 
> However, later snapshots do not allow it giving an error about Vertical not 
> being an attribute of Qt. My question is if the code should never have worked.

Your problem might arise from that import. See the recent thread with
the Subject beginning with "QtCore.Qt and" for the reason: Qt.XXX
symbols are scattered between QtCore and QtGui so you cannot access
QtCore.Qt anymore.

Andreas

-- 
You have an ability to sense and know higher truth.




More information about the PyQt mailing list