moc Files are run, if their accompanying .cpp File changed. I am not aware of a cmake command to run it forcefully, but you can always run “touch” on the wronged file.
Cheers
> Am 27.03.2020 um 19:17 schrieb Dario Lombardo <lomato@xxxxxxxxx>:
>
>
> Hi,
> is there a cmake target to unconditionally regenerate Qt moc files?
> If I change something in the cmake defines, the target qtui_autogen doesn't actually regenerate the moc files, giving me a compilation error. Otherwise if I manually remove the moc dir ui/qt/qtui_autogen/ and recompile, goes ok.
> Thanks.
> Dario.
>
> --
> Naima is online.
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe