plugins Qt5 fix

added HAVE_QT5 define and widgets qt module
when Qt5 building