diff options
author | Tobias Markmann <tm@ayena.de> | 2017-01-12 11:29:13 (GMT) |
---|---|---|
committer | Edwin Mons <edwin.mons@isode.com> | 2017-02-21 09:33:22 (GMT) |
commit | 12691f0c76a779e44445dca372bc19fb022437c3 (patch) | |
tree | b5709d17cca7fc010c7ac6f2f36a1a88291e54b5 | |
parent | f4246a23eb76cb09c1a603d54891f80ec1e54eb5 (diff) | |
download | swift-12691f0c76a779e44445dca372bc19fb022437c3.zip swift-12691f0c76a779e44445dca372bc19fb022437c3.tar.bz2 |
Improve README.md regarding Windows build instructions
Described 64-bit Windows build and the QtWebKit situation for
Qt 5.7 and later.
Test-Information:
None.
Change-Id: I33740e81c27b2dddbd00f058e49c18fefed75843
-rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -34,8 +34,10 @@ The Swift repository includes some third party dependencies in the 3rdParty dire to easy development. Third party dependencies not included are listed below: * OpenSSL is required when building Swiften on Linux or Android -* Qt 5 is required by Swift; **Qt up to version Qt 5.5 is supported** * Python (2.5 <= version < 3) +* Qt 5 and QtWebKit is required by Swift. Depending on platform, architecture, and compiler/IDE, you have the following options to fulfill this dependency: + * download and install the [official binary Qt 5.5 release](http://download.qt.io/archive/qt/5.5/5.5.1/) if it is available for your platform/architecture/compiler + * download and install the latest [official binary Qt 5.7 release](http://download.qt.io/archive/qt/5.7/) **and** download the *matching* [Qt WebKit Technology Preview release for Qt 5.7](https://github.com/annulen/webkit/releases/) and copy/merge the folders with the matching folders of the previously installed Qt 5.7 installation ## General Build Instructions The Swift projects use the SCons build system for build configuration and Build @@ -66,7 +68,11 @@ A binary release of Qt can be obtained from https://www.qt.io/download-open-sour #### Building Swift -From the 'Visual C++' 'Programs' group, launch the Visual C++ command prompt, go to your checked out Swift directory and run `scons.bat qt=C:\path\to\qt Swift` to build Swift. +Open a Developer Command Prompt. Depending on Windows version and Visual Studio version, this can be found in the **Visual C++ Programs group**, launch the **Visual C++ command prompt**, or search for **Developer Command Prompt for VS2015** in the Windows start menu in more recent versions of Windows. + +In the open command prompt add the **Qt installation bin folder** to the `PATH` environment variable, by running `set PATH=C:\path\to\qt\msvc2015\bin;%PATH%`. The Qt path is just an example; adjust it to your local installation. + +Afterwards, in the command prompt, go to your checked out Swift directory and run `scons.bat qt=C:\path\to\qt Swift` to build Swift. If you want to build a 64-bit version of Swift, **this requires to have 64-bit versions of all dependencies**, attach `win_target_arch=x64_64` to the previous `scons` command line. To start Swift, simply change to `Swift/QtUI` and run `Swift.exe`. |