S
S
sitev_ru2017-09-15 13:27:27
Qt
sitev_ru, 2017-09-15 13:27:27

I hook OpenSSL in Qt, but it gives an error. How to fix?

I hook OpenSSL in Qt, but it gives an error:

error: C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory

How to fix the error?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2017-09-15
@GavriKos

Slip it into the opensslv.h project. Most likely include-paths in the compiler.

I
Ighor July, 2017-09-15
@IGHOR

You should add ${QTDIR}/mkspecs/qconfig.pri to the end of
the OpenSSL library path

INCLUDEPATH += ../openssl-1.0/include
LIBS +=      -L../openssl-1.0/lib

Of course, instead of "../openssl-1.0" substitute the path to your OpenSSL folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question