[Clam-devel] Clam-networkeditor-1.2

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 
returns?
	pkg-config --libs --cflags <all the non-debug QtModules>
To see which pkg-config Qt modules you have available do:
	ls /usr/lib/pkgconfig/Qt*


On Divendres 08 Febrer 2008, oc2pus at arcor.de wrote:
> Hi,
>
> 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/generated/moc_KeySpacePlugin.cxx
> src/clamWidgetsPlugin/KeySpacePlugin.hxx
> 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)
> before
> include(${QT_USE_FILE})
>
> 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
> Toni
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080208/7b0d2273/attachment-0001.sig>


More information about the clam-devel mailing list