Skip to content

QtWS: Super Early Bird Tickets Available!

  • 0 Votes
    1 Posts
    74 Views
    No one has replied
  • 0 Votes
    4 Posts
    469 Views
    K

    No ideas at all..?

  • 0 Votes
    5 Posts
    438 Views
    K

    Okay, I managed to figure it out. Yes, this module is not available if using open source version of Qt but one can build it manually from source components and use.

    This instruction helped me a lot: https://linzichun.com/posts/qt-mqtt-opcua-modbus-rest/#qt-opc-ua

    Be ready to read the console, download some other missing stuff to your platform and repeat the same command, however. I needed to install about 4-5 missing utilities during the proccess.

  • 0 Votes
    5 Posts
    1k Views
    M

    Hi, I faced the same problem, failed to load OPC UA plugin:
    qt.opcua: Failed to load OPC UA plugin: "open62541"
    qt.opcua: Available plugins: QList("open62541")
    Could not create client

    I solved by putting libcrypto-3-x64.dll in the output build directory. Open62541_backend.dll depends on libcrypto-3-x64.dll, you can check it by using Dependency Walker tool.

    My env: Qt 6.6.0, MSVC2019 64bit.

  • 0 Votes
    6 Posts
    766 Views
    ODБOïO

    @thisisseven said in QTOpcUa -- connectToEndPoint Error:

    "opc.tcp://localhost:4840"

    76327cf3-2042-4ff5-9db4-a6900ceed2b5-image.png

    https://doc-snapshots.qt.io/qtopcua/qopcuaclient.html#connectToEndpoint
    https://doc-snapshots.qt.io/qtopcua/qopcuaclient.html#usage

  • 0 Votes
    1 Posts
    261 Views
    No one has replied
  • 0 Votes
    7 Posts
    6k Views
    SGaistS

    The combo described is the list of commands you use to build a Qt module. Since you are on windows, make will be either nmake if you are using Visual Studio or mingw32-make if your MinGW.

    What do you mean by "add to Qt Creator" ? You will need to add the paths to their respective .dlls folder to the PATH environment variable in the Run part of the Project panel so they are found when running your application from Qt Creator.

    There should be no need to add them to your project, everything should be handled by the module itself.

    But no, you should first build and install the module and then build your project.

    On a side note, I wouldn't name a project with something that resembles to a Qt class unless you plan to submit it for inclusion in the module ?