From 4ef99b8fbb3ba32df5591ac306fe8a7baa31c92c Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 1 Apr 2021 23:51:10 -0700 Subject: Deprecate qGlobalQHashSeed and qSetGlobalQHashSeed in Qt 6.6 That's two years from when the replacements were added (6.2). Change-Id: Id2983978ad544ff79911fffd1671f7dd38fede02 Reviewed-by: Lars Knoll --- src/tools/rcc/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tools/rcc/main.cpp') 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); } -- cgit v1.2.3