Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Build QtOpcUa with OpenSSL return fatal error: openssl/asn1.h



  • Hello,

    I'm trying to build QtOpcUa for Qt 5.14.1 Unfortunately mingw32 shows an error fatal error: openssl/asn1.h: No such file or directory. I just downloaded OpenSSL toolkit via Qt maintanance tool.

    I was also trying to add includepath in qmake like here https://forum.qt.io/topic/112439/compile-error-fatal but it doesn`t work for me. Do you have any ideas what can i do in these case?



  • Ok I solved it :)

    After doing qmake command you need to edit qmake config file and add INCLUDE+="path/to/openssl". That's will make this lib available for build process.

    For this version i also got problem with executing mingw32-make install .
    To fix that you need copy files manualy to QDIR folder.


Log in to reply