Skip to content

Commit 0d6aa30

Browse files
Enhanced documentation for building on windows.
Todo: 1. Is ruby required on Mac OS? If yes, how to install on Mac OS? 2. Could x64 be supported in Windows? If yes, how to adapt the build system?
1 parent 26e9e00 commit 0d6aa30

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

README.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Build Dependencies
22

33
* Qt 5.7
4+
* Ruby (any stable version)
45
* (OS X) Sparkle
56
* (Windows) WinSparkle
67

@@ -16,19 +17,32 @@ brew link qt5 --force
1617

1718
## Windows
1819

20+
* Install [Ruby](https://rubyinstaller.org/downloads/)
1921
* Install [Qt](http://qt-project.org/downloads)
20-
* I use the Qt libraries for Windows VS 2013.
22+
* I use the Qt libraries for Windows VS 2013. Make sure to choose 32 bit under Windows.
2123
* Install [WinSparkle](https://github.com/vslavik/winsparkle)
22-
* Clone the repository and build the library, for example with VS 2013. The precompiled releases are ancient.
24+
* Clone the repository and build the library, for example with VS 2013. The precompiled releases are ancient. Make sure to build 32 bit.
2325

2426
# Build Instructions
2527

28+
## Mac OS X
29+
2630
```
2731
qmake
2832
make
2933
```
3034

31-
(Use ``nmake`` instead of ``make`` on Windows)
35+
## Windows
36+
37+
* Add Qt, VS 2013 and WinSparkle to your system path.
38+
* Initialize the environment variables:
39+
* call qtenv2.bat (default location: ..\Qt\5.5\msvc2013\bin\qtenv2.bat)
40+
* call vcvarsall.bat (default location: ..\VS2013\VC\vcvarsall.bat)
41+
42+
```
43+
qmake
44+
nmake
45+
```
3246

3347
The resulting binary can be found in the ``build`` subfolder.
3448

0 commit comments

Comments
 (0)