diff options
author | iarspider <iarspider@gmail.com> | 2021-04-01 14:40:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 12:40:56 +0000 |
commit | 034211f9938ebd4f47ce54783bfd6a29c6f46a3b (patch) | |
tree | dd37cfb757260f92968d9dc6906dc7dce7c23423 | |
parent | 5ed00560cd0f717a50afdbdf66db7ccfd1e5a182 (diff) | |
download | spack-034211f9938ebd4f47ce54783bfd6a29c6f46a3b.tar.gz spack-034211f9938ebd4f47ce54783bfd6a29c6f46a3b.tar.bz2 spack-034211f9938ebd4f47ce54783bfd6a29c6f46a3b.tar.xz spack-034211f9938ebd4f47ce54783bfd6a29c6f46a3b.zip |
Extra environment variables for Qt (#22717)
-rw-r--r-- | var/spack/repos/builtin/packages/qt/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 216498aad0..83f6eb7110 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -242,9 +242,15 @@ class Qt(Package): def setup_run_environment(self, env): env.set('QTDIR', self.prefix) + env.set('QTINC', self.prefix.inc) + env.set('QTLIB', self.prefix.lib) + env.prepend_path('QT_PLUGIN_PATH', self.prefix.plugins) def setup_dependent_build_environment(self, env, dependent_spec): env.set('QTDIR', self.prefix) + env.set('QTINC', self.prefix.inc) + env.set('QTLIB', self.prefix.lib) + env.prepend_path('QT_PLUGIN_PATH', self.prefix.plugins) def setup_dependent_package(self, module, dependent_spec): module.qmake = Executable(join_path(self.spec.prefix.bin, 'qmake')) |