add compile qt support