Allow to control (disable) widgets build

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