Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt OPC UA Open62541-Standalone Application
henrik2016 last edited by henrik2016
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?
ODБOï last edited by
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
henrik2016 last edited by
In addition to the Qt libraries, I have got Qt5OpcUa.dll and open62541_backend.dll, but it won't work.