[CMake] Building CMake with Qt5

Tanweer Rashid trash001 at odu.edu
Wed Sep 4 13:14:17 EDT 2013


Hi,

I am trying to build CMake 2.8.11 on my 64 bit Ubuntu 12.04. I am trying to
use QT5.1, but CMake is saying that Qt is not correctly installed.

I am wondering whether Qt5 is compatible with CMake and if I should revert
to Qt4.8.

The errors that I got are as follows:
******************************
make: `cmake' is up to date.
loading initial cache file
/home/trash001/Downloads/cmake-2.8.11.2/Bootstrap.cmk/InitialCacheFlags.cmake
Curses libraries were not found. Curses GUI for CMake will not be built.
CMake Warning at Modules/FindQt4.cmake:657 (message):
  /home/trash001/ProgramFiles/Qt5.1.1/5.1.1/gcc_64/bin/qmake reported
  QT_INSTALL_LIBS as "/home/trash001/ProgramFiles/Qt5.1.1/5.1.1/gcc_64/lib"
  but QtCore could not be found there.  Qt is NOT installed correctly for
the
  target build environment.
Call Stack (most recent call first):
  Source/QtDialog/CMakeLists.txt:34 (find_package)


CMake Error at Modules/FindQt4.cmake:661 (message):
  Could NOT find QtCore.  Check
  /home/trash001/Downloads/cmake-2.8.11.2/CMakeFiles/CMakeError.log for more
  details.
Call Stack (most recent call first):
  Source/QtDialog/CMakeLists.txt:34 (find_package)


-- Configuring incomplete, errors occurred!
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
trash001 at MSVEDE09:~/Downloads/cmake-2.8.11.2$

******************************

Thanks,
-- 
Tanweer Rashid
MSVE Dept.
Old Dominion University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130904/d8941f29/attachment.htm>


More information about the CMake mailing list