latte-dock doesn't build on Ubuntu/Neon
Hello, I was following the build instructions on the wiki but it fails even with all dependencies installed. The error is "Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)"
Logs:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gettext is already the newest version (0.19.8.1-10build1).
libsm-dev is already the newest version (2:1.2.3-1).
libxcb-randr0-dev is already the newest version (1.14-2).
libxcb-shape0-dev is already the newest version (1.14-2).
libxcb-util-dev is already the newest version (0.4.0-0ubuntu3).
libxcb-util0-dev is already the newest version (0.4.0-0ubuntu3).
build-essential is already the newest version (12.8ubuntu1.1).
git is already the newest version (1:2.25.1-1ubuntu3.4).
libx11-dev is already the newest version (2:1.6.9-2ubuntu1.2).
libx11-xcb-dev is already the newest version (2:1.6.9-2ubuntu1.2).
cmake is already the newest version (3.22.1-1+20.04+focal+release+build3).
extra-cmake-modules is already the newest version (5.95.0-0xneon+20.04+focal+release+build35).
kirigami2-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build42).
libkf5activities-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build40).
libkf5archive-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build41).
libkf5crash-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build49).
libkf5declarative-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build65).
libkf5iconthemes-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build46).
libkf5newstuff-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build65).
libkf5notifications-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build49).
libkf5plasma-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build72).
libkf5wayland-dev is already the newest version (4:5.95.0-0xneon+20.04+focal+release+build46).
libkf5windowsystem-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build41).
libkf5xmlgui-dev is already the newest version (5.95.0-0xneon+20.04+focal+release+build57).
libqt5x11extras5-dev is already the newest version (5.15.2+p20.04+tunstable+git20220517.2036-0).
qtdeclarative5-dev is already the newest version (5.15.2+p20.04+tunstable+git20220613.0131-0).
Build:
$ sh install.sh
install.sh: 12: [: unexpected operator
install.sh: 12: [: unexpected operator
install.sh: 16: [: -a: unexpected operator
install.sh: 22: [: -a: unexpected operator
install.sh: 25: [: -a: unexpected operator
install.sh: 29: [: unexpected operator
install.sh: 32: [: unexpected operator
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found KF5Activities: /usr/lib/x86_64-linux-gnu/cmake/KF5Activities/KF5ActivitiesConfig.cmake (found version "5.95.0")
-- Found KF5Archive: /usr/lib/x86_64-linux-gnu/cmake/KF5Archive/KF5ArchiveConfig.cmake (found version "5.95.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.95.0")
-- Found KF5GuiAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.95.0")
-- Found KF5Crash: /usr/lib/x86_64-linux-gnu/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.95.0")
-- Found KF5DBusAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.95.0")
-- Found KF5Declarative: /usr/lib/x86_64-linux-gnu/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.95.0")
-- Found KF5GlobalAccel: /usr/lib/x86_64-linux-gnu/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.95.0")
-- Found KF5Kirigami2: /usr/lib/x86_64-linux-gnu/cmake/KF5Kirigami2/KF5Kirigami2Config.cmake (found version "5.95.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.95.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.95.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.95.0")
-- Found KF5NewStuff: /usr/lib/x86_64-linux-gnu/cmake/KF5NewStuff/KF5NewStuffConfig.cmake (found version "5.95.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.95.0")
-- Found KF5Plasma: /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaConfig.cmake (found version "5.95.0")
-- Found KF5PlasmaQuick: /usr/lib/x86_64-linux-gnu/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake (found version "5.95.0")
-- Found KF5Wayland: /usr/lib/x86_64-linux-gnu/cmake/KF5Wayland/KF5WaylandConfig.cmake (found version "5.95.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.95.0")
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.95.0")
-- Found KF5: success (found suitable version "5.95.0", minimum required is "5.88.0") found components: Activities Archive CoreAddons GuiAddons Crash DBusAddons Declarative GlobalAccel Kirigami2 I18n IconThemes KIO NewStuff Notifications Plasma PlasmaQuick Wayland WindowSystem XmlGui
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.14")
-- Found XCB_SHAPE: /usr/lib/x86_64-linux-gnu/libxcb-shape.so (found version "1.14")
-- Found XCB_EVENT: /usr/lib/x86_64-linux-gnu/libxcb-util.so (found version "0.4.0")
-- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.14")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-shape.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so (found version "1.14") found components: XCB RANDR SHAPE EVENT
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindQtWaylandScanner.cmake:87 (find_package_handle_standard_args)
CMakeLists.txt:62 (find_package)
-- Configuring incomplete, errors occurred!