You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cmake -S . -B build
CMake Error at src/CMakeLists.txt:2 (find_package):
Found package configuration file:
/usr/lib64/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt component "Quick".
Expected Config file at "/usr/lib64/cmake/Qt6Quick/Qt6QuickConfig.cmake"
does NOT exist
Failed to find Qt component "QuickControls2".
Expected Config file at
"/usr/lib64/cmake/Qt6QuickControls2/Qt6QuickControls2Config.cmake" does NOT
exist
-- Configuring incomplete, errors occurred!
See also "/home/igor/Git/unofficial-discord-client/build/CMakeFiles/CMakeOutput.log".
See also "/home/igor/Git/unofficial-discord-client/build/CMakeFiles/CMakeError.log".
So I just created the files it wasn't finding and ran again:
$ cmake -S . -B build
-- Configuring done
CMake Error at src/CMakeLists.txt:44 (add_executable):
Target "unofficial-discord-client" links to target "Qt6::Quick" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at src/CMakeLists.txt:44 (add_executable):
Target "unofficial-discord-client" links to target "Qt6::QuickControls2"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
System info
-
-
OS
Manjaro 21.1
Packages installed
cmake=3.21.3, qt6-base=6.2.0-1
The text was updated successfully, but these errors were encountered:
I removed it and tried what you said, but I got the same last error message.
I believe it may be some dependecy missing, since it couldn't find Quick and QuicKControls2 components.
I was having this issue:
So I just created the files it wasn't finding and ran again:
System info
cmake=3.21.3
,qt6-base=6.2.0-1
The text was updated successfully, but these errors were encountered: