[vtkusers] Problem compiling VTK CVS -version (15.12.2005) with GUISupport
Clinton Stimpson
clinton at elemtech.com
Mon Dec 19 11:36:35 EST 2005
Replace QT_INCLUDE_DIR's value with the correct value.
You can also fix your FindQt4.cmake file to fix the order of paths it
searches for QT_INCLUDE_DIR, so you don't have this problem again.
Or a newer version of CMake might have this fix.
Clint
Till Bentz wrote:
> Hi.
> Checked the CMakeCache.txt and found the following Qt3 settings:
> ------------------------------
> --
> //Where can the qglobal.h file be found
> QT3_QGLOBAL_H_FILE:FILEPATH=/usr/lib/qt-3.3/include/qglobal.h
>
> //What is the path where the file qt.h can be found
> QT_INCLUDE_DIR:PATH=/usr/lib/qt- 3.3/include
>
> //Where can the qassistantclient library be found
> QT_QASSISTANTCLIENT_LIBRARY:FILEPATH=/usr/lib/qt-3.3/lib/libqassistantclient.a
>
> //Where can the qassistantclient library be found
> QT_QASSISTANTCLIENT_LIBRARY:FILEPATH=/usr/lib/qt-
> 3.3/lib/libqassistantclient.a
>
> -----------------------------------------------------------
> Shall I just delete them?
> Thanks for the help.
>
>
> 2005/12/16, Clinton Stimpson <clinton at elemtech.com
> <mailto:clinton at elemtech.com>>:
>
> Check your CMakeCache.txt file and make sure there are no Qt3
> settings in there.
> Sometimes CMake can get them mixed up.
>
> Clint
>
> > Date: Fri, 16 Dec 2005 14:51:28 +0100
> > From: Till Bentz < till at onyxus.de <mailto:till at onyxus.de>>
> > Subject: [vtkusers] Problem compiling VTK CVS -version (15.12.2005)
> > with GUISupport
> > To: vtkusers at vtk.org <mailto:vtkusers at vtk.org>
> >
> > Hi!
> > I'm trying to get the cvs version of vtk with qt guisupport
> running on my
> > fedora c3 installation. Works all right until building of the
> GUISupport
> > section.
> > I have QT 4.0.1 and the CVS version of vtk from yesterday.
> >
> > This is the error I get:
> > ----------------------------------------------------
> > /home/kublai/VTK-build/GUISupport/Qt: building default_target
> > Building dependencies. cmake.depends...
> > Building object file vtkEventQtSlotConnect.o...
> > Building object file QVTKWidget.o...
> > Building object file moc_QVTKWidget.o...
> > /home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:12:2:
> #error "The
> > header file 'QVTKWidget.h' doesn't include <QObject>."
> > /home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:53:
> error: `const
> > QMetaObject QVTKWidget::staticMetaObject' is not a static member
> of `class
> > QVTKWidget'
> > /home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:53:
> error: variable
>
>
>
>
>
> --
> MfG
> Till
>
> **********************************************
> Der Benutzer ist eine nicht zu
> tolerierende Quelle der Unsicherheit
> **********************************************
More information about the vtkusers
mailing list