Am Friday, 16. January 2009 schrieb Suha Onay: [...] > I defined the plugins for QT Designer and used custom widgets in > Designer to form the ui's. > When it comes to compiling these ui files which has MCLabel widgets, > it gives an error saying unknown baseclass 'MCSimpleLabel' . > How should I change the plugins or widgets file not to face an error? > The files are attached.
I reported earlier on this list that even KDE4 'custom classes' don't compile properly using pykdeuic4 which is built upon pyuic4. I now run a Makefile which automatically patches the compiled output to my needs: 1. patch the .ui file and replace your classes with their Qt base class (or a placeholder) which uic knows about 2. compile with uic 3. patch the output to include the original classes and move wrong imports to the top of the file. Christoph
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
