qt_reps_from_headers

Creates .rep files from the QObject header files.

Synopsis

qt_reps_from_headers(<TARGET> header_files)

qt6_reps_from_headers(<TARGET> header_files)

Description

Generates corresponding .rep files from the existing QObject header_files.

Examples

<Code snippet "cmake-macros/CMakeLists.txt:simpleSwitch_cmake_rep_from_header" not found>

This will generate an interface file called simpleswitch.rep in the build directory.