summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/qt-base/package.py3
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qt-base/package.py b/var/spack/repos/builtin/packages/qt-base/package.py
index 2d7d959d4a..7170de50dc 100644
--- a/var/spack/repos/builtin/packages/qt-base/package.py
+++ b/var/spack/repos/builtin/packages/qt-base/package.py
@@ -242,3 +242,6 @@ class QtBase(QtPackage):
define("FEATURE_system_" + k, v)
return args
+
+ def setup_dependent_package(self, module, dependent_spec):
+ module.qmake = Executable(self.spec.prefix.bin.qmake)
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index af553b615f..89dc0f0b79 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -335,7 +335,7 @@ class Qt(Package):
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"))
+ module.qmake = Executable(self.spec.prefix.bin.qmake)
def get_mkspec(self):
"""Determine the mkspecs root directory and QT platform."""