[PySide] Camelot running on the Nokia N9

2011-12-16 Thread Erik Janssens
Hello, as a tribute to the great work of the PySide team, we got Camelot running on the Nokia N9, and this within 10 minutes. http://www.python-camelot.com/blog.html We just converted Camelot to PySide, and copied all files over from the PC to the phone using scp. I think this is as developer f

Re: [PySide] missing methods

2011-11-19 Thread Erik Janssens
-0300, Luciano Wolf wrote: > Hi Erik, > > I was looking for these methods at QAssistant and Qt Documentation > (web). They aren't available in Qt 4.7.4. Are you trying some code > that have worked with earlier PySide versions? > > > Cheers, > Luciano > > &

[PySide] Camelot 11.11.16 released

2011-11-16 Thread Erik Janssens
Hello, Camelot 11.11.16 has been uploaded to PyPi. This release mainly brings the implementation of new style actions to ease customization of Camelot projects. There is a tutorial that shows its features : http://downloads.conceptive.be/downloads/camelot/doc/sphinx/build/tutorial/importer.html

[PySide] missing methods

2011-11-12 Thread Erik Janssens
Hi, After compiling the latest release with Qt 4.7.4, and running tests, I noticed some missing methods : - 'PySide.QtCore.QTranslator' object has no attribute 'loadFromData' - QLayout.setMargin - QAction.setShortcut only works when its argument is a QKeySequence, while one of the constructor

Re: [PySide] undefined symbol QGtkStyle

2011-11-11 Thread Erik Janssens
ry > > where you're running the "make" command. I don't know exactly which > > file(s) to look into so some "grep"s are welcome :) > > > > > > Luciano > > > > > > On Mon, Nov 7, 2011 at 2:10 PM, Erik Janssens > > wrote

Re: [PySide] PySide to become a Qt add-on

2011-11-11 Thread Erik Janssens
Moving the project to Qt might be a good thing for the adoption of PySide itself, as Qt users in need for a scripting solution might be tempted to try it out. Also when the Qt developers are in need for a scripting solution they might reuse PySide instead of inventing something new ( QML... ) On

Re: [PySide] undefined symbol QGtkStyle

2011-11-07 Thread Erik Janssens
te: > Hi, > > Could you double check to ensure that PySide generator is looking into > the right place (install path of your custom Qt), not the system's Qt > path? > > Regards, > Luciano > > On Sat, Nov 5, 2011 at 4:14 AM, Erik Janssens > wrote: >> Hi,

[PySide] undefined symbol QGtkStyle

2011-11-05 Thread Erik Janssens
Hi, I'm trying to build PySide from sources on Ubuntu Linux against a custom Qt 4.7.4 build. The Qt build has the gtk style option turned off, as I don't want any dependencies between gtk and Qt. This process worked fine for Qt 4.7.2 and some earlier version of PySide. The build process itself

Re: [PySide] To stupid for Hello World...

2011-09-10 Thread Erik Janssens
label's reference count goes to zero when the function exits, and is thus destroyed On Sat, Sep 10, 2011 at 7:10 PM, Aaron Richiger wrote: > Dear List! > > It looks very simple and I'm sure, there is a simple answer to my question, > but I couldn't find anything in the doc why the following snipp

[PySide] possible memory leak

2011-08-13 Thread Erik Janssens
Hi, I was investigating a PyQt garbage collection bug : http://www.riverbankcomputing.com/pipermail/pyqt/2011-August/030376.html I the attached test case, I get a segmentation fault in PyQt when the garbage collector kicks in. When using PySide, it appears the garbage collection has no effect,

[PySide] Camelot support for PySide

2011-08-04 Thread Erik Janssens
Hello, As of today, Camelot has nightly trunk builds that support PySide, next to those that support PyQt. The source code is written using PyQt, but is converted overnight to PySide. The builds are available from : http://www.python-camelot.com/get-it.html More information on the conversion p

Re: [PySide] connecting to the QObject.destroyed signal

2011-07-26 Thread Erik Janssens
failure is later on when the signal is emitted ? On Mon, Jul 25, 2011 at 12:16 AM, Sebastian Wiesner wrote: > 2011/7/24 Erik Janssens : >> this code always worked perfectly with PyQt.  I had the assumption that >> a default argument in a signal would be treated the same way as in

Re: [PySide] connecting to the QObject.destroyed signal

2011-07-24 Thread Erik Janssens
On Sun, Jul 24, 2011 at 3:57 PM, Sebastian Wiesner wrote: > 2011/7/24 Erik Janssens : >> On Sun, 2011-07-24 at 14:17 +0200, Sebastian Wiesner wrote: >>> 2011/7/24 Erik Janssens : >>> > On Sun, 2011-07-24 at 11:00 +0200, Sebastian Wiesner wrote: >>> &

Re: [PySide] connecting to the QObject.destroyed signal

2011-07-24 Thread Erik Janssens
On Sun, 2011-07-24 at 14:17 +0200, Sebastian Wiesner wrote: > 2011/7/24 Erik Janssens : > > On Sun, 2011-07-24 at 11:00 +0200, Sebastian Wiesner wrote: > >> 2011/7/23 Erik Janssens : > >> > Hi, > >> > > >> > when connecting a Python meth

