aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Make build system usable as a git submoduleThomas Vanbesien2026-02-241-7/+9
| | | | | | | | | Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/ PROJECT_BINARY_DIR so paths resolve correctly from add_subdirectory(). Guard global settings (CMAKE_CXX_STANDARD, CMAKE_BUILD_RPATH, qt_standard_project_setup, demo) behind PROJECT_IS_TOP_LEVEL. Export OPEN62541_INSTALL_DIR and QTOPCUA_INSTALL_DIR as CACHE INTERNAL so parent projects can set up RPATH and plugin paths.
* Check for OpenSSL before configuring QtOpcUa on WindowsThomas Vanbesien2026-02-231-9/+17
| | | | | | | | | | | Fail early with a clear install instruction instead of letting the QtOpcUa configure step produce a cryptic error. Remove quotes around OPENSSL_ROOT_DIR path — qt-cmake.bat passes them literally to CMake, breaking the path resolution. Use a variable instead so CMake handles the spaces natively. Also fix qt-cmake usage for build/install steps and minor formatting.
* Add Windows support to build system and improve dep detectionThomas Vanbesien2026-02-231-12/+42
| | | | | | | | | | Use platform-specific library names for skip detection (.so vs .lib). Find qt-cmake on Windows (qt-cmake.bat). Set CMAKE_BUILD_TYPE on dep builds. Use explicit Qt6*_DIR variables instead of fragile QT_ADDITIONAL_PACKAGES_PREFIX_PATH for finding locally-built QtOpcUa. On Windows: copy DLLs to bin/ (no RPATH), point to system OpenSSL. On Linux: keep existing symlink approach for open62541 libs.
* Fix open62541 backend plugin failing to load at runtimeThomas Vanbesien2026-02-191-0/+10
| | | | | | | The QtOpcUa backend plugin has $ORIGIN-relative RUNPATH resolving to qtopcua-install/lib/, but libopen62541.so lives in a separate install prefix. Symlink the open62541 libs into the QtOpcUa lib dir so dlopen can find them.
* Install QtOpcUa to local prefix instead of system Qt directoryThomas Vanbesien2026-02-191-9/+11
| | | | | | | Add QTOPCUA_INSTALL_DIR and CMAKE_INSTALL_PREFIX so QtOpcUa installs to build/deps/qtopcua-install/ rather than polluting ~/Qt/6.10.2/. Use QT_ADDITIONAL_PACKAGES_PREFIX_PATH so Qt's find_package resolves OpcUa from the local install.
* Refactor and document: fix cert filenames, add Doxygen, improve demoThomas Vanbesien2026-02-181-3/+17
| | | | | | | | | | | | | | | | | | | 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
* Initial Bobink library: BobinkAuth, BobinkClient, and demo appThomas Vanbesien2026-02-171-0/+105
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