Doc: Use \QtVersion macro to display correct version in code snippet

Pick-to: 6.3
Fixes: QTBUG-100770
Change-Id: Iec0e91bfb98781e63e5379bd0aa67d37df7c6cac
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
Topi Reinio 2022-03-11 13:30:46 +01:00
parent fd4186cd23
commit dd0c886783

View File

@ -49,10 +49,10 @@
For example, to build the Notepad example on Windows, when using Ninja
as the generator, enter the following commands:
\badcode
\badcode \QtVersion
md notepad-build
cd notepad-build
C:\Qt\6.2.1\msvc2019_64\bin\qt-cmake -GNinja C:\Examples\notepad
C:\Qt\\1\msvc2019_64\bin\qt-cmake -GNinja C:\Examples\notepad
ninja
\endcode