qtdeclarative/examples
Eskil Abrahamsen Blomfeldt 07d646d1b0 Update imageelements example to Qt 6 url syntax
The imageelements examples depended on URLs being resolved
relative to the file where it was declared, but in Qt 6
this was changed. Since the source is actually resolved
inside MyBorderImage, which is in content/, we would end
up trying to resolve content/content/foo.png.

To avoid having code depend on the location of types it is
using, URLs have to be packed in Qt.resolvedUrl() in Qt 6.

Change-Id: I16e203e92b3b4c7c573dcdb85dcd556f2103ab80
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-06-17 14:20:01 +02:00
..
qml Refactor and update qml CMake API 2021-06-04 16:54:52 +10:00
qmltest Switch examples to build as isolated sub-builds 2021-05-27 21:08:14 +10:00
quick Update imageelements example to Qt 6 url syntax 2021-06-17 14:20:01 +02:00
.prev_CMakeLists.txt Add qt6_add_qml_module() public API 2019-09-19 08:06:24 +00:00
CMakeLists.txt Switch examples to build as isolated sub-builds 2021-05-27 21:08:14 +10:00
README
examples.pro

README

The Qt Quick module provides the basic elements to specify and implement your
user interface declaratively, using the Qt Meta-Object Language (QML). The
Qt QML module provides the engine and language infrastructure for QML itself.
This language is very expressive and human readable, and can be used by
designers to actually implement their UI vision. QML UIs can integrate
with C++ code in many ways, including being loaded as a part of a C++ UI
and loading data models from C++ and interacting with them.

Mostof these examples can be viewed directly with the
QML viewer utility, without requiring compilation.

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