Qt 5 support

With Qt 5 widgets were moved to the QtWidgets library.
Fix build