updating qt integration (works for mac, need test on linux)