Skip to content

Commit 197f07b

Browse files
author
Juha Vuolle
committed
Compile androidnotifier only if widgets are available
The example links against widgets => add proper build-time guard. Task-number: QTBUG-136101 Pick-to: 6.9 6.8 Change-Id: I9e279791de5adf4e8bc86a09cb11e96022f9e1ce Reviewed-by: Assam Boudjelthia <[email protected]>
1 parent ccce914 commit 197f07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (C) 2023 The Qt Company Ltd.
22
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
33

4-
if(ANDROID)
4+
if(ANDROID AND QT_FEATURE_widgets)
55
qt_internal_add_example(androidnotifier)
66
endif()

0 commit comments

Comments
 (0)