[Cmake] Linux icc build of CMake has two tests failing

Wheeler, Frederick W (Research) wheeler at crd . ge . com
Fri, 3 Oct 2003 15:49:38 -0400


> > The QT libraries are in /usr/lib on a Linux system, so they 
> must have
> > been compiled by gcc.  How do you turn off the QT tests?  
> Will setting
> > this
> >
> >   QT_QT_LIBRARY:FILEPATH=IGNORE
> >
> > for the configuration of CMake propagate down to Tests/Wrapping?
> 
> That should prevent the qt tests from being added at all. You 
> could also
> set QT_INCLUDE_DIR to be empty as well.

Thanks.  This is what I will do.  I'm trying it out right now.

I took a shot at compiling Qt (X11, free, 3.2.1) with icc.  The TrollTech
website notes that this has been done, but it did not work out of the box
for me.  I got some odd compiler error during the configure stage that I'm
not going to try to track down.

Just in case anyone is curious, this is the configure command I tried.

echo yes | \
CC=/software/comp_intel/7.0/compiler70/ia32/bin/icc \
CXX=/software/comp_intel/7.0/compiler70/ia32/bin/icc \
./configure \
  -prefix /scratch/wheeler/qt-x11-free-3.2.1-icc \
  -platform linux-icc

-Fred