vc error. remove qt types
wrong assertion. remove dead code.