From c9398266d804d570f305590df9481028c9880175 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 15 Feb 2018 22:14:42 -0800 Subject: Move the QML_COMPILE_HASH macro definition from the command-line If it's in the command-line, it is added to the precompiled header, which won't be regenerated if the macro changed. Instead, let's create a header that can be #included only in the file it needs to. Since qmldevtools compiles the file that has this new #include, we need to ensure it was created before the module is compiled. Change-Id: I940917d6763842499b18fffd1513b9c64cd98387 Reviewed-by: Simon Hausmann --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index da9552c8e6..2cffe24ff0 100644 --- a/.gitignore +++ b/.gitignore @@ -286,6 +286,7 @@ tests/auto/*/*/*/*.moc src/qml/RegExpJitTables.h src/qml/udis86_itab.c src/qml/udis86_itab.h +src/qml/qml_compile_hash_p.h # Generated HLSL bytecode headers *.hlslh -- cgit v1.2.3