qtopenssllibrariesqsslsocket

Qt can't find openssl


I installed Qt 4.8 from developer.nokia website which is a .run file. Because it's from nokia i assume the libraries are compiled with openssl... I use ubuntu 11.10 and it has openssl already installed. I can't make the QSsl classes working because of this, what am i doing wrong?

Anyone know a proper Qt SDK 4.8 that works fine?

Thanks!


Solution

  •  export QTDIR=/home/user/qtsdk-2010.05/
     export PATH=$QTDIR/bin:$QTDIR/qt/bin:$PATH
     export LD_LIBRARY_PATH=/home/user/qtsdk-2010.05/lib/:/home/user/qtsdk-2010.05/qt/lib/:$LD_LIBRARY_PATH
    

    please change qtsdk-2010.05 to your sdk path

    and make sure the binary path and lib is correct, then qmake ,make clean , make