Add option for qcf tconstraints, first working version.