Trying to build the wizard for Linux...
Zorono opened this issue · 0 comments
Zorono commented
Hello every Creature,
so I am trying to compile the wizard for linux but unfortunately, it requires Qt5 which is already installed using the official guide
when I tried to run cmake . on /path/to/ColAndreas/WizardApp it failed:
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning at CMakeLists.txt:4 (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.
CMake Error at CMakeLists.txt:30 (qt5_wrap_cpp):
Unknown CMake command "qt5_wrap_cpp".
EDIT:
please note that i tried something like cmake CMAKE_PREFIX_PATH="/opt/Qt5" . which didn't work