MantisBT - CMake
View Issue Details
0012915CMakeModulespublic2012-01-27 09:432012-09-03 16:02
Laurent Rineau 
Clinton Stimpson 
lowminorN/A
closedfixed 
CMake 2.8.6 
CMake 2.8.8CMake 2.8.8 
0012915: Bad wording in FindQt4.cmake
In Modules/FindQt4.cmake, one can read:

"Warning: But QtCore couldn't be found. Qt must NOT be installed correctly, or it wasn't found for cross compiling."

Really, Qt must NOT be installed correctly?! :-)
That wording is simply wrong. I propose "Qt is NOT installed correctly."

I attached the Git patch.
No tags attached.
patch cmake-FindQt4.patch (790) 2012-01-27 09:43
https://public.kitware.com/Bug/file/4199/cmake-FindQt4.patch
Issue History
2012-01-27 09:43Laurent RineauNew Issue
2012-01-27 09:43Laurent RineauFile Added: cmake-FindQt4.patch
2012-01-27 11:37Brad KingAssigned To => Clinton Stimpson
2012-01-27 11:37Brad KingStatusnew => assigned
2012-01-27 11:40Brad KingNote Added: 0028416
2012-02-08 20:42Clinton StimpsonNote Added: 0028534
2012-02-08 20:42Clinton StimpsonStatusassigned => resolved
2012-02-08 20:42Clinton StimpsonResolutionopen => fixed
2012-04-19 15:45David ColeFixed in Version => CMake 2.8.8
2012-04-19 15:45David ColeTarget Version => CMake 2.8.8
2012-09-03 16:02David ColeNote Added: 0030876
2012-09-03 16:02David ColeStatusresolved => closed

Notes
(0028416)
Brad King   
2012-01-27 11:40   
Clinton, should the relevant message command be converted to use message(WARNING) along with the wording correction? Something like (untested):

MESSAGE(WARNING
  "QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as ${QT_LIBRARY_DIR_TMP} "
  "but QtCore could not be found there.  "
  "Qt is NOT installed correctly for the target build environment."
  )
(0028534)
Clinton Stimpson   
2012-02-08 20:42   
cbdfcc6 FindQt4: clarify warning message about incorrect Qt installation.
(0030876)
David Cole   
2012-09-03 16:02   
Closing resolved issues that have not been updated in more than 4 months.