Different moc output path on windows/mac for sip-build?

Patrick Stinson patrickkidd at gmail.com
Fri Oct 9 20:24:35 BST 2020


I am looking forward to the switch to cmake, though of course behavior like this may stay the same regardless. I ported my app from qmake to cmake and the build system is so much cleaner that there is no comparison.

> On Oct 9, 2020, at 11:22 AM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Oh that’s right.
> 
> I’ll see if I can get my component to add its source paths differently for windows.
> 
>> On Oct 9, 2020, at 12:13 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>> 
>> On 09/10/2020 00:38, Patrick Stinson wrote:
>>> Sip-build puts moc_* sources into different paths on windows and Mac,
>>> which causes problems when trying to write an extension and associated
>>> component plugin that work together.
>>> Windows:
>>> <build-dir>/<module name>/<release|debug>/moc_*
>>> Mac:
>>> <build-dir>/<module name>/moc_*
>>> How to fix this? This doesn’t seem right.
>> 
>> It's standard qmake behaviour.
>> 
>> Phil
> 



More information about the PyQt mailing list