PDA

View Full Version : Checking QT versions



tanner
07-07-2005, 11:21 AM
Modified Files:
Tag: pre_5_0_beta
acinclude.m4
Log Message:

Check QT against 3.2.0 minimum (hopefully).


Index: acinclude.m4
================================================== =================
RCS file: /cvsroot/seq/showeq/acinclude.m4,v
retrieving revision 1.9.16.6
retrieving revision 1.9.16.7
diff -u -d -r1.9.16.6 -r1.9.16.7
--- acinclude.m4 18 Apr 2005 03:13:23 -0000 1.9.16.6
+++ acinclude.m4 7 Jul 2005 16:10:32 -0000 1.9.16.7
@@ -714,7 +714,7 @@
AC_MSG_ERROR([Please verify your Qt devel install!]);
fi;

-qt_target_version="3.1.0"
+qt_target_version="3.2.0"

if test $qt_major_version -le 1 ; then
AC_MSG_ERROR([Please Make sure $qt_target_version or later is installed!!!]);


This doesn't do what you expect. You need to look at the logic below the qt_target_version.

To test your patch I changed qt_target_version = "5.0.0"



$ make -f Makefile.dist no-backup
<snip>
$ ./configure
<snip>
checking for Qt... yes
>> Found version.: 3.3.4
>>> Headers......: /usr/include/qt3/
>>>> Libraries...: /usr/lib/
<snip>
Success!
Please run:
make


Try the patch (to anonymous cvs head) attached. Also put it into the sf patch manager https://sourceforge.net/tracker/index.php?func=detail&aid=1234307&group_id=10131&atid=310131