Fix location delegates

- Mark OSMLocationPlugina as singleton in cmake
- Use this plugin for the LocationChooser
This commit is contained in:
Tobias Fella
2024-03-29 13:23:30 +01:00
parent 878eb48cb0
commit 92351edcd0
6 changed files with 30 additions and 41 deletions

View File

@@ -174,6 +174,10 @@ add_library(neochat STATIC
sharehandler.h
)
set_source_files_properties(qml/OsmLocationPlugin.qml PROPERTIES
QT_QML_SINGLETON_TYPE TRUE
)
qt_add_qml_module(neochat URI org.kde.neochat NO_PLUGIN
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat
QML_FILES