Qt OPC UA Open62541 プラグインのビルド
Open62541プラグインは、デフォルトで同梱のサードパーティーソースからビルドされ、外部依存関係はありません。open62541ライブラリはセキュリティのためにOpenSSLを使用します。設定中に OpenSSL ライブラリが検出されると、テストと open62541 バックエンドのセキュリティが有効になります。Qt OPC UA にバンドルされている Open62541 のソースファイルとヘッダーファイルは、以下のコマンドを使用して open62541 v1.4.9 タグから生成されています:
cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_AMALGAMATION_MULTIARCH=ON -DUA_MULTITHREADING=0 /path/to/open62541-source make
open62541プラグインのカスタムバージョンをビルドしたい場合は、インストール済みのopen62541 v1.4.9をデフォルトのオプションでビルドする必要があります。暗号化サポートを有効にするには、open62541 ビルドを以下のパラメータを使って設定する必要があります:
cmake -DUA_ENABLE_ENCRYPTION=OPENSSL /path/to/open62541-source
カスタム open62541 インストールでビルドする場合、以下のオプションを cmake に渡す必要があります。
-DINPUT_open62541=system -DCMAKE_PREFIX_PATH=/path/to/open62541-install-dir
CMAKE_PREFIX_PATH が必要なのは、open62541 が cmake がデフォルトではチェックしない場所にインストールされている場合だけです。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.