I’m trying to build a moderately lightweight Qt 5.1.1 library from source, and the following set of configuration options almost works for me:

Qt Code:
  1. configure -opensource -debug-and-release -c++11 -no-compile-examples -opengl desktop -no-openssl -no-icu -no-iconv -nomake examples -nomake tests -qt-zlib -prefix C:\Qt\5.1.1\x86_64
To copy to clipboard, switch view to plain text mode 

I say ‘almost’ because the one module that’s missing appears to be QtSvg.

Qt4 had an explicit -svg option to ensure that the corresponding module was built, but Qt5 does not appear to have this – or at least, there’s no mention of SVG in the output of ‘configure -help’.

So, what do I need to do to ensure QtSVG is built?