11. Requirements
2
3To compile ChessX, you need Qt version 5.7 or above.
4Reported issue: FICS does not work properly with Qt4
5
62. Compilation
7
8Compiling the source is simple. Execute:
9  qmake
10and then
11  make
12
13If the compilation is successful you should be able to run ChessX
14executable in bin subdirectory. It is called: chessx on Linux,
15chessx.app on Mac OS, chessx.exe on Windows
16
173. Problems
18
19You may check your Qt version by running:
20  qmake -v
21
22If you erroneously tried to build with Qt3, be sure to recreate
23makefiles using:
24  qmake -recursive
25
26If your compiler does not support C++11, comment out CONFIG += c++11, see file chessx.pro
27If your Qt libraries are compiled w/o Multimedia, comment out CONFIG += sound, see file chessx.pro
28Depending on your installed libraries, you may have to experiment with
29# DEFINES += ZLIB_WINAPI
30# LIBS += -lz
31# INCLUDEPATH += <path to qt>/QtZlib
32
334. Debugging
34
35If you want to help debugging ChessX, rebuild with debug option enabled:
36  qmake -recursive -after "CONFIG+=debug"
37  make
38