3
Building from source
Daniel Brunner edited this page 2018-04-12 09:30:09 +02:00

Please make sure that you use the latest & greatest tools available (Qt-version, qmake, lrelease, compiler, etc.).

  1. Get the sources & create build folder

    git clone --recursive https://github.com/0xFEEDC0DE64/QtZeiterfassung.git
    mkdir build_QtZeiterfassung
    cd build_QtZeiterfassung
    
  2. Create Makefiles using qmake (run only one of the following, depending on your needs)

    #debug build
    qmake ../QtZeiterfassung
    
    #release build
    qmake ../QtZeiterfassung -config release
    
    #debug build with ccache
    qmake CONFIG+=ccache ../QtZeiterfassung
    
    #release build with ccache
    qmake CONFIG+=ccache ../QtZeiterfassung -config release
    
  3. Compile

    make -j8
    make install # only needed on first build to copy needed resources
    
  4. Run the tool

    ./bin/zeiterfassung