qt5base-lts/tests/auto/corelib/tools/qhashfunctions
Gabriel de Dietrich a14fadfb64 Add getter and setter for qt_qhash_seed
In some cases it's not possible to use QT_HASH_SEED, specially when
we need to set the environment variable from inside the application,
as dynamically loaded libraries or plugins may create static QHash
instances. That would set qt_qhash_seed to a value different from
-1 and skip the env var value.

For those cases, and when we still want to set qt_qhash_seed, we
provide a way to enforce its value.

Auto-tests accessing qt_qhash_seed directly have been updated
accordingly. Usage in qdoc, uic and rcc has been left as is
for the time being.

Change-Id: I3b35b4fa0223c83b1348a6508641905a2a63266f
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
2015-09-22 14:17:46 +00:00
..
.gitignore tst_QHash: Factor qHash()-related test cases into a separate test 2015-01-05 20:18:51 +01:00
qhashfunctions.pro tst_QHash: Factor qHash()-related test cases into a separate test 2015-01-05 20:18:51 +01:00
tst_qhashfunctions.cpp Add getter and setter for qt_qhash_seed 2015-09-22 14:17:46 +00:00