summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2023-11-13 05:42:37 -0600
committerGitHub <noreply@github.com>2023-11-13 12:42:37 +0100
commit3892fadbf681b10154ce95e49f0244a74568be39 (patch)
tree6cb27215c34bb3950c7908793143ced75a35124c
parent62b32080a826f809633a2319f30fe0629cf15350 (diff)
downloadspack-3892fadbf681b10154ce95e49f0244a74568be39.tar.gz
spack-3892fadbf681b10154ce95e49f0244a74568be39.tar.bz2
spack-3892fadbf681b10154ce95e49f0244a74568be39.tar.xz
spack-3892fadbf681b10154ce95e49f0244a74568be39.zip
qwt: conflict with qt-base (Qt6) (#40883)
-rw-r--r--var/spack/repos/builtin/packages/qwt/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qwt/package.py b/var/spack/repos/builtin/packages/qwt/package.py
index e2d7a8e0ee..7bc3d51ece 100644
--- a/var/spack/repos/builtin/packages/qwt/package.py
+++ b/var/spack/repos/builtin/packages/qwt/package.py
@@ -31,7 +31,9 @@ class Qwt(QMakePackage):
depends_on("qt+tools", when="+designer")
depends_on("qt+opengl", when="+opengl")
- depends_on("qt")
+ # Qwt does not support Qt6; this picks the right qmake provider
+ conflicts("^qt-base", msg="Qwt requires Qt5")
+
# the qt@5.14.2 limitation was lifted in qwt@6.1.5
# https://sourceforge.net/p/qwt/code/HEAD/tree/tags/qwt-6.1.6/CHANGES-6.1
depends_on("qt@:5.14.2", when="@:6.1.4")