QT 2.0 and Kdevelop

Suran suran at gmx.net
Mon Jun 28 15:57:04 BST 1999



Martin Piskernig wrote:
> 
> Am Sun, 27 Jun 1999 schrieben Sie:
> > On Sun, 27 Jun 1999, Martin Piskernig wrote:
> > > Am Sun, 27 Jun 1999 schrieben Sie:
> > > > I'm interested in using the new 2.0 version of Qt with Kdevelop, but I'm not
> > > > sure how to go about this. How do I get KDevelop to link my program with the
> > > > new library and not the old?
> > >
> > > Hi!
> > >
> > > I´m not really sure if KDevelop compiles with qt2 (have to try it later)
> >
> > That will teach me to be more precise in my use of language!
> >
> > What I really wanted to ask, is how to link my *projects* to qt2.0. I need to
> > keep qt1.4 around for KDE and Kdevelop to use, but want the qt2.0 for my own
> > programs.
> 
> You can do the same (rename paths, edit /etc/ld.so.conf...). Then you have the
> qt1 libs(as libqt*.so are the only thing needed for kde) for your old progs and
> qt2 libs and includes for your new.
> 
> Martin

What about simply linking to -lqt.so.2 and including the headers with
-I/usr/lib/qt.2/include?
Can it be done so the search is done in the right order?



More information about the KDevelop mailing list