View Issue Details

IDProjectCategoryView StatusLast Update
0001290Slicer4Core: Building (CMake, Superbuild)public2012-08-21 09:43
Reporterccaborni Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.0.0 
Summary0001290: Slicer4 Building Error on Mac - path of Qt UI Tools
Description

OS X Snow Leopard 10.6.7
CMake 2.8-5
Qt binary version cocoa 4.7.0
Slicer svn rev 17505
The Qt Ui Tools include directory is not found automatically resulting in the following build error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTUITOOLS_INCLUDE_DIR (ADVANCED)
used as include directory in directory /Users/mrs/Slicer4-SuperBuild/CTK-build/PythonQt

-- Configuring incomplete, errors occurred!
make[5]: [PythonQt-cmake/src/PythonQt-stamp/PythonQt-configure] Error 1
make[4]:
[CMakeFiles/PythonQt.dir/all] Error 2
make[3]: [all] Error 2
make[2]:
[CTK-prefix/src/CTK-stamp/CTK-build] Error 2
make[1]: [CMakeFiles/CTK.dir/all] Error 2
make:
[all] Error 2

WORKAROUND:

It has been required to manually set the QT_QTUITOOLS directory path into the files:

../CTK-Build/PythonQt-build/CMakeCache.txt and in ../Slicer-build/CMakeCache.txt

QT_QTUITOOLS_INCLUDE_DIR to /usr/include/QtUiTools

TagsNo tags attached.

Relationships

related to 0001275 closedjcfr Problem building on Mac concerning Qt Ui Tools 

Activities

jcfr

jcfr

2011-07-29 16:18

administrator   ~0002635

This is fixed in CMake master.
See http://cmake.org/gitweb?p=cmake.git;a=commit;h=702538eaa3315f3fcad9f1daea01e6a83928967b

jcfr

jcfr

2011-10-12 21:48

administrator   ~0003179

Using cmake-2.8.6 will avoid the problem

Issue History

Date Modified Username Field Change
2011-07-21 02:44 ccaborni New Issue
2011-07-21 03:53 finetjul Status new => assigned
2011-07-21 03:53 finetjul Assigned To => jcfr
2011-07-29 16:18 jcfr Note Added: 0002635
2011-08-25 09:29 finetjul Relationship added related to 0001275
2011-10-12 21:48 jcfr Note Added: 0003179
2011-10-12 21:48 jcfr Status assigned => closed
2011-10-12 21:48 jcfr Resolution open => fixed
2011-10-12 21:48 jcfr Fixed in Version => Slicer 4.0 RSNA
2012-08-21 09:43 jcfr Target Version => Slicer 4.0.0