The example links against widgets unconditionally => add proper build-time guard Task-number: QTBUG-136101 Change-Id: I62ea42a04f7ff421753a0fc7a30cd969cfaff6e2 Reviewed-by: Magdalena Stojek <magdalena.stojek@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 5776865f7c6b234f66512eab41c871662449d80d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
7 lines
192 B
CMake
7 lines
192 B
CMake
# Copyright (C) 2024 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
if(QT_FEATURE_widgets)
|
|
qt_internal_add_example(calendarbackendplugin)
|
|
endif()
|