qt5base-lts/examples
Laszlo Agocs 1dd8b5ceec rhi: Make it a QPA-style private but semi-public API
qrhi.h, qshader.h, qshaderdescription.h (and qshaderbaker.h from
shadertools; done separately) become "RHI APIs", following the concept
of QPA APIs.

Mirror completely what is done for QPA headers, but using the "rhi"
prefix for the headers. This involves updating syncqt to handle the
new category of headers. (a note on the regex: matching everything
starting with "qrhi" is not acceptable due to incorrectly matching
existing and future headers, hence specifying the four header names
explicitly)

There is going to be one difference to QPA: the documentation for
everything RHI is going to be public and part of the regular docs, not
hidden with \internal.

In addition to the header renaming and adding the comments and
documentation notes and warnings, there is one significant change
here: there is no longer a need to do API-specific includes, such as
qrhid3d11[_p].h, qrhivulkan[_p].h, etc. These are simply merged into a
single header that is then included from qrhi.h. This means that users
within Qt, and any future applications can just do #include
<rhi/qrhi.h> (or rhi/qshader.h if the QRhi stuff is not relevant), no
other headers are needed.

There are no changes to functionality in this patch. Only the
documentation is expanded, quite a lot, to eliminate all qdoc warnings
and make the generated API docs complete. An example, with a quite
extensive doc page is added as well.

Task-number: QTBUG-113331
Change-Id: I91c749826348f14320cb335b1c83e9d1ea2b1d8b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-05-21 15:42:58 +02:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib RSS listing example: prefer setDevice() over addData(readAll()) 2023-05-16 20:09:38 +02:00
dbus complexpingpong example: Modernize the code 2023-03-28 19:42:01 +02:00
embedded examples: port embedded examples to new connection style 2022-12-21 21:52:17 +01:00
gui rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
network Torrent example: update usage of integer types 2023-04-11 18:25:42 +01:00
opengl Docs: Update OpenGl example docs 2023-05-09 22:02:25 +00:00
qmake examples: port qmake examples to new connection style 2022-12-21 22:52:17 +02:00
qpa Examples: Add missing include guards 2023-02-01 18:12:36 +00:00
qtconcurrent Rework imagescaling example to avoid potential crashes 2023-04-26 19:27:30 +02:00
qtestlib Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sql examples: Connect Quit action to QCoreApplication::quit, not QWidget::close 2023-02-20 15:18:18 +01:00
vulkan Docs: don't link to removed example 2023-04-11 14:37:36 +02:00
widgets shortcuteditor example: Don't reference null-action 2023-05-17 00:25:40 +02:00
xml Doc: Add XML, Json, CBOR examples to IO category 2023-05-09 20:30:28 +00:00
CMakeLists.txt Examples: Use Qt6:: to qualify Qt CMake packages 2022-11-17 19:59:11 +01:00
examples.pro Turn off the dbus examples for qmake-generated VS projects 2021-02-09 15:45:06 +01:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.