[PyQt] Re: Can't install PyQt4 on F7

Rex Dieter rdieter at math.unl.edu
Sun Jun 10 05:21:43 BST 2007


Phil Thompson wrote:
> On Saturday 09 June 2007 1:54 pm, IloChab wrote:
>> I' trying to install PyQt-x11-gpl-4.2 on F7 with:
>>
>> python 2.5
>> and:
>> qt4-4.2.3-8.fc7
>> qt4-doc-4.2.3-8.fc7
>> qt4-x11-4.2.3-8.fc7
>> qt4-devel-4.2.3-8.fc7
>> sip-4.6
>>
>> I have /usr/lib64/qt4/bin in my PATH and QMAKESPEC set..
>>
>> When I do the command:
>>
>> # python configure.py
>>
>> I get this error:
>>
>> Determining the layout of your Qt installation...
>> This is the GPL version of PyQt 4.2 (licensed under the GNU General Public
>> License) for Python 2.5 on linux2.
>> Error: This version of PyQt and the Desktop edition of Qt have incompatible
>> licenses.
>>
>> I can't understand the reason of this message and I don't know what to do
>> to fix it.
> 
> It sound like they have messed with the value of QT_EDITION in qconfig.h.

Kinda/sorta, we modified qconfig.h to support multilib, essentially
containing (something like):

#if defined(__x86_64__)
# include <QtCore/qconfig-x86_64.h>
#elif defined(__i386__)
# include <QtCore/qconfig-i386.h>
...

See also:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223663#c16
other/better suggestions welcome.


-- Rex



More information about the PyQt mailing list