Remove qt dependency