Qt not found on creating project

Ralf Nolden nolden at kde.org
Thu Aug 16 05:20:53 BST 2001


On Thursday, 16. August 2001 05:35, you wrote:
> Pascal,
>
> I has exactly same problem with KDevelop 1.2 (also on RH7.0).  I really
> hope to get an solution to
> the problem.
>
> Shouldn't the KDevelop setup set the QT library path properly? Could you go
> into some details?
>
> Many thanks.
>
> Yan
The thing is that with up to 1.2 we supposed that this was working by itself, 
users usually hat QTDIR exported and the headers and libraries were picked up 
by the configure scripts automatically. That was at Qt 1.44 times. Later, we 
had the possibility to create KDE 2 apps which required having qt 1.44 and qt 
2.x installed at the same time. For kdevelop to pick up the right one on KDE 
2 and qt 2 apps, we used --with-qt-dir= as a configure parameter that works. 
So the field in the kdevelop configuration to set the qt 2 path is evidently 
to be used as the contents for that parameter to pick up the right version. 
In kdevelop 3 I will try to make this as generic as possible to graphically 
configure the parameters, and more clearly.

I suggest you update to kdevelop 1.4 or 2.0 for now and set QTDIR in your 
.bashrc to be on the safe side. Currently, it usually works without using the 
kdevelop setup dialog to let configure pick up the right version.

Ralf
>
>
>
>
> "Pascal A. Niklaus" <Pascal.Niklaus at unibas.ch> on 16/08/2001 12:44:18
>
> Please respond to kdevelop at kdevelop.org
>
> To:   kdevelop at kdevelop.org
> cc:    (bcc: Yan Kuang/VIC/NAB/NAG_AP)
>
> Subject:  Re: Qt not found on creating project
>
>
>
>
> Your QT library path is probably not set properly. Check $QTDIR.
>
> In any case, I recommend that you switch to KDevelop 1.4 (running with KDE
> 2) and a newer version of Qt (2.3.1 is the current one) or better KDevelop
> 2.0 (out today, requires KDE 2.2).
>
> KDevelop improved a lot.
>
> Pascal
>
> At 01:16 PM 16/08/2001, you wrote:
> >I'm using kdevelop 1.2 on RH7.0,when creating a project named Ad using
> >
> >application wizard,I got a error message like
> >
> >
> >
> >
> >
> >Process window:
> >
> >--------------------------------------------------------------------------
> >-
> >
> >...
> >
> >...
> >
> >checking for Qt...
> >
> >creating API documentation...
> >
> > >kdoc -p -d
> >
> > /home/bigtiger/ad/ad/api/usr/share/doc/kdelibs-devel-1.1.2//kdoc-referenc
> >e
> >
>  >  Ad *.h
> >
> >creating user documentation...
> >
> > >sgml2html index.sgml
> >
> >Processing file index.sgml
> >
> >creating ad.pot
> >
> > >make messages
> >
> >READY
> >
> >-----------------------------------------------------------------------
> >
> >
> >
> >message window:
> >
> >---------------------------------------------------------------------
> >
> >configure: error: Qt (>= 1.42 and < 2.0) (libraries) not found. Please
> > check
> >
> >your installation!  Can't read from Ad at /usr/bin/kdoc line 232
> >
> >         main::parseFiles() called at /usr/bin/kdoc line 162
> >
> >make: ***
> >
> >No rule to make target `messages
> >
> >.  Stop.
> >
> >----------------------------------------------------------------------
> >
> >
> >
> >I have checked the kdevelop setup in options menu,I set the entry "Qt
> > 2.x/KDE
> >
> >path" to "/usr/lib/qt-1.45"(also I've tried setting it to qt-2.20),and I
> > set
> >
> >"KDE 2.X Directory" to /usr(I got this by "set|grep KDE"),but the same
> >
> >error.What's wrong with it?
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body:
> unsubscribe ?your-email-address?
>
>
>
>
>
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment	The KDevelop Project
http://www.kde.org		http://www.kdevelop.org


-
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