qt_reps_from_headers

概要

qt_reps_from_headers(<TARGET> header_files)
qt6_reps_from_headers(<TARGET> header_files)
					

描述

Generates corresponding .rep files from the existing QObject header_files .

范例

qt6_reps_from_headers(directconnectexample
    simpleswitch.h
)
					

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