Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
dcda6b3c
Commit
dcda6b3c
authored
May 09, 2021
by
Nicolas Fella
Browse files
Add support for generating qmltypes file
parent
3b7d51dc
Pipeline
#61310
passed with stage
in 4 minutes and 34 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
dcda6b3c
...
...
@@ -34,6 +34,7 @@ include(ECMInstallIcons)
include
(
ECMQtDeclareLoggingCategory
)
include
(
FeatureSummary
)
include
(
GenerateExportHeader
)
include
(
ECMGenerateQmlTypes
)
if
(
NOT SAILFISHOS
)
include
(
ECMQMLModules
)
endif
()
...
...
declarativeplugin/CMakeLists.txt
View file @
dcda6b3c
...
...
@@ -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
)
...
...
declarativeplugin/plugins.qmltypes
0 → 100644
View file @
dcda6b3c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment