Martin Costabel wrote:
I am trying to help a user whose effort to build scribus-1.3.3.12 with cmake-2.6.0 on MacOSX-10.4.11 always fail with the message

CMake Error at CMakeLists.txt:234 (MESSAGE):
  No Qt3

With the exact same configuration(?), the build runs OK for me, and I am looking for clues on how to debug this.

Unfortunately, I haven't yet succeeded to have cmake give any information on why it thinks it does not find Qt3 on the user's system. The CMakeOutput.log and CMakeError.log files do not contain anything Qt3-related; they stop just before the FindQt3 module is invoked. And using the --debug-output flag does not help either; it adds absolutely nothing to the output at this point.

In CVS CMake, I added a --trace option that will show each line as it is executed. You should be able to look at the users cache file and compare it with the FindQt3.cmake file.

Looking at the module:

IF(QT_INCLUDE_DIR AND QT_QT_LIBRARY)
  SET( QT_FOUND "YES" )
ENDIF(QT_INCLUDE_DIR AND QT_QT_LIBRARY)

So, what are the values of QT_INCLUDE_DIR AND QT_QT_LIBRARY in the users CMakeCache.txt file? One of those must not be found.

-Bill

--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
[EMAIL PROTECTED]
http://www.kitware.com
518-371-3971 (phone and fax)
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to