diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2020-12-08 22:37:05 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-02-07 22:43:00 +0200 |
commit | 398df5629863e913fa603cbf02c525a9f501f8a8 (patch) | |
tree | 4ca64a52c67ef6d79ee0ee609ff23c6218551fed /mesonbuild/dependencies/ui.py | |
parent | a855bcab1ccaff68155374c53896c1a780337f40 (diff) | |
download | meson-398df5629863e913fa603cbf02c525a9f501f8a8.zip meson-398df5629863e913fa603cbf02c525a9f501f8a8.tar.gz meson-398df5629863e913fa603cbf02c525a9f501f8a8.tar.bz2 |
Add Qt6 module
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r-- | mesonbuild/dependencies/ui.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index 0b0d96d..d897d76 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -544,6 +544,17 @@ class Qt5Dependency(QtBaseDependency): return _qt_get_private_includes(mod_inc_dir, module, self.version) +class Qt6Dependency(QtBaseDependency): + def __init__(self, env, kwargs): + QtBaseDependency.__init__(self, 'qt6', env, kwargs) + + def get_pkgconfig_host_bins(self, core): + return core.get_pkgconfig_variable('host_bins', {}) + + def get_private_includes(self, mod_inc_dir, module): + return _qt_get_private_includes(mod_inc_dir, module, self.version) + + class SDL2DependencyConfigTool(ConfigToolDependency): tools = ['sdl2-config'] |