Bug 436037

Summary: How to build under KDE Neon?
Product: [Frameworks and Libraries] layer-shell-qt Reporter: Mihai Sorin Dobrescu <msdobrescu>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: msdobrescu
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mihai Sorin Dobrescu 2021-04-22 06:58:42 UTC
I try to build Plasma using kdesrc-build tool, under KDE Neon, but fails:

```
-- The following REQUIRED packages have been found:

 * Qt5Gui (required version >= 5.15.2)
 * Qt5WaylandClient
 * Qt5Network (required version >= 5.15.2)
 * Qt5Qml
 * Qt5 (required version >= 5.15.0)
 * Threads
 * Qt5XkbCommonSupport
 * ECM (required version >= 5.78)
 * Qt5Core
 * Wayland (required version >= 1.3), C library implementation of the Wayland protocol: a protocol for a compositor to talk to its clients, <https://wayland.freedesktop.org/>
 * PkgConfig
 * WaylandScanner, Executable that converts XML protocol files to C code, <https://wayland.freedesktop.org/>

-- Configuring done
CMake Error at src/CMakeLists.txt:29 (add_library):
  Target "layer-shell" links to target "Qt::WaylandClientPrivate" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?


CMake Error at src/CMakeLists.txt:18 (add_library):
  Target "LayerShellQtInterface" links to target "Qt::WaylandClientPrivate"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?


CMake Error at src/CMakeLists.txt:18 (add_library):
  Target "LayerShellQtInterface" links to target "Qt::WaylandClientPrivate"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
```

What am I missing?
Comment 1 Mihai Sorin Dobrescu 2021-04-22 07:26:51 UTC
It needed qtwayland-private-dev package.
Comment 2 Mihai Sorin Dobrescu 2021-04-22 07:38:55 UTC
Sorry for the typo.

It needed qtwayland5-private-dev package.