diff --git a/var/spack/repos/builtin/packages/qwt/package.py b/var/spack/repos/builtin/packages/qwt/package.py index 79203d84b1d..ecfae8d242e 100644 --- a/var/spack/repos/builtin/packages/qwt/package.py +++ b/var/spack/repos/builtin/packages/qwt/package.py @@ -25,7 +25,7 @@ class Qwt(QMakePackage): patch('no-designer.patch', when='~designer') - depends_on('qt+opengl') + depends_on('qt@:5.14.2+opengl') depends_on('qt+tools', when='+designer') # Qwt 6.1.1 and older use a constant that was removed in Qt 5.4 # https://bugs.launchpad.net/ubuntu/+source/qwt-qt5/+bug/1485213