Add Prison dependency to QML modules so Prison is deployed on Windows

Otherwise we get an error because the DLL isn't found.
This commit is contained in:
Joshua Goins
2025-06-01 04:03:25 +02:00
parent 3d8f724bb1
commit 8e0f0182cb
2 changed files with 7 additions and 0 deletions

View File

@@ -108,6 +108,8 @@ ecm_add_qml_module(neochat URI org.kde.neochat GENERATE_PLUGIN_SOURCE
DEPENDENCIES
QtCore
QtQuick
org.kde.prison
org.kde.prison.scanner
IMPORTS
org.kde.neochat.libneochat
org.kde.neochat.rooms

View File

@@ -48,6 +48,11 @@ target_sources(LibNeoChat PRIVATE
ecm_add_qml_module(LibNeoChat GENERATE_PLUGIN_SOURCE
URI org.kde.neochat.libneochat
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat/libneochat
DEPENDENCIES
QtCore
QtQuick
org.kde.prison
org.kde.prison.scanner
QML_FILES
qml/GroupChatDrawerHeader.qml
qml/LocationMapItem.qml