cryptonotefoundation / cryptonotewallet

83 stars 635 forks source link

qt issue on MacOSX #21

Closed zhmrab closed 6 years ago

zhmrab commented 6 years ago

Getting this output on Mac ...

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

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

Qt5GuiConfig.cmake qt5gui-config.cmake

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

Does anyone know how to fix this?

zhmrab commented 6 years ago

Solution is this,

cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.0

Closing