[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Qt



On Mon, Nov 05, 2001 at 09:48:49PM -0700, David Bishop wrote:
> On Monday 05 November 2001 09:36 pm, Josh Hansen wrote:
> > In any configure script that checks for Qt, I get this error message:
> >
> > "checking for Qt... configure: error: Qt (>= Qt 2.2.1) (libraries) not
> > found. Please check your installation!
> > For more details about this problem, look at the end of config.log."
> >
> > Of course one would think that means Qt isn't installed, but alas, I'm
> > running KDE which uses Qt so that isn't so.
> > Maybe the header files just aren't there? Well, I have the libqt-dev
> > package too. Hmmm... what else could it be? Maybe I need to simply
> > reinstall the libqt2 package? Nope, tried that. Golly gee willikers
> > nothing's working!
> >
> > Ok, I'm done with my sarcastic rundown of already-tried options. Any idea
> > why my system just doesn't seem to realize that it has Qt 2.3.1 installed?
> > This is preventing me from compiling a number of programs and from starting
> > a new project of my own. :-(
> >
> > Well, I'll survive. Thank you for any suggestions - maybe I've stumbled on
> > some previously unexpected contingency that needs to be dealt with. Thanks!
> >
> > - Josh
> 
> When compiling, you will have to pass --with-extra-libs=/usr/lib/kde2 
> --with-extra-includes=/usr/include/kde.  Otherwise, it won't work.

the -extra-libs isn't necessary..only modules go into that dir...

what you need to make sure is this:

  1: you have libqt-dev installed
  2: you use --with-qt-includes=/usr/include/qt   (or force it to look there)
  

Ivan

-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: