I get the following error when attempting to install Kapture:
# cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1148 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:7 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
# cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1148 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:7 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
To copy to clipboard, switch view to plain text mode
I tried adding qt4 or qmake-qt4 to the PATH, but the problem isn't fixed yet.
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/qt:/usr/lib/qt4:/usr/lib/qt3:/usr/share/qt4:/usr/share/qt3:/usr/share/qt:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/qt:/usr/lib/qt4:/usr/lib/qt3:/usr/share/qt4:/usr/share/qt3:/usr/share/qt:
To copy to clipboard, switch view to plain text mode
How can I solve it?
Your
Added after 52 minutes:
I found the problem
The call
_qt4_query_qmake(QT_VERSION QTVERSION)
doesn't set QTVERSION
if I replace
IF("${QTVERSION}" MATCHES "Unknown")
with
IF(NOT $QTVERSION)
then it will work fine
Bookmarks