Tôi đang cố cài đặt kde-connect sau this. Mặc dù phiên bản kubuntu của tôi là 14.04, tôi muốn biên dịch chúng để có thể có phiên bản mới nhất. Nhưng khi tôi làm theo hướng dẫn để biên dịch, tôi nhận được lỗi sau.Không thể ghép kèo kde-kết nối
-- Found Qt-Version 5.2.1 (using /usr/bin/qmake)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QT_INCLUDE_DIR
used as include directory in directory /home/vinaychandra/Downloads/t/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed
CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1311 (message):
Unable to compile a basic Qt application. Qt has not been found correctly.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
CMakeLists.txt:7 (find_package)
Vui lòng chỉ ra cách sửa lỗi này.
Tôi đã cố gắng đưa ra -DQT_QT_INCLUDE_DIR=/usr/share/qt4/
sau đó nó nói rằng You must build your code with position independent code if Qt was built with -reduce-relocations.
Cũng giống như một vấn đề đáng quan tâm, đó là lợi thế của các phiên bản mới hơn? Tôi đang sử dụng KDE-kết nối, quá - cài đặt từ resporitories phần mềm ubuntu và tôi rất hài lòng với công cụ này. – PEAR
Có nhiều tính năng hơn trong phiên bản mới nhất (0.7.2) khi so sánh với nó có sẵn trong kho lưu trữ Ubuntu (0.5) –
Cùng một vấn đề ở đây, tôi đã cố gắng để cài đặt - cùng một lỗi. Tôi không thể giúp bạn - xin lỗi. Nhưng câu trả lời có thể đáng để biết ... – PEAR