David García Garzón
dgarcia at iua.upf.edu
Fri Feb 8 07:16:33 PST 2008
Such error often happens due to a missconfigured QTDIR or less likely bad
content on the pkg-config files. Notice that the moc call is already using
the -I option to add all Qt related include paths. Notice also that some of
the include headers point to /usr/include/qt4 but others point
to /usr/include. That missmatch is a bad smell. You were working with SuSe,
weren't you? Where do SuSe place qt libs and includes? what does this command
pkg-config --libs --cflags <all the non-debug QtModules>
To see which pkg-config Qt modules you have available do:
On Divendres 08 Febrer 2008, oc2pus at arcor.de wrote:
> I can compile all new clam programs, but for clam-networkeditor I get the
> following error:
> == Compiling shared src/generated/qrc_images.cxx
> /usr/bin/moc -I/var/tmp/libclam1-1.2.0-0.pm.1-buildroot/usr/include
> -I/usr/local/include -I/usr/include/alsa -I/usr/include/qt4
> -I/usr/include/qt4/QtDesigner -I/usr/include/QtCore -I/usr/include/QtGui
> -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg
> -I/usr/include/QtUiTools -o
> src/clamWidgetsPlugin/KeySpacePlugin.hxx:33: Error: Undefined interface
> scons: *** [src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx] Error 1
> scons: building terminated because of errors.
> In google I found only solutions for cmake based build-systems for the
> error "Undefined interface"
> " ....You need to add
> SET(QT_USE_QTDESIGNER ON)
> So the designer include paths can be added to your project. By default,
> QtGui and QtCore are the only two included. ...."
> but how to do this setting in a scons based build ?
> have fun
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the clam-devel