aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Dependencies.md
diff options
context:
space:
mode:
authorAlexey Rochev <equeim@gmail.com>2018-09-10 01:44:21 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-09-10 21:00:36 +0300
commit929fbb9353b9751e2863311782167a1668c1e5a2 (patch)
tree91d477e7bc0274eee318d50f6e109fd57be9128e /docs/markdown/Dependencies.md
parent51e9db370a0ebccaf220e171c3444a0f2c4e1723 (diff)
downloadmeson-929fbb9353b9751e2863311782167a1668c1e5a2.zip
meson-929fbb9353b9751e2863311782167a1668c1e5a2.tar.gz
meson-929fbb9353b9751e2863311782167a1668c1e5a2.tar.bz2
Qt: add main argument to Qt dependency object to link with qtmain library on Windows (#2327)
Diffstat (limited to 'docs/markdown/Dependencies.md')
-rw-r--r--docs/markdown/Dependencies.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index 1841618..08ff1e2 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -356,6 +356,10 @@ the list of sources for the target. The `modules` keyword of
`dependency` works just like it does with Boost. It tells which
subparts of Qt the program uses.
+You can set the `main` keyword argument to `true` to use the `WinMain()`
+function provided by qtmain static library (this argument does nothing on platforms
+other than Windows).
+
Setting the optional `private_headers` keyword to true adds the private header
include path of the given module(s) to the compiler flags. (since v0.47.0)