Unable to link small KDE App

Dennis Cottrell DCOTTRELL at WILMAR.COM
Mon Feb 21 17:54:51 GMT 2000



	I have noticed a lot of problems here about creating an
application through the Kdevelop app wizard not being able to 	compile and
link a small KDE application. This seems to 	happen a lot on RedHat
systems. I encountered this same problem 	and seem to have a fix, if
anyone is interested :

	On the command line in your project directory type :

	./configure --x-includes=/usr/include/kde/ --x-
libraries=/usr/X11R6/lib/ --with-qt-libraries=/usr/lib/qt-	1.44/lib/
--with-qt-includes=/usr/lib/qt-1.44/include/ --with-qt-
dir=/usr/lib/qt-1.44/

	The key seems to be adding the X11R6 path to the X libraries.
	After doing this once, you can make changes to your code in
Kdevelop and compile.
	This works on my system which is a straight RedHat 6.1 install.

	I hope that someone will find this useful.

	Dennis Cottrell

	dcottrell at msn.com

	




More information about the KDevelop mailing list