AUTOMOC_EXECUTABLE

AUTOMOC_EXECUTABLE is file path pointing to the moc executable to use for AUTOMOC enabled files. Setting this property will make CMake skip the automatic detection of the moc binary as well as the sanity-tests normally run to ensure that the binary is available and working as expected.

Usually this property does not need to be set. Only consider this property if auto-detection of moc can not work – e.g. because you are building the moc binary as part of your project.

cmake-qt(7) manual for more information on using CMake with Qt.

上一话题

AUTOMOC_DEPEND_FILTERS

下一话题

AUTOMOC_MACRO_NAMES

本页