g++
package for Debian-based system (xUbuntu, Linux Mint, etc.)gcc-c++
package for rpm system (Fedora, OpenSUSE, etc.)libgl1-mesa-dev
package for Debian-based system (xUbuntu, Linux Mint, etc.)mesa-libGL-devel
package for rpm system (Fedora, OpenSUSE, etc.)You can skip this section if you know how to do it.
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. Root is not required to install Qt.
You can safely uncheck everything execpt Desktop gcc.
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_package.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_package.sh
Compilation will take about few minutes (depending on hardware), and as result you will get Digital Clock folder and digital_clock_4-linux.tar.xz alongside with sources folder. Digital Clock folder will contain ready to use application, digital_clock_4-linux.tar.xz is compressed version of it.
digital_clock.sh
config_desktop.sh --help
for details
What about version 5.x for Linux ?