Zeiterfassung
This tool helps me assigning my working hours to projects at work.
Building from source
The build process has only been tested with gcc and clang. On windows you need to use MinGW (provided by the Qt setup). All necessary libraries, config files or translations should be copied over to the build folder in the last build step. The executable and plugin land in the build folder under /bin
The simplest way to get it up and running is to just open it in QtCreator. If you are more like a terminal monkey, you can build it there too:
git clone --recursive https://github.com/0xFEEDC0DE64/QtZeiterfassung.git
mkdir build_QtZeiterfassung
cd build_QtZeiterfassung
qmake ../QtZeiterfassung
make
make install # only needed on first build to copy Qt resources
Launching (on unix)
./zeiterfassung.sh
Launching (on win32)
Double click the zeiterfassung.exe. Please report any error message like missing libraries or plugins!
Docker (on unix)
- Building the image:
docker build -t zeiterfassung https://github.com/0xFEEDC0DE64/QtZeiterfassung.git - Initial config (like username):
docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --net host --name zeiterfassung zeiterfassungIf this fails due to X11 permission problems, tryxhost +SI:localuser:root - All further launches are simpler:
docker start zeiterfassung
Configuration
This tool saves its configuration using QSettings. On linux, the configuration files are placed in ~/.config/db-software/zeiterfassung.conf. Be careful! This config file contains your password in plain text (if you log in correctly). You can alter the code in main.cpp to change the behaviour of QSettings (for example: saving into an ini file at working directory).
