22 This subsection provides details on the QT graphics frameworks
33
44#####################
5- QT Graphics Framework
5+ Qt Graphics Framework
66#####################
77
88Qt is a powerful C++ toolkit for writing cross-platform graphics
99applications, enabling a single code base to run predictably and perform
1010well on Windows and embedded platforms,
1111
12- Please refer `<https://www.qt.io/ >`_ for additional details on Qt.
12+ Please refer `<https://www.qt.io/ >`__ for additional details on Qt.
1313
1414The PSDK target file system includes the pre-built Qt libraries under
1515:file: `/usr/lib ` and a rich set of QT demo applications under
16- :file: `/usr/share/qt5/ examples `.
16+ :file: `/usr/share/examples `.
1717
1818*****
1919Demos
@@ -24,33 +24,22 @@ provided with Qt. By default EGLFS will use the ``eglfs_kms`` backend.
2424
2525.. code-block :: console
2626
27- $ /usr/share/qt5/ examples/opengl/hellogles3/hellogles3 -platform eglfs
28- $ /usr/share/qt5/ examples/opengl/2dpainting/2dpainting -platform eglfs
29- $ /usr/share/qt5/ examples/opengl/paintedwindow/paintedwindow -platform eglfs
27+ $ /usr/share/examples/opengl/hellogles3/bin /hellogles3 -platform eglfs
28+ $ /usr/share/examples/opengl/2dpainting/bin /2dpainting -platform eglfs
29+ $ /usr/share/examples/opengl/openglwindow/bin/openglwindow -platform eglfs
3030
31- The default ``eglfs_kms `` configuration file for Qt5 is located at
32- :file: `/etc/qt5/eglfs_kms_cfg.json `.
33-
34- Please note that EGLFS backend is not smart enough to select a display device
35- automatically. One must be specified in the config file using the ``device ``
36- key. If one is not specified, :file: `/dev/dri/card0 ` will be used, which can
37- either point at the GPU or the Display device depending on the order in which
38- the devices were initialized. We recommend using the :file: `/dev/dri/by-path/* `
39- path for a persistent device path. If an incorrect device was chosen, an error
40- like the following can appear: ``Failed to create display device (err=19) ``.
41-
42- For more information about Qt's EGLFS and using Qt5 in embedded
31+ For more information about Qt's EGLFS and using Qt6 in embedded
4332applications see:
4433
45- - https://doc.qt.io/qt-5 /embedded-linux.html
34+ - https://doc.qt.io/qt-6 /embedded-linux.html
4635
4736******
48- QT QPA
37+ Qt QPA
4938******
5039
51- The QT5 within PSDK is prebuilt with Wayland enabled and therefore
52- wayland-egl is the default QPA. Hence all QT applications should be run
53- on top of Weston. To run QT application without Weston, the user can use
40+ The Qt6 within PSDK is prebuilt with Wayland enabled and therefore
41+ wayland-egl is the default QPA. Hence all Qt applications should be run
42+ on top of Weston. To run Qt application without Weston, the user can use
5443``-platform `` option to specify the desired QPA as ``linuxfb `` or ``eglfs ``.
5544
5645.. note ::
@@ -62,10 +51,10 @@ For example:
6251
6352.. code-block :: console
6453
65- $ /usr/share/qt5/ examples/opengl/2dpainting/2dpainting -platform eglfs
54+ $ /usr/share/examples/opengl/2dpainting/bin /2dpainting -platform eglfs
6655
6756*************************************************
68- Running QT Applications with the Weston IVI shell
57+ Running Qt Applications with the Weston IVI shell
6958*************************************************
7059
7160To run the QT application with ivi-shell, set the
0 commit comments