Skip to content

Commit

Permalink
Temporary fix macOS-12 Qt5.12 build (#764)
Browse files Browse the repository at this point in the history
* Temporary fix macOS-12 Qt5.12 build

* Change version
  • Loading branch information
MinyazevR authored Jul 10, 2024
1 parent 9a0a66f commit dc29531
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
imageName: 'macOS-12'
QMAKE_EXTRA: "CONFIG+=tests CONFIG+=precompile_header CONFIG+=sanitize_address CONFIG+=sanitize_undefined CONFIG+=sanitizer CONFIG+=force_debug_info CONFIG+=trik_nopython"
TRIK_PYTHON3_VERSION_MINOR: 10
TRIK_QT_VERSION: 5.15
TRIK_QT_VERSION: 5.12

pool:
vmImage: $(imageName)
Expand Down
16 changes: 7 additions & 9 deletions global.pri
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,13 @@ clang {
-cxx-isystem$$shell_quote($$[QT_INSTALL_HEADERS]) \
--system-header-prefix=$$shell_quote($$[QT_INSTALL_LIBS]) \


# for(module, QT) {
# equals(module, "testlib"): module = test
# moduleList = $$split(module, )
# SYSTEM_INCLUDE_PREFIX_OPTION += \
# -system-header-prefix=$$shell_quote($$[QT_INSTALL_LIBS]/Qt$$upper(\
# $$take_first(moduleList))$$join(moduleList, )).framework/Headers/
# }
# unset(moduleList)
for(module, QT) {
equals(module, "testlib"): module = test
moduleList = $$split(module, )
SYSTEM_INCLUDE_PREFIX_OPTION += \
--system-header-prefix=Qt$$upper($$take_first(moduleList))$$join(moduleList, )
}
unset(moduleList)
}

gcc {
Expand Down

0 comments on commit dc29531

Please sign in to comment.