tests/auto/cmake/test_uiplugin_module/CMakeLists.txt
raw| 1 | # Copyright (C) 2022 The Qt Company Ltd. |
| 2 | # SPDX-License-Identifier: BSD-3-Clause |
| 3 | |
| 4 | cmake_minimum_required(VERSION 3.16) |
| 5 | project(test_uiplugin_module) |
| 6 | |
| 7 | find_package(Qt6 COMPONENTS Widgets UiPlugin REQUIRED) |
| 8 | |
| 9 | set(CMAKE_AUTOMOC ON) |
| 10 | set(CMAKE_INCLUDE_CURRENT_DIR ON) |
| 11 | |
| 12 | add_library(my_designer_plugin my_designer_plugin.cpp) |
| 13 | target_link_libraries(my_designer_plugin Qt::UiPlugin) |