Skip to content

Conversation

@Fuzzbawls
Copy link
Collaborator

CMake has an internal function (qt5_generate_moc) that can be used to
forcibly generate a .moc file. Use that instead of the generic
execute_process function.

This fixes an issue on systems (fe, Arch Linux) where Qt's moc binary
are placed in a different location than debian based distros.

CMake has an internal function (`qt5_generate_moc`) that can be used to
forcibly generate a `.moc` file. Use that instead of the generic
`execute_process` function.

This fixes an issue on systems (fe, Arch Linux) where Qt's moc binary
are placed in a different location than debian based distros.
@Fuzzbawls Fuzzbawls added this to the 6.0.0 milestone Apr 18, 2022
@Fuzzbawls Fuzzbawls self-assigned this Apr 18, 2022
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.5.0 Jul 30, 2022
@yenachar
Copy link

yenachar commented Sep 19, 2022

utACK 68dc51d

Verified the macro qt5_generate_moc. Its use here not only corrects an issue but is also more readable/cleaner.

Copy link

@DeanSparrow DeanSparrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 68dc51d

@Fuzzbawls Fuzzbawls merged commit d2a3091 into PIVX-Project:master Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants