remove qt gui removals (causes problem for qt < 5)