On 18.12.07 18:54:40, Tiago Maluta wrote: > Hi, > > I'm with some problems trying to use a form developed in qt designer in > my project. I will describe my steps: > > 1) I created a Dialog without buttons > 2) pyuic4 viewform.ui -o ui_viewform.py > 3) edited my main file > > > import sys > #from qt import * > > if I dis comment above line I got RuntimeError: the PyQt4.QtCore and qt > modules both wrap the QObject class
You're mixing PyQt3 and PyQt4, the "from qt import *" is not used in PyQt4. You should look at the PyQt4 documentation and examples if you want to use PyQt4. If not you need to use the designer from qt3 not qt4. Andreas -- Your goose is cooked. (Your current chick is burned up too!) _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt