diff --git a/sources/main.cpp b/sources/main.cpp index 8e3a05d36..9a50a502b 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -164,6 +164,10 @@ void delete_old_log_files(int days) */ int main(int argc, char **argv) { + // before creating Application: + // export environment-variable "QT_HASH_SEED" with value "0" to + // disable radomisation for hashes in order to obtain "clean" XML-diffs: + qputenv("QT_HASH_SEED", "0"); //Some setup, notably to use with QSetting. QCoreApplication::setOrganizationName("QElectroTech"); QCoreApplication::setOrganizationDomain("qelectrotech.org");