upstream_fix_qt59_private_api_call.patch
tests/src/core/testqgsogcutils.cpp 2017-06-19 16:32:06.405320326 +0200 | ||
---|---|---|
32 | 32 | |
33 | 33 |
void initTestCase() |
34 | 34 |
{ |
35 |
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) |
|
36 |
qSetGlobalQHashSeed(0); |
|
37 |
#else |
|
35 | 38 |
// Needed on Qt 5 so that the serialization of XML is consistent among all executions |
36 | 39 |
extern Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed; |
37 | 40 |
qt_qhash_seed.store( 0 ); |
41 |
#endif |
|
38 | 42 | |
39 | 43 |
// |
40 | 44 |
// Runs once before any tests are run |