diff --git a/src/xmlpatterns/api/qxmlnamepool.cpp b/src/xmlpatterns/api/qxmlnamepool.cpp
index 894aac7745d634b25b72107bf350c3f268d8973b..cd54b27a5d40bd61f8339d5d7117cc7284d6273a 100644
--- a/src/xmlpatterns/api/qxmlnamepool.cpp
+++ b/src/xmlpatterns/api/qxmlnamepool.cpp
@@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   QXmlNamePool is used to optimize operations on instances of
   QXmlName. An instance of QXmlName represents an XML name in