[IGSTK-Developers] IGSTKSandbox - Qt integration

Frank Lindseth Frank.Lindseth at sintef.no
Mon Mar 19 08:14:50 EDT 2007


Luis, Patrick

We have been looking at the IGSTKSandbox / Qt integration today.

Building IGSTKSandbox with Qt support  seems to be working ok (I have  
attached the 2 CMakeLists.txt files that had to be updated).
(how are your Trolltech investigations going Patrick?, should I just  
submit this to the IGSTKSandbox?)

Building an application on top of IGSTKSandbox (instead of using a  
separate library for the Qt-IGSTK functionality) do not seem to we  
working ok:

If we include something like this in the CMakeLists.txt for the  
application:
FIND_PACKAGE(IGSTKSandbox)
IF(NOT IGSTKSandbox_DIR)
   MESSAGE(FATAL_ERROR "Please set IGSTKSandbox_DIR.")
ENDIF(NOT IGSTKSandbox_DIR)
INCLUDE(${IGSTKSandbox_USE_FILE})

We get something like this when we run ccmake:
Make Error: IGSTKSandbox_DIR is set to "/Users/frankl/fl/dev/ 
cvsStable/IGSTKSandboxCvs_CMake246_gcc401_ITKcvs_VTKcvs_Qt423", which
is not a directory containing IGSTKSandboxConfig.cmake
CMake Error: Error in cmake code at
/Users/frankl/fl/dev/cvsStable/CustusXcvs/CMakeLists.txt:27:
INCLUDE called with wrong number of arguments.  Include only takes  
one file.
Current CMake stack:
/Users/frankl/fl/dev/cvsStable/CustusXcvs/CMakeLists.txt;/usr/share/ 
cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Mod
ules/CMakeCXXInformation.cmake

Which makes sense because  IGSTKSandbox_build do not contain any  
IGSTKSandboxConfig.cmake file (the same way that IGSTK has a  
IGSTKConfig.cmake).

So how is this supposed to be working? Shouldn't the missing file  
have been generated?
It there an example showing an "external" build on top of  
IGSTKSandbox (not part of IGSTKSandbox) somewhere (I couldn't find  
anything)?

- Frank







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20070319/2a79a4cb/attachment-0004.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20070319/2a79a4cb/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20070319/2a79a4cb/attachment-0005.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20070319/2a79a4cb/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20070319/2a79a4cb/attachment-0006.html>


More information about the IGSTK-Developers mailing list