Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building QFreeOpcUaPlugin and QOpen62541Plugin plugins Qt 5.10

Building QFreeOpcUaPlugin and QOpen62541Plugin plugins Qt 5.10

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 5 Posters 5.0k Views
  • 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.
  • B Offline
    B Offline
    Bolonat
    wrote on last edited by
    #4

    When I try to build a plugin QFreeOpcUaPlugin, I get a set of errors:
    undefined reference to OpcUa::UaClient::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' undefined reference to OpcUa::Node::Node(OpcUa::Node const&)'
    undefined reference to OpcUa::NodeId::NodeId()' undefined reference to OpcUa::Node::GetId() const'
    undefined reference to OpcUa::Node::GetChildren() const' undefined reference to OpcUa::Node::GetId() const'
    .........
    I do not understand what I need to add, what is missing.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #5

      The libraries from the backend you want to use. i.e.: open62541 or FreeOpcUa.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bolonat
        wrote on last edited by
        #6

        Now I got open62541_backend.dll, open62541_backendd.dll and libs in mingw53_32\plugins\opcua. But when I try to to compile example - project "accontrol" I got an error: E:\PROJECTS\accontrol\accontroltest.cpp:54: QtOpcUa/QOpcUaMonitoredValue: No such file or directory.
        QOpcUaMonitoredValue class is missing in the source qtopcua-dev... Any ideas, please...

        N 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #7

          Base on this commit, I'd say the example hasn't been update yet.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          F 1 Reply Last reply
          0
          • N Offline
            N Offline
            N3ff3
            wrote on last edited by
            #8
            This post is deleted!
            1 Reply Last reply
            0
            • B Bolonat

              Now I got open62541_backend.dll, open62541_backendd.dll and libs in mingw53_32\plugins\opcua. But when I try to to compile example - project "accontrol" I got an error: E:\PROJECTS\accontrol\accontroltest.cpp:54: QtOpcUa/QOpcUaMonitoredValue: No such file or directory.
              QOpcUaMonitoredValue class is missing in the source qtopcua-dev... Any ideas, please...

              N Offline
              N Offline
              N3ff3
              wrote on last edited by
              #9

              Hi guays,

              I am at the same staep as you. I have done the steps qmake, mingw32-make, mingw32-make install.
              And then I have the same problem with the open62541 and freeopcua.

              My question is now, how do you get the open62541_backend.dll, open62541_backendd.dll and libs?

              Many thanks in advance!

              Greetings

              F 1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #10

                Hi,

                AFAIK, build the corresponding project.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • SGaistS SGaist

                  Base on this commit, I'd say the example hasn't been update yet.

                  F Offline
                  F Offline
                  fmeerkoetter
                  wrote on last edited by
                  #11

                  @SGaist You are right. The API is currently settling down. There will be a Tech Preview in Qt 5.11. The examples you currently find on the dev branch are outdated. New examples are in the pipeline. You can find the first here: https://codereview.qt-project.org/#/c/216519/

                  1 Reply Last reply
                  0
                  • N N3ff3

                    Hi guays,

                    I am at the same staep as you. I have done the steps qmake, mingw32-make, mingw32-make install.
                    And then I have the same problem with the open62541 and freeopcua.

                    My question is now, how do you get the open62541_backend.dll, open62541_backendd.dll and libs?

                    Many thanks in advance!

                    Greetings

                    F Offline
                    F Offline
                    fmeerkoetter
                    wrote on last edited by
                    #12

                    @N3ff3 please have a look at this article:
                    https://blog.basyskom.com/2018/want-to-give-qt-opcua-a-try/

                    You should go with the open62541 backend. Open62541 is the more complete implementation and has a much more active community.

                    Note that open62541 will release their 0.3 version in the next few weeks. We plan to use this release in the Tech Preview in Qt 5.11.

                    N P 2 Replies Last reply
                    1
                    • F fmeerkoetter

                      @N3ff3 please have a look at this article:
                      https://blog.basyskom.com/2018/want-to-give-qt-opcua-a-try/

                      You should go with the open62541 backend. Open62541 is the more complete implementation and has a much more active community.

                      Note that open62541 will release their 0.3 version in the next few weeks. We plan to use this release in the Tech Preview in Qt 5.11.

                      N Offline
                      N Offline
                      N3ff3
                      wrote on last edited by
                      #13

                      @fmeerkoetter
                      thank you very much for the information and the link.

                      Now I am testing the QtOpcUa. For this I use the Softing OPC UA .net Demo Server. The Problem is, that I can't connect to the server. I get this error message:

                      error/client	No suitable UserTokenPolicy found for the possible endpoints
                      

                      After reading the docs of QtOpcUa, I can't find anything about the Policy.

                      Is there anything which I can use?

                      Best regards
                      N3ff3

                      1 Reply Last reply
                      1
                      • F fmeerkoetter

                        @N3ff3 please have a look at this article:
                        https://blog.basyskom.com/2018/want-to-give-qt-opcua-a-try/

                        You should go with the open62541 backend. Open62541 is the more complete implementation and has a much more active community.

                        Note that open62541 will release their 0.3 version in the next few weeks. We plan to use this release in the Tech Preview in Qt 5.11.

                        P Offline
                        P Offline
                        paulholloway
                        wrote on last edited by
                        #14

                        @fmeerkoetter said in Building QFreeOpcUaPlugin and QOpen62541Plugin plugins Qt 5.10:

                        @N3ff3 please have a look at this article:
                        https://blog.basyskom.com/2018/want-to-give-qt-opcua-a-try/ https://cheapessaywriter.net/

                        You should go with the open62541 backend. Open62541 is the more complete implementation and has a much more active community.

                        Note that open62541 will release their 0.3 version in the next few weeks. We plan to use this release in the Tech Preview in Qt 5.11.

                        I read that open62541 is the most stable and feature complete open source backend presently in Qt OPC UA so you won't experience any difficulties.

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved