Hello All,
Been quite swamped lately (days of grading Microsoft Word assignments :-( ) and
just got back to this. The problem seems to be that CMake expects the Qt
executables to be in your path and I assume Qt moved them from 4.5.3 (from the
docs) to the current 4.7.4. On Ubuntu, the command I used to set the path in
my .bashrc file is:
export PATH=${PATH}:/usr/local/Trolltech/Qt-4.7.4/bin
Once I did this and redid:
cmake ./
the client built and ran.
For what its worth,
John
----- Forwarded Message -----
From: John Deal <bassd...@yahoo.com>
To: Development Mira <mira-development@lists.sourceforge.net>
Sent: Sunday, September 25, 2011 12:16 PM
Subject: [Mira-development] Cmake and QT 4.7.4
Hello All,
I am trying to move my development to a different system (Ubuntu 9.10->Ubuntu
10.04) and running into difficulties.
I setup QT and CMake and all the other packages. I bzr co all the sources. I
am able to build the server fine. However, I am getting the following errors
trying to build the client:
jdeal@GatwayUbuntu:mira-client$ cmake ./
** Mira found Boost version 104400
CMake Error at
/usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
(MESSAGE):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
QT_QTCORE_LIBRARY)
Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-2.8/Modules/FindQt4.cmake:1162
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Dependencies.cmake.in:21 (FIND_PACKAGE)
CMakeLists.txt:5 (INCLUDE)
-- Configuring incomplete, errors occurred!
jdeal@GatwayUbuntu:mira-client$
I am using the open-source QT version 4.7.4 which is the current version. I
rebuilt/reinstalled QT and CMake but still get the same errors. I searched
through the configuration files but could not find any fixed version
specification. I am using CMake 2.8.5.
If anyone has any ideas why this is happening please enlighten me.
Thanks,
John
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development