Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt OPC UA Open62541-Standalone Application
QtWS25 Last Chance

Qt OPC UA Open62541-Standalone Application

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 2 Posters 839 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.
  • H Offline
    H Offline
    henrik2016
    wrote on 27 Jan 2020, 11:59 last edited by henrik2016
    #1

    I created an OPC UA client in Qt 5.12.4 for Windows. I can start the standalone application on my computer. I've got all necessary libraries for OPC UA (Open62541). Now I want to start my application on a virtual maschine. So I copied my application and all the libraries. Qt is not installed on this maschine. When I start the my application, the QOpcUaProvider can't find any backends. Does Qt have to be installed for OPC UA Open 62541?

    EDIT: I think a library is still missing.

    EDIT: I re-created OPC UA and looked at the config.log file. Could that be the reason? And what do I have to do now?

    Command line: 
    Global lib dirs: [C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-winx64\\lib C:\\Utils\\postgresql\\pgsql\\lib] [C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0 C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc C:/Qt/Qt5.12.4/Tools/mingw730_64/x86_64-w64-mingw32/lib C:/Qt/Qt5.12.4/Tools/mingw730_64/lib]
    Global inc dirs: [C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-winx64\\include C:\\Utils\\postgresql\\pgsql\\include] [C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed C:/Qt/Qt5.12.4/Tools/mingw730_64/x86_64-w64-mingw32/include]
    looking for library open62541
    Trying source 0 (type inline) of library open62541 ...
      => source failed condition '!config.win32 && input.open62541 == 'system''.
    Trying source 1 (type inline) of library open62541 ...
      => source failed condition 'config.win32 && input.open62541 == 'system''.
    Trying source 2 (type pkgConfig) of library open62541 ...
      => source failed condition 'input.open62541 == 'system''.
    test config.qtopcua_opcua.libraries.open62541 FAILED
    looking for library uacpp
    Trying source 0 (type uacpp) of library uacpp ...
      => source failed condition 'config.win32 && var.QT_EDITION != 'OpenSource''.
    Trying source 1 (type uacpp) of library uacpp ...
      => source failed condition '!config.win32 && var.QT_EDITION != 'OpenSource''.
    test config.qtopcua_opcua.libraries.uacpp FAILED
    
    

    EDIT: Now I installed Qt and the QtOPCUA Plugin on the virtual machine and finally it works! Any ideas for the reason?

    O 1 Reply Last reply 27 Jan 2020, 12:05
    0
    • H henrik2016
      27 Jan 2020, 11:59

      I created an OPC UA client in Qt 5.12.4 for Windows. I can start the standalone application on my computer. I've got all necessary libraries for OPC UA (Open62541). Now I want to start my application on a virtual maschine. So I copied my application and all the libraries. Qt is not installed on this maschine. When I start the my application, the QOpcUaProvider can't find any backends. Does Qt have to be installed for OPC UA Open 62541?

      EDIT: I think a library is still missing.

      EDIT: I re-created OPC UA and looked at the config.log file. Could that be the reason? And what do I have to do now?

      Command line: 
      Global lib dirs: [C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-winx64\\lib C:\\Utils\\postgresql\\pgsql\\lib] [C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0 C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc C:/Qt/Qt5.12.4/Tools/mingw730_64/x86_64-w64-mingw32/lib C:/Qt/Qt5.12.4/Tools/mingw730_64/lib]
      Global inc dirs: [C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-winx64\\include C:\\Utils\\postgresql\\pgsql\\include] [C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include C:/Qt/Qt5.12.4/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed C:/Qt/Qt5.12.4/Tools/mingw730_64/x86_64-w64-mingw32/include]
      looking for library open62541
      Trying source 0 (type inline) of library open62541 ...
        => source failed condition '!config.win32 && input.open62541 == 'system''.
      Trying source 1 (type inline) of library open62541 ...
        => source failed condition 'config.win32 && input.open62541 == 'system''.
      Trying source 2 (type pkgConfig) of library open62541 ...
        => source failed condition 'input.open62541 == 'system''.
      test config.qtopcua_opcua.libraries.open62541 FAILED
      looking for library uacpp
      Trying source 0 (type uacpp) of library uacpp ...
        => source failed condition 'config.win32 && var.QT_EDITION != 'OpenSource''.
      Trying source 1 (type uacpp) of library uacpp ...
        => source failed condition '!config.win32 && var.QT_EDITION != 'OpenSource''.
      test config.qtopcua_opcua.libraries.uacpp FAILED
      
      

      EDIT: Now I installed Qt and the QtOPCUA Plugin on the virtual machine and finally it works! Any ideas for the reason?

      O Offline
      O Offline
      ODБOï
      wrote on 27 Jan 2020, 12:05 last edited by
      #2

      hi
      @henrik2016 said in Qt OPC UA Open62541-Standalone Application:

      Does Qt have to be installed for OPC UA Open 62541?

      no, you should find open62541_backend.dll in your app deployment directory under plugins\opcua

      1 Reply Last reply
      0
      • H Offline
        H Offline
        henrik2016
        wrote on 27 Jan 2020, 12:14 last edited by
        #3

        In addition to the Qt libraries, I have got Qt5OpcUa.dll and open62541_backend.dll, but it won't work.

        1 Reply Last reply
        0

        3/3

        27 Jan 2020, 12:14

        • Login

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