> 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 QT dependencies is long, and probably complicated and to quote the TDD notes: “”.
> another option is to patch all calitko.pro and the pro files in 3rdParty and its subdirs adding the
> following line:
> QMAKE_QMAKE = qmake-qt4
> Then just in case remove all Makefiles (also in 3rdParty) and try qmake-qt4 && make again.
Ok. Tried that. Have got a little further.
Got some more “WARNING:” messages. (See attach 1) and then it fails to find:-
generators/metamakefile.cpp:380:25: error: msvc_nmake.h: No such file or directory etc.
So after having a ‘grep’ around I found macros called QMAKE_EDITION_OPENSOURCE as well as QMAKE_OPENSOURCE_EDITION?
Is this a typo?
So continuing today:
> Maybe adding this line to qmake.pro and moc.pro should help further:
> QMAKE_CXXFLAGS += QMAKE_OPENSOURCE_EDITION
Tried that but changed it to:-
QMAKE_CXXFLAGS += -DQMAKE_OPENSOURCE_EDITION
after getting:
g++: QMAKE_OPENSOURCE_EDITION: No such file or directory
But no joy!
Still get:
WARNING: Failure to find: generators/win32/borland_bmake.cpp
WARNING: Failure to find: generators/win32/msvc_nmake.cpp
WARNING: Failure to find: generators/win32/msvc_dsp.cpp
WARNING: Failure to find: generators/win32/msvc_vcproj.cpp
WARNING: Failure to find: generators/win32/msvc_objectmodel.cpp
WARNING: Failure to find: generators/win32/borland_bmake.h
WARNING: Failure to find: generators/win32/msvc_nmake.h
WARNING: Failure to find: generators/win32/msvc_dsp.h
WARNING: Failure to find: generators/win32/msvc_vcproj.h
WARNING: Failure to find: generators/win32/msvc_objectmodel.h
But it does compile generators/metamakefile.cpp ok.
It stops at:-
g++ -c -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -g -D_REENTRANT -Wall -W -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_UNICODETABLES -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I. -o ./projectgenerator.o generators/projectgenerator.cpp
make[2]: *** No rule to make target `generators/win32/borland_bmake.cpp’, needed by `borland_bmake.o’. Stop.
Attached Files:
build_2.log 10K
