Converted qt from static to dynamic linking