Hi Tony, Marble functions aren't currently supported by PyKDE, it's something Simon, the PyKDE maintainer, might be working on, and if not, I'll gladly put forth the time to fix this. I sent an email to Simon a few mins ago and then saw your email, I'll let you know what he says if he doesn't respond to this thread.
On Sun, Jan 8, 2012 at 4:25 PM, Tony Peña <emperor...@gmail.com> wrote: > Hi list, > this is part of my app > and as all can see works in qtdesigner > > http://i.imgur.com/sNA50.png > > I'm try to develop an app and I want to use marble, but when I compiled, > only can get the QWidget marble for QtDesigner, because when i put the > marble into my app in the QTabWidget, all fine. and save but, i get this > > pyuic4 QtUI/MainWindow_UI.ui > modules/MainWindow_UI.py > Unknown Qt widget: Marble.MarbleWidget > > I read some mail archives, not is with pyui4 else pykdeuic4 and with that > got this errors > > pykdeuic4 QtUI/MainWindow_UI.ui > modules/MainWindow_UI.py > Traceback (most recent call last): > File "/usr/bin/pykdeuic4", line 156, in <module> > main() > File "/usr/bin/pykdeuic4", line 153, in main > processUI(source_ui, output_filename, exe) > File "/usr/bin/pykdeuic4", line 91, in processUI > winfo = comp.compileUi(uifile, output, None) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/compiler.py", > line 119, in compileUi > w = self.parse(input_stream) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 927, > in parse > actor(elem) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 770, > in createUserInterface > self.traverseWidgetTree(elem) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, > in traverseWidgetTree > handler(self, child) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 224, > in createWidget > self.traverseWidgetTree(elem) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, > in traverseWidgetTree > handler(self, child) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 224, > in createWidget > self.traverseWidgetTree(elem) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, > in traverseWidgetTree > handler(self, child) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 224, > in createWidget > self.traverseWidgetTree(elem) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, > in traverseWidgetTree > handler(self, child) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 215, > in createWidget > self.stack.push(self.setupObject(widget_class, parent, elem)) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 176, > in setupObject > obj = self.factory.createQObject(clsname, name, args, is_attribute) > File "/usr/lib/python2.7/dist-packages/PyQt4/uic/objcreator.py", line 108, > in createQObject > raise NoSuchWidgetError(classname) > PyQt4.uic.exceptions.NoSuchWidgetError: Unknown Qt widget: > Marble.MarbleWidget > > other thing is this when I type at ipython > > In [1]: from PyKDE4.marble import * > --------------------------------------------------------------------------- > ImportError Traceback (most recent call last) > <ipython-input-1-9cb3cfbadbf9> in <module>() > ----> 1 from PyKDE4.marble import * > > ImportError: No module named marble > > so, what have to do? to can going devel? > > > -- > Antonio Peña > Secure email with PGP 0x8B021001 available at http://pgp.mit.edu > Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001 > > _______________________________________________ > Marble-devel mailing list > marble-de...@kde.org > https://mail.kde.org/mailman/listinfo/marble-devel > -- Heath Matlock +1 256 274 4225 _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt