[Development] Disable printing support

Portale Alessandro Alessandro.Portale at digia.com
Fri Jun 13 09:01:59 CEST 2014

From: Massimo Callegari
Sent: Thursday, June 12, 2014 11:05 AM

> Hello everyone,
> a very simple question: is it possible to disable qtbase printing support ?
> I couldn't find an option in the 5.3.0 configure script.
> I'm working on an embedded platform and disabling printing support would save around 1MB, 
> considered also that if QtWebKit detects libQtPrintSupport, it will build the printer 
> support as well.

Hi Massimo,

You can try adding "-D QT_NO_PRINTER" as configure parameter. That should strip out all the printing code. I can however not guarantee you that Qt will successfully compile, because not all of these QT_NO_* switches are maintained.


More information about the Development mailing list