Skip to content
Permalink
Browse files

Try another method to avoid XML serialization issues with QT5 (#3323)

  • Loading branch information
rouault authored and m-kuhn committed Jul 21, 2016
1 parent b642c02 commit 68f63eb101719085ba3a7d080547cb4cc54fd802
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/core/testqgsogcutils.cpp
@@ -32,8 +32,11 @@ class TestQgsOgcUtils : public QObject

void initTestCase()
{
#if QT_VERSION >= 0x050000
// Needed on Qt 5 so that the serialization of XML is consistant among all executions
qputenv( "QT_HASH_SEED", "1" );
extern Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed;
qt_qhash_seed.store( 0 );
#endif

//
// Runs once before any tests are run

0 comments on commit 68f63eb

Please sign in to comment.
You can’t perform that action at this time.