diff --git a/cfg/qt.cfg b/cfg/qt.cfg
index cae153acf..e78a66533 100644
--- a/cfg/qt.cfg
+++ b/cfg/qt.cfg
@@ -5084,7 +5084,8 @@
-
+
+
diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp
index 584d1015a..73650f09c 100644
--- a/test/cfg/qt.cpp
+++ b/test/cfg/qt.cpp
@@ -573,4 +573,10 @@ namespace {
// simplifyQtSignalsSlots2
namespace Foo { class Bar; }
class Foo::Bar : public QObject { private slots: };
+
+ // Q_PROPERTY with templates inducing a ',' should not produce a preprocessorErrorDirective
+ class AssocProperty : public QObject {
+ public:
+ Q_PROPERTY(QHash hash READ hash WRITE setHash)
+ };
}