Commit 5be73820 authored by Janne Anttila's avatar Janne Anttila Committed by The Qt Project
Browse files

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: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 45cebacd
Showing with 6 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment