From 309e2e864fae14089667f625acd1688a4d469943 Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Fri, 26 Aug 2022 17:40:24 +0200 Subject: QtDeclarative: port away from deprecated qSetGlobalQHashSeed(0) Use QHashSeed::setDeterministicGlobalSeed() instead Task-number: QTBUG-105102 Change-Id: I1d13f3872b335ff9998f7c4538d3b9c3c77fe232 Reviewed-by: Thiago Macieira --- tools/qmlcachegen/qmlcachegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qmlcachegen/qmlcachegen.cpp') diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index 6ade0987f9..fccc107c7a 100644 --- a/tools/qmlcachegen/qmlcachegen.cpp +++ b/tools/qmlcachegen/qmlcachegen.cpp @@ -56,7 +56,7 @@ static bool argumentsFromCommandLineAndFile(QStringList& allArguments, const QSt int main(int argc, char **argv) { // Produce reliably the same output for the same input by disabling QHash's random seeding. - qSetGlobalQHashSeed(0); + QHashSeed::setDeterministicGlobalSeed(); QCoreApplication app(argc, argv); QCoreApplication::setApplicationName(QStringLiteral("qmlcachegen")); -- cgit v1.2.3