diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-05-04 04:46:52 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-05-04 04:46:52 +0300 |
| commit | 698b1c6471bb13f5a0c46dbca559b49361a6cc8f (patch) | |
| tree | cb7c7b060c648f5875339619a4b82ca4d1502cbe /test cases | |
| parent | a4f08e02679cc94068bc02df49fa25ddcc942a8a (diff) | |
| download | meson-698b1c6471bb13f5a0c46dbca559b49361a6cc8f.tar.gz | |
Use QMake to sniff compiler flags on platforms without pkg-config.
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/frameworks/4 qt5/meson.build | 9 |
1 files changed, 5 insertions, 4 deletions
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', |
