summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-12-14 16:05:17 +0100
committerKai Köhne <kai.koehne@qt.io>2024-01-14 11:02:09 +0100
commit818f5093e90fb9895b77732709184d5aea52d1ab (patch)
tree327e1ccf3775883b18d4582f261df39464cc6af6 /doc/src/snippets
parent3d155ab40b12a5af9c82cd9da7b75faeff56fc28 (diff)
Doc: Update section on static linking on Linux
Pick-to: 6.5 6.6 6.7 Change-Id: Ia6b98f83b6757e14b5080ffab15ba9833bd97689 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/doc_src_deployment.qdoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/snippets/code/doc_src_deployment.qdoc b/doc/src/snippets/code/doc_src_deployment.qdoc
index 2f5110b5b..f7746cfb9 100644
--- a/doc/src/snippets/code/doc_src_deployment.qdoc
+++ b/doc/src/snippets/code/doc_src_deployment.qdoc
@@ -2,9 +2,11 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//! [0]
-cd /path/to/Qt
-./configure -static -prefix /path/to/Qt <other parameters>
-make
+\badcode \QtVersion
+mkdir -p ~/dev/qt-build
+cd ~/dev/qt-build
+/tmp/qt-everywhere-src-\1/configure -static
+\endcode
//! [0]