[Forgot to reply to the list]
On Thu, Sep 3, 2009 at 2:03 PM, Alexey Zlobin <[email protected]>wrote:
> Hi again,
>
> i get error when try to use QTUiTools module. There is my code:
>
> #!/usr/bin/env python2.5
>
> from PySide.QtCore import *
> from PySide.QtGui import *
> from PySide.QtUiTools import QUiLoader
> import sys
>
> class DesignerSample():
> def __init__(self):
> self.app = QApplication([])
> loader = QUiLoader()
> file = QFile("designer-sample.ui")
> file.open(QFile.ReadOnly)
> self.widget = loader.load(file, self)
> file.close()
>
> if __name__ == '__main__':
> a = DesignerSample()
> sys.exit(a.app.exec_())
>
> when i run it i see next output:
>
> [sbox-FREMANTLE_X86: ~/projects/qt-designer] > ./src/designer-sample.py
> Traceback (most recent call last):
> File "./src/designer-sample.py", line 5, in <module>
> from PySide.QtUiTools import QUiLoader
> File "/usr/lib/pymodules/python2.5/PySide/__init__.py", line 56, in
> load_module
> ctypes.PyDLL(self.pathname, ctypes.RTLD_GLOBAL)
> File "/usr/lib/python2.5/ctypes/__init__.py", line 348, in __init__
> self._handle = _dlopen(self._name, mode)
> OSError: /usr/lib/pymodules/python2.5/PySide/QtUiTools.so: undefined
> symbol: _ZNK9QUiLoader10metaObjectEv
>
>
> any ideas about fix?
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
>
Hi,
The QtUiTools module is not being correctly generated in Fremantle at the
moment, and we still have to investigate this issue further.
P.S.: Sorry for the delay.
--
__________________________________
Bruno Araújo, MSc
openBossa Labs - Instituto Nokia de Tecnologia
Manaus, Brazil
"Any sufficiently advanced technology is indistinguishable from magic." -
Arthur C. Clarke
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside