diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-06-01 13:45:42 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-15 12:35:15 -0700 |
commit | d27948b1dc11303274b622ed2fa4e765a09feb38 (patch) | |
tree | c7f4edb3c7b06ad1ae18613bab980415224a9721 /test cases/frameworks | |
parent | 4575ed3d31afc58bb286d260dee9d8dceb5fb3b3 (diff) | |
download | meson-d27948b1dc11303274b622ed2fa4e765a09feb38.zip meson-d27948b1dc11303274b622ed2fa4e765a09feb38.tar.gz meson-d27948b1dc11303274b622ed2fa4e765a09feb38.tar.bz2 |
modules/qt: Add a `compile_resources` method
This is a separate method for just handling qrc resources.
Diffstat (limited to 'test cases/frameworks')
-rw-r--r-- | test cases/frameworks/4 qt/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build index fb7bd5a..ea5bc8d 100644 --- a/test cases/frameworks/4 qt/meson.build +++ b/test cases/frameworks/4 qt/meson.build @@ -66,7 +66,11 @@ foreach qt : ['qt4', 'qt5', 'qt6'] endif # Test that setting a unique name with a positional argument works - qtmodule.preprocess(qt + 'teststuff', qresources : files(['stuff.qrc', 'stuff2.qrc']), method : get_option('method')) + qtmodule.compile_resources( + name : qt + 'teststuff', + sources : files(['stuff.qrc', 'stuff2.qrc']), + method : get_option('method') + ) # Test that passing extra arguments to rcc works # qt4-rcc and qt5-rcc take different arguments, for example qt4: ['-compress', '3']; qt5: '--compress=3' |