[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Attribute 'swap' is missing - e.g. QIcon
From: Michael Hartung <michael () infinite-drive ! com>
Date: 2012-07-17 9:41:32
Message-ID: 5005334C.6060103 () infinite-drive ! com
[Download RAW message or body]
Hi Phil,
Oops, you are right. Just Qt-4.7.4 on Linux and therefore too old to swap...
But on MacOSX I had Qt-4.8.1 in my path while switching to PyQt 4.9.4 as
an attempt to get swap running...
Anyway...
Thanks for your quick response!
Michael
Btw... I am really enjoying PyQt
Am 17.07.2012 10:39, schrieb Phil Thompson:
> On Tue, 17 Jul 2012 10:24:47 +0200, Michael Hartung
> <michael@infinite-drive.com> wrote:
>> Hi,
>>
>> After switching to 4.9.4 I can use 'swap' e.g. with QIcon on MacOSX:
>>
>> self.__majorQIcon.swap(QtGui.QIcon(iconPath))
>>
>> Before this attribute was not available on MacOSX and on Linux whereas
>> it works on Windows all the time.
>>
>> Updating to 4.9.4 did not help on Linux.
>>
>> An explanation would be nice...
>>
>> Thanks in advance!
>> Michael
>
> Maybe your version of Qt on Linux is too old.
>
> Phil
>
--
Best regards,
Michael Hartung
CEO of Infinite Drive
hartung@infinite-drive.com
http://www.infinite-drive.com/
INFINITE-DRIVE
Everybody's Individual Traffic
Worldwide
_______________________________________________
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