diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-06-05 13:23:08 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-06-06 09:38:36 +0200 |
| commit | d2d9aa6045c7b20e45a3d982c1a13acb39251c99 (patch) | |
| tree | 69f36e4fbf34f57b5f9bc0f114188b7b506c9ff6 /sources/shiboken6/ApiExtractor/messages.cpp | |
| parent | af9f312b46af9ac5b2fb9f5dae7c0f31d91b15b1 (diff) | |
Documentation: Move image resolving from QtXmlToSphinx to QtDocGenerator
Move PySide6-related logic to the doc generator.
Prepares for adapting to
qttools/c51980bb0d9658f2ade4de1900d07b08e88cb52d.
Task-number: QTBUG-119500
Task-number: PYSIDE-2620
Change-Id: I994bd3c159654e133d71ee7fac3725ffed47c52c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/messages.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/messages.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.cpp b/sources/shiboken6/ApiExtractor/messages.cpp index b1f0b240e..170595660 100644 --- a/sources/shiboken6/ApiExtractor/messages.cpp +++ b/sources/shiboken6/ApiExtractor/messages.cpp @@ -995,3 +995,10 @@ QString msgInvalidLanguageLevel(const QString &l) { return u"Invalid argument for language level: \""_s + l + u"\"."_s; } + +QString msgCannotFindImage(const QString &href, const QString &context, + const QString &candidate) +{ + return "Cannot resolve image "_L1 + href + " for "_L1 + context + + " (tried "_L1 + QDir::toNativeSeparators(candidate) + ")."_L1; +} |
