aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphiltherobot <philtherobot@gmail.com>2017-06-22 17:17:21 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-06-22 17:17:21 -0400
commit1821598fbb856edc3cf87470171e85e8910a6f99 (patch)
tree30174c77c006638219feb1518e54c183b9506b25
parent080307dd71d9b41a103369863137ed5b73eb131a (diff)
downloadmeson-1821598fbb856edc3cf87470171e85e8910a6f99.zip
meson-1821598fbb856edc3cf87470171e85e8910a6f99.tar.gz
meson-1821598fbb856edc3cf87470171e85e8910a6f99.tar.bz2
Improve the example by explaining modules (#1981)
* Improve the example by explaining modules * Refer to Qt documentation for its list of modules * Add a sweet link to Qt's doc.
-rw-r--r--docs/markdown/Qt5-module.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Qt5-module.md b/docs/markdown/Qt5-module.md
index 2b733bb..64d2920 100644
--- a/docs/markdown/Qt5-module.md
+++ b/docs/markdown/Qt5-module.md
@@ -8,8 +8,11 @@ This method takes four keyword arguments, `moc_headers`, `moc_sources`, `ui_file
```meson
qt5 = import('qt5')
-qt5_dep = dependency('qt5', ...)
+qt5_dep = dependency('qt5', modules: ['Core', 'Gui'])
moc_files = qt5.preprocess(moc_headers : 'myclass.h')
executable('myprog', 'main.cpp', 'myclass.cpp', moc_files,
dependencies : qt5_dep)
```
+
+
+The 'modules' argument is used to include Qt modules in the project. See the Qt documentation for the [list of modules](http://doc.qt.io/qt-5/qtmodules.html).