Re: [PyQt] libCrun on Solaris

2007-10-08 Thread Ulrich Berning
Jeremy Sanders wrote: Hi - I tried to compile PyQt-x1-gpl-4.3.1 under Solaris 10 with CC: Sun C++ 5.7 Patch 117830-11 2007/04/04 for Sparc. I compiled it against Qt-4.3.1. When I try to load an example PyQt program, it appears there are missing symbols:

Re: [PyQt] Python Threads and Qt threads

2007-10-08 Thread Phil Thompson
On Monday 08 October 2007, Nahuel Defossé wrote: Hi! I'm writing a small front end for my azureus using dopal (Swing ui is not for me). The thing is, I need to perform some background tasks so I need to use threads. But, I have native python threads and also Qt threads. Seems like I should

[PyQt] Re: libCrun on Solaris

2007-10-08 Thread Jeremy Sanders
Ulrich Berning wrote: INSTALL=/usr/local/bin/install \ LINKCC=/opt/SUNWspro/bin/CC -mt \ CC=/opt/SUNWspro/bin/cc -mt \ CXX=/opt/SUNWspro/bin/CC -mt \ ./configure \ --prefix=/usr/local \ --with-cxx-main=/opt/SUNWspro/bin/CC -mt \ --with-threads \ --enable-shared Thanks - I saw in the

Re: [PyQt] Re: libCrun on Solaris

2007-10-08 Thread Ulrich Berning
Jeremy Sanders wrote: Ulrich Berning wrote: INSTALL=/usr/local/bin/install \ LINKCC=/opt/SUNWspro/bin/CC -mt \ CC=/opt/SUNWspro/bin/cc -mt \ CXX=/opt/SUNWspro/bin/CC -mt \ ./configure \ --prefix=/usr/local \ --with-cxx-main=/opt/SUNWspro/bin/CC -mt \ --with-threads \ --enable-shared

Re: [PyQt] pyuic expects certain property methods in Designer plugins

2007-10-08 Thread Arve Knudsen
What's the meaning of the stdset attribute? It turns out that for the properties of my own custom widget Designer does not specify the stdset attribute (not quite sure why), and if stdset is missing or equals 1 pyuic reverts to the old behaviour of guessing the setter method's name (rather than

Re: [PyQt] pyuic expects certain property methods in Designer plugins

2007-10-08 Thread Phil Thompson
On Monday 08 October 2007, Arve Knudsen wrote: What's the meaning of the stdset attribute? It turns out that for the properties of my own custom widget Designer does not specify the stdset attribute (not quite sure why), and if stdset is missing or equals 1 pyuic reverts to the old behaviour

[pyQT] pyQt and Xml

2007-10-08 Thread Kermit
hi, i'm new in xml and PyQt, i know a little QT better use xml python package, or pyqt xml dom parser ??? i think is depend on my production which element can determine my choise ? thx for your help i need just global information, for precise my google research Kermit

[PyQt] loading arbitrary kparts

2007-10-08 Thread Marcos Dione
hi all. I've been playing with kparts a little and now I hit a wall. I try to load the proper part for a given url. the code I have looks like this: mime= KMimeType.findByURL(url, 0, False, False) mimeType= mime.name () # this trick I saw in #

Re: [PyQt] loading arbitrary kparts

2007-10-08 Thread Jim Bublitz
On Monday 08 October 2007 07:41, Marcos Dione wrote: hi all. I've been playing with kparts a little and now I hit a wall. I try to load the proper part for a given url. the code I have looks like this: mime= KMimeType.findByURL(url, 0, False, False) mimeType= mime.name () # this trick

Re: [PyQt] pyuic expects certain property methods in Designer plugins

2007-10-08 Thread Arve Knudsen
On 10/8/07, Phil Thompson [EMAIL PROTECTED] wrote: On Monday 08 October 2007, Arve Knudsen wrote: What's the meaning of the stdset attribute? It turns out that for the properties of my own custom widget Designer does not specify the stdset attribute (not quite sure why), and if stdset is

Re: [PyQt] loading arbitrary kparts

2007-10-08 Thread Marcos Dione
On Mon, Oct 08, 2007 at 09:38:21AM -0700, Jim Bublitz wrote: I'm using KIO.NetAccess.mimeType in a PyKDE4 application and it works fine there - there could be some difference to the PyKDE 3 version. It would help if you'd provide a short example program that exhibits the problem so I can

Re: [PyQt] loading arbitrary kparts

2007-10-08 Thread Jim Bublitz
On Monday 08 October 2007 16:16, Marcos Dione wrote: Running this: from kdecore import * from kio import * from kparts import * import sys KCmdLineArgs.init (sys.argv, sys.argv[0], testmime, , ) args= KCmdLineArgs.parsedArgs () app= KApplication () #app.exec_loop () for u in

Re: [PyQt] loading arbitrary kparts

2007-10-08 Thread Marcos Dione
damn, it was a (insert very offensive phrase here) typo! see the posted code again... On Mon, Oct 08, 2007 at 05:21:13PM -0700, Jim Bublitz wrote: because (from the KDE API docs): Yes, I knew that, that's why I searched for the alternative and found KIO.NetAccess.mimetype. So PyKDE