Forget about all your plugin stuff. Simply build the plugin and put the dll along side your application when shipping it. Qt will find the plugin by itself.