@jdent said in How to create a plugin for QtDesigner?:
I had to do this by hand
That's the way it is - you also have to link against QtWidgets by hand even you put a widget in your ui file from the widgets library. There is no way a designer plugin can modify the build system.