Bug 436037 - How to build under KDE Neon?
Summary: How to build under KDE Neon?
Status: RESOLVED FIXED
Alias: None
Product: layer-shell-qt
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-22 06:58 UTC by Mihai Sorin Dobrescu
Modified: 2021-04-22 07:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.