QT compilation with KDE widget support in designer

Torsten Evers tevers at t-online.de
Wed Feb 7 16:17:11 GMT 2001


Hi !
Am Dienstag,  6. Februar 2001 19:31 schrieben Sie:
> Torsten Evers wrote:
> > > > I tried to compile QT 2.2.4 with KDE widget support in designer.
> > > > There occurs an error while compiling ../integration/kdewidgets.cpp.
> > > > The kde includes are missing. But I configured with -kde and
> > > > -I/usr/include/kde (RH 7). Any hints ?
> > > you need to export your KDE Dir. As RH doesn´t have the kde includes in
> > > a separate KDEDIR, you need to copy/move them somewhere to
> > > /usr/local/kde/include, then export KDEDIR=/usr/local/kde.
> >
> > Thanks, it now compiles ok but after starting designer I don't see any
> > kde widgets in the toolbar nor do I see any possibility to get them and
> > they aren't mentioned in the documentation. Am I too blind ? :-)
> You are ;-)
> It´s under "Tools" -> "KDE" ;-)
No, I'm not. It isn't there. I had a closer look at the compile log and found 
that configure said "kde support disabled" because it could not find a valid 
kde2 installation. A closer look in the configure script showed that it tests 
the presence of kde2 with the following script:
if [ $KDE = yes ] then     
	if [ '!' -f $KDEDIR/bin/dcopserver ]     then
	         KDE=no         
		echo ""         
		echo "You wanted to compile the Qt Designer with"         
		echo "KDE2 support, but \$KDEDIR does not point"         
		echo "to a valid KDE2 installation. KDE support"         
		echo "has been turned off."         
		echo ""     
	fi 
fi

So it loos wether dcopserver is present or not. I'll try to cheat it with 
/usr/local/kde/include 
and
/usr/local/kde/bin/dcopserver.

I'll come back later and report if it was successful.

Bye,
Torsten


-- 
**************************************************************
* Torsten Evers      ICQ: 58016070        tevers at t-online.de *
* ---   All messages generated on Linux 2.4.0 system    --- *
**************************************************************



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list