[PyQt] pyqtconfig.sipconfig._config_stack has wrong paths

Josh jknox at irobot.com
Thu Mar 11 14:13:27 GMT 2010


Phil Thompson wrote:
> On Wed, 10 Mar 2010 16:49:13 -0500, Josh <jknox at irobot.com> wrote:
>   
>> Hi,
>>
>> In my dev environment we build packages of Qt, PyQt, SIP, etc on a 
>> "central" build machine. Developers use these packages as dependencies 
>> for their projects on their own machines. The packages are always 
>> installed in different locations than where they were originally built. 
>> This leads to a problem where the plethora of paths specified in 
>> pyqtconfig.sipconfig._config_stack all refer to the original build 
>> machine. So, without some customization, its impossible to build 
>> PyQt/SIP wrappers for our Qt C++ widgets.
>>
>>
>> My question is this: Is it correct to just pilfer through the elements 
>> of pyqtconfig.sipconfig._config_stack and set things up for my system 
>> (ie. string replace)?
>>     
>
> No - _config_stack is an internal implementation detail.
>
>   
>> Doing that just feels wrong. Is there a better way 
>> to go about this?
>>     
>
> No - what you are doing is simply unsupported.
>
> Phil
>   
OK, that's fine. I faced similar issues integrating Qt with our build 
system. Just so I understand, are the official PyQt releases 
built/installed into the exact same paths that are expected to be used 
by end users?

Thanks,

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100311/f0f434f2/attachment.html>


More information about the PyQt mailing list