On Thursday 01 January 2004 10:32 pm, Alex G. wrote: > Hi all and happy new year ! > > I've just finish a program with qt-designer + pyqt + python, it's works > fine on my computer (debian sid unstable, python 2.3.3, pyqt 3.8, > qt3-designer 3.2.1). > > I've uploaded it on my zaurus running openZaurus 3.2 with python 2.3.3, > pyqt 3.9 (python2.3.3-1.0_artm.ipk and pyqt3.9-1.0_arm.ipk from river-bank) > > When i launch my program on the zaurus, i've the following error : > NameError: global name "QTextEdit' is not defined > > I've replaced the QTextEdit by a QLabel, this problem is solved, but and > i've another error : AttributeError: WState_Polished > > I've comment the faultly line, and the program start now (nice !). > > So I've two questions : > > - what is the problem with QTextEdit ? how i can use it ? (replacing with a > QLabel is not the solution, just a test)
Qt in the Zaurus is v2.x which doesn't include QTextEdit. You should also use a version of Designer that more closely matches that version of Qt. > - how i can tell qt-designer to use a fixed size for the window ? my > program is too large for the zaurus and i must re-adjust some components > ... Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
