1
저는 OpenCV 및 Marble 라이브러리를 사용하여 컴파일하고 Qt와 연결했습니다. 내가 할 때마다 나는이 라이브러리를 만들기 위해 cmake를 실행하는 데 문제가있다. qt cmake 파일의 경로가 다른 qt cmake 파일에 맞지 않는 것 같습니다.Qt를 사용하여 타사 라이브러리 컴파일
sudo apt-get install qt5-default
이 우분투에서 괜찮를 실행하여
CMake Error at CMakeLists.txt:67 (find_package):
By not providing "FindQt5DBus.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5DBus", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5DBus" with any
of the following names:
Qt5DBusConfig.cmake
qt5dbus-config.cmake
Add the installation prefix of "Qt5DBus" to CMAKE_PREFIX_PATH or set
"Qt5DBus_DIR" to a directory containing one of the above files. If
"Qt5DBus" provides a separate development package or SDK, be sure it has
been installed.
나는 우분투에서이 문제를 해결할 수 있지만, 지금은 지금 Mac과 Windows에서 이러한 라이브러리를 컴파일하려고 : 내가 좋아하는 오류를 얻을. 누구나 이미이 모든 경로가 올바른 Qt를 얻을 수있는 방법을 알고 있습니까? Windows 및 Mac에서 설치 프로그램을 시도하고 Mac에서 추출합니다. 나는이 오류들 각각을 하나씩 고치기 위해 시간을 할애 할 필요가 없다.