diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-17 23:58:08 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-17 23:58:08 +0100 |
| commit | 343169dff6b062074fd3c4a5e240b449ffc4a449 (patch) | |
| tree | a2ef1edc8dd1b1c1dbac757192fa681d8ec76717 /demo/CMakeLists.txt | |
| download | BobinkQtOpcUa-343169dff6b062074fd3c4a5e240b449ffc4a449.tar.gz BobinkQtOpcUa-343169dff6b062074fd3c4a5e240b449ffc4a449.zip | |
Initial Bobink library: BobinkAuth, BobinkClient, and demo app
Implements the core OPC UA wrapper library with:
- Build system with automatic dep building (open62541, QtOpcUa)
- BobinkAuth: QML auth component (anonymous/userpass/certificate)
- BobinkClient: QML singleton managing connection, LDS discovery,
PKI configuration, endpoint selection, and certificate trust flow
- Demo app for manual testing of the full connection flow
Diffstat (limited to 'demo/CMakeLists.txt')
| -rw-r--r-- | demo/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt new file mode 100644 index 0000000..a12e090 --- /dev/null +++ b/demo/CMakeLists.txt @@ -0,0 +1,18 @@ +qt_add_executable(bobink-demo main.cpp) + +qt_add_qml_module(bobink-demo + URI BobinkDemo + VERSION 1.0 + QML_FILES + Main.qml + # LoginPage.qml + # NodePage.qml + NO_RESOURCE_TARGET_PATH +) + +target_link_libraries(bobink-demo PRIVATE Qt6::Quick bobink) + +# Tell the demo where to find the locally-built OpcUa plugin at runtime +target_compile_definitions(bobink-demo PRIVATE + QTOPCUA_PLUGIN_PATH="${QTOPCUA_BUILD_DIR}/plugins" +) |
