-
Notifications
You must be signed in to change notification settings - Fork 635
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
Unable to compile Cmake cannot find qt5 #25
Comments
hello, for the first error change line 5 to: |
Noting happen . cryptonotewallet/build# cmake .. CMake Error at CMakeLists.txt:5 (project): CMake Error at CMakeLists.txt:19 (find_package): Could not find a package configuration file provided by "Qt5Gui" with any
Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! |
delete old cloned cryptonotewallet and clone it once again then add this line to CMakeLists.txt (one line upper of find_package(Qt5Gui REQUIRED) ) : |
I update information what You wrote error: Parse error. Function missing ending ")". End of file reached.
CMake Error at CMakeLists.txt:5 (project): CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake:127 (add_library): CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:127 (add_library): CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Could not find a package configuration file provided by "Qt5Widgets" with
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! |
add set(Qt5Widgets_DIR "C:/Qt/Qt5.8.0/5.8/msvc2015_64/lib/cmake/Qt5Widgets") as you added Qt5Gui on your cmakelists.txt |
Mark failed or canceled transaction
HI I try to build wallet on Linux
but I have this error
cryptonotewallet/build# cmake ..
CMake Error at CMakeLists.txt:5 (project):
project PROJECT called with incorrect number of arguments
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.
-- Configuring incomplete, errors occurred!
Could You advice what to do?
The text was updated successfully, but these errors were encountered: