summaryrefslogtreecommitdiffstats
path: root/src/tools/moc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/moc')
-rw-r--r--src/tools/moc/moc.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp
index c175d1d86d..9dbc22dc2c 100644
--- a/src/tools/moc/moc.cpp
+++ b/src/tools/moc/moc.cpp
@@ -1296,9 +1296,12 @@ void Moc::createPropertyDef(PropertyDef &propDef)
propDef.designable = v + v2;
checkIsFunction(propDef.designable, "DESIGNABLE");
break;
- case 'E': if (l != "EDITABLE") error(2);
+ case 'E': if (l != "EDITABLE") error(2); {
+ const QByteArray msg = "EDITABLE flag for property declaration is deprecated.";
+ warning(msg.constData());
propDef.editable = v + v2;
checkIsFunction(propDef.editable, "EDITABLE");
+ }
break;
case 'N': if (l != "NOTIFY") error(2);
propDef.notify = v;