Hi list, <br>this is part of my app<br>and as all can see works in qtdesigner<br><br><a href="http://i.imgur.com/sNA50.png">http://i.imgur.com/sNA50.png</a><br><br>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<br>
<br>pyuic4 QtUI/MainWindow_UI.ui > modules/MainWindow_UI.py<br>Unknown Qt widget: Marble.MarbleWidget<br><br>I read some mail archives, not is with pyui4 else pykdeuic4 and with that got this errors<br><br> pykdeuic4 QtUI/MainWindow_UI.ui > modules/MainWindow_UI.py<br>
Traceback (most recent call last):<br> File "/usr/bin/pykdeuic4", line 156, in <module><br> main()<br> File "/usr/bin/pykdeuic4", line 153, in main<br> processUI(source_ui, output_filename, exe)<br>
File "/usr/bin/pykdeuic4", line 91, in processUI<br> winfo = comp.compileUi(uifile, output, None)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/compiler.py", line 119, in compileUi<br>
w = self.parse(input_stream)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 927, in parse<br> actor(elem)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 770, in createUserInterface<br>
self.traverseWidgetTree(elem)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, in traverseWidgetTree<br> handler(self, child)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 224, in createWidget<br>
self.traverseWidgetTree(elem)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, in traverseWidgetTree<br> handler(self, child)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 224, in createWidget<br>
self.traverseWidgetTree(elem)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, in traverseWidgetTree<br> handler(self, child)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 224, in createWidget<br>
self.traverseWidgetTree(elem)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 748, in traverseWidgetTree<br> handler(self, child)<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 215, in createWidget<br>
self.stack.push(self.setupObject(widget_class, parent, elem))<br> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 176, in setupObject<br> obj = self.factory.createQObject(clsname, name, args, is_attribute)<br>
File "/usr/lib/python2.7/dist-packages/PyQt4/uic/objcreator.py", line 108, in createQObject<br> raise NoSuchWidgetError(classname)<br>PyQt4.uic.exceptions.NoSuchWidgetError: Unknown Qt widget: Marble.MarbleWidget<br>
<br>other thing is this when I type at ipython<br><br>In [1]: from PyKDE4.marble import *<br>---------------------------------------------------------------------------<br>ImportError Traceback (most recent call last)<br>
<ipython-input-1-9cb3cfbadbf9> in <module>()<br>----> 1 from PyKDE4.marble import *<br><br>ImportError: No module named marble<br><br>so, what have to do? to can going devel?<br><br clear="all"><br>-- <br>
<font color="#888888"><font color="#888888">Antonio Pe</font><span><font color="#888888">ñ</font></span><font color="#888888">a</font><span></span><br>
<font color="#888888">Secure email with PGP 0x8B021001 available at <a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br></font></font><font color="#888888">
<font color="#888888">Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001</font></font><br>