diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-09-14 10:44:35 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-09-20 14:55:46 +0200 |
| commit | 95314e809969bf38714a7b63651ce877621618d8 (patch) | |
| tree | 77e960cf40ff6db1c5a98f58ff8c01bdef6e5763 /sources/shiboken6/ApiExtractor/messages.cpp | |
| parent | ed069c99be37364bf28ff3834d9e635389ea7af6 (diff) | |
shiboken6: Move options parsing into API extractor
Similar to the previous change for the TypeDatabase, add an
OptionsParser for ApiExtractor and let it handle the its options
directly instead of passing them from main. via ApiExtractor. Many
ApiExtractor setters can then be removed.
Pick-to: 6.6
Change-Id: I3fe37e2903edcc4f6e4a91181917d008df1e5ca8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/messages.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/messages.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.cpp b/sources/shiboken6/ApiExtractor/messages.cpp index 0393fa3b3..c3ad3d5c1 100644 --- a/sources/shiboken6/ApiExtractor/messages.cpp +++ b/sources/shiboken6/ApiExtractor/messages.cpp @@ -953,3 +953,8 @@ QString msgMissingProjectFileMarker(const QString &name, const QByteArray &start return u"First line of project file \""_s + QDir::toNativeSeparators(name) + u"\" must be the string \""_s + QString::fromLatin1(startMarker) + u"\"."_s; } + +QString msgInvalidLanguageLevel(const QString &l) +{ + return u"Invalid argument for language level: \""_s + l + u"\"."_s; +} |
