Warning, /frameworks/kitemmodels/src/qml/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ecm_add_qml_module(itemmodelsplugin URI "org.kde.kitemmodels" CLASSNAME Plugin)
0002
0003 target_sources(itemmodelsplugin PRIVATE
0004 kdescendantsproxymodel_qml.cpp
0005 kdescendantsproxymodel_qml.h
0006 ksortfilterproxymodel.cpp
0007 ksortfilterproxymodel.h
0008 plugin.cpp
0009 plugin.h
0010 qmldeprecated.h
0011 )
0012 if (QT_MAJOR_VERSION EQUAL "5")
0013 target_sources(itemmodelsplugin PRIVATE
0014 kconcatenaterowsproxymodel_qml.cpp
0015 kconcatenaterowsproxymodel_qml.h
0016 )
0017 endif()
0018
0019 ecm_qt_declare_logging_category(itemmodelsplugin
0020 HEADER kitemmodels_debug.h
0021 IDENTIFIER KITEMMODELS_LOG
0022 CATEGORY_NAME kf.itemmodels.quick
0023 DESCRIPTION "KItemModels (QtQuick)"
0024 EXPORT KITEMMODELS
0025 )
0026
0027 ecm_qt_declare_logging_category(itemmodelsplugin
0028 HEADER kitemmodelsqml_logdeprecated.h
0029 IDENTIFIER KITEMMODELS_LOGDEPRECATED
0030 CATEGORY_NAME kf.itemmodels.quick.deprecations
0031 DEFAULT_SEVERITY Warning
0032 DESCRIPTION "KItemModels (QtQuick deprecation warnings)"
0033 EXPORT KITEMMODELS
0034 )
0035
0036 target_link_libraries(itemmodelsplugin
0037 Qt${QT_MAJOR_VERSION}::Qml
0038 KF5::ItemModels
0039 )
0040
0041 ecm_finalize_qml_module(itemmodelsplugin DESTINATION ${KDE_INSTALL_QMLDIR})