これに続いてkde-connectをインストールしようとしています。私の kubuntu のバージョンは 14.04 ですが、最新バージョンを使用できるようにコンパイルしたかったのです。しかし、指示に従ってコンパイルすると、次のエラーが発生します。
-- 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)
これを修正する方法を指摘してください。
私は与えようとし-DQT_QT_INCLUDE_DIR=/usr/share/qt4/
ましたが、それはそれを示していますYou must build your code with position independent code if Qt was built with -reduce-relocations.