summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/CMakeLists.txt
blob: 87d657d0e8bc55cc495c9ef5b0ce016d58abe40c (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: LicenseRef-Qt-Commercial OR 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()