Fix QT_BUILD_EXAMPLES_BY_DEFAULT sample code

The example was still using QT_NO_MAKE_EXAMPLES, which
has been renamed.

Change-Id: I1facf918391059a0b110e54f45ab829fbb34c4ca
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Morten Sørvig 2024-03-14 11:24:29 +01:00
parent 4114011fd9
commit 61ccd77cfe
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
\l{Getting Started Programming with Qt Widgets}{NotePad Example}:
\badcode
~/qt-source/configure -make examples -- -D QT_NO_MAKE_EXAMPLES=ON
~/qt-source/configure -make examples -- -D QT_BUILD_EXAMPLES_BY_DEFAULT=OFF
cmake --build . --parallel
cmake --build . --parallel --target notepad
\endcode