qt-base: add qmake attribute (#36114)

This commit is contained in:
Adam J. Stewart 2023-03-15 19:53:59 -06:00 committed by GitHub
parent bb73dfc02e
commit 6491e08f5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -242,3 +242,6 @@ def define_feature(key, variant=None):
define("FEATURE_system_" + k, v) define("FEATURE_system_" + k, v)
return args return args
def setup_dependent_package(self, module, dependent_spec):
module.qmake = Executable(self.spec.prefix.bin.qmake)

View file

@ -335,7 +335,7 @@ def setup_dependent_build_environment(self, env, dependent_spec):
env.prepend_path("QT_PLUGIN_PATH", self.prefix.plugins) env.prepend_path("QT_PLUGIN_PATH", self.prefix.plugins)
def setup_dependent_package(self, module, dependent_spec): 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): def get_mkspec(self):
"""Determine the mkspecs root directory and QT platform.""" """Determine the mkspecs root directory and QT platform."""