summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-26 17:35:52 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-30 22:46:34 +0200
commit35a50491e703e4833020be66073b8cdd310bc859 (patch)
tree97ba65cef48e5c9177e034226892ca5eb86cebae /qmake/main.cpp
parentc81d5ec19a3bb85a4b8197bd3176dc873c3b7a68 (diff)
QtBase tools: port away from deprecated qSetGlobalQHashSeed(0)
Use QHashSeed::setDeterministicGlobalSeed() instead Task-number: QTBUG-105102 Change-Id: Ib7d4b6e7bca89870913a140d68bbdd6018e8f8ed Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'qmake/main.cpp')
-rw-r--r--qmake/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/main.cpp b/qmake/main.cpp
index e546b1705c..9b96ab7338 100644
--- a/qmake/main.cpp
+++ b/qmake/main.cpp
@@ -423,7 +423,7 @@ bool qmake_setpwd(const QString &p)
int runQMake(int argc, char **argv)
{
- qSetGlobalQHashSeed(0);
+ QHashSeed::setDeterministicGlobalSeed();
// stderr is unbuffered by default, but stdout buffering depends on whether
// there is a terminal attached. Buffering can make output from stderr and stdout