Hi,

Today I have downloaded the PySide binaries from
http://ppa.launchpad.net/pyside/ppa/ubuntu (lucid main) using synaptic
package manager. When I run the program for example the following program in
Eric, I got the error. I have tried this with three PC. But with PyQt4 it
properly works.

I very glad to hear PySide is ported to meamo. Here, I have to port my
application first to beagleboard. Finally to some other ARM based
touchscreen device. I have my tool-chain build with crosstool-ng and I have
working kernel with busybox, and python support. I have tested python in the
device it works. I have planned to use only Qt with its qws. Can you please
outline how to port PySide to the device (in correct order, solving
dependencies). Also at this stage I am not able to use  meamo or meego
platform.

With Thanks
Sathishkumar

----8<----------------------------------------------------------->8------------------
from PySide import QtGui
#from PyQt4 import QtGui

class test(QtGui.QLabel):
    def __init__(self, parent = None):
        super(test,  self).__init__(parent)
        self.resize(400, 300)
        self.setText("hai")
if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv) ##Error occurs here....
    te = test()
    te.show()
    sys.exit(app.exec_())
-------------8<------------------------------------------------>8--------------


On Mon, Aug 2, 2010 at 6:24 PM, Renato Araujo Oliveira Filho <
[email protected]> wrote:

> Hi,
>
> I will try answer your questions.
>
> On Mon, Aug 2, 2010 at 8:50 AM, Sathishkumar Duraisamy <
> [email protected]> wrote:
>
>> Hi
>>
>> I am new to PySide. But I have done a small application in PyQt with
>> matplotlib. I wish to port it to pyside. Finally to embedded linux system.
>>
>> Here are my question:
>>
>> 1. Do we can port PySide to embedded linux.
>
> 2. Does any one have did. If it so please give some guide lines.
>>
>
> Yes PySide is available on N900 (fremantle), and the next release will
> support meego.
>
>
>> 3. My application only involves a stacked widget, push button, tool button
>> and Qthread. So, it only involves QtCore and QtGui. Is these modules are
>> stable in PySide.
>>
>
> The Modules are working and almost everything works fine, but we are
> working hard to get a stable 1.0 version ASAP.
>
>
>> Please it is something urgent otherwise I have to switch to C++
>> programming.
>>
>> Last but not least,
>>
>> I am using ubuntu 10.4. I have installed PySide first from ppa:pyside. I
>> also downloaded examples PySide website. But when I run the program it gives
>> the following error at QApplication. (   app = QtGui.QApplication(sys.argv)
>> ). It appears something I am missing in my system. Please how to solve this.
>>
>>
>>
>> The debugged program raised the exception unhandled TypeError
>>
>> "bad argument type for built-in operation"
>> File: /home/lionux/Public/pyside-examples/examples/desktop/screenshot.py,
>> Line: 148
>>
> I run this test here and this works fine for me. Can you give us more
> details about that error?
>
>
>> With Thanks
>>
>> Sathishkumar
>>
>> BR
>
> --
> Renato Araujo Oliveira Filho
> Instituto Nokia de Tecnologia - INdT
> Mobile: +55 (81) 8704-2144
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to