modified qt with opencv