aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmllocalstorage/CMakeLists.txt
blob: 7c6846dce1be97f12eb6151c5da00716cca6aec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
qt_internal_add_module(QmlLocalStorage
    GENERATE_METATYPES
    SOURCES
        qqmllocalstorage.cpp qqmllocalstorage_p.h
        qqmllocalstorageglobal_p.h
    DEFINES
        QT_BUILD_QMLLOCALSTORAGE_LIB
    PUBLIC_LIBRARIES
        Qt::CorePrivate
        Qt::QmlPrivate
        Qt::Sql
)

set_target_properties(QmlLocalStorage PROPERTIES
    QT_QML_MODULE_INSTALL_QMLTYPES TRUE
    QT_QML_MODULE_VERSION ${CMAKE_PROJECT_VERSION}
    QT_QML_MODULE_URI QtQuick.LocalStorage
    QT_QMLTYPES_FILENAME plugins.qmltypes
    QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/QtQuick/LocalStorage"
)


qt6_qml_type_registration(QmlLocalStorage)