Generate moc_*cpp after sip-module --no-compile
Patrick Stinson
patrickkidd at gmail.com
Mon Sep 2 19:07:21 BST 2024
Sorry, brain fart. I meant sip-build not sip-module.
> On Sep 2, 2024, at 9:57 AM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>
> Hi there,
>
>
> I am trying to figure out the intended way to generate the moc_*.cpp sources for my app’s custom PyQt/sip extension before running pyqtdeploy-build. This is for an automated build pipeline on GitHub.
>
> "sip-module —no-compile” will generate the extension's non-moc .cpp and .h files but it doesn’t generate the moc_*.cpp. I have all this working by just running “sip-module” without “—no-compile,” but that unnecessarily builds the extension which adds extra redundant run time. All I want to do is generate the sources so they can be compiled in the app’s actual compilation phase.
>
> What is the intended way to do this? Is it to manually run the moc exe to generate the sources?
>
> Cheers,
> -Patrick
More information about the PyQt
mailing list