summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaloyan Chehlarski <kaloyan.chehlarski@qt.io>2025-02-12 11:56:17 +0100
committerKaloyan Chehlarski <kaloyan.chehlarski@qt.io>2025-09-08 20:49:44 +0200
commit62f5de3912cb1b9871edbc883db9e545379cd57b (patch)
tree0f3374e287b302d86ac0030ef42f507fc924032b
parent3ec2030154c51b301149216397d870cadbcf7241 (diff)
Doc: Prioritize CMake linking instructions over qmake ones
Also slightly reword the section to make it sound better. Pick-to: 6.10 Change-Id: I512f7acc17a28afb9514c8fed05c72d792133577 Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
-rw-r--r--src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc b/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc
index 8eb28b797..384935cd3 100644
--- a/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc
+++ b/src/webenginewidgets/doc/src/qtwebenginewidgets-index.qdoc
@@ -10,15 +10,15 @@
\section1 Getting Started
- To link against the module, add this line to your qmake project file:
-
- \snippet qtwebenginewidgets_build_snippet.qdoc 0
-
- For build with CMake use the \c find_package() command to locate the needed module components
+ If building with CMake, use the \c find_package() command to locate the needed module components
in the Qt6 package and \c target_link_libraries() to link against the module:
\snippet qtwebenginewidgets_build_snippet.qdoc 2
+ If using qmake, add this line to your qmake project file to link against the module:
+
+ \snippet qtwebenginewidgets_build_snippet.qdoc 0
+
\section1 Articles and Guides
\list