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

Embedded manifests in Windows 7

I recently took advantage of the Windows7 beta and think it’s a great upgrade over Vista. However, anything I compiled with the Windows SDK resulted in a binary that was reported to be an invalid windows image. Turns out the issue is documented in the SDK release notes (section 5.3.6). A resource section is required (even an empty resource) before you can embed a manifest resource.

Jan 15 2009 12:01 pm | Programming and Windows | Comments Off