qtbase/examples/widgets/painting
Alexandru Croitor 3b30b0fc2e CMake: Add deployment API to our examples
Projects were modified using the tool at:
https://git.qt.io/alcroito/cmake_refactor

A couple of examples had to be adapted manually, due to them including
more than one app per example subdirectory.

The INSTALL_EXAMPLESDIR and INSTALL_EXAMPLEDIR assignments were
removed.

The install(TARGETS) calls were modified according to our
documentation snippets for qt_generate_deploy_app_script.

A qt_generate_deploy_app_script call was added for each executable
target.

Note that the deployment step will be skipped in the CI for now,
because we enable QT_DEPLOY_MINIMAL_EXAMPLES and thus
QT_INTERNAL_SKIP_DEPLOYMENT, and also because standalone examples
are not enabled yet, and deployment is disabled for in-tree (so
no-standalone-example) prefix builds.

The install(TARGETS) calls for each example will still run,
installing the examples into an installed_examples directory, that
will not be archived by the CI.

Pick-to: 6.7
Task-number: QTBUG-102056
Task-number: QTBUG-102057
Change-Id: Ida389bbad41710b2ae5da4d95e2d85be9e0cd9ce
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-03-22 20:23:52 +01:00
..
affine CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
basicdrawing CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
composition CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
deform CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
gradients CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
imagecomposition CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
painterpaths CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
pathstroke CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
shared Correct license for examples files 2024-03-07 11:06:43 +01:00
transformations CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
CMakeLists.txt Correct license for examples files 2024-03-07 11:06:43 +01:00
README
painting.pro Turn the "concentriccircles" example into snippets, update screenshot 2023-12-14 20:06:32 +01:00

README

Qt's painting system is able to render vector graphics, images, and outline
font-based text with sub-pixel accuracy accuracy using anti-aliasing to
improve rendering quality.

These examples show the most common techniques that are used when painting
with Qt, from basic concepts such as drawing simple primitives to the use of
transformations.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.