Results 1 to 3 of 3

Thread: How to Building Qt with OpenSSL support using the Windows SDK

  1. #1
    Join Date
    Oct 2009
    Location
    Brazil Maceió/Alagoas
    Posts
    24
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default How to Building Qt with OpenSSL support using the Windows SDK

    Building Qt with OpenSSL support using the Windows SDK?
    Last edited by josecarlosmissias; 7th May 2010 at 20:30.

  2. #2
    Join Date
    Apr 2010
    Posts
    98
    Thanks
    19
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to Building Qt with OpenSSL support using the Windows SDK

    You have to download OpenSSL,you can download source code and compile it yourself,or you caon just download the binary.

    If you download the binary,install it to somewhere,like D:\OpenSSL
    Then open cmd,cd to qt's directory,like D:\Qt\2010.02.1\qt
    Type:
    Qt Code:
    1. configure -openssl -I D:\OpenSSL\include -L D:\OpenSSL
    To copy to clipboard, switch view to plain text mode 
    After that,type nmake(mingw32-make) to build it.
    It will cost you several hours.
    It's not the goodbye that hurts,but the flashback that follow.

  3. The following 2 users say thank you to MorrisLiang for this useful post:

    Adam Badura (14th March 2013), josecarlosmissias (10th May 2010)

  4. #3
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to Building Qt with OpenSSL support using the Windows SDK (64 bit)

    Hi all,

    I just want to show the steps, I performed to install on 64 bit.

    1) Install winSDK_amd64 i.e. GRMSDKX_EN_DVD.iso.

    2) Open the "Windows SDK 7.1 Command Prompt - 64bit" command prompt.
    >> C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv64.cmd" <<

    3) Install the following from the opened SDK command prompt.

    4) you may download OpenSSL from "http://www.slproweb.com/products/Win32OpenSSL.html". It may be named "Win64 OpenSSL v1.0.0e". You may choose newer version.
    It is also possible to choose older version (Win64 OpenSSL v0.9.8r), it it did not worked properly with QT's version.

    5) Install the downloaded OpenSSL 64 bit version.

    6) Install the latest QT version.

    7) Change the following file in "C:\Qt\4.7.4-msvc-2010\mkspecs\win32-msvc2010\qmake.conf".
    Remove " -O2 " from the following two lines in the file.
    -----
    QMAKE_CFLAGS_RELEASE = -MD
    QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -MD -Zi
    -----
    This was required for the version of VS2010 and QT 4.7.4. May be this step is not necessary for the newer versions.

    8) Run the following from QT path
    configure -webkit -openssl -I C:\OpenSSL-Win64\include -L C:\OpenSSL-Win64\lib\VC\static

    9) Run the following from QT path
    nmake

    Regards..

Similar Threads

  1. run-time vs linked OpenSSL support
    By piotr.dobrogost in forum Installation and Deployment
    Replies: 12
    Last Post: 30th March 2012, 07:56
  2. OpenSSL and RSA :: digital signature
    By josecarlosmissias in forum Qt Programming
    Replies: 5
    Last Post: 7th May 2010, 15:23
  3. Qt for Windows CE with OpenSSL support
    By Jonas in forum Installation and Deployment
    Replies: 2
    Last Post: 4th February 2010, 08:36
  4. Qt 4.5 Openssl problem
    By srikanth_trulyit in forum Installation and Deployment
    Replies: 1
    Last Post: 10th June 2009, 10:54
  5. Get ml.exe to build OpenSSL on VS 2005
    By captchaq in forum General Programming
    Replies: 1
    Last Post: 27th September 2008, 08:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.