I am trying to build and run keyhotee on a Debian GNU/Linux machine for testing purposes. I dont have QT5 installed and it is not avaiable in the package repositories so I downloaded qt-everywhere-opensource-src-5.2.0 and installed to /home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase.
Now I am trying to configure keyhotee with QTDIR=/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME and I get this error
arcke@forge:~/src/keyhotee$ QTDIR="/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase/" cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME .
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.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_PREFIX_PATH=/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase//lib/cmake
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1e")
CMake Error at /home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
"/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase/src/qt-everywhere-opensource-src-5.2.0/qtbase//mkspecs/linux-g++"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
but not all the files it references.
Call Stack (most recent call first):
/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
/home/arcke/src/qt-everywhere-opensource-src-5.2.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:128 (include)
CMakeLists.txt:24 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/arcke/src/keyhotee/CMakeFiles/CMakeOutput.log".
How can I configure keyhotee to build with QT5 installed in a custom location? Should I use the lastest git instead of the 5.2.0 release?