Cross compile Qt 4.8.5 with openssl suport
-
Hello,
I'm try qt4.8.5 cross compile following config
./configure -v -opensource -confirm-license -prefix /opt/qt -xplatform qws/linux-arm-gnueabi-g++ -embedded arm -depths all -nomake demos -nomake tools -qt-zlib -no-webkit -no-qt3support -opensslI see this error
OpenSSL auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-gnueabi-g++ -I. -o openssl.o openssl.cpp
openssl.cpp:42:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
^
compilation terminated.
make: *** [openssl.o] Error 1
OpenSSL disabled.
OpenSSL support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.I checked opensslv.h /usr/include/openssl/openssl folder. All openssl file inclued /usr/include/openssl/openssl
Can you help me ?
-
Hi and welcome to devnet,
You need to tell configure where to find these headers (i.e. add -I /usr/include). Also, do you have a cross-compiled version of OpenSSL ?
-
Dear SGaist, thank you for answer I replaced my files. Everything is works.
-
You're welcome !
Since you have your build working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)