From 698b1c6471bb13f5a0c46dbca559b49361a6cc8f Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 4 May 2015 04:46:52 +0300 Subject: Use QMake to sniff compiler flags on platforms without pkg-config. --- test cases/frameworks/4 qt5/meson.build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test cases/frameworks') diff --git a/test cases/frameworks/4 qt5/meson.build b/test cases/frameworks/4 qt5/meson.build index ae85d1d22..67761e93c 100644 --- a/test cases/frameworks/4 qt5/meson.build +++ b/test cases/frameworks/4 qt5/meson.build @@ -1,15 +1,16 @@ project('qt5 build test', 'cpp') qt5 = import('qt5') -qt5dep = dependency('qt5', modules : 'Widgets') +qt5dep = dependency('qt5', modules : ['Core', 'Gui', 'Widgets']) if meson.get_compiler('cpp').get_id() != 'msvc' add_global_arguments('-std=c++11', language : 'cpp') endif -prep = qt5.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. - qresources : 'stuff.qrc', # Resource file for rcc compiler. +prep = qt5.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. +qresources : 'stuff.qrc', # Resource file for rcc compiler. ) q5exe = executable('qt5app', -- cgit v1.3