summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rcc/main.cpp')
-rw-r--r--src/tools/rcc/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/rcc/main.cpp b/src/tools/rcc/main.cpp
index 45a5150842..eca7991280 100644
--- a/src/tools/rcc/main.cpp
+++ b/src/tools/rcc/main.cpp
@@ -441,9 +441,7 @@ int main(int argc, char *argv[])
// rcc uses a QHash to store files in the resource system.
// we must force a certain hash order when testing or tst_rcc will fail, see QTBUG-25078
// similar requirements exist for reproducibly builds.
- qSetGlobalQHashSeed(0);
- if (qGlobalQHashSeed() != 0)
- qWarning("Cannot force QHash seed");
+ QHashSeed::setDeterministicGlobalSeed();
return QT_PREPEND_NAMESPACE(runRcc)(argc, argv);
}