summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-01-13 18:53:58 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-01-15 12:26:41 +0100
commitbaff03d3d4f02a19b6b9a0070a5b8196b4df101d (patch)
tree32978f22dc44d138fed77e83c21410c1aa5edb30 /src/corelib/doc/src
parentf3251bcb878d655e5f897335ec6bc6dbf69323e7 (diff)
Doc: Document the qt_no_entrypoint target property
Fixes: QTBUG-90031 Change-Id: Ib3e7e9d966ee64f97fdd3df48b3fa5325d19cc6c Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/doc/src')
-rw-r--r--src/corelib/doc/src/cmake-macros.qdoc1
-rw-r--r--src/corelib/doc/src/cmake-properties.qdoc18
2 files changed, 19 insertions, 0 deletions
diff --git a/src/corelib/doc/src/cmake-macros.qdoc b/src/corelib/doc/src/cmake-macros.qdoc
index af3ab324b9..46a81a690f 100644
--- a/src/corelib/doc/src/cmake-macros.qdoc
+++ b/src/corelib/doc/src/cmake-macros.qdoc
@@ -527,6 +527,7 @@ how to accomplish this.
\li \l{cmake-target-property-QT_ANDROID_PACKAGE_SOURCE_DIR}{QT_ANDROID_PACKAGE_SOURCE_DIR}
\li \l{cmake-target-property-QT_QML_IMPORT_PATH}{QT_QML_IMPORT_PATH}
\li \l{cmake-target-property-QT_QML_ROOT_PATH}{QT_QML_ROOT_PATH}
+\li \l{cmake-target-property-qt_no_entrypoint}{qt_no_entrypoint}
\endlist
Upon return, the \c{QT_ANDROID_DEPLOYMENT_SETTINGS_FILE} target property will
diff --git a/src/corelib/doc/src/cmake-properties.qdoc b/src/corelib/doc/src/cmake-properties.qdoc
index 0a24fcba78..87809dcd08 100644
--- a/src/corelib/doc/src/cmake-properties.qdoc
+++ b/src/corelib/doc/src/cmake-properties.qdoc
@@ -202,3 +202,21 @@ This property will be set by
Projects should not try to set this property themselves, as it will be ignored
and overwritten by that command.
*/
+
+/*!
+\page cmake-target-property-qt_no_entrypoint.html
+\ingroup cmake-properties-qtcore
+\ingroup cmake-target-properties-qtcore
+
+\title qt_no_entrypoint
+\target cmake-target-property-qt_no_entrypoint
+
+\brief Specifies to inhibit linking against Qt's entrypoint lib.
+
+\preliminarycmakeproperty
+
+On certain platforms, Qt applications link against Qt's entrypoint lib by default.
+That library provides implementations of main (or WinMain).
+
+On targets that must provide their own entry point, set the property \c qt_no_entrypoint to inhibit linking against Qt's entrypoint library.
+*/