Fix assistant and designer builds without printer.
authorJanne Anttila <janne.anttila@digia.com>
Wed, 24 Apr 2013 12:02:40 +0000 (15:02 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 22 May 2013 07:34:12 +0000 (09:34 +0200)
commit5be73820b872dfed6a31a43a7876755450a438b6
tree22fe5c59e4ab98529c79db16b2008db32996e8d4
parent45cebacd7ad3b9871e8ccfb1fcd87b6c0bb3f66a
Fix assistant and designer builds without printer.

The actual code using printer related classes is already wrapped with
QT_NO_PRINTER macros, but the include statements were not.

The reason why include statement probably were not wrapped with
QT_NO_PRINTER is that in Qt4 all headers were synchronized to include
directory. Now with Qt5 modularization headers for modules which
are disabled are not anymore synchronized to include directory so
they need to be wrapped with same ifdefs.

Change-Id: I0efd1342cd18860b5fed63b248812e9dced8f2b3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/assistant/assistant/centralwidget.cpp
src/designer/src/designer/qdesigner_actions.cpp
src/designer/src/designer/qdesigner_actions.h