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

Cannot build on openSUSE Leap 15.4 #78

Open
Chirunos opened this issue Jan 28, 2023 · 1 comment
Open

Cannot build on openSUSE Leap 15.4 #78

Chirunos opened this issue Jan 28, 2023 · 1 comment

Comments

@Chirunos
Copy link

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

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

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