MyrikLD / LinusTrinus

TrinusVR streaming server for Linux
128 stars 16 forks source link

Qt5 instalation problem #20

Open OSuKaRuXD opened 3 years ago

OSuKaRuXD commented 3 years ago

Trying to install the "samples" driver i get this:

"..." CMake Error at CMakeLists.txt:199 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one.

Could not find a package configuration file provided by "Qt5" with any of the following names:

Qt5Config.cmake
qt5-config.cmake

Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed. "..."

I checked with Aptitude that i have everything Qt5 installed. What can i do?

cprn commented 2 years ago

Either replace line 10 in make.sh with something like below - make sure the path actually points to qt5 on your system (below I assume Ubuntu) - or manually install Qt5 to /var/opt (because make.sh assumes it's there):

cmake . -DCMAKE_PREFIX_PATH=/usr/include/x86_64-linux-gnu/qt5 -DCMAKE_BUILD_TYPE=Release