title: How to compile QtDeclarative without QtXmlPatterns, QtSvg and QtSql
body: <p>I want to slim my application down (again). 
  QtDeclarative depends on QtXmlPatterns, QtSvg and QtSql which I don’t use at all, so I’d like to compile the library without them.</p>
  
  <p>Has someone altered source-file for QtDeclarative (or a clue how to do this) ?</p>