aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/generator
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/generator')
-rw-r--r--sources/shiboken2/generator/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken2/generator/main.cpp b/sources/shiboken2/generator/main.cpp
index 7ee43710e..0b7c15244 100644
--- a/sources/shiboken2/generator/main.cpp
+++ b/sources/shiboken2/generator/main.cpp
@@ -458,6 +458,9 @@ static void parseIncludePathOption(const QString &option, HeaderType headerType,
int main(int argc, char *argv[])
{
+ // PYSIDE-757: Request a deterministic ordering of QHash in the code model
+ // and type system.
+ qSetGlobalQHashSeed(0);
QElapsedTimer timer;
timer.start();
// needed by qxmlpatterns