Skip to content
Permalink
Browse files

Fix build with Qt 5.9

  • Loading branch information
wonder-sk committed Sep 15, 2017
1 parent 8d4d5ab commit 3d0ce5f1012e6db13c4dd5310f172194afcb5a13
Showing with 3 additions and 4 deletions.
  1. +3 −4 tests/src/core/testqgsogcutils.cpp
@@ -33,14 +33,13 @@ class TestQgsOgcUtils : public QObject
void initTestCase()
{
// Needed on Qt 5 so that the serialization of XML is consistent among all executions
#if QT_VERSION < QT_VERSION_CHECK( 5, 6 ,0)
#if QT_VERSION >= 0x50600
qSetGlobalQHashSeed( 0 );
#else
extern Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed;
qt_qhash_seed.store( 0 );
#else
qSetGlobalQHashSeed( 0 );
#endif


//
// Runs once before any tests are run
//

0 comments on commit 3d0ce5f

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