[PyQt] pyqtconfig.sipconfig._config_stack has wrong paths
Phil Thompson
phil at riverbankcomputing.com
Thu Mar 11 14:30:31 GMT 2010
On Thu, 11 Mar 2010 09:13:27 -0500, Josh <jknox at irobot.com> wrote:
> 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?
Of course, why would it be otherwise? Or have I misunderstood the question?
Phil
More information about the PyQt
mailing list