From 285033392e3c5a29d35cf985508309f2a9d61628 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 26 Jul 2018 08:41:03 +0200 Subject: shiboken: Work around non-deterministic builds Request deterministic ordering of QHash. Task-number: PYSIDE-757 Change-Id: Ifec8f9d39cb183cffeb58440156204f2ccb56a2c Reviewed-by: Alexandru Croitor --- sources/shiboken2/generator/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sources/shiboken2/generator') 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 -- cgit v1.2.3