summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qmake/main.cpp2
-rw-r--r--src/tools/uic/main.cpp2
2 files changed, 2 insertions, 2 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
diff --git a/src/tools/uic/main.cpp b/src/tools/uic/main.cpp
index 01712da485..467bcc5574 100644
--- a/src/tools/uic/main.cpp
+++ b/src/tools/uic/main.cpp
@@ -20,7 +20,7 @@ using namespace Qt::StringLiterals;
int runUic(int argc, char *argv[])
{
- qSetGlobalQHashSeed(0); // set the hash seed to 0
+ QHashSeed::setDeterministicGlobalSeed();
QCoreApplication app(argc, argv);
QCoreApplication::setApplicationVersion(QString::fromLatin1(QT_VERSION_STR));