aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: cd6f53093439fa3db02f9fff5a9dc65a178a41ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
cmake_minimum_required(VERSION 3.16)

project(QtQuickDesignerComponents
    DESCRIPTION "QtQuick Designer Components"
    HOMEPAGE_URL "https://qt.io/"
    VERSION "6.2.4"
    LANGUAGES CXX C
)

set(CMAKE_AUTOMOC ON)

# Enable reconfiguration of already installed version via
# pretend we are inside a qtdeclarative build.
# this activates an early bail out (already existing hack)
# This needs to be called before any find(Qt* is called.
set(QT_REPO_DEPENDENCIES "qtdeclarative")

find_package(Qt6
    CONFIG
    REQUIRED
    COMPONENTS
        BuildInternals
        Quick
        Core
        Qml
)

qt_build_repo()