<div dir="ltr">Oh, I get it. The command line option is added by pyqt-builder. Then you are referring to running qmake on the .pro file. That does add entries to the Makefiles to generate those files. Thanks</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 13, 2024 at 11:05 PM Patrick Stinson <<a href="mailto:patrickkidd@gmail.com">patrickkidd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Do you mean --no-compile on sip-module? I have been running this though don't see a Makefile. I've been then running moc manually since the api is simple.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 2, 2024 at 2:10 PM Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 02/09/2024 19:07, Patrick Stinson wrote:<br>
> Sorry, brain fart. I meant sip-build not sip-module.<br>
> <br>
>> On Sep 2, 2024, at 9:57 AM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" target="_blank">patrickkidd@gmail.com</a>> <br>
>> wrote:<br>
>> <br>
>> Hi there,<br>
>> <br>
>> <br>
>> I am trying to figure out the intended way to generate the moc_*.cpp <br>
>> sources for my app’s custom PyQt/sip extension before running <br>
>> pyqtdeploy-build. This is for an automated build pipeline on GitHub.<br>
>> <br>
>> "sip-module —no-compile” will generate the extension's non-moc .cpp <br>
>> and .h files but it doesn’t generate the moc_*.cpp. I have all this <br>
>> working by just running “sip-module” without “—no-compile,” but that <br>
>> unnecessarily builds the extension which adds extra redundant run <br>
>> time. All I want to do is generate the sources so they can be compiled <br>
>> in the app’s actual compilation phase.<br>
>> <br>
>> What is the intended way to do this? Is it to manually run the moc exe <br>
>> to generate the sources?<br>
>> <br>
>> Cheers,<br>
>> -Patrick<br>
<br>
I assume you are using PyQt-builder so I would use --no-make and run <br>
make separately with the targets that will run moc only - hopefully <br>
qmake generates useful targets.<br>
<br>
Phil<br>
</blockquote></div>
</blockquote></div>