Add support for generating qmltypes file
This commit is contained in:
parent
3b7d51dc80
commit
dcda6b3cea
3 changed files with 1093 additions and 0 deletions
|
@ -34,6 +34,7 @@ include(ECMInstallIcons)
|
|||
include(ECMQtDeclareLoggingCategory)
|
||||
include(FeatureSummary)
|
||||
include(GenerateExportHeader)
|
||||
include(ECMGenerateQmlTypes)
|
||||
if (NOT SAILFISHOS)
|
||||
include(ECMQMLModules)
|
||||
endif()
|
||||
|
|
|
@ -13,6 +13,8 @@ target_link_libraries(kdeconnectdeclarativeplugin
|
|||
install(TARGETS kdeconnectdeclarativeplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|
||||
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|
||||
|
||||
ecm_generate_qmltypes(org.kde.kdeconnect 1.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kdeconnect)
|
||||
|
||||
# So qml apps using this plugin can be run from build/bin directory
|
||||
add_custom_target(copy_to_build_dir_bin)
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin/org/kde/kdeconnect)
|
||||
|
|
1090
declarativeplugin/plugins.qmltypes
Normal file
1090
declarativeplugin/plugins.qmltypes
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue