Changes between Version 6 and Version 7 of qt
- Timestamp:
- 10/13/2021 08:16:21 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
qt
v6 v7 1 [[PageOutline]] 2 1 3 = Qt For Embedded Linux 2 4 … … 78 80 In order to use EGLFS you need to be using a kernel with the etnaviv KMS/DRM driver enabled, libdrm (userspace lib to interface with Linux DRM drivers), and libmesa. Note that the etnaviv driver uses cma memory - if you get memory allocation errors when trying to run applications try increasing the cma memory via the kernel command-line. 79 81 82 For more info see: 83 - https://doc.qt.io/qt-5.12/embedded-linux.html#platform-plugins-for-embedded-linux-devices 80 84 81 85 [=#linuxfb] … … 164 168 165 169 166 == User Interface Design with QT 170 [=#fingerpaint] 171 == Qt Fingerpaint Touchscreen Example 172 Qt has a [https://doc-snapshots.qt.io/qt5-5.12/qtwidgets-touch-fingerpaint-example.html fingerpaint example] app demonstrating how to use touch input 173 174 Examples: 175 * Ubuntu Focal 20.04: 176 {{{#!bash 177 apt update && apt upgrade # always a good idea to keep up to date 178 # install basic development requirements 179 apt install build-essential git 180 # install libevdev 181 apt install libevdev2 libevdev-tools 182 # install qt5 runtime and qml modules required 183 apt install qt5-default 184 git clone git://code.qt.io/qt/qtbase.git -b 5.12 185 cp -r qtbase/examples/widgets/touch/fingerpaint . 186 cd fingerpaint/ 187 qmake 188 make 189 # run using linuxfb backend 190 ./fingerpaint -platform linuxfb 191 }}} 192 193 For more details Qt Input see: 194 - https://doc.qt.io/qt-5.12/embedded-linux.html 195 196 = User Interface Design with QT 167 197 It is often best to consider QML instead of HTML5 for UI design. QML is much easier to use than HTML5 and is typically just fine for most user interface designs. QML has been designed for compsiting UIs and screen elements from the start while HTML5 had these things added to an existing standard meant for text rendering.