Skip to content

Commit

Permalink
Meson build: fix Qt metacompiler arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed May 18, 2018
1 parent d6e424a commit b6feb33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions OSMScout2/meson.build
Expand Up @@ -12,6 +12,7 @@ osmscout2Mocs = qt5.preprocess(moc_headers : [
'src/Theme.h',
'src/PositionSimulator.h'
],
include_directories: include_directories('src'),
qresources: ['res.qrc'])

subdir('translations')
Expand Down
1 change: 1 addition & 0 deletions StyleEditor/meson.build
Expand Up @@ -16,6 +16,7 @@ styleeditorMocs = qt5.preprocess(moc_headers : [
'src/Highlighter.h',
'src/StyleAnalyser.h'
],
include_directories: include_directories('src'),
qresources: ['StyleEditor.qrc'])

OSMScout2 = executable('StyleEditor',
Expand Down
3 changes: 2 additions & 1 deletion libosmscout-client-qt/meson.build
Expand Up @@ -20,7 +20,8 @@ foreach hdr : osmscoutclientqtHeader
mocHeaders += headerTemplate.format('include/',hdr)
endforeach

mocFiles = qt5.preprocess(moc_headers : mocHeaders)
mocFiles = qt5.preprocess(moc_headers : mocHeaders,
include_directories: include_directories('include'))

osmscoutclientqt = library('osmscout_client_qt',
mocFiles,
Expand Down

0 comments on commit b6feb33

Please sign in to comment.