diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-14 10:24:22 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-14 12:14:23 +0200 |
| commit | c5f7a934d741e22172978ec8b79ee61903f8f1f0 (patch) | |
| tree | 95d5ecd84975a973f7f3cb4f3940406f58e53be2 /sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp | |
| parent | 59581e630740a5216c57a6b9ee6c3742f10e4323 (diff) | |
Fix deprecation warnings in Qt 6.6
Remove old string literals, qAsConst, use new Regex API.
Pick-to: 6.5
Change-Id: Iffdaa5217596e181c0766d161ce70c0a36ba37b5
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp index 22cb25aea..62bca91eb 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp @@ -354,7 +354,7 @@ QByteArrayList emulatedCompilerOptions() // Append the c++ include paths since Clang is unable to find // <type_traits> etc (g++ 11.3). - const HeaderPaths gppPaths = gppInternalIncludePaths(compilerFromCMake(u"g++"_qs)); + const HeaderPaths gppPaths = gppInternalIncludePaths(compilerFromCMake(u"g++"_s)); for (const HeaderPath &h : gppPaths) { if (h.path.contains("c++") || h.path.contains("sysroot")) headerPaths.append(h); |
