summaryrefslogtreecommitdiff
path: root/examples/activeqt/CMakeLists.txt
blob: de0a97b1b55e8b23c6f63cb03efe7683888cbf25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

if(MSVC)
    qt_internal_add_example(comapp)
    qt_internal_add_example(hierarchy)
    qt_internal_add_example(menus)
    qt_internal_add_example(multiple)
    qt_internal_add_example(simple)
    qt_internal_add_example(wrapper)
    if(TARGET Qt6::OpenGLWidgets AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2)
        qt_internal_add_example(opengl)
    endif()
    if(TARGET Qt::QuickControls2)
        qt_internal_add_example(simpleqml)
    endif()
endif()
if(MINGW OR QT_BUILD_SHARED_LIBS)
    qt_internal_add_example(mediaplayer)
endif()