To compile ChessX, you need at least Qt5.13. You will also need to download ChessX source code, as described in the download section.
Compiling the source is simple. Just unpack the sources, go to source directory (chessx) and execute:
lupdate chessx.pro
qmake
make
If you receice an error in make related to multimedia, you can comment out the line CONFIG += sound in chessx.pro and call make again.
If the compilation is successful you should be able to run ChessX executable in release, debug or static subdirectory. It is called:
To enable debugging, you need to pass debug) variable to qmake:
qmake -recursive -after CONFIG+=debug
To enable static linking, you need to pass static) variable to qmake:
qmake -recursive -after CONFIG+=static
Static Linkage with Qt requires that you build a complete set of static Qt libraries. See the Qt homepage.
Every once in while Apple updates Xcode. ChessX usually won't compile afterwards:
Change the line
QMAKE_MAC_SDK = macosx10.11
to the current Apple SDK, call qmake and make afterwards.
I have QT 5.13.2 and I want to compile ChessX.
In "chessx" folder, when I run:
C:\Qt\Qt5.13.2\5.13.2\msvc2017_64\bin\lupdate.exe chessx.pro, I get the message:
"cannot run compiler 'cl' " - see attached file for full message.
Please tell me what am I doing wrong.
M J Brown
mj37brown@gmail.com