aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2019-03-07 15:02:52 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2019-03-12 11:26:55 +0000
commit587d789fa5929f462b5744ba33a25db6c77b36fc (patch)
treed373be8ff4d379120843c41d0a720661496bc67b
parent850aaa0fb43f64a2d9cf5160fd6c54dd552cd6a5 (diff)
Use lowercase name for window header
Compilation otherwise fails when cross-compiling on linux, since the filename is is lowercased. Change-Id: I0b25f814543b677802cd6f07dc91964547a6028a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/qml/jsruntime/qv4functiontable_win64.cpp2
-rw-r--r--tests/auto/qml/qv4assembler/tst_qv4assembler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4functiontable_win64.cpp b/src/qml/jsruntime/qv4functiontable_win64.cpp
index bc5b24f6cd..fc13dc2602 100644
--- a/src/qml/jsruntime/qv4functiontable_win64.cpp
+++ b/src/qml/jsruntime/qv4functiontable_win64.cpp
@@ -43,7 +43,7 @@
#include <QtCore/qdebug.h>
-#include <Windows.h>
+#include <windows.h>
QT_BEGIN_NAMESPACE
diff --git a/tests/auto/qml/qv4assembler/tst_qv4assembler.cpp b/tests/auto/qml/qv4assembler/tst_qv4assembler.cpp
index a04024f2e3..4916cb4cc0 100644
--- a/tests/auto/qml/qv4assembler/tst_qv4assembler.cpp
+++ b/tests/auto/qml/qv4assembler/tst_qv4assembler.cpp
@@ -35,7 +35,7 @@
#include <QtQml/qqmlapplicationengine.h>
#ifdef Q_OS_WIN
-#include <Windows.h>
+#include <windows.h>
#endif
class tst_QV4Assembler : public QQmlDataTest