diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-01 11:58:58 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-01 14:13:34 +0200 |
| commit | bc85c54dadc02bd618f085c1fc55b7ba9d33c4c8 (patch) | |
| tree | e8a7cbe1a17a12967ffd01c50be44967869a01dc | |
| parent | 0228767a467f0c887cbb892395a4310c29401c62 (diff) | |
Fix build with Qt 6.9
Fix error:
qtdocgenerator.cpp:1751: error: invalid initialization of reference of type 'const QFile&' from expression of type 'const QString'
Amends ff283650bd482c2132ce3bac647e109447850cff.
Task-number: PYSIDE-2862
Change-Id: Ie38f8b135d138a9d3d4d47496a9eab0f1bd4cb4a
Reviewed-by: Christian Tismer <tismer@stackless.com>
| -rw-r--r-- | sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp index 5a77c10b3..2af5e5325 100644 --- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp +++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp @@ -1748,7 +1748,7 @@ static void copyParsedImage(const ResolvedDocImage &image, QDir &targetDir) } QFile source(image.absoluteSourceFilePath); if (!source.copy(targetFileName)) - throw Exception(msgCannotCopy(image.absoluteSourceFilePath, targetFileName)); + throw Exception(msgCannotCopy(source, targetFileName)); } // Copy parsed images from WebXML to doc/base |
