From e73fe498e86dbb20d74f8d6ca13b541642676b82 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 19 Feb 2026 18:00:52 +0100 Subject: Rename QML singleton to Bobink and simplify singleton lifecycle Replace QML_ELEMENT with QML_NAMED_ELEMENT(Bobink) so QML references use `Bobink` instead of `BobinkClient`. Remove instance()/create() factory in favor of inline s_instance set in the constructor. Import BobinkPlugin statically in demo, link demo to BobinkQtOpcUaplugin, and make library link dependencies PUBLIC. Add .qtcreator to gitignore. --- demo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demo/CMakeLists.txt') diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 255a9ee..efdfc72 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -14,7 +14,7 @@ qt_add_qml_module( set_target_properties(BobinkDemo PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") -target_link_libraries(BobinkDemo PRIVATE Qt6::Quick BobinkQtOpcUa) +target_link_libraries(BobinkDemo PRIVATE Qt6::Quick BobinkQtOpcUaplugin) # Tell the demo where to find the locally-built OpcUa plugin at runtime target_compile_definitions( -- cgit v1.2.3