Le Mercredi 27 Ao�t 2003 22:53, Christian Bird a �crit : > Has anyone tried to use pyuic3 on ui files that include custom widgets? In > the past if you created a customwidget in designer and specified > mycustomwidget.h as the include file, then pyuic would generate: > > from mycustonwidget import customwidget > > as expected. I'm right now using PyQt version 3.8 and it doesn't look like > pyuic3 is doing the "from <includefile> import <classname>" magic anymore. > If I'm wrong and someone has seen this work for version 3.8 please let me > know. thanks.
This behaviour changed in PyQt 3.6. You must now declare your imports as comments in the file. Have a look at: http://www.riverbankcomputing.co.uk/pyqt/docs/x95.html Hope this helps, Aur�lien _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
