hi all just having a problem running .ui file in QT,

if i run

from PyQt4 import QtGui,QtCore, uic

uifile = 'c:testMayaQT.ui'

uic.loadUiType(uifile)

i get

# Error: IOError: file C:\Program
Files\Autodesk\Maya2012\bin\python26.zip\xml\etree\ElementTree.py line 579:
2


anyone have any clues what i'm missing. ive tested it on many differnet ui
file and i get the same. i'm using designer that ships with maya2012


i know Qt is working becuase if i run this it works

import sip

sip.setapi('QString', 1)

sip.setapi('QVariant',1)

from PyQt4 import QtGui, QtCore

btn = QtGui.QPushButton(QtGui.__file__)

btn.show()


any clues would be much apreciated

john

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to