Simplify build and add nosilent option for qmake

Patch from Simon Ruderich <simon@ruderich.org>
Imported Upstream version 3.1.9
Merge tag 'upstream/3.1.9'

Upstream version 3.1.9
changelog for 3.1.9-1