buildint.rst: Put back reference to openssl on windows
authorOlivier Goffart <ogoffart@woboq.com>
Fri, 21 Jul 2017 06:54:06 +0000 (08:54 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Fri, 21 Jul 2017 06:57:57 +0000 (08:57 +0200)
OpenSSL might no longer be needed to build the client, but we still need
it to run it.

That reverts part of commit 6e57b0219edd7dcc99509620277bb53478d958a6 for
this file.

Fix #5858
Reported in https://central.owncloud.org/t/locally-built-client-error-creating-ssl-context/8264

doc/building.rst

index 48f6f0212e5095e32b8d8b9b5961d96bab85f291..5207b45f7a902ec2d1867c6a6adac039f1b0eafc 100644 (file)
@@ -120,6 +120,7 @@ follow `Windows Installer Build (Cross-Compile)`_ instead.
 
    * Make sure that you have CMake_ and Git_.
    * Download the Qt_ MinGW package. You will use the MinGW version bundled with it.
+   * Download an `OpenSSL Windows Build`_ (the non-"Light" version)
 
 2. Get the QtKeychain_ sources as well as the latest versions of the ownCloud client
    from Git as follows::
@@ -129,10 +130,11 @@ follow `Windows Installer Build (Cross-Compile)`_ instead.
 
 3. Open the Qt MinGW shortcut console from the Start Menu
 
-4. Make sure that your qtkeychain source directories are in your PATH. This will
-   allow CMake to find the library and headers, as well as allow the ownCloud
-   client to find the DLLs at runtime::
+4. Make sure that OpenSSL's ``bin`` directory as well as your qtkeychain source
+   directories are in your PATH. This will allow CMake to find the library and
+   headers, as well as allow the ownCloud client to find the DLLs at runtime::
 
+    set PATH=C:\<OpenSSL Install Dir>\bin;%PATH%
     set PATH=C:\<qtkeychain Clone Dir>;%PATH%
 
 5. Build qtkeychain **directly in the source directory** so that the DLL is built
@@ -277,6 +279,7 @@ The following are known cmake parameters:
 .. _Git: http://git-scm.com
 .. _MacPorts: http://www.macports.org
 .. _Homebrew: http://mxcl.github.com/homebrew/
+.. _OpenSSL Windows Build: http://slproweb.com/products/Win32OpenSSL.html
 .. _Qt: http://www.qt.io/download
 .. _Microsoft Authenticode: https://msdn.microsoft.com/en-us/library/ie/ms537361%28v=vs.85%29.aspx
 .. _QtKeychain: https://github.com/frankosterfeld/qtkeychain