From 4e6630690a8394473e2ed1197cb4ceef29a97534 Mon Sep 17 00:00:00 2001 From: Alexis Jeandet Date: Sat, 20 Jan 2018 13:39:10 +0100 Subject: Added failing test case When having Qt resources in a meson subdir, meson prepends twice the subdir name in resource file dependencies. Here it will set 'subfolder/subfolder/resources/thing.png' as dependencie for stuff3.qrc. Signed-off-by: Alexis Jeandet --- test cases/frameworks/4 qt/subfolder/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test cases/frameworks/4 qt/subfolder/main.cpp (limited to 'test cases/frameworks/4 qt/subfolder/main.cpp') diff --git a/test cases/frameworks/4 qt/subfolder/main.cpp b/test cases/frameworks/4 qt/subfolder/main.cpp new file mode 100644 index 000000000..61cc9d49b --- /dev/null +++ b/test cases/frameworks/4 qt/subfolder/main.cpp @@ -0,0 +1,10 @@ +#include + +int main(int argc, char **argv) { + Q_INIT_RESOURCE(stuff3); + QImage qi(":/thing.png"); + if(qi.width() != 640) { + return 1; + } + return 0; +} \ No newline at end of file -- cgit v1.2.3