diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2018-07-12 11:33:06 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2018-07-12 20:12:30 +0000 |
commit | 1c014ed3d9256df0330338b34f1c710efa962cf8 (patch) | |
tree | aa38b9a979ccc98c4a17743cbcdad33d9f9afdd2 /share/qtcreator/qml | |
parent | 9edd80770e34eb85a92cfd904b999f9d2adb6f78 (diff) | |
download | qt-creator-1c014ed3d9256df0330338b34f1c710efa962cf8.tar.gz |
Windows: Match the name case of included files
Although Windows is case insensitive, and lower case always works, Clang
complains:
Lexical or Preprocessor Issue: warning: non-portable path to file
'<FooBar.h>'; specified path differs in case from file name on disk
Change-Id: I8f94e9fb62f6afec8aa6b9d08a7c78f6ba8a4435
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'share/qtcreator/qml')
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp | 2 | ||||
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp index 449e4ff188..2dc112c027 100644 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp @@ -37,7 +37,7 @@ #if defined(Q_OS_UNIX) #include <unistd.h> #elif defined(Q_OS_WIN) -#include <windows.h> +#include <Windows.h> #endif namespace QmlDesigner { diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp index 22460eaf6b..f32ba81b7f 100644 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppetmain.cpp @@ -41,7 +41,7 @@ #endif #ifdef Q_OS_WIN -#include <windows.h> +#include <Windows.h> #endif int internalMain(QGuiApplication *application) |