Usage: /usr/bin/moc [options] [header-file] [@option-file] [MOC generated json file] Qt Meta Object Compiler version 67 (Qt 5.15.19) Options: -h, --help Displays help on commandline options. --help-all Displays help including Qt specific options. -v, --version Displays version information. -o Write output to file rather than stdout. -I Add dir to the include path for header files. -F Add Mac framework to the include path for header files. -E Preprocess only; do not generate meta object code. -D Define macro, with optional definition. -U Undefine macro. -M Add key/value pair to plugin meta data --compiler-flavor Set the compiler flavor: either "msvc" or "unix". -i Do not generate an #include statement. -p Path prefix for included file. -f Force #include (overwrite default). -b Prepend #include (preserve default include). --include Parse as an #include before the main source(s). -n Do not display notes (-nn) or warnings (-nw). Compatibility option. --no-notes Do not display notes. --no-warnings Do not display warnings (implies --no-notes). --ignore-option-clashes Ignore all options that conflict with compilers, like -pthread conflicting with moc's -p option. --output-json In addition to generating C++ code, create a machine-readable JSON file in a file that matches the output file and an extra .json extension. --collect-json Instead of processing C++ code, collect previously generated JSON output into a single file. --output-dep-file Output a Make-style dep file for build system consumption. --dep-file-path Path where to write the dep file. --dep-file-rule-name The rule name (first line) of the dep file. Arguments: [header-file] Header file to read from, otherwise stdin. [@option-file] Read additional options from option-file. [MOC generated json file] MOC generated json output