[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] ANN: SIP v4.15.1 Released
From:       Hans-Peter Jansen <hpj () urpla ! net>
Date:       2013-11-20 15:16:45
Message-ID: 3096913.D5BmgxatFY () xrated
[Download RAW message or body]

On Mittwoch, 20. November 2013 08:27:45 Phil Thompson wrote:
> On Wed, 20 Nov 2013 00:17:20 +0100, Hans-Peter Jansen <hpj@urpla.net>
> 
> wrote:
> 
> Again, probably a missing (private this time) reimplementation.

Okay, got it, built it, and it worked so far. Lightly tested only.

You made my day, Phil, thank you.

Without these fixes, PyQt3 applications are going to have bad luck soon: new 
distributions roll out sip 4.15+ (e.g. openSUSE 13.1), and replacing that with 
all dependent packages built on sip 4.14-anything will be going to be VERY 
painful. Literally. Promised.

I guess, some people are going to suffer from it soon, so here we go the other 
route.. Let's see, if something for PyKDE3 could be done as well.

openSUSE people should check home:frispete:PyQt on OBS.

Cheers,
Pete

["python-qt3-with-sip-4.15.diff" (python-qt3-with-sip-4.15.diff)]

From: hpj@urpla.net

This patch allows PyQt 3.18.1 to build with sip 4.15+. 

--- sip/qt/qlayout.sip~	2009-06-16 10:47:31.000000000 +0200
+++ sip/qt/qlayout.sip	2013-11-19 23:34:01.451326665 +0100
@@ -328,8 +328,8 @@ public:
 	QSizePolicy::ExpandData expanding() const;
 	QSize minimumSize() const;
 	QSize maximumSize() const;
-	void setGeometry(const QRect &) = 0;
-	QLayoutIterator iterator() = 0;
+	virtual void setGeometry(const QRect &) = 0;
+	virtual QLayoutIterator iterator() = 0;
 	bool isEmpty() const;
 
 	int totalHeightForWidth(int) const;

--- sip/qtnetwork/qftp.sip~	2009-06-16 10:47:31.000000000 +0200
+++ sip/qtnetwork/qftp.sip	2013-11-20 11:22:25.710338805 +0100
@@ -177,6 +177,9 @@ protected:
 	virtual void operationRename(QNetworkOperation *);
 	virtual void operationGet(QNetworkOperation *);
 	virtual void operationPut(QNetworkOperation *);
+
+private:
+	virtual bool checkConnection(QNetworkOperation *);
 };
 
 %End


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic