Fixed Qt support, everything compiles (under Windows) now