Juha Vuolle 5776865f7c Compile calendarbackendplugin only if widgets are enabled
The example links against widgets unconditionally => add
proper build-time guard

Task-number: QTBUG-136101
Pick-to: 6.9
Change-Id: I62ea42a04f7ff421753a0fc7a30cd969cfaff6e2
Reviewed-by: Magdalena Stojek <magdalena.stojek@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2025-04-29 17:00:12 +03:00

5 lines
100 B
Prolog

TEMPLATE = subdirs
CONFIG += no_docs_target
qtHaveModule(widgets): SUBDIRS = calendarbackendplugin