wiki:mycroft_mark-2_kde_plasma_nano

Version 5 (modified by admin, 2 years ago) (diff)

--

build plasma-nano

As I learned from AIIX the mycroft-gui is meant to be run on top of plasma nano. This is my log of building plasma-nano

first attempt

  • cd ~/kde/src/kdesrc-build
  • export CMAKE_PREFIX_PATH=/opt/Qt5.12:/home/pi/kde/usr
  • export PKG_CONFIG_PATH=/opt/Qt5.12:$PKG_CONFIG_PATH
  • export CFLAGS="-I/home/pi/kde/usr/include"
  • export LDFLAGS="-L/home/pi/kde/usr/lib"
  • export QT_SELECT=5
  • ./kdesrc-build --src-only plasma-nano
  • ./kdesrc-build --no-src plasma-nano

the following failed:

kactivities - ~/kde/src/log/2020-04-25-02/kactivities/cmake.log

kwayland - ~/kde/src/log/2020-04-25-02/kwayland/cmake.log

kfilemetadata - ~/kde/src/log/2020-04-25-02/kfilemetadata/cmake.log

plasma-framework - ~/kde/src/log/2020-04-25-02/plasma-framework/cmake.log

baloo - ~/kde/src/log/2020-04-25-02/baloo/cmake.log kactivities-stats - ~/kde/src/log/2020-04-25-02/kactivities-stats/cmake.log

krunner - ~/kde/src/log/2020-04-25-02/krunner/cmake.log

networkmanager-qt - ~/kde/src/log/2020-04-25-02/networkmanager-qt/cmake.log

prison - ~/kde/src/log/2020-04-25-02/prison/cmake.log plasma-nano - ~/kde/src/log/2020-04-25-02/plasma-nano/cmake.log

kactivities

  • sudo apt-get install libboost-dev
  • ./kdesrc-build --no-src kactivities
  • ./kdesrc-build --no-src kactivities-stats

kfilemetadata

  • sudo apt-get install libattr1-dev
  • ./kdesrc-build --no-src kfilemetadata

baloo

  • sudo apt-get install liblmdb-dev
  • ./kdesrc-build --no-src baloo

networkmanager-qt

beware after installing network manager you need to reconfigure wlan throug networkmanager cli!

  • sudo apt-get install network-manager network-manager-dev libnm-dev
  • ./kdesrc-build --no-src networkmanager-qt

prison

  • sudo apt-get install qrencode
  • ./kdesrc-build --no-src prison

Build Wayland support for QT

self built wayland

rebuild QT with wayland

  • cd ~/build
    PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig \
    ../qt-everywhere-src-5.12.7/configure -platform linux-rpi-g++ \
    -v \
    -opengl es2 -eglfs \
    -no-gtk \
    -opensource -confirm-license -release \
    -reduce-exports \
    -force-pkg-config \
    -nomake examples -no-compile-examples \
    -no-feature-geoservices_mapboxgl \
    -qt-pcre \
    -no-pch \
    -ssl \
    -evdev \
    -system-freetype \
    -fontconfig \
    -glib \
    -prefix /opt/Qt5.12 \
    -qpa eglfs
    

will complain "No wayland-egl support detected" -> ignore

  • export PATH=/opt/Qt5.12/bin:$PATH
  • make -j33 -l4
  • sudo make install