Re: [ANNOUNCE qgit-0.94]
From: Marco Costalba <hidden>
Date: 2016-06-15 22:42:05
Sven Verdoolaege wrote:
I had installed qt 4.0.1 in the mean time, because apparently the 3.1.2 I had installed before was too old.
QGit is build against qt3-devel-3.3.4 Qt 4 is known to be NOT compatible with qt3.
It seems to have installed itself in /usr though. Removing the -I/usr/include/qt3 from SConstruct _seems_ to make annotate.cpp compile. But now I get this: bash-3.00$ QTDIR=/usr/ make scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... /usr//bin/uic -o src/commitbase.h src/commitbase.ui /usr//bin/uic -impl commitbase.h -o src/uic_commitbase.cc src/commitbase.ui /usr//bin/moc -o src/moc_commitbase.cc src/commitbase.h uic: File generated with too old version of Qt Designer File 'src/commitbase.ui' is not valid scons: *** [src/commitbase.h] Error 1 scons: building terminated because of errors. make: *** [all] Error 2 How can I create src/commitbase.ui ?
moc_* files are created by /usr/bin/moc, called automatically by scons, *base.h and *base.cpp files are created by /usr/bin/uic from corresponding *base.ui file, also uic is called automatically. uic and moc are binary files distributed with qt package IMHO your uic and moc binary are from Qt4 instead of Qt3. That's could explaing the 'uic: File generated with too old version of Qt Designer' error. Please remove qt4 and install qt3-devel-3.3.4 Marco ______________________________________________________ Yahoo! for Good Watch the Hurricane Katrina Shelter From The Storm concert http://advision.webevents.yahoo.com/shelter