diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-26 17:40:24 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-29 20:48:09 +0200 |
commit | 309e2e864fae14089667f625acd1688a4d469943 (patch) | |
tree | c302afb5e7d7d695633db68b044c778b4cab94ca /tools/qmlcachegen/qmlcachegen.cpp | |
parent | f9205f39188ba769e597d87e15b0233bcc9776da (diff) |
QtDeclarative: port away from deprecated qSetGlobalQHashSeed(0)
Use QHashSeed::setDeterministicGlobalSeed() instead
Task-number: QTBUG-105102
Change-Id: I1d13f3872b335ff9998f7c4538d3b9c3c77fe232
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
-rw-r--r-- | tools/qmlcachegen/qmlcachegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |