Re: [PyQt] Accessing global variables

2012-08-24 Thread Phil Thompson
On Fri, 24 Aug 2012 14:26:10 +0200, Marco Meier wrote: > Hi, > > i am trying to access an enum that is defined globally in a namespace. > Simply defining it in the sip file wraps the type correctly, but the > value is not the one in the c++ shared object. > > I tried to use %SetCode and %GetCode

Re: [PyQt] Availability of bindings for Qt3D

2012-08-24 Thread Phil Thompson
On Fri, 24 Aug 2012 11:41:19 -0500, Suleyman Karabuk wrote: > I was wondering if anyone knows about the availability of Python > bindings for Qt3D on Linux. > > http://doc-snapshot.qt-project.org/qt3d-1.0/index.html > > I understand that I could use SIP to create the bindings myself, but if >

Re: [PyQt] sip: extend exception support

2012-08-25 Thread Phil Thompson
On Wed, 15 Aug 2012 15:54:11 +0200, mathias.b...@gmx.de wrote: > Phil, > > sip can already propagate C++ exceptions into Python in cases > where Python calls a C++ function which throws an exception. > > However, if I extend a C++ class in Python and call a corresponding > (Python-)method in C++

Re: [PyQt] sip: extend exception support

2012-08-26 Thread Phil Thompson
On Sun, 26 Aug 2012 14:30:32 +0200, mathias.b...@gmx.de wrote: > On 26.08.2012, 16:46:24 Phil Thompson wrote: >> On Wed, 15 Aug 2012 15:54:11 +0200, mathias.b...@gmx.de wrote: >>> Phil, >>> >>> sip can already propagate C++ exceptions into Python in cases &

Re: [PyQt] sip: how to make a python instance owned by C++ without using a parent

2012-08-26 Thread Phil Thompson
On Sun, 26 Aug 2012 21:11:50 +0200, mathias.b...@gmx.de wrote: > On 26.08.2012, 18:15:55 Phil Thompson wrote: >> On Wed, 15 Aug 2012 11:55:47 +0200, mathias.b...@gmx.de wrote: >>> On 15.08.2012, 11:05:42 Phil Thompson wrote: >>>> I could change sipTransferTo() to do

Re: [PyQt] sip: extend exception support

2012-08-27 Thread Phil Thompson
On Sun, 26 Aug 2012 22:22:40 +0200, mathias.b...@gmx.de wrote: > On 26.08.2012, 16:07:52 Phil Thompson wrote: >> On Sun, 26 Aug 2012 14:30:32 +0200, mathias.b...@gmx.de wrote: >>> On 26.08.2012, 16:46:24 Phil Thompson wrote: >>>> On Wed, 15 Aug 2012 15:54:11 +0

Re: [PyQt] sip: extend exception support

2012-08-27 Thread Phil Thompson
On Mon, 27 Aug 2012 10:18:08 -0700, Matt Newell wrote: >> >> In current hg... >> >> %VirtualErrorCode is a new sub-directive of the %Module directive. >> >> all_throw_cpp_exception replaced by all_use_VirtualErrorCode. >> >> /ThrowsCppException/ replaced by /UsesVirtualErrorCode/. >> >> /NoTh

Re: [PyQt] PYQT openSource tool

2012-08-31 Thread Phil Thompson
On Fri, 31 Aug 2012 08:50:59 +, Ramakanthreddy_Kesireddy wrote: > Hi , > > Could you please let me know if PYQT is available as opensource Yes. > for test automation of QT Quick projects. I don't know what you mean by this. Phil ___ PyQt mailing

Re: [PyQt] PYQT openSource tool

2012-08-31 Thread Phil Thompson
On Fri, 31 Aug 2012 08:57:54 +, Ramakanthreddy_Kesireddy wrote: > I mean if PYQT can be used as automation test tool for Qt5 development. Qt5 is not supported yet. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomput

Re: [PyQt] PYQT openSource tool

2012-08-31 Thread Phil Thompson
On Fri, 31 Aug 2012 09:48:36 +, Ramakanthreddy_Kesireddy wrote: > Hi, > > Could you please when is PYQT expected to support Qt5 development. PyQt4 will support the parts of Qt5 that are compatible with Qt4 soon after the final release of Qt5. PyQt5 will fully support Qt5 some time later. P

Re: [PyQt] sip: extend exception support

2012-09-03 Thread Phil Thompson
On Mon, 27 Aug 2012 12:10:23 -0700, Matt Newell wrote: >> >> The difference is the access to the (not necessarily present) objects. >> How >> are you getting these? >> >> Phil > > Here's the patch against a quite old hg checkout. After several more iterations (ok, rewrites) the implementation

Re: [PyQt] PyQt4 and Qt5

2012-09-04 Thread Phil Thompson
On Tue, 04 Sep 2012 09:44:08 +0200, Detlev Offenbach wrote: > Hello, > > I would like to know the plan about the PyQt support for Qt 5.0 because I > would like to start to make eric5 compatible with Qt 5 as soon as possible > (if > that is possible). In order for that, I would need support for

Re: [PyQt] PyQt4 and Qt5

2012-09-04 Thread Phil Thompson
On Tue, 04 Sep 2012 11:18:36 +0200, Detlev Offenbach wrote: > On Tuesday 04 September 2012, 09:30:06 Phil Thompson wrote: >> On Tue, 04 Sep 2012 09:44:08 +0200, Detlev Offenbach >> >> wrote: >> > Hello, >> > >> > I would like to know the plan ab

