Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved QT /OPC UA - Client/Server

    General and Desktop
    3
    4
    1891
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ODБOï
      ODБOï last edited by

      Hello,

      I'm trying to use this implementation of OPCUA ( https://open62541.org/ ) to create Qt OPCUA Client.

      My probleme is that don't know how to correctly include this single file (.h / .c) implementation.

      Can someone show me link / pdf on this topic plz ?

      I managed to create opcua client / server with Eclipse CDT but I need Qt to create nice GUI.

      Thx in advance

      LA

      jsulm 1 Reply Last reply Reply Quote 0
      • F
        fmeerkoetter last edited by

        Not that with Qt 5.11 onwards there will be a qt module for OPC UA. Its not a complete stack, but rather an API which is built on top of an existing stack. There are currently several of these backends - one of them is based on Open62541 (dev branch, 0.3 for the release)

        1 Reply Last reply Reply Quote 2
        • jsulm
          jsulm Lifetime Qt Champion @ODБOï last edited by

          @LeLev Well, you add those files to SOURCES and HEADERS in your pro file:

          SOURCES += open62541.c \
          
          HEADERS += open62541.h  \
          

          Run qmake and build.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 4
          • ODБOï
            ODБOï last edited by

            That was a little bit more complicated but it's done now.

            thx

            LA

            1 Reply Last reply Reply Quote 1
            • F
              fmeerkoetter last edited by

              Not that with Qt 5.11 onwards there will be a qt module for OPC UA. Its not a complete stack, but rather an API which is built on top of an existing stack. There are currently several of these backends - one of them is based on Open62541 (dev branch, 0.3 for the release)

              1 Reply Last reply Reply Quote 2
              • First post
                Last post