aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-06-01 14:54:57 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-15 12:35:15 -0700
commit2322804a4df9811ba75db01230b5df36efd20aee (patch)
tree8115f092c23fdcf976823db7bdd1fcfc1bc539ce /test cases/frameworks
parentec592a4ecae1db61b9748ec7d2388f738cdb4737 (diff)
downloadmeson-2322804a4df9811ba75db01230b5df36efd20aee.zip
meson-2322804a4df9811ba75db01230b5df36efd20aee.tar.gz
meson-2322804a4df9811ba75db01230b5df36efd20aee.tar.bz2
modules/qt: Add a compile_moc method
This method only compiles moc resources, nothing else
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/4 qt/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build
index b6f244a..2e85ddb 100644
--- a/test cases/frameworks/4 qt/meson.build
+++ b/test cases/frameworks/4 qt/meson.build
@@ -100,10 +100,10 @@ foreach qt : ['qt4', 'qt5', 'qt6']
# The build system needs to include the cpp files from
# headers but the user must manually include moc
# files from sources.
- manpreprocessed = qtmodule.preprocess(
- moc_extra_arguments : ['-DMOC_EXTRA_FLAG'], # This is just a random macro to test `moc_extra_arguments`
- moc_sources : 'manualinclude.cpp',
- moc_headers : 'manualinclude.h',
+ manpreprocessed = qtmodule.compile_moc(
+ extra_args : ['-DMOC_EXTRA_FLAG'], # This is just a random macro to test `extra_arguments`
+ sources : 'manualinclude.cpp',
+ headers : 'manualinclude.h',
method : get_option('method'))
qtmaninclude = executable(qt + 'maninclude',