kdevelop & qt 4
Imran Akbar
imranakbar at gmail.com
Sun Sep 4 17:48:20 BST 2005
Thanks Patrick,
That seems to have work, but I'm still having trouble as the mkspecs its
using is still set to the qt 3.3 ones - i tried doing an export of a
qmkspecs varaible (both in the path and in the program's make/run
variables)... plus it can't seem to find any of the qt classes, keeps saying
"QPrinter" no such file or directory for all of them.
Thanks,
Imran
On 9/4/05, Patrick Noffke <pnoffke at bigpond.com> wrote:
>
> You may need to put $QTDIR/bin in your path. I use a script
> (kdevelop-qt-x11.sh) to run a particular version of QT. It looks like
> this:
>
> ------------- begin script --------------------
> #!/bin/bash
>
> export QTDIR=/opt/qt-x11-eval-3.3.4
> export PATH=$QTDIR/bin:$PATH
>
> kdevelop $@
>
> ------------- end script --------------------
>
> Incidentally, I've tried to make KDevelop work with QT/Embedded using an
> autoconf project, and no luck (couldn't get it to run the right compiler
> with the right flags at the right times). I had much better success
> with a QMake project. Maybe you will too?
>
> Hope this helps.
>
> Patrick
>
> Imran Akbar wrote:
>
> > I've now got the latest version of kdevelop (3.2.9) which should
> > support compilation with QT 4 directly through the ide (the qt tab on
> > the c++ settings in the project settings) - the problem is I've still
> > got QT 3 on my system and qmake defaults to using that version even
> > when i've tried setting the option for qt in kdevelop itself. i've
> > set the environment variable for qtdir to the qt 4 directory, but i
> > think the problem would be solved if somehow i could get 'qmake' to
> > use the qt 4 version by default....
> >
> > any ideas?
> >
> > Thanks,
> > Imran
> >
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20050904/9fd4f6e6/attachment.html>
More information about the KDevelop
mailing list