summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-02-15 12:29:45 +0100
committerKai Köhne <kai.koehne@qt.io>2023-02-20 17:33:02 +0100
commit1434284aff4f547a34a2f87eb871b2acf9a5a0de (patch)
treed95c19191a70118ce41acd7cd3e00162020b2ab6 /doc/src/snippets
parent01f85e0be80d7d7a8d8e5bd24427ac741207fefd (diff)
Doc: Rewrite Qt for Linux/X11 - Building from Source page
Adapt the structure of the Windows page by first detailing where to get the sources, and explicitly listing the required build tools. Inline code snippets, and use the \QtVersion macro to give the real path instead of relying on %VERSION%. Remove some outdated information. Pick-to: 6.5 Change-Id: Ic7cc60182a9f7f08d656e12ba76af3b4f0602b95 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/doc_src_installation.qdoc39
1 files changed, 0 insertions, 39 deletions
diff --git a/doc/src/snippets/code/doc_src_installation.qdoc b/doc/src/snippets/code/doc_src_installation.qdoc
index 285abeee9..23deff422 100644
--- a/doc/src/snippets/code/doc_src_installation.qdoc
+++ b/doc/src/snippets/code/doc_src_installation.qdoc
@@ -1,45 +1,6 @@
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-//! [0]
-cd /tmp
-gunzip qt-everywhere-src-%VERSION%.tar.gz # uncompress the archive
-tar xvf qt-everywhere-src-%VERSION%.tar # unpack it
-//! [0]
-
-
-//! [1]
-cd /tmp/qt-everywhere-src-%VERSION%
-./configure
-//! [1]
-
-
-//! [2]
-cmake --build . --parallel
-//! [2]
-
-
-//! [3]
-cmake --install .
-//! [3]
-
-
-//! [4]
-PATH - to locate qmake, moc and other Qt tools
-//! [4]
-
-
-//! [5]
-PATH=/usr/local/Qt-%VERSION%/bin:$PATH
-export PATH
-//! [5]
-
-
-//! [6]
-setenv PATH /usr/local/Qt-%VERSION%/bin:$PATH
-//! [6]
-
-
//! [11]
cd /tmp
gunzip qt-everywhere-src-%VERSION%.tar.gz # uncompress the archive