Re: [PySide] connecting to the QObject.destroyed signal

2011-07-24 Thread Erik Janssens
On Sun, 2011-07-24 at 11:00 +0200, Sebastian Wiesner wrote: > 2011/7/23 Erik Janssens : > > Hi, > > > > when connecting a Python method to the > > QObject.destroyed signal, it seems as > > if the connected slot is only called with > > one argum

[PySide] connecting to the QObject.destroyed signal

2011-07-23 Thread Erik Janssens
Hi, when connecting a Python method to the QObject.destroyed signal, it seems as if the connected slot is only called with one argument instead of two, this results in : TypeError: destroyed_slot() takes exactly 2 arguments (1 given) Error calling slot "destroyed_slot" while I would expect 2 ar

Re: [PySide] PySide + QML = PyQML

2011-07-13 Thread Erik Janssens
Indeed, and having everything written as a Python data structure, would allow manipulation by Python of a 'QML' structure. The big issue imho with simply replacing js with python in a qml file, is that you still cannot manipulate the whole structure with python. > I agree with you the point here

Re: [PySide] Going to Qt Contributor Summit & EuroPython 2011

2011-06-15 Thread Erik Janssens
There's a related thread on the PyQt mailing list, I suppose the same arguments apply. http://www.riverbankcomputing.com/pipermail/pyqt/2011-June/029926.html Hope to see you at EuroPython, I'll try to attend your talk Regards, Erik On Wed, Jun 15, 2011 at 1:09 PM, Matti Airas wrote: > Hi list

Re: [PySide] Some crashes using QTableWidget

2011-04-02 Thread Erik Janssens
____ > From: Erik Janssens > To: Matti Airas > Cc: pyside@lists.pyside.org > Sent: Thu, March 31, 2011 12:19:00 PM > Subject: Re: [PySide] Some crashes using QTableWidget > > while this might very well be a PySide bug, I doubt it > > the QT M

Re: [PySide] Some crashes using QTableWidget

2011-03-31 Thread Erik Janssens
while this might very well be a PySide bug, I doubt it the QT MVC classes are full with ASSERT statements and it's very easy to 'abuse' them ... On Thu, Mar 31, 2011 at 11:04 AM, Matti Airas wrote: > On 30.03.2011 21:45, ext Keith Gunderson wrote: >> >> Hello, >> >> New PySide user here with an

Re: [PySide] Some crashes using QTableWidget

2011-03-30 Thread Erik Janssens
;m glad you're helping me because I'm really lost when I try to find info > from nokia's website. > > I'm not sure what to do next. > > > > > --- On *Wed, 3/30/11, Erik Janssens * wrote: > > > From: Erik Janssens > Subject: Re: [PySide]

Re: [PySide] Some crashes using QTableWidget

2011-03-30 Thread Erik Janssens
an openSuse11.2 VM on my machine. > > I've installed pyside and its reqs. I even easy_installed your camelot to > check it out, BTW. > > I'm not quite sure what I need to do now. Something similar to my plan for > Windows, or something else. > > > >

Re: [PySide] Some crashes using QTableWidget

2011-03-30 Thread Erik Janssens
is that I > have to: > > 1. Download the QT source (I'll use Qt-win-opensource-4.7.2.-vs2008) > 2: build the debug versions > 3: copy somewhere > 4: edit my qt.conf located at c:\Python26 > > Is that right? > > > > --- On *Wed, 3/30/11, Erik Janss

Re: [PySide] Some crashes using QTableWidget

2011-03-30 Thread Erik Janssens
it might help to run QT in debug mode the whole MVC stuff has a lot of asserts, so you might be informed earlier on on what goes wrong On Wed, Mar 30, 2011 at 8:45 PM, Keith Gunderson wrote: > > Hello, > > New PySide user here with an issue that my app/script crashes sometimes > when QTableWidg

Re: [PySide] pyside - pyqt incompatibilities

2011-03-22 Thread Erik Janssens
Hello Thomas, thank you for these answers. this helps moving forward. version info is indeed better this way. Cheers, Erik On Tue, 2011-03-22 at 11:41 +0100, Thomas Perl wrote: > Hi Erik, > > 2011/3/22 Erik Janssens : > > - the QObject.findChildren method as takes for its

[PySide] pyside - pyqt incompatibilities

2011-03-22 Thread Erik Janssens
Hi, I've been trying to get Camelot working with PySide and made a small list of issues found so far : (tested with PySide 1.0 on Linux) - the QObject.findChildren method as takes for its second argument an empty string as default, this default argument won't work using PySide, and raises a

[PySide] building PySide on Windows

2011-03-19 Thread Erik Janssens
Hi, I'm trying to build PySide on Windows against a custom python 2.7 / QT 4.7.2 build. Everything works fine upto building shiboken. However, the pyside build failes at the CMAKE step, complaining about an unknown target : libpyside I'm using the 1.0.0 release. Any ideas ? Thx, Erik INFO:b

[PySide] building PySide without exceptions

2011-03-07 Thread Erik Janssens
Hello, I'd like to compile PySide from sources against my QT build. However, I prefer to build QT without exceptions, to save on resources, this means the XmlPatterns module is not build. It appears that PySide needs the XmlPatterns module. Is this really needed ? or is there a way around it ?