add qt and c++ support