aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks/README-qt-macros.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/checks/README-qt-macros.md')
-rw-r--r--docs/checks/README-qt-macros.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/checks/README-qt-macros.md b/docs/checks/README-qt-macros.md
new file mode 100644
index 00000000..9d6353d5
--- /dev/null
+++ b/docs/checks/README-qt-macros.md
@@ -0,0 +1,7 @@
+# qt-macros
+
+Finds misusages of some Qt macros.
+
+The two cases are:
+- Using `Q_OS_WINDOWS` instead of `Q_OS_WIN` (The former doesn't exist).
+- Testing a `Q_OS_XXX` macro before including `qglobal.h`