qt-base: add conflict for 6.5+ with GCC < 9 (#39158)

This commit is contained in:
Martin Aumüller 2023-08-01 00:36:16 +02:00 committed by GitHub
parent bb0cec1530
commit 9343b9524f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,9 @@ class QtBase(QtPackage):
# Qt6 requires newer compilers: see https://github.com/spack/spack/issues/34418
conflicts("%gcc@:7")
# The oldest compiler for Qt 6.5 is GCC 9: https://doc.qt.io/qt-6.5/supported-platforms.html
with when("@6.5:"):
conflicts("%gcc@:8")
# ensure that Qt links against GSS framework on macOS: https://bugreports.qt.io/browse/QTBUG-114537
with when("@6.3.2:6.5.1"):