... | ... | @@ -17,7 +17,7 @@ Project depends on Qt5. ~~Minimal Qt version which the project is tested on is Q |
|
|
When running `qmake` several configuration parameters can be added to alter the installation or behaviour of the application. List of the parameters follows:
|
|
|
|
|
|
* `DISABLE_VERSION_CHECK_BY_DEFAULT=`**1** -- Alters the default behaviour which is new version notifications are displayed by default until manually disabled by the user. When this value is set then new version notifications are not displayed until manually enabled by the user.
|
|
|
* `DISABLE_VERSION_NOTIFICATION=`**1** -- New version notifications are disabled at compile time. They cannot be enabled by the user from the programme at runtime. Use it when you create Linux distribution package.
|
|
|
* `DISABLE_VERSION_NOTIFICATION=`**1** -- (since datovka-4.10.2) New version notifications are disabled at compile time. They cannot be enabled by the user from the programme at runtime. Use it when you create Linux distribution package.
|
|
|
* `PORTABLE_APPLICATION=`**1** -- The application will store its configuration and all data in the application directory. Use this option only when creating a package for Windows.
|
|
|
* `PREFIX=`**"/usr"** -- Change the installation path on Linux/UNIX-like systems.
|
|
|
* `TEXT_FILES_INST_DIR=`**"/usr/share/datovka/"** -- Change the path to documents that should be also installed. Actual installation of these documents is not handled by the generated Makefile. This option is used for example in the Gentoo Ebuild files.
|
... | ... | @@ -44,9 +44,9 @@ You may change the prefix by running: |
|
|
qmake PREFIX="/usr" datovka.pro
|
|
|
```
|
|
|
|
|
|
If you are a package maintainer you may want to disable the default checking for new version on application start-up. This can be achieved by passing the `DISABLE_VERSION_CHECK_BY_DEFAULT` configuration option.
|
|
|
If you are a package maintainer you may want to disable the default checking for new version on application start-up. This can be achieved by passing the `DISABLE_VERSION_NOTIFICATION` configuration option.
|
|
|
``` shell
|
|
|
qmake DISABLE_VERSION_CHECK_BY_DEFAULT=1 datovka.pro
|
|
|
qmake DISABLE_VERSION_NOTIFICATION=1 datovka.pro
|
|
|
```
|
|
|
|
|
|
### OS X
|
... | ... | |