<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2>Thanks to Mike Jackson, for the
suggestion that I check the values of qmake, moc, uis, and uic (and set them to
the correct values if the fields are blank)</FONT>
<DIV dir=ltr><SPAN class=965330820-19122007><FONT face=Arial color=#0000ff
size=2>On my system (Ubuntu "Gutsy") the<SPAN class=707033321-19122007>
correct</SPAN> values <SPAN
class=707033321-19122007>a</SPAN>re:</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=965330820-19122007>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>/usr/bin/moc</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>/usr/bin/qmake</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>/usr/bin/uic</FONT></DIV>
<DIV dir=ltr>
<DIV dir=ltr><FONT color=#0000ff><FONT face=Arial><FONT size=2>/usr/bin/ui<SPAN
class=965330820-19122007>s</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr><FONT color=#0000ff><FONT face=Arial size=2><SPAN
class=965330820-19122007></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2><SPAN
class=965330820-19122007><SPAN class=707033321-19122007>Once these are set
within ccmake, it generates a working Makefile that produces working
executables for the QT examples.</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2><SPAN
class=965330820-19122007><SPAN
class=707033321-19122007></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2><SPAN
class=965330820-19122007><SPAN
class=707033321-19122007></SPAN></SPAN></FONT> </DIV></DIV></SPAN></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><EM><FONT face=Arial><FONT size=2><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN>I've just downloaded VTK and </SPAN>I'm
trying to compile some of the example VTK code found
in:</FONT></FONT></EM></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN
class=707033321-19122007>></SPAN></EM></FONT></DIV>
<DIV><EM><FONT face=Arial><FONT size=2><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN>
</SPAN>../VTK/VTK/Examples/GUI/Qt</FONT></FONT></EM></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>I cd to the directory above. It has
the contents<SPAN class=010122118-19122007>:</SPAN></EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>
</SPAN>CMakeCache.txt cmake_install.cmake Events
Makefile</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>CMakeFiles
CMakeLists.txt ImageViewer SimpleView</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>I type:</EM></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>ccmake
.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial><FONT size=2><EM><SPAN
class=010122118-19122007><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>but I</SPAN> am not able to
correctly set the vairable:</EM></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=010122118-19122007><EM><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>
</SPAN>DESIRED_QT_VERSION </EM></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>I have both have a standard Ubuntu
"Gutsy" installation (which seems to have both qt 3 and 4 installed<SPAN
class=010122118-19122007> by default?</SPAN>)</EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>I've tried the following values for
DESIRED_QT_VERSION:<SPAN class=010122118-19122007> </SPAN>qt4, qt 4, Qt 4, Qt
4.0, Qt4, Qt4.0, 4, 4.0, 4.3.2 (afer looking in /usr/lib)</EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>I always get the same error when I
try to configure:</EM></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>CMake was
unable to find desired QT version: 4.3.2. Set advanced values
QT_QMAKE_EXECUTABLE and QT4.3.2_QGLOBAL_FILE.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>Qt GUI
library not found.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>Qt CORE
library not found.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>CMake was
unable to find desired QT version: 4.3.2. Set advanced values
QT_QMAKE_EXECUTABLE and QT4.3.2_QGLOBAL_FILE.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>Qt GUI
library not found.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>Qt CORE
library not found.</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>CMake
Error: Error in cmake code at</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>
</SPAN>/home/msh/Documents/Research/SourceFiles/VTKStuff/VTK/VTK/Examples/GUI/Qt/SimpleView/CMakeLists.txt:37:</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN> </SPAN>Unknown
CMake command "QT4_WRAP_UI".</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial size=2><EM><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>I've looked in CMakeLists.txt, its
contents are:</EM></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial size=2><EM><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><EM><SPAN class=010122118-19122007><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>
</SPAN>SUBDIRS(ImageViewer SimpleView Events)</EM></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial size=2><EM><SPAN
class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>which doesn't seem to tell me
much.</EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><SPAN class=010122118-19122007><SPAN
class=707033321-19122007>></SPAN></SPAN>How do I correctly set this variable
(I've also tried the values: qt3, qt 3, Qt 3, Qt 3.0, Qt3, Qt3.0, 3,
3.0)?</EM></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV></BODY></HTML>