From 1a79ab468d8cc23cfdf28ddfa85d3e03ffddf44c Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 18 Feb 2026 00:18:33 +0100 Subject: Refactor and document: fix cert filenames, add Doxygen, improve demo Refactoring (issues 1,3,4,5,7,8,9,10 from review): - Replace hardcoded cert filenames with certFile/keyFile properties - Add 30s timeout to certificate trust QEventLoop - Cache servers() QVariantList instead of rebuilding per call - Validate URLs before passing to QtOpcUa - Use ComboBox valueRole for robust enum mapping - Add certificate trust dialog to demo - Remove unnecessary RowLayout wrapper - Remove debug output from BuildDeps.cmake Documentation: - Add Doxygen file blocks to all C++ files - Document AuthMode enum, toAuthenticationInformation(), key Q_INVOKABLE methods, certificateTrustRequested signal contract - Convert section banners to standard format - Add file/target comments to CMake and QML files --- demo/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'demo/main.cpp') diff --git a/demo/main.cpp b/demo/main.cpp index de3c2fc..b52df9e 100644 --- a/demo/main.cpp +++ b/demo/main.cpp @@ -1,8 +1,13 @@ +/** + * @file main.cpp + * @brief Entry point for the Bobink demo application. + */ #include #include int main(int argc, char *argv[]) { + // Load the locally-built OpcUa backend plugin (open62541). QCoreApplication::addLibraryPath(QStringLiteral(QTOPCUA_PLUGIN_PATH)); QGuiApplication app(argc, argv); -- cgit v1.2.3