add qt dependend code parts