2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2023-02-15 12:57:42 +00:00
|
|
|
# QTBUG-88538
|
2020-11-14 19:37:35 +00:00
|
|
|
if(NOT ANDROID AND NOT IOS)
|
|
|
|
add_subdirectory(qmakelib)
|
2022-02-07 17:13:04 +00:00
|
|
|
if(QT_FEATURE_qmake)
|
|
|
|
add_subdirectory(qmake)
|
|
|
|
endif()
|
2020-11-14 19:37:35 +00:00
|
|
|
add_subdirectory(moc)
|
|
|
|
add_subdirectory(rcc)
|
2023-01-18 21:06:08 +00:00
|
|
|
add_subdirectory(qt_cmake_create)
|
2020-11-14 19:37:35 +00:00
|
|
|
endif()
|
2023-02-15 12:57:42 +00:00
|
|
|
# QTBUG-88538
|
2020-11-14 19:37:35 +00:00
|
|
|
if(TARGET Qt::Widgets AND NOT ANDROID AND NOT IOS)
|
2019-09-09 06:08:43 +00:00
|
|
|
add_subdirectory(uic)
|
|
|
|
endif()
|
|
|
|
if(TARGET Qt::DBus)
|
|
|
|
add_subdirectory(qdbuscpp2xml)
|
|
|
|
add_subdirectory(qdbusxml2cpp)
|
|
|
|
endif()
|
2022-10-27 21:27:13 +00:00
|
|
|
if(TARGET Qt::Gui AND QT_FEATURE_process AND NOT CMAKE_CROSSCOMPILING)
|
|
|
|
# testapp (windeployqt) and source_basicapp (macdeployqt) require QtGui.
|
2021-11-18 13:52:19 +00:00
|
|
|
if(QT_FEATURE_macdeployqt)
|
|
|
|
add_subdirectory(macdeployqt)
|
|
|
|
endif()
|
|
|
|
if(QT_FEATURE_windeployqt AND BUILD_SHARED_LIBS)
|
|
|
|
# windeployqt does not work with static Qt builds. See QTBUG-69427.
|
|
|
|
add_subdirectory(windeployqt)
|
|
|
|
endif()
|
|
|
|
endif()
|