Re: Build Errors: calitko-0.6.1

Hi Giles,

I downloaded and compiled Qt4.3 and calitko does compile without problems!

Your problem seems to be that your Qt install does not define

QT_EDITION = OpenSource

or maybe uses some mkspecs from Qt3.3. Here is where mine defines it:

grep QT_EDITION -r /usr/local/Trolltech/Qt-4.3.0/mkspecs/
/usr/local/Trolltech/Qt-4.3.0/mkspecs/qconfig.pri:QT_EDITION = OpenSource

Just adding the QT_EDITION = OpenSource line to your qmake.pro or to qmake.pri right before the contains (QT_EDITION, OpenSource) line will fix the problem.

And to avoid patching our project files because of qmake-qt4, you could instead do what I did:

make distclean
export PATH=/usr/local/Trolltech/Qt-4.3.0/bin/:$PATH
qmake --version
QMake version 2.01a
Using Qt version 4.3.0 in /usr/local/Trolltech/Qt-4.3.0/lib

This way I can use two Qt versions at the same time - the one from the repo and my local install.

Btw I already merged our patched qmake with the qmake from Qt4.3.0 on a local branch. That actually worked quite well thanks to bzr. I only had to resolve three conflicts. I guess merging moc will be just as easy. I would not push these versions to the official branch thought because that would force everybody to use Qt4.3 and that is not necessary at that point.

Regards,

Peter

Would you like to post a relpy?


This post is a reply to:
Re: Build Errors: calitko-0.6.1
> It’ll be nice if you could try to build with Qt4.3. Sure. > One option is to change you symlink in /usr/bin Not too keen on doing that. The list of (more...)

Follow-ups:
Re: Build Errors: calitko-0.6.1
> Hi Giles, Hi Peter. Bit of progress. > I downloaded and compiled Qt4.3 and calitko does compile without problems! > Your problem seems to be that your Qt install does not define > >  (more...)