Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.6, 6.4.1
-
9b122a201 (dev), 6875d0eb7 (6.5)
Description
Back in Qt 5, there were no pre-built libraries for "Qt for Automation"/"Qt M2M Protocols" (which Qt OPC UA was part of). Everyone had to build the libraries from source.
In Qt 6, this changed and commercial users can now install pre-built versions of the libraries.
Unfortunately, the installed version of the Simulation Server does not compile because it assumes that the Qt source code (including the bundled 3rd-party open62541 code) is always present: https://code.qt.io/cgit/qt/qtopcua.git/tree/examples/opcua/waterpump/simulationserver/simulationserver.pro?h=6.4.1
Workaround
Download the source code (either by checking out qtopcua.git, or by installing the Qt 5.15 Qt OPC UA source package from the commercial online installer) and load the example from the source tree.
Suggestion
Rewrite the Simulation Server to avoid depending directly on Qt sources and 3rd-party code.
Attachments
Issue Links
- relates to
-
QTBUG-109097 OPC UA examples use relative paths and assume in-source builds, thus do not work out-of-the-box when loaded in Qt Creator
- Closed
For Gerrit Dashboard: QTBUG-109096 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
448767,1 | qtopcua: fix simulationserver source lookup | 6.4 | qt/qtopcua | Status: NEW | 0 | 0 |
448773,1 | qtopcua: fix simulationserver source lookup | tqtc/lts-6.2 | qt/tqtc-qtopcua | Status: NEW | 0 | 0 |
448610,11 | qtopcua: fix simulationserver source lookup | dev | qt/qtopcua | Status: MERGED | +2 | 0 |
448766,2 | qtopcua: fix simulationserver source lookup | 6.5 | qt/qtopcua | Status: MERGED | +2 | 0 |