> 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
>
> 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
Mine found in /usr/lib64:
grep QT_EDITION -r /usr/lib64/qt4/mkspecs
/usr/lib64/qt4/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.
Ok. Applied it to qmake.pro
>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
I didn’t alter $PATH as I am calling qmake-qt4:-
> /usr/bin/qmake-qt4 -v
QMake version 2.01a
Using Qt version 4.3.0 in /usr/lib64
Is that ok? Or is qmake still being called somehow?
>
> 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.
Anyway I have now got as far as:-
g++ -m64 -o moc ./moc.o ./preprocessor.o ./main.o ./generator.o ./parser.o ./token.o ./TestGenerator.o -lQtGui -lQtCore -lpthread
make[2]: Leaving directory `/home/gander/PROJ/calitko-0.6.1/3rdParty/moc’
make[1]: Leaving directory `/home/gander/PROJ/calitko-0.6.1/3rdParty’
make -f Makefile.calitko-wrapper
make[1]: Entering directory `/home/gander/PROJ/calitko-0.6.1′
3rdParty/qmake/qmake tester.pri -unix -o Makefile.calitko-wrapper.tester
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: tester.pri
Sorry if this getting tedious.
I am keen to keep going.
Giles
