Compiling the seafile-client, Qt5 manually installed

Hello,

I’m trying to compile the client but cmake fails.

The reason is that Qt5 is installed on my system by default but not “completely”. Some devel-packages are missing, namely the linguist-related files are missing.

I have a full installation of Qt5 in my homedir. Is it possible to direct cmake to that path? I already set $PATH to include my home directories Software folder.

Thanks in advance!
Markus

Additional info: Of course I could just install the missing Qt-dependencies via the package manager. But I would like to fulfill all dependencies without package management (as a unprivileged user, no “sudo”).

Potentially possible, but looks like a pain in the rear to me. It would be much easier to install those missing dependencies. Here’s the portion of the CMake manual that details how to manually link to the QT library.

http://doc.qt.io/qt-5/cmake-manual.html