Re: [PyQt] Dilemma: Pqt or wxpython

2012-09-11 Thread Phil Thompson
Hi Tony! On Tue, 11 Sep 2012 15:14:42 +0100, "Tony Lynch" wrote: > Phil has maintained PyQt uninterrupted for (I think) 8 or 9 years. He > tends to fix bugs within a day. Qt is much better than wx in general, > and more widely used. I'd go for Qt/PyQt every time, Actually it's coming up to the 1

Re: [PyQt] Error when attempting to use load UI files into Python

2012-09-13 Thread Phil Thompson
On Wed, 12 Sep 2012 18:43:10 -0400, Scott Lanahan wrote: > Hi, > > I'm desperately trying to use uic.loadUi to load my main window into > Python. I cannot get it to work for the main window, but it works fine for > various widgets that are in the same Qt project. When I try to load the .ui > file

Re: [PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

2012-09-13 Thread Phil Thompson
On Mon, 10 Sep 2012 23:31:20 +0200, mathias.b...@gmx.de wrote: > Phil, > > While using /AlloNone/ on a normal mapped type directive like > > %MappedType boost::optional /AllowNone/ > > works, sip tells me > > Deprecation warning : type_mappings.sip.h:269: Annotation is invalid > > for > > tem

[PyQt] PyQt4 Support for Qt v5-beta1

2012-09-16 Thread Phil Thompson
The current PyQt snapshot has support for the following modules built against Qt v5-beta1... QtCore, QtGui, QtHelp, QtNetwork, QtSql, QtSvg, QtWebKit, QtXml You will also need current SIP and QScintilla snapshots. Phil ___ PyQt mailing listPyQt@riv

Re: [PyQt] PyQt4 Support for Qt v5-beta1

2012-09-16 Thread Phil Thompson
On Sun, 16 Sep 2012 10:41:53 -0400, Scott Kitterman wrote: > Phil Thompson wrote: > >>The current PyQt snapshot has support for the following modules built >>against Qt v5-beta1... >> >>QtCore, QtGui, QtHelp, QtNetwork, QtSql, QtSvg, QtWebKit, QtXml >>

Re: [PyQt] Help with segfault in PyQt program

2012-09-16 Thread Phil Thompson
On Sun, 16 Sep 2012 22:40:29 +0530, Shriramana Sharma wrote: > Hello. I'm back on this list after quite some time. > > I'm working on some stuff involving bezier curves and wanted to write > my own bezier display applet to keep in handy, so that I can adjust > the nodes and handles and it would s

Re: [PyQt] toPyObject is undocumented

2012-09-17 Thread Phil Thompson
On Mon, 17 Sep 2012 01:37:17 +0200, Wolfgang Rohdewald wrote: > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qvariant.html#toPyObject > > says nothing about what it does. I just found out it alway returns python > long > even for small integers. Is that intended or a bug? > > ii p

Re: [PyQt] QToolBar.visibilityChanged signal missing in PyQt4.9.4

2012-09-17 Thread Phil Thompson
On Mon, 17 Sep 2012 11:41:39 -0400, Chris Beaumont wrote: > Hello, > > The QToolBar.visibilityChanged signal seems to be missing on my recent > installation of PyQt4.9.4: > > In [1]: from PyQt4.QtGui import QApplication, QToolBar > In [2]: app = QApplication([]) > In [3]: tb = QToolBar() > In [4

Re: [PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

2012-09-17 Thread Phil Thompson
On Mon, 17 Sep 2012 22:10:35 +0200, mathias.b...@gmx.de wrote: > On 17.09.2012, 18:44:19 Phil Thompson wrote: >> On Mon, 10 Sep 2012 23:31:20 +0200, mathias.b...@gmx.de wrote: >>> Phil, >>> >>> While using /AlloNone/ on a normal mapped type directive like

Re: [PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

2012-09-18 Thread Phil Thompson
On Mon, 17 Sep 2012 22:10:35 +0200, mathias.b...@gmx.de wrote: > On 17.09.2012, 18:44:19 Phil Thompson wrote: >> On Mon, 10 Sep 2012 23:31:20 +0200, mathias.b...@gmx.de wrote: >>> Phil, >>> >>> While using /AlloNone/ on a normal mapped type directive like

Re: [PyQt] Weird behavior in fromMimeData method (pyScintilla)

2012-09-18 Thread Phil Thompson
On Tue, 18 Sep 2012 23:16:00 +0200, Salvatore Larosa wrote: > Hi all, > I am not sure if this is the rigth place to ask! > > I created a small console to execute python command by using Qscintilla > python bindings but something doesnt work with MIME data. > > My code is: > > def fromMimeData(s

Re: [PyQt] Help with segfault in PyQt program

2012-09-18 Thread Phil Thompson
On Tue, 18 Sep 2012 00:30:12 +0530, Shriramana Sharma wrote: > Hi thanks for that fix. I had to polish my concepts of what Python > variables are before I could fathom this correctly: > http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#other-languages-have-variables > > Anyhow

Re: [PyQt] Weird behavior in fromMimeData method (pyScintilla)

2012-09-19 Thread Phil Thompson
On Wed, 19 Sep 2012 08:05:42 +0200, Salvatore Larosa wrote: > Hi, > > 2012/9/19 Phil Thompson > >> On Tue, 18 Sep 2012 23:16:00 +0200, Salvatore Larosa >> wrote: >> > Hi all, >> > I am not sure if this is the rigth place to ask! >> > >>

Re: [PyQt] Weird behavior in fromMimeData method (pyScintilla)

2012-09-19 Thread Phil Thompson
On Wed, 19 Sep 2012 14:54:57 +0200, Salvatore Larosa wrote: > Hi Phil, > > 2012/9/19 Phil Thompson > >> On Wed, 19 Sep 2012 08:05:42 +0200, Salvatore Larosa >> wrote: >> > Hi, >> > >> > 2012/9/19 Phil Thompson >> > >> >&

Re: [PyQt] Weird behavior in fromMimeData method (pyScintilla)

2012-09-20 Thread Phil Thompson
On Thu, 20 Sep 2012 00:48:10 +0200, Salvatore Larosa wrote: > Hi, > > 2012/9/19 Phil Thompson > >> On Wed, 19 Sep 2012 14:54:57 +0200, Salvatore Larosa >> wrote: >> > Hi Phil, >> > >> > 2012/9/19 Phil Thompson >> > >> >&

Re: [PyQt] QPoint not automatically cast to QPointF

2012-09-20 Thread Phil Thompson
On Thu, 20 Sep 2012 07:34:10 +0530, Shriramana Sharma wrote: > In my recent work with Beziers I ran across this. A QPoint is *not* > automatically converted into a QPointF in Python/PyQt while it *is* > converted in C++: > > The following C++ code compiles fine: > > # include > # include > int

Re: [PyQt] sip: add new annotation for specifying ownership of results of virtual methods

2012-09-21 Thread Phil Thompson
On Mon, 3 Sep 2012 22:27:41 +0200, mathias.b...@gmx.de wrote: > Hi Phil, > > I've come across a case which I think deserves its own function annotation. > This is the proplem: > > I'm embedding Python code into a C++ app. There are two wrapped classes: > > class Netlister > { > virtual ~Ne

Re: [PyQt] pyqt4 mac source tarball missing?

2012-09-23 Thread Phil Thompson
On Sun, 23 Sep 2012 14:56:20 -0500, Jack Nagel wrote: > The mac tarball (PyQt-mac-gpl-4.9.4.tar.gz) appears to be missing from > > http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.4/ > > I assume this is just an oversight. Should be there now. Thanks, Phil

Re: [PyQt] sip: add new annotation for specifying ownership of results of virtual methods

2012-09-24 Thread Phil Thompson
On Fri, 21 Sep 2012 21:17:31 +0200, mathias.b...@gmx.de wrote: > On 21.09.2012, 16:28:20 Phil Thompson wrote: >> On Mon, 3 Sep 2012 22:27:41 +0200, mathias.b...@gmx.de wrote: >>> Hi Phil, >>> >>> I've come across a case which I think deserves its ow

Re: [PyQt] QThread terminate trouble when porting to Python 3

2012-09-24 Thread Phil Thompson
On Sat, 22 Sep 2012 22:25:24 +0430, Lee Harr wrote: > I created a simple test case to demonstrate the problem I am having. > > As it is, running in Python 3.2 with PyQt 4.9.1 on Ubuntu, the program > freezes when trying to terminate the QThread. > > With the sleep, or if running on Python 2.7 wi

[PyQt] ANN: PyQtChart v1.1 Released

2012-09-28 Thread Phil Thompson
PyQtChart v1.1 has been released. These are the Python bindings for Digia's Qt Commercial Charts library (http://qt.digia.com/Product/Qt-Add-Ons/Charts/). This release adds support for v1.1 and includes additional examples demonstrating new features including donut charts and horizontal charts. P

Re: [PyQt] QValidator.validate encore

2012-09-29 Thread Phil Thompson
On Fri, 28 Sep 2012 16:27:52 -0700, David Cortesi wrote: > I have set up a QValidator whose validate method consists of: > > def validate(self, qs, pos) : > return (QValidator.Acceptable, qs, pos) > > and this still gets TypeError: invalid result type from > findRepValidator.validate

Re: [PyQt] QValidator.validate encore

2012-09-29 Thread Phil Thompson
On Sat, 29 Sep 2012 08:24:13 -0700, David Cortesi wrote: >> >> The API is different for different versions of the QString API. >> Phil >> > > Sorry, I'm using Python 2.7 and PyQt4 (4.8.3). > > Looking around the Riverbank docs starting at the top level I find this > link: > > > http://www.rive

[PyQt] ANN: SIP v4.14 Released

2012-09-30 Thread Phil Thompson
SIP v4.14 has been released... - The internal API version is increased to 9.0 requiring the regeneration of all modules. - Added the %InstanceCode directive. - Added the %VirtualErrorHandler directive. - Added the default_VirtualErrorHandler argument to the %Module directive. - Added the /Virtua

[PyQt] ANN: PyQt v4.9.5 Released

2012-09-30 Thread Phil Thompson
PyQt v4.9.5 has been released... - Binary installers for Python v3.3 are provided. - Added support for Qt v4.8.3. - Added support for Qt v5-beta1 (QtCore, QtGui, QtHelp, QtNetwork, QtSql, QtSvg, QtWebKit and QtXml only). - Implemented __str__ and __unicode__ for QChar. - Added the missing QPoint

Re: [PyQt] latest pykde4 (4.9.2) build fails against new sip-4.14/PyQt-4.9.5

2012-10-03 Thread Phil Thompson
On Wed, 03 Oct 2012 14:55 +0200, Luca Beltrame wrote: > In data mercoledì 3 ottobre 2012 08:51:48, Scott Kitterman ha scritto: > >> It would make it possible to run PyKDE4 4.10 on both Debian Wheezy and >> Ubuntu Quantal (12.10) without having to revert the changes for the newer > > I can try d

Re: [PyQt] QScriptEngineAgent segmentation fault

2012-10-03 Thread Phil Thompson
On Wed, 3 Oct 2012 17:57:39 +0100, Robert Kent wrote: > HI All, > > I'm trying to implement a QtScript debugger but am unable to install a > QScriptEngineAgent on a QScriptEngine. A much simplified example of what > I'm doing is shown below: > > from PyQt4.QtCore import * > from PyQt4.QtGui impo

Re: [PyQt] ANN: MetaSIP v1.0 Released

2012-10-06 Thread Phil Thompson
On Sat, 6 Oct 2012 11:00:48 -0700 (PDT), Shaheed Haque wrote: > I'm trying to use MetaSIP to generate bindings for Okteta, and by fiddling > about a bit , I got to the point where it seems to be parsing things OK. As > the next step seemed to involve laying with the parsed entries, I > temporarily

Re: [PyQt] QComboBox.findItem and tuples

2012-10-11 Thread Phil Thompson
On Thu, 11 Oct 2012 22:21:09 +0200, Vicent Mas wrote: > Hi, > > as shows the following code, QComboBox.findItem works fine with lists > but no with tuples. > > if __name__ == "__main__": > import sip > sip.setapi('QVariant', 2) > from PyQt4 import QtGui > a = QtGui.QApplication([

Re: [PyQt] support for Android

2012-10-15 Thread Phil Thompson
On Mon, 15 Oct 2012 16:38:48 +0200, Stef Mientki wrote: > hello > > Is there any progress in the support for Android ? > > PyQt seems to be the only environment that supports full WebKit. > > I just got my hands on a galaxy Note 10.1, > and I have a very simple (at least I think) need: > "write

Re: [PyQt] Platforms directive or tags, or both?

2012-10-18 Thread Phil Thompson
On Thu, 18 Oct 2012 09:42:30 -0600, Larry Shaffer wrote: > Hi, > > I'm working on a fix for Mac (for QGIS project) where size_t needs a > different typedef in a sip file than other platforms. > > See: http://hub.qgis.org/issues/6505 > > The build system is CMake that passes -t WS_MACX from the

Re: [PyQt] Platforms directive or tags, or both?

2012-10-18 Thread Phil Thompson
On Thu, 18 Oct 2012 11:58:59 -0600, Larry Shaffer wrote: > Hi Phil, > > Thanks for the reply. > > On Thu, Oct 18, 2012 at 10:03 AM, Phil Thompson > wrote: >> On Thu, 18 Oct 2012 09:42:30 -0600, Larry Shaffer >> >> wrote: >>> Hi, >>> >

Re: [PyQt] Platforms directive or tags, or both?

2012-10-19 Thread Phil Thompson
On Thu, 18 Oct 2012 15:09:48 -0600, Larry Shaffer wrote: > On Thu, Oct 18, 2012 at 2:57 PM, Phil Thompson > wrote: >> On Thu, 18 Oct 2012 11:58:59 -0600, Larry Shaffer >> >> wrote: > -8<-- >>>>> Also, I would either like to kno

Re: [PyQt] Platforms directive or tags, or both?

2012-10-19 Thread Phil Thompson
On Thu, 18 Oct 2012 23:16:37 +0200, Jens Thoms Toerring wrote: > Hi Larry, > > On Thu, Oct 18, 2012 at 02:45:30PM -0600, Larry Shaffer wrote: >> Interesting approach. Thank you for sharing. Since the QGIS project >> has a minimum requirement of Python 2.3 (2.5+ recommended), I think >> maybe the

Re: [PyQt] problem running pyqt on xubuntu

2012-10-21 Thread Phil Thompson
On Sun, 21 Oct 2012 08:11:11 +0100, Mark Summerfield wrote: > Hi Baz, > > On Sun, 21 Oct 2012 00:44:58 +0100 > Baz Walter wrote: >> On 20/10/12 08:11, Mark Summerfield wrote: >> > Hi, >> > >> > I have built local versions of Qt 4.8.3, Python, SIP, and PyQt on an >> > Xubuntu machine which has Qt

Re: [PyQt] QGraphicsView view jumping bug

2012-10-23 Thread Phil Thompson
On Tue, 23 Oct 2012 20:20:30 +0100, Zsolt Ero wrote: > I'm having a weird problem: my whole QGraphicsView goes crazy if I > uncomment the following lines in a class (of QtGui.QGraphicsItem): > > if len( self.points ) == 1: > rect = QtCore.QRectF( self.points[0].x()-self.radius, > self.points[0].

Re: [PyQt] need help with new signals

2012-10-24 Thread Phil Thompson
On Tue, 23 Oct 2012 22:30:12 +0100, Matthew Ngaha wrote: > im trying to figure out how i can change the old signal syntax to new. the > program im reading through creates a widget that inherits from QSpinBox. > > zerospinbox = ZeroSpinBox() > > It then emits its custom signal, then that signal i

Re: [PyQt] A gobal variable problem in sip

2012-10-24 Thread Phil Thompson
On Wed, 24 Oct 2012 06:11:13 +0800, "D.Y Feng" wrote: > I meet a problem in my code: > > hello.h: > > #include >> >> class Hello : public QObject{ >> Q_OBJECT >> public: >> Hello(QObject *parent = 0); >> static int test(){ >> static int i=0; >> qDebug()<> retu

[PyQt] ANN: SIP v4.14.1 Released

2012-10-27 Thread Phil Thompson
SIP v4.14.1 has been released. It is mainly a minor feature and bug fix release aimed at generating modules for C libraries. (PyQt users can ignore it.) Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/l

[PyQt] ANN: pogles v0.1 Released

2012-10-27 Thread Phil Thompson
pogles v0.1 has been released. This is a set of Python bindings for OpenGL ES v2.0 with specific support for the Raspberry Pi and X11. It can be downloaded from PyPI (http://pypi.python.org/pypi/pogles) SIP v4.14.1 is required. Phil ___ PyQt mailing li

Re: [PyQt] Segfault with QRawFont

2012-10-28 Thread Phil Thompson
On Sun, 28 Oct 2012 15:38:59 +0530, Kovid Goyal wrote: > The backtrace is below. Looks to me like the QRawFont object is being > released after Qt has already released the FreeType library, leading to > the segfault. The workaround is to ensure that all QRawFont objects are > deleted before Py_Fin

Re: [PyQt] Specifying Include Directories for PyQt Build

2012-10-28 Thread Phil Thompson
On Sun, 21 Oct 2012 00:57:27 -0400, Scott Kitterman wrote: > On Saturday, October 20, 2012 10:42:07 PM Scott Kitterman wrote: >> On Saturday, October 20, 2012 08:44:25 PM Scott Kitterman wrote: >> > Starting with python3.3, python will support multiarch [1] in Debian >> > and >> > Ubuntu. As part

Re: [PyKDE] namespace meth_* members in sip4

2004-01-04 Thread Phil Thompson
On Saturday 03 January 2004 9:42 pm, Patrick Stinson wrote: > In upgrading from sip3.8 to the latest sip4 snapshot, I'm having problems > with namespace member methods. > > After finding some minor filename changes, I found that sip4 doesn't seem > to define the methods residing in the namespace I'

Re: [PyKDE] KControl Modules II (Simon Edwards)

2004-01-05 Thread Phil Thompson
On Monday 05 January 2004 6:11 pm, Jim Bublitz wrote: > On Monday January 5 2004 00:54, Toby Dickenson wrote: > > On Saturday 03 January 2004 19:28, Jim Bublitz wrote: > > > Basically maintaining a thread state variable along with the > > > global interpreter lock in the interface to the interprete

Re: [PyKDE] namespace meth_* members in sip4

2004-01-05 Thread Phil Thompson
re here:) > > http://br.logorrhea.com/skel/pksampler > > On Sunday 04 January 2004 01:34, Phil Thompson wrote: > > On Saturday 03 January 2004 9:42 pm, Patrick Stinson wrote: > > > In upgrading from sip3.8 to the latest sip4 snapshot, I'm having > > > problems with nam

Re: [PyKDE] qt-mtedu320.dll

2004-01-09 Thread Phil Thompson
On Friday 09 January 2004 8:26 am, [EMAIL PROTECTED] wrote: > I want to evaluate PyQT (and QT) in Windows. > > I've downloaded the latest PyQT, and what > I thought was the correct QT download : > > qt-win-eval-msvc-3.2.3.exe > > However, this provides qt-mteval323.dll. > > Did I get the wrong QT

Re: [PyKDE] PyQT on HPUX

2004-01-10 Thread Phil Thompson
On Saturday 10 January 2004 6:44 am, Mike wrote: > Hello, I am trying in vain to get PyQT to run on HPUX 11. The troublesome > file is pyuic3/form.cpp. First it references the std header, but > bails out because the Makefile doesn't include the proper path. Afterward > adding that in by hand it fo

Re: [PyKDE] Problems with QTimer.singleShot in PyQt 3.9/SIP 4.0rc1

2004-01-10 Thread Phil Thompson
On Wednesday 07 January 2004 3:25 pm, Fredrik Juhlin wrote: > Hi, > > We're trying to run our PyQt-based app with SIP 4.0rc1 (and as a > consequence PyQt 3.9 and Python 2.3.3) and have isolated a crash bug when > using QTimer.singleShot. > > Attached is an example app that will crash when pressing

Re: [PyKDE] Using SIP to create python versions of C++ QWidget subclasses

2004-01-11 Thread Phil Thompson
On Sunday 11 January 2004 10:50 am, Jahn Otto Næsgaard Andersen wrote: > Hi, > > I have a widget written in C++ deriving from QWidget. I'd like to make > this widget available in a python program using SIP, but I am completely > lost on how to do it. > > I tried to compile the example at > http://p

Re: [PyKDE] Using SIP to create python versions of C++ QWidget subclasses

2004-01-11 Thread Phil Thompson
On Sunday 11 January 2004 11:31 am, Jahn Otto Næsgaard Andersen wrote: > Thank you for your quick reply! Will the SIP v4 documentation be more > complete than the existing documentation? Do you have any idea when it > will be ready? Anything would be more complete than the existing documentation.

Re: [PyKDE] namespace meth_* members in sip4

2004-01-11 Thread Phil Thompson
On Tuesday 06 January 2004 4:20 pm, Patrick Stinson wrote: > the only problem now its seems is that the cpp file defining the namespace > functions is not including the headers for the other classes in the module > it requires: > > sip file: > namespace PK > { > PK::MediaLayer *CreateMediaLayer(c

Re: [PyKDE] Qtranslator problems w/ setAccel

2004-01-11 Thread Phil Thompson
On Wednesday 07 January 2004 6:58 pm, [EMAIL PROTECTED] wrote: > To followup on the problem I reported earlier, I've provided the pyuic > generated main.py module as an attachment. I've modified the __tr() > method to print it's arguments. > > Output of executing test.py is now this: > > $ python

Re: [PyKDE] sip messes up #line directives when concatenating

2004-01-11 Thread Phil Thompson
On Sunday 11 January 2004 7:21 pm, [EMAIL PROTECTED] wrote: > Phil, > > Discovered with sip-20040110 (but may be older). > > sip messes up some of the line directives when concatenating. > See attached file and look for line 2319. > > This file is produced on SuSE-9.0 where those errors are harmles

Re: [PyKDE] pyqt needs rpath

2004-01-11 Thread Phil Thompson
On Sunday 11 January 2004 6:20 pm, Neal Becker wrote: > I just installed PyQt-x11-gpl-3.9 on my Fedora1 linux system. It went OK, > except that it linked to libsip without using -rpath. Since the install > dir, /usr/lib/python2.2/site-packages is not on the normal dynamic link > search path, noth

[PyKDE] ANN: SIP v4.0rc2 Released

2004-01-12 Thread Phil Thompson
SIP v4.0rc2 has been released and is available for download at the usual place. All known bugs have been fixed (except the one about typedefs in signal signatures). Please test and let me know of *anything* that doesn't look right. Phil ___ PyKDE ma

Re: [PyKDE] PyQT 3.9 and QT 3.2.3 and the reparent method

2004-01-13 Thread Phil Thompson
On Tuesday 13 January 2004 2:20 pm, Rob Knapp wrote: > I'm trying to upgrade to 3.9 and QT 3.2.3 but I'm having issues with the > reparent method. > > Below is an interactive session showing the issue. According to the > newsgroups this error occurs when the extension returns NULL instead of > Py_

Re: [PyKDE] ANN: SIP v4.0rc2 Released

2004-01-13 Thread Phil Thompson
On Tuesday 13 January 2004 9:26 pm, Torsten Marek wrote: > Torsten Marek schrieb: > > Phil Thompson schrieb: > > .. snip .. > > > procudes either SIGSEGV or "Illegal instruction" - but maybe that is > > just "gcc version 3.3.3 20040110 (prerelease) (D

Re: [PyKDE] PyQT on HPUX

2004-01-14 Thread Phil Thompson
On Wednesday 14 January 2004 4:45 am, Mike wrote: > RE: [PyKDE] PyQT on HPUXThanks! That was the solution. > > I had to add -AA to CXXFLAGS and to LIBS I had to add "-lCsup_v2 -lstd_v2" > to LIBS. I gather that somewhere in the build process, the system grabs the > QT build info from qtmake.conf i

Re: [PyKDE] QToolButton

2004-01-15 Thread Phil Thompson
On Thursday 15 January 2004 1:42 pm, claude faath wrote: > Hello > > Here the extract of my code > > toolBar = QToolBar(self) > self.fileOpen = QToolButton(QPixmap(fileopen), 'Open File', 'Opens a new > file', self.open, tollBar, 'Open File') > self.fileSave = QToolButton(QPixmap(filesave), 'Save F

Re: [PyKDE] qt.qApp, subclassing QApplication

2004-01-15 Thread Phil Thompson
On Thursday 15 January 2004 10:58 am, [EMAIL PROTECTED] wrote: > Hi, > in my application I want to subclass qt.QApplication and > use this subclass instead of QApplication. Some of my > modules are automatically generated by pyuic and I am > not allowed to change their source code. The problem > is

Re: [PyKDE] ANN: SIP v4.0rc2 Released

2004-01-15 Thread Phil Thompson
On Thursday 15 January 2004 7:33 pm, Eron Lloyd wrote: > Hi Phil, > > Trying to build the newest SIP/PyQt on SUSE 9.0 using Python 2.3.3 and Qt > 3.2.3 gave me trouble. Falling back to SIP/PyQt 3.9 seems to work fine. > Here's the traceback: > > linux:/home/elloyd/Packages/PyQt-x11-gpl-snapshot-200

[PyKDE] ANN: PyQt v3.10, SIP v3.10 Released

2004-01-17 Thread Phil Thompson
PyQt v3.10 and SIP v3.10 have been released and are available at the usual place. These are mainly bug fix releases, but also include... - the QHttp, QHttpHeader, QHttpRequestHeader, QHttpResponseHeader and QLocalFs classes - sip.voidptr.asstring() has been added to convert arbitary blocks of

Re: [PyKDE] qt.qApp, subclassing QApplication

2004-01-17 Thread Phil Thompson
On Saturday 17 January 2004 4:43 pm, [EMAIL PROTECTED] wrote: > On Thu, 15 Jan 2004 19:15:06 +, > > Phil Thompson <[EMAIL PROTECTED]> wrote: > > On Thursday 15 January 2004 10:58 am, [EMAIL PROTECTED] wrote: > > > in my application I want to subclass qt.Q

Re: [PyKDE] qtpe build problem

2004-01-17 Thread Phil Thompson
On Saturday 17 January 2004 4:50 pm, Michael Lauer wrote: > Hello, > > I'm cross-building PyQt 3.9 with sip 3.9 against Qt/Embedded 2.3.7 and > Qtopia. > With the same build environment that successfully compiles PyQt 3.8/sip > 3.8, > I get the following error w/ 3.9: Can you try 3.10? Phil

Re: [PyKDE] 4.0_rc2 sip with PyQt 3.10?

2004-01-17 Thread Phil Thompson
On Saturday 17 January 2004 10:42 pm, Rob Cakebread wrote: > Hi, > > I've compiled sip 4.0_rc2 and PyQt 3.10, using Python 2.3.3. From what I > read on the website, that combination should work. > > If I "import qt" I get: > > Traceback (most recent call last): > File "", line 1, in ? > File "/

Re: [PyKDE] Build error: SIP 4.0rc2 + PyQt 3.10 + Python 2.3.3 on Redhat 8.0

2004-01-18 Thread Phil Thompson
On Sunday 18 January 2004 12:37 pm, Jahn Otto Næsgaard Andersen wrote: > Hi, I have downloaded the latest sources of > > SIP 4.0rc2 > PyQt 3.10 > Python 2.3.3 > > on a Redhat 8.0 box. I am using Qt 3.0.5. Python and SIP compiles and > install without problems using the "new" build method described

Re: [PyKDE] Basic sip problem

2004-01-18 Thread Phil Thompson
On Sunday 18 January 2004 3:55 pm, Jahn Otto Næsgaard Andersen wrote: > Hello there, > > I'm a bit lost when using SIP here. I am using Python 2.3.3, SIP 4.0rc2, > Qt 3.2.3 and PyQt 3.10. > > I have a C++ class, ExaminerWidget, that is inheriting QWidget. > > I have made the following sip file exam

Re: [PyKDE] Basic sip problem

2004-01-18 Thread Phil Thompson
On Sunday 18 January 2004 5:36 pm, Jahn Otto Næsgaard Andersen wrote: > Thanks! That pushed me a little further in the right direction. > > I tried your modified sip file. SIP then complained about a missing > "qtmod.sip" file. I copied this from the PyQt source tree to [current > directory], and S

Re: [PyKDE] Obscure bug in PyQt?

2004-01-20 Thread Phil Thompson
On Tuesday 20 January 2004 8:13 pm, Roberto Alsina wrote: > Hello, > > Ok, this one is pretty hard to explain. I imagine understanding will be > harder still :-) > > First of all: this same code worked with PyQt 3.8 (I think that was the > version), but doesn't with 3.9 or 3.10 > > Here's the story

Re: [PyKDE] Including database support in Qt runtime

2004-01-21 Thread Phil Thompson
On Wednesday 21 January 2004 2:03 am, Tuvi, Selim wrote: > Hi all, I recently compiled Qt 3.2.3 under Windows XP and selected MySql > and Oracle support as 'Direct' in Advanced Options. > > The problem is that whenever a Qt or PyQt application runs it expects the > MySql and Oracle runtime librarie

Re: [PyKDE] installing sip, PyQt and PyKDE

2004-01-21 Thread Phil Thompson
On Wednesday 21 January 2004 12:00 pm, Markus Burrer wrote: > Hi, > i want to install SIP, PyQt and PyKDE, but i have problems. Maybe > someone can help me, cause im's not an Linux expert. > I have SUSE 9.0 and Python 2.3. and i could not find rpm's for this > distribution. So i download the source

Re: [PyKDE] module versioning and ISO types (size_t, ptr_diff_t, ...)

2004-01-24 Thread Phil Thompson
On Wednesday 21 January 2004 7:06 pm, Gerard Vermeulen wrote: > Hi, > > I am somewhat confused with respect to sip's new module version, like > > %Module qtnetwork 0 > > In PyQt-3.10, this module has been extended with new classes. Since, its > interface has changed doesn't it mean that the 0 shoul

Re: [PyKDE] PyQt application packagers for windows?

2004-01-24 Thread Phil Thompson
On Friday 23 January 2004 9:01 am, Ulrich Berning wrote: > Greg Fortune schrieb: > >My e-mails and phone calls with Trolltech addressed exactly that clause > > and they said it was fine even after I explained that strictly speaking > > it was a violation of that clause. They did say that if I expo

Re: [PyKDE] Little Python helpers for PyQt

2004-01-24 Thread Phil Thompson
On Thursday 22 January 2004 12:58 am, Torsten Marek wrote: > Hello all, > > I think I can safely presume that anybody of you who has been working > extensively with PyQt has created his/her own set of little helper > functions that proved very useful in several projects of yours, because > I see ex

Re: [PyKDE] PyQt application packagers for windows?

2004-01-24 Thread Phil Thompson
On Thursday 22 January 2004 2:24 pm, Roberto Alsina wrote: > Hello, > > I was just wondering. If someone writes a nice, very free (as in BSD or > public domain) app using PyQt, would it be legal if someone having a > windows license would pack it into an installer and distribute it? > > I know it w

Re: [PyKDE] PyQt and PyKDE on Mandrake 9.2

2004-01-25 Thread Phil Thompson
On Friday 23 January 2004 1:19 pm, Randall Sanborn wrote: > I'm trying to install PyKDE for slickbar on superkaramba. I'm getting > snagged on the PyQt build. > > I've been having problems trying to get PyKDE installed on MDK9.1, so I > upgraded to 9.2 and they are still popping up. First, python c

Re: [PyKDE] SIP: How to pass STL objects

2004-01-25 Thread Phil Thompson
On Sunday 25 January 2004 1:20 pm, Jahn Otto Næsgaard Andersen wrote: > Hi, I have made a class with a constructor that takes std::string and > std::vector for various functions. > > Simplified example: > > %Module HoloLib > > class Bird > { > %TypeHeaderCode > #include "bird.h" > #include > %End

Re: [PyKDE] Conditional SIP processing based on the PyQt version

2004-01-25 Thread Phil Thompson
On Thursday 22 January 2004 9:14 pm, Tuvi, Selim wrote: > Hi, I noticed that beginning with PyQt 3.9 the sip files are divided into > subdirectories. We have a SIP interface where we need to import some of the > core SIP files from the PyQt distribution. But I don't want to break the > compilation

Re: [PyKDE] QSizePolicy error on Zaurus

2004-01-26 Thread Phil Thompson
On Monday 26 January 2004 1:26 pm, Torben M. Hansen wrote: > When attempting to make a application for for my Zaurus SL-C750 using > PyQt / Qt Designer, I get the following error: > > --- > > self.cbCB.setSi

Re: [PyKDE] QSizePolicy error on Zaurus

2004-01-27 Thread Phil Thompson
On Tuesday 27 January 2004 1:22 am, Torben M. Hansen wrote: > On Tue, 2004-01-27 at 04:33, Phil Thompson wrote: > > You need to build a version of PyQt against Qt 2.3.2. > > > > Phil > > Sounds Reasonable! Thanks > > So I installed Qtopia (which should include Qt

Re: [PyKDE] sipNew vs sipCpp

2004-01-28 Thread Phil Thompson
On Wednesday 28 January 2004 1:46 am, Claus, Richard wrote: > Hi, > > I'm upgrading from sip 3.8 to sip 3.10 and noticed that my application > now fails to compile because the variable sipNew has undergone a name > change to sipCpp. Since I didn't find any notes with the package or > comments on

Re: [PyKDE] PyKDE can't find the sip file directory

2004-01-28 Thread Phil Thompson
On Wednesday 28 January 2004 12:13 pm, Shane Rogers wrote: > OK, I've been trying to get this thing to build for quite some time now, > and am just about to get really disgusted with the whole process. In the > past, I never really had that much trouble getting PyKDE to compile but now > for some

Re: [personal] Re: [PyKDE] PyKDE can't find the sip file directory

2004-01-28 Thread Phil Thompson
On Wednesday 28 January 2004 7:30 pm, Shane Rogers wrote: > Phil Thompson wrote: > >PyKDE 3.8 requires SIP v3.8 and PyQt 3.8 - there are plenty of messages in > > the archive to this effect. > > > >PyQt does not support beta versions of Qt - there are also messages in

Re: [PyKDE] who is building pyqt based on qt3.2.1 non-commercial version?

2004-01-30 Thread Phil Thompson
On Friday 30 January 2004 5:20 pm, Shunming Fang wrote: > Hello,Guys, > Do your guys know when the latest pyqtwill include qt3.2.1 non commercial > version. I already got the qt boook plus qt3.2.1 non commercial version. No decision has yet been made as to whether this version will be supported.

Re: [PyKDE] QAccessible support

2004-01-30 Thread Phil Thompson
On Friday 30 January 2004 11:50 pm, Eron Lloyd wrote: > Are there any plans to enable QAccessible and friends in PyQt? I know the > classes are a newer feature, but I'd like to begin building in stubs for > this stuff if it is ever made available. Anyone have any experience in this > area? There a

Re: [PyKDE] Obscure bug in PyQt?

2004-01-31 Thread Phil Thompson
On Tuesday 20 January 2004 8:13 pm, Roberto Alsina wrote: > Hello, > > Ok, this one is pretty hard to explain. I imagine understanding will be > harder still :-) > > First of all: this same code worked with PyQt 3.8 (I think that was the > version), but doesn't with 3.9 or 3.10 > > Here's the story

Re: [PyKDE] Problems compiling PyQt-mac-gpl-snapshot - 29. Jan 2004

2004-01-31 Thread Phil Thompson
On Saturday 31 January 2004 12:34 pm, Dr. L. Humbert wrote: > Hi, > in the meantime, it is possible to compile > sip (snapshot) > > SIP snapshot-20040129 > > on Mac OS X 10.3 whithout problems. > > TNX for this ;-) > > > But ... when compiling PyQt-mac-gpl-snapshot > most of the elements com

<    5   6   7   8   9   10   11   12   13   14   >