Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt5 instalation problem #20

Open
OSuKaRuXD opened this issue Apr 27, 2021 · 1 comment
Open

Qt5 instalation problem #20

OSuKaRuXD opened this issue Apr 27, 2021 · 1 comment

Comments

@OSuKaRuXD
Copy link

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
Copy link
Contributor

cprn commented Nov 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants