aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-06-01 14:11:13 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-15 12:35:15 -0700
commitfcdb0f9879f134e1113c1a1c6bddb4fcac323d4c (patch)
tree2c77eebab878d4ee5d82c2250aee42d4a2e112c6 /test cases/frameworks
parented06ae3db1ee56053663a812bdcc665c92e44cc6 (diff)
downloadmeson-fcdb0f9879f134e1113c1a1c6bddb4fcac323d4c.zip
meson-fcdb0f9879f134e1113c1a1c6bddb4fcac323d4c.tar.gz
meson-fcdb0f9879f134e1113c1a1c6bddb4fcac323d4c.tar.bz2
modules/qt: Add a compile_ui method
Which is the same functionality split out of preprocess
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/4 qt/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build
index ea5bc8d..b6f244a 100644
--- a/test cases/frameworks/4 qt/meson.build
+++ b/test cases/frameworks/4 qt/meson.build
@@ -52,9 +52,10 @@ foreach qt : ['qt4', 'qt5', 'qt6']
prep = qtmodule.preprocess(
moc_headers : ['mainWindow.h'], # These need to be fed through the moc tool before use.
- ui_files : 'mainWindow.ui', # XML files that need to be compiled with the uic tol.
method : get_option('method')
)
+ # XML files that need to be compiled with the uic tol.
+ prep += qtmodule.compile_ui(sources : 'mainWindow.ui', method: get_option('method'))
# Resource file(s) for rcc compiler
extra_cpp_args = []