| | 40 | ==== prison ==== |
| | 41 | * sudo apt-get install qrencode |
| | 42 | * ./kdesrc-build --no-src prison |
| | 43 | |
| | 44 | === Build Wayland support for QT === |
| | 45 | |
| | 46 | ==== self built wayland ==== |
| | 47 | * git clone git://anongit.freedesktop.org/wayland/wayland |
| | 48 | * cd wayland |
| | 49 | * ./autogen.sh |
| | 50 | * ./configure --disable-documentation |
| | 51 | * make |
| | 52 | * sudo cp wayland-scanner /opt/Qt5.12/bin/ |
| | 53 | ==== rebuild QT with wayland ==== |
| | 54 | * cd ~/build |
| | 55 | {{{ |
| | 56 | PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig \ |
| | 57 | ../qt-everywhere-src-5.12.7/configure -platform linux-rpi-g++ \ |
| | 58 | -v \ |
| | 59 | -opengl es2 -eglfs \ |
| | 60 | -no-gtk \ |
| | 61 | -opensource -confirm-license -release \ |
| | 62 | -reduce-exports \ |
| | 63 | -force-pkg-config \ |
| | 64 | -nomake examples -no-compile-examples \ |
| | 65 | -no-feature-geoservices_mapboxgl \ |
| | 66 | -qt-pcre \ |
| | 67 | -no-pch \ |
| | 68 | -ssl \ |
| | 69 | -evdev \ |
| | 70 | -system-freetype \ |
| | 71 | -fontconfig \ |
| | 72 | -glib \ |
| | 73 | -prefix /opt/Qt5.12 \ |
| | 74 | -qpa eglfs |
| | 75 | }}} |
| | 76 | will complain "No wayland-egl support detected" -> ignore |
| | 77 | * export PATH=/opt/Qt5.12/bin:$PATH |
| | 78 | * make -j33 -l4 |
| | 79 | * sudo make install |
| | 80 | |