Debian jessie에서 kaffeine을 빌드하는 중 오류가 발생했습니다(qt5_add_resources).

Debian jessie에서 kaffeine을 빌드하는 중 오류가 발생했습니다(qt5_add_resources).

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

관련 정보