Coding-Bunker / unofficial-discord-client

Unofficial client for discord build in C++ with Qt.
MIT License
48 stars 9 forks source link

Cannot build on openSUSE Leap 15.4 #78

Open Chirunos opened 1 year ago

Chirunos commented 1 year ago

I'm not sure what development Qt packages I need for building this and I'm pretty sure I don't have any. What packages do I need?

I tried building with cmake -S . -B build and this was the output:

-- The CXX compiler identification is GNU 13.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at src/CMakeLists.txt:2 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

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

    Qt6Config.cmake
    qt6-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/plasma/Downloads/unofficial-discord-client-master/build/CMakeFiles/CMakeOutput.log".
guerinoni commented 1 year ago

Since discord are against 3rd party clients I will not go deep to working on this, but if someone want to take the head of development I will review the PR opened :)

In your env probably it can't figure out where you have installed Qt pkgs... Just export that variable and should be fine