aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks/README-missing-typeinfo.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/checks/README-missing-typeinfo.md')
-rw-r--r--docs/checks/README-missing-typeinfo.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/checks/README-missing-typeinfo.md b/docs/checks/README-missing-typeinfo.md
new file mode 100644
index 00000000..675fc2f0
--- /dev/null
+++ b/docs/checks/README-missing-typeinfo.md
@@ -0,0 +1,6 @@
+# missing-typeinfo
+
+Suggests usage of `Q_PRIMITIVE_TYPE` or `Q_MOVABLE_TYPE` in cases where you're using `QList<T>` and `sizeof(T) > sizeof(void*)`
+or using `QVector<T>`, unless they already have a type info classification.
+
+See `Q_DECLARE_TYPEINFO` in Qt documentation for more information.