[PyQt] building pyqt and qt.conf

Erik Janssens Erik.Janssens at conceptive.be
Sat Dec 11 16:40:08 GMT 2010


ok, thanks !

my build script now temporary removes qt.conf when building pyqt...

On Sat, Dec 11, 2010 at 5:35 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Sat, 11 Dec 2010 14:31:08 +0100, Erik Janssens
> <Erik.Janssens at conceptive.be> wrote:
>> Hi,
>>
>> I was trying to build the latest snapshot of PyQt and
>> for a reason I don't understand, PyQt would always
>> build against QT installed on the system, despite pointing
>> it explicitly to a custom QT build using the -q option.
>>
>> After many hours of looking, I found this was due to
>> the fact that I had put a qt.conf file in the bin dir
>> of QT to make it load plugins.
>>
>> Now I now how to fix this, but I don't understand
>> why.  What is the relation between qt.conf and
>> the PyQt build system.
>>
>> The qt.conf only contained a line to set the prefix
>> to '.'
>
> configure.py creates and runs a small C++ program that uses QLibraryInfo
> to get the details of the Qt configuration. The values returned are
> influenced by any qt.conf file.
>
> Phil
>


More information about the PyQt mailing list