LMMS / LMMS/lmms

CMake not spotting missing `qtbase5-private-dev`

Open
#4,273 14 comments 2 reactions 1 assignee Claimed by @lukas-w View on GitHub
bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

Hi,

When trying to build LMMS on Debian Unstable, I got:

```sh
/home/zapashcanon/Programmation/C++/lmms/src/3rdparty/qt5-x11embed/src/X11EmbedContainer.cpp:40:10: fatal error: 'QtCore/private/qobject_p.h' file not found
#include
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/build.make:63: src/3rdparty/qt5-x11embed/CMakeFiles/qx11embedcontainer.dir/src/X11EmbedContainer.cpp.o] Error 1
```

I opened [an issue against qt5-x11embed](https://github.com/lukas-w/qt5-x11embed/issues/2). Finally, @lukas-w told me I was missing `qtbase5-private-dev`, that was indeed the problem, which should have been spotted by CMake in LMMS.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.