Qt3 and KDevelop 1.4 question.

Sonic & Knuckles celtic at ix.net.au
Sat Jul 28 15:29:39 BST 2001


> No problem with qt3! I'm using it in parallel to qt2.
> Here is what I did:
> I downloaded the source.
> cd /usr/lib
> tar xvzf /downloaddir/qt-x11-free-3.0.0-beta1.tgz
> ls -s qt-x11-free-3.0.0-beta1 qt3
> export QTDIR=/usr/lib/qt3
> cd qt3
> ./configure --whatever_options
> make
>
> setup kdevelop:
> options->Documentation->Qt-Library-Doc : /usr/lib/qt3/doc/html/
> options->Path->Qt 2.x directory : /usr/lib/qt3
>
> That's it.
> Your project should compile without problems. If the compiler complains
you
> might have to add some includes. qt3 doesn't include as many headerfiles
as
> qt2, it just declares classes.
>

> - Werner -


Hello Werner,

Well I followed you instructions to the letter (well almost) I downloaded
the qt-x11-free-beta2.tar.gz (which took all of 2 hours with my very slow
connection).  I tried modifying your instructions for the RPM version I had
downloaded earlier but that failed miserably.

I followed you instructions exactly till I got to this line:

"ls -s qt-x11-free-3.0.0.beta2 qt3"

and I got the following error:

"No such file or directory"

I checked and triple checked for spelling mistakes (there were none).  So,
why am I getting this error?

I then renamed the directory to "qt3" using the "mv" command (as was listed
in the INSTALL file) and kept following your instructions.

Well, after 16+ hours of compilation, over 3 days (I only have a 200 MMX,
well I am poor) - much to the angst of the rest of the family members who
use Windows - I kept following your instructions.  I wish the
instructions had been for the RPM versions.  Much less troublesome and only
takes about 1 minute to get the files.

Oh well, onwards and downwards!

I changed the directories to the Documentation and the Qt2.x Directory as
you said to do.  Then I created a new KDE Mini project - an almost empty app
that I can add to.  I didn't add a single line of code at all.  It compiled
fine, but when I went to Make the app, the following error message was
produced:

gmake  all-recursive
gmake[1]: Entering directory `/root/relay'
Making all in relay
gmake[2]: Entering directory `/root/relay/relay'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt3/include -
I/usr/X11R6/include     -O2 -fno-exceptions -fno-check-new -Wall -pedantic -
W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-
virtual-dtor -fno-builtin -O0 -g3 -Wall  -c main.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt3/include -
I/usr/X11R6/include     -O2 -fno-exceptions -fno-check-new -Wall -pedantic -
W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-
virtual-dtor -fno-builtin -O0 -g3 -Wall  -c relay_meta_unload.cpp
relay_meta_unload.cpp: In function `void unload_relay (const char **)':
relay_meta_unload.cpp:5: `objectDict' undeclared (first use this
function)
relay_meta_unload.cpp:5: (Each undeclared identifier is reported only
once for each function it appears in.)
gmake[2]: Leaving directory `/root/relay/relay'
gmake[2]: *** [relay_meta_unload.o] Error 1
gmake[1]: Leaving directory `/root/relay'
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive-am] Error 2
*** failed ***


I have no idea what this all means, let alone how to fix it.  So now I ask
what do I do next??

Can I fix this problem?  How??
Is my computer too underpowered to run KDevelop + Qt3?
If yes, are there any other IDE's that I could use to make KDE and Qt3
applications?

If anyone can help here is a big THANKYOU in advance.

Regards,
-----------------------------------------
Vaughan Egan   ---   celtic at ix.net.au
-----------------------------------------




-
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