From eaafca6f4af11290331cbc4788688407c0fb654f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 18 Dec 2016 14:26:18 +0530 Subject: Qt: Allow passing a name arg to preprocess() This sets a unique name for the CustomTarget and the output cpp file. Closes #959 --- test cases/frameworks/4 qt/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test cases') diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build index 013f14df1..4523babf8 100644 --- a/test cases/frameworks/4 qt/meson.build +++ b/test cases/frameworks/4 qt/meson.build @@ -30,6 +30,9 @@ foreach qt : ['qt4', 'qt5'] qresources : ['stuff.qrc', 'stuff2.qrc'], # Resource file for rcc compiler. ) + # Test that setting a unique name with a positional argument works + qtmodule.preprocess(qt + 'teststuff', qresources : ['stuff.qrc']) + qexe = executable(qt + 'app', sources : ['main.cpp', 'mainWindow.cpp', # Sources that don't need preprocessing. prep], -- cgit v1.2.3