Build assistant without PrintSupport


Don't skip help and qhelpgenerator when Qt::PrintSupport is not
available, and don't require it for assistant either. Link it only
when present, and guard the printing code with QT_PRINTSUPPORT_LIB,
like Designer does. QT_NO_PRINTER and QT_CONFIG(printer) can't be
used on their own, as they are provided by PrintSupport itself.

Pick-to: 6.12
Task-number: QTBUG-136345
Change-Id: Ie4f76a5a6deafcd3a61a708010a3c8a98915cfda
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commit9afe117dc2e4ca06a974212ac767cd3a75549b77
parentfed718effcb6cefcfc0a5a48b1e36ab9673b4b97
authorJarek Kobus <jaroslaw.kobus@qt.io>
committerJarek Kobus <jaroslaw.kobus@qt.io>
commit timeTue, 20 Oct 2026 14:40:19 +0000