Added qt support, and window