Added qmake config examples for release and ccache builds
@@ -1,12 +1,34 @@
|
|||||||
If you cannot use docker, you can build the sources in your own environment. Please make sure that you use the latest & greatest tools available (Qt-version, qmake, lrelease, compiler, etc.).
|
Please make sure that you use the latest & greatest tools available (Qt-version, qmake, lrelease, compiler, etc.).
|
||||||
|
|
||||||
Currently this is the only way to get certain extra functionality working (Bugs [#59](https://github.com/0xFEEDC0DE64/QtZeiterfassung/issues/59), [#60](https://github.com/0xFEEDC0DE64/QtZeiterfassung/issues/60), [#61](https://github.com/0xFEEDC0DE64/QtZeiterfassung/issues/61))
|
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)
|
||||||
git clone --recursive https://github.com/0xFEEDC0DE64/QtZeiterfassung.git
|
```
|
||||||
mkdir build_QtZeiterfassung
|
#debug build
|
||||||
cd build_QtZeiterfassung
|
qmake ../QtZeiterfassung
|
||||||
qmake ../QtZeiterfassung
|
|
||||||
make
|
#release build
|
||||||
make install # only needed on first build to copy needed resources
|
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.sh
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user