client API: qthelper: add set_option_variant()