Building Qt with OpenSSL support using the Windows SDK

  1. Install perl (needed for building OpenSSL).
  2. Follow OpenSSL instructions to build and install (README.W32 or README.W64, use the masm target). I installed OpenSSL into the same prefix that I’m using for Qt.
  3. Copy the Qt mkspeks directory to the Qt prefix directory.
  4. Run configure, something like:
    ./configure -release -no-qt3support -prefix C:\qt\4.5.2 -qt-libjpeg -qt-libpng -openssl -I c:\qt\4.5.2\include -L c:\qt\4.5.2\bin

    (based on instructions from http://wiki.secondlife.com/wiki/QtWebkitWin32BuildInstructions)

  5. nmake && nmake install

Aug 13 2009 02:50 pm | OpenSSL and Programming and Qt and Windows | Comments Off