![Debian jessie에서 kaffeine을 빌드하는 중 오류가 발생했습니다(qt5_add_resources).](https://linux55.com/image/92675/Debian%20jessie%EC%97%90%EC%84%9C%20kaffeine%EC%9D%84%20%EB%B9%8C%EB%93%9C%ED%95%98%EB%8A%94%20%EC%A4%91%20%EC%98%A4%EB%A5%98%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4(qt5_add_resources)..png)
Kaffeine <1.3에서는 Samba에 버그가 있어서 1.3.x 버전으로 빌드해 보았습니다. 그러나 cmake를 호출한 후 오류가 발생합니다.
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:6 (qt5_add_resources):
**Unknown CMake command "qt5_add_resources".**
-- Configuring incomplete, errors occurred!
내 테스트 버전 및 설정:
$ qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt5/bin"
QTLIBDIR="/usr/lib/x86_64-linux-gnu"
$ qmake -v
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu
$ cmake --version
cmake version 3.0.2
답변1
필요한 qt 패키지가 누락되었을 수 있습니다. 설치를 시도하다qt5-기본값팩.
sudo apt-get install -y qt5-default