Changes between Version 8 and Version 9 of qt
- Timestamp:
- 12/16/2021 07:44:26 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
qt
v8 v9 112 112 # install qtwebengine minimal code example 113 113 apt install qtwebengine5-examples 114 cd /usr/lib/arm-linux-gnueabihf/qt5/examples/webengine/minimal 114 cd /usr/lib/arm-linux-gnueabihf/qt5/examples/webengine/minimal # for 32bit arm systems 115 cd /usr/lib/aarch64-linux-gnu/qt5/examples/webengine/minimal # for 64bit aarch64 systems 115 116 # edit main.qml if you want to change the width/height or url 116 117 qmake # generate Makefile from *.pro … … 139 140 }}} 140 141 141 == Qt GL Video Demo142 This UX demo application shows how to render video frames on 3D objects which in turn are integrated in a Q graphical features of Qt5. The name 'Cinematic Experience' reflects how it's possible to build user interfaces with increased dynamics.142 == Qt5 GL Video Demo 143 This UX demo application shows how to render video frames on 3D objects which in turn are integrated in a Q graphical features of Qt5. 143 144 144 145 The video frames are produced by the GStreamer !GstPlayer library. They are uploaded into OpenGL textures, which are then used on 3D meshes. These meshes are rendered in QQuickFramebufferObject !QtQuick 2 items, and the items are composed by a !PathView on screen. The 3D objects can be rotated with the mouse or with touch events. UI controls allow for adjusting several parameters such as opacity, scale, mesh type, etc. and for adding/removing objects. The video frames can come from local video files, network streams, or Video4Linux2 based video capture devices. … … 182 183 # install qt5 runtime and qml modules required 183 184 apt install qt5-default 185 # clone the repo and build 184 186 git clone git://code.qt.io/qt/qtbase.git -b 5.12 185 187 cp -r qtbase/examples/widgets/touch/fingerpaint . … … 191 193 }}} 192 194 193 Qt's input systems:194 195 195 Qt can use Linux evdev directly for input or it can use helper libraries such as libinput or tslib: 196 196 * By default Qt5 on Ubuntu is using libinput and there is no tslib support … … 198 198 * If you wish to disable libinput you can set 'QT_QPA_EGLFS_NO_LIBINPUT=1' for eglfs backend or 'QT_QPA_FB_NO_LIBINPUT=1' for linuxfb backend and input will default to evdev. 199 199 200 evdev:201 202 200 When using evdev you can parameters via QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS with colon separated parameters, for example: 203 201 - Run fingerpaint using evdev and linuxfb backend and specify /dev/input/event1 for input, rotate input 90 degrees, and invert both x and y: