[CMake] QT_QTDECLARATIVE_FOUND issue on N9(50)

Clinton Stimpson clinton at elemtech.com
Thu Jul 7 13:10:03 EDT 2011


On Thursday, July 07, 2011 11:02:50 am Laszlo Papp wrote:
> Hi Clinton,
> 
> > What is the value of QT_QTDECLARATIVE_LIBRARY ?  The
> > QT_QTDECLARATIVE_FOUND depends on that value.
> 
> /usr/lib/libQtDeclarative.so
> 
> That file exists in scratchbox properly:
> ls -lda /usr/lib/libQtDeclarative.so
> lrwxrwxrwx 1 lpapp lpapp 25 Jul  5 13:49 /usr/lib/libQtDeclarative.so
> -> libQtDeclarative.so.4.7.4
> 
> Even the file where this "/usr/lib/libQtDeclarative.so" points to:
>  ls -lda /usr/lib/libQtDeclarative.so.4.7.4
> -rw-r--r-- 1 lpapp lpapp 3406200 Jun 23 03:41
> /usr/lib/libQtDeclarative.so.4.7.4
> 

Hmm... OK.  I'm not able to reproduce this problem.
Do you know if the other *_FOUND variables are set?

Is it also a problem if you run cmake on a CMakeLists.txt file with just the 
following:

find_package(Qt4)
if(QT_QTDECLARATIVE_FOUND)
  message("found it")
endif()

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com


More information about the CMake mailing list