diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-03-15 19:55:16 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-04-14 18:37:04 -0400 |
commit | 22b9a66f7c8281de4dc9bbdfb0614e8c1a91f895 (patch) | |
tree | c62fac79f842209c80d449508b9ceb7f51ba27f5 | |
parent | ea8f4bb4adf961366a30cc1fc2ab6ea65b0b3ee8 (diff) | |
download | meson-22b9a66f7c8281de4dc9bbdfb0614e8c1a91f895.zip meson-22b9a66f7c8281de4dc9bbdfb0614e8c1a91f895.tar.gz meson-22b9a66f7c8281de4dc9bbdfb0614e8c1a91f895.tar.bz2 |
qt module: move comment to the correct location after refactoring
In commit f291b637b13ba32e20d1081906e68780d2a5ae5a the tools were moved
around but a comment got forgotten. Now, in order to be meaningful and
remind us of anything, it needs to be in a different location.
-rw-r--r-- | mesonbuild/modules/qt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py index 9fd9f66..fae4d97 100644 --- a/mesonbuild/modules/qt.py +++ b/mesonbuild/modules/qt.py @@ -106,6 +106,8 @@ class QtBaseModule(ExtensionModule): def __init__(self, interpreter: 'Interpreter', qt_version: int = 5): ExtensionModule.__init__(self, interpreter) self.qt_version = qt_version + # It is important that this list does not change order as the order of + # the returned ExternalPrograms will change as well self.tools: T.Dict[str, ExternalProgram] = { 'moc': NonExistingExternalProgram('moc'), 'uic': NonExistingExternalProgram('uic'), @@ -123,8 +125,6 @@ class QtBaseModule(ExtensionModule): def compilers_detect(self, state: 'ModuleState', qt_dep: 'QtDependencyType') -> None: """Detect Qt (4 or 5) moc, uic, rcc in the specified bindir or in PATH""" - # It is important that this list does not change order as the order of - # the returned ExternalPrograms will change as well wanted = f'== {qt_dep.version}' def gen_bins() -> T.Generator[T.Tuple[str, str], None, None]: |