You can skip this section if you know how to do it.
If don't have Xcode, time to install it. It must be installed and runned at least one time before Qt instalation.
Qt instalation is pretty simple, don't worry if you know nothing about Qt and do its instalation first time.
Download Qt installer, run it and follow its instructions.
You can safely uncheck everything suggested execpt clang, macOS, OS X (name my vary with version).
There are 2 ways to get sources:
1. download archive from release files (stable code)
2. download snapshot/clone repository (latest code)
Also you will need in resources (skins, textures, etc.)
scripts/create_bundle.sh
from sources folder in any text editor and change QT_ROOT, CLOCK_SRC_PATH, CLOCK_DATA_PATH
variables corresponding to your systemCLOCK_SRC_PATH
value)./scripts/create_bundle.sh
Compilation will take about few minutes, and as result you will get Digital Clock 4.app and digital_clock_4-macosx.dmg alongside with sources folder.
if you building for macOS Sierra and newer, use Qt 5.11 or above.