aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/messages.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-24 07:39:50 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-24 07:49:07 +0200
commit9881b68c4c7bc1715cd266c41c63a3a918d83b07 (patch)
tree5252e3e767e64d98383f6103d9d5941a206a52bc /sources/shiboken2/ApiExtractor/messages.cpp
parent17a20f95151368a3b92b949b905325865643ca45 (diff)
parentcad869b619fdc0969216e6e9b63fd1afb5edb7db (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Diffstat (limited to 'sources/shiboken2/ApiExtractor/messages.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/messages.cpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/messages.cpp b/sources/shiboken2/ApiExtractor/messages.cpp
index f218faace..55c51ffa4 100644
--- a/sources/shiboken2/ApiExtractor/messages.cpp
+++ b/sources/shiboken2/ApiExtractor/messages.cpp
@@ -1,4 +1,4 @@
-/****************************************************************************
+/****************************************************************************
**
** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
@@ -368,6 +368,23 @@ QString msgNamespaceToBeExtendedNotFound(const QString &namespaceName, const QSt
+ packageName + QLatin1Char('.');
}
+QString msgPropertyTypeParsingFailed(const QString &name, const QString &typeName,
+ const QString &why)
+{
+ QString result;
+ QTextStream str(&result);
+ str << "Unable to decide type of property: \"" << name << "\" (" << typeName
+ << "): " << why;
+ return result;
+}
+
+QString msgPropertyExists(const QString &className, const QString &name)
+{
+ return QLatin1String("class ") + className
+ + QLatin1String(" already has a property \"") + name
+ + QLatin1String("\" (defined by Q_PROPERTY).");
+}
+
// docparser.cpp
QString msgCannotFindDocumentation(const QString &fileName,