diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-07-10 12:21:02 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-07-22 09:40:01 +0200 |
| commit | 206cebdb77100b8d2c0c490eea8eb2ee013d7919 (patch) | |
| tree | 6d96e9b332f6883faf2ad84c87b5e2de5aeff20e /sources/shiboken6/ApiExtractor/clangparser/compilersupport.h | |
| parent | 8d0ca38adcb550d556871a5033f2e2ef3b6f83c2 (diff) | |
shiboken6: Add platform version option
As observed for iOS, libclang falls back to a too-old OS version. Make
it possible to override using a command line option.
Task-number: PYSIDE-3105
Task-number: PYSIDE-2352
Change-Id: I251dca3e45e9bbc1737e54e0e9799595ab680ff9
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/compilersupport.h')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/compilersupport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h index 61935db56..84395d28f 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h +++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h @@ -63,6 +63,10 @@ void addCompilerArgument(const QString &arg); Platform platform(); bool setPlatform(const QString &name); + +QVersionNumber platformVersion(); +bool setPlatformVersion(const QString &name); + QByteArray targetTripletForPlatform(Platform p, Architecture a, Compiler c, const QVersionNumber &platformVersion = {}); const char *compilerTripletValue(Compiler c); |
