From a0c7f2a7ef04dbe2e7491eabf828e26423d1bd10 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 19 Feb 2026 05:13:42 +0100 Subject: Rename targets, route messages to debug console, clean up - Rename CMake project and library target to BobinkQtOpcUa (URI stays Bobink) - Rename demo target to BobinkDemo, output binary to build/bin/ - Route all QML status/error messages to the in-app debug console - Remove discoveryInterval QML property, default to 30s internally - Add errorChanged handler, PKI file validation in applyPki() --- src/CMakeLists.txt | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2f10c7a..615e90c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,13 +1,16 @@ -# bobink — QML module wrapping QtOpcUa for declarative use. -qt_add_qml_module(bobink - URI Bobink - VERSION 1.0 - SOURCES - BobinkAuth.h BobinkAuth.cpp - BobinkClient.h BobinkClient.cpp - # BobinkServerDiscovery.h BobinkServerDiscovery.cpp - # BobinkNode.h BobinkNode.cpp - OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/qml/Bobink" -) +# BobinkQtOpcUa — QML module wrapping QtOpcUa for declarative use. +qt_add_qml_module( + BobinkQtOpcUa + URI + Bobink + VERSION + 1.0 + SOURCES + BobinkAuth.h + BobinkAuth.cpp + BobinkClient.h + BobinkClient.cpp + OUTPUT_DIRECTORY + "${CMAKE_BINARY_DIR}/qml/Bobink") -target_link_libraries(bobink PRIVATE Qt6::Core Qt6::Quick Qt6::OpcUa) +target_link_libraries(BobinkQtOpcUa PRIVATE Qt6::Core Qt6::Quick Qt6::OpcUa) -- cgit v1.2.3