Remove unused include.
Build widget-dependent plugins only when QtWidgets is available.
QtWidgets are now optional.