Code for using static Qt plugins.