From 929fbb9353b9751e2863311782167a1668c1e5a2 Mon Sep 17 00:00:00 2001 From: Alexey Rochev Date: Mon, 10 Sep 2018 01:44:21 +0300 Subject: Qt: add main argument to Qt dependency object to link with qtmain library on Windows (#2327) --- docs/markdown/Dependencies.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 18416185b..08ff1e248 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) -- cgit v1.2.3