blob: 7fc0dea11e49f5d8adb695857da96190b10e1d8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
cmake_minimum_required(VERSION 3.16)
project(check_for_existence_of_plugin_targets)
find_package(Qt6 COMPONENTS REQUIRED Qml)
# See QTBUG-43438
if(NOT TARGET Qt6::QTcpServerConnectionFactoryPlugin)
message(FATAL_ERROR "Qt6::QTcpServerConnectionFactoryPlugin does not exist")
endif()
if(NOT TARGET Qt6::QLocalClientConnectionFactoryPlugin)
message(FATAL_ERROR "Qt6::QLocalClientConnectionFactoryPlugin does not exist")
endif()
|