Unable to link small KDE App

Joachim nuklear at singnet.com.sg
Mon Feb 21 23:36:45 GMT 2000


Dennies,

wenn I originally installed Kdevelop ./configure did not do it's job
unless I used:
./configure --with-qt-dir=/my_path_to_qt
--with-qt-includes=/my_path_to_qt_includes 
--with-qt-libraries=/my_path_toqt_lib

wenn I then used the AppWizard the fist time I noticed the same errors
that I had during the initial
configure.
Specifying these same options again under BUILD-->OPTIONS sorted the
problem out.

And yes I'm also using RH 6.1 K-2.2.14

Dennis Cottrell wrote:
> 
>         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.

Thank's for pointing it out! I thought I would be the only one?!
> 
>         Dennis Cottrell
> 
>         dcottrell at msn.com
> 
>




More information about the KDevelop mailing list