<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Luis, Patrick<DIV><BR class="khtml-block-placeholder"></DIV><DIV>We have been looking at the IGSTKSandbox / Qt integration today.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Building IGSTKSandbox with Qt support seems to be working ok (I have attached the 2 CMakeLists.txt files that had to be updated).</DIV><DIV>(how are your Trolltech investigations going Patrick?, should I just submit this to the IGSTKSandbox?)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>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:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If we include something like this in the CMakeLists.txt for the application:</DIV><DIV>FIND_PACKAGE(IGSTKSandbox)</DIV><DIV>IF(NOT IGSTKSandbox_DIR)</DIV><DIV> MESSAGE(FATAL_ERROR "Please set IGSTKSandbox_DIR.")</DIV><DIV>ENDIF(NOT IGSTKSandbox_DIR)</DIV><DIV>INCLUDE(${IGSTKSandbox_USE_FILE})</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We get something like this when we run ccmake:</DIV><DIV>Make Error: IGSTKSandbox_DIR is set to "/Users/frankl/fl/dev/cvsStable/IGSTKSandboxCvs_CMake246_gcc401_ITKcvs_VTKcvs_Qt423", which</DIV><DIV> is not a directory containing IGSTKSandboxConfig.cmake</DIV><DIV>CMake Error: Error in cmake code at</DIV><DIV> /Users/frankl/fl/dev/cvsStable/CustusXcvs/CMakeLists.txt:27:</DIV><DIV> INCLUDE called with wrong number of arguments. Include only takes one file.</DIV><DIV> Current CMake stack:</DIV><DIV> /Users/frankl/fl/dev/cvsStable/CustusXcvs/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Mod</DIV><DIV> ules/CMakeCXXInformation.cmake</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Which makes sense because IGSTKSandbox_build do not contain any IGSTKSandboxConfig.cmake file (the same way that IGSTK has a <FONT class="Apple-style-span" face="Lucida Grande">IGSTKConfig.cmake).</FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande">So how is this supposed to be working? Shouldn't the missing file have been generated?</FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande">It there an example showing an "external" build on top of <FONT class="Apple-style-span" face="Helvetica">IGSTKSandbox (not part of IGSTKSandbox) somewhere (I couldn't find anything)?</FONT></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" face="Helvetica">- Frank </FONT></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN></SPAN></DIV></BODY></HTML>