Got Qt working properly.