Make RSTC simpler in Qt project