filter the event only for video renderer if rtti is supported
add write_file() like Qt5 qmake. building becomes simpler