Allow to control (disable) widgets build

In our case we do not need to build widgets because only we use QtDeclarative only. So, this change adds and option to add -no-widgets switch.