Changeset 870
- Timestamp:
- Oct 23, 2008, 3:22:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Configure
r869 r870 206 206 g4vis_xmhome='' 207 207 g4vis_xmlibs='' 208 g4_qthome='' 208 g4_qtmochome='' 209 g4_qtincdir='' 210 g4_qtlibdir='' 209 211 g4ui_build_qt_session='' 210 212 g4ui_use_qt='' … … 289 291 g4ui_build_qt_session='n' 290 292 g4ui_use_qt='n' 291 g4_qthome='' 293 g4_qtmochome='' 294 g4_qtincdir='' 295 g4_qtlibdir='' 292 296 #END QT UI OPTIONS 293 297 #INITIALIZE QT UI OPTIONS 294 298 g4ui_build_qt_session='n' 295 299 g4ui_use_qt='n' 296 g4_qthome='' 300 g4_qtmochome='' 301 g4_qtincdir='' 302 g4_qtlibdir='' 297 303 #END QT UI OPTIONS 298 304 #INITIALIZE QT VIS DRIVER OPTIONS … … 477 483 override='' 478 484 knowitall='' 485 echo "*********" 486 echo `pwd` 487 echo "*********" 479 488 rm -f optdef.sh 480 489 cat >optdef.sh <<EOS … … 4303 4312 # We only perform the query/probe for Linux-g++ and Darwin-g++ systems.. 4304 4313 # 4305 if test "x$g4system" = "xLinux-g++" -o "x$g4system" = "xDarwin-g++" ; then4314 #if test "x$g4system" = "xLinux-g++" -o "x$g4system" = "xDarwin-g++" ; then 4306 4315 4307 4316 # Now, IF g4ui_none HAS NOT BEEN SET TO Y, proceed to the query/probe section … … 4318 4327 user interface module and the use of this module in your applications 4319 4328 respectively. 4320 The Qt 4headers, libraries and binaries are required to enable the4329 The Qt headers, libraries and binaries are required to enable the 4321 4330 building of this module. 4322 ### WARNING! THIS FEATURE IS EXPERIMENTAL IN THIS RELEASE! ###4323 ### WARNING! THIS FEATURE WILL ONLY WORK WITH Qt4! ###4324 4331 Do you want to enable build and use of this module? 4325 4332 EOM` … … 4360 4367 g4_havegoodqt=no 4361 4368 4362 g4_qthome=`./loc qglobal.h no /usr/include/Qt /usr/local/include/Qt /opt/local/include/Qt /sw/include/Qt` 4363 4364 echo "checking for Qt4 installation... $g4_qthome" 4365 4366 #If we found an installation, proceed to other tests. 4367 if test "x$g4_qthome" != "xno" ; then 4368 4369 #Set Qt installation to good at this point 4370 g4_havegoodqt=yes 4369 # Look for qt4 moc 4370 g4_qtmochome=`./loc moc no $QTDIR/bin /usr/lib/qt4/bin /usr/lib/qt/bin /usr/local/qt/bin /usr/local/bin /usr/bin /bin /usr/share/qt4/bin /usr/X11R6/bin /sw/bin` 4371 if test "x$g4_qtmochome" = "xno" ; then 4372 # Look for qt3 moc 4373 g4_qtmochome=`./loc moc no /usr/lib/qt3/bin /usr/share/qt3/bin` 4374 fi 4371 4375 4372 #Check that this is Qt4... 4373 g4_qtver=`$grep QT_VERSION_STR $g4_qthome | $sed 's/.* \"\([0-9]\)\..*\"/\1/'` 4374 4375 echo "checking Qt version... $g4_qtver" 4376 4377 #Now strip qthome back so we can check for moc... 4378 g4_qthome=`dirname $g4_qthome` 4379 g4_qthome=`dirname $g4_qthome` 4380 g4_qthome=`dirname $g4_qthome` 4381 4382 #If version is o.k, check for moc 4383 if test "x$g4_qtver" = "x4" ; then 4384 #Check for moc 4385 g4_qthavemoc=`./loc moc no $g4_qthome/bin` 4386 4387 echo "checking for moc... $g4_qthavemoc" 4388 4389 if test "x$g4_qthavemoc" = "xno" ; then 4390 g4_havegoodqt=no 4391 fi 4392 else 4393 g4_havegoodqt=no 4394 fi #END CHECK Qt VERSION 4395 fi #END CHECK QTHOME 4376 # if not found 4377 if test "x$g4_qtmochome" != "xno" ; then 4378 echo "checking Qt moc tool in... $g4_qtmochome" 4379 # check Qt version 4380 g4_qtver=`$g4_qtmochome 2>&1 -v | $sed 's/.* .Qt \([0-9]\)\..*/\1/' ` 4381 echo "checking Qt version... $g4_qtver" 4382 if test "x$g4_qtver" = "x3" || test "x$g4_qtver" = "x4" ;then 4383 4384 # checking includes first get QTDIR location, then qt$g4_qtver, sw, standard, shared, X11 4385 4386 incQtFiles=" $QTDIR/include /usr/include/qt$g4_qtver /usr/include/qt$g4_qtver/Qt /usr/lib/qt$g4_qtver/include /sw/include/qt /usr/lib/qt/include /usr/local/qt/include /usr/local/include /usr/include /usr/include/qt /usr/share/qt$g4_qtver/include /usr/X11R6/include /usr/X11R6/include/qt$g4_qtver /usr/X11R6/include/qt" 4387 4388 if test "X$g4osname" = "XDarwin" && test "X$g4_qtver" = "X4"; then 4389 incQtFiles="$incQtFiles /Library/Frameworks/QtCore.framework/Headers/" 4390 g4_qtincdir=`./loc qglobal.h no $incQtFiles` 4391 if test "x$g4_qtincdir" != "xno" ; then 4392 g4_qtincdir="/Library/Frameworks" 4393 fi 4394 else 4395 g4_qtincdir=`./loc qglobal.h no $incQtFiles` 4396 fi 4397 4398 4399 if test "x$g4_qtincdir" != "xno" ; then 4400 if test "x$g4_qtincdir" != "x/Library/Frameworks" ; then 4401 g4_qtincdir=`dirname $g4_qtincdir` 4402 fi 4403 echo "checking Qt includes dir in... $g4_qtincdir" 4404 4405 4406 # checking libs, includes first get QTDIR location, then qt$g4_qtver, sw, standard, shared, X11 4407 4408 libQtFiles="$QTDIR/lib $QTDIR/lib64 /usr/lib/qt$g4_qtver/lib /usr/lib/qt$g4_qtver/lib64 /usr/lib/qt$g4_qtver /usr/lib/qt$g4_qtver /sw/lib /sw/lib/qt /sw/lib/qt$g4_qtver /sw/lib/qt$g4_qtver/lib /usr/lib/qt/lib /usr/local/qt/lib /usr/local/lib /usr/lib /usr/lib/qt /usr/share/qt$g4_qtver/lib /usr/X11R6/lib/qt /usr/X11R6/lib/qt$g4_qtver /usr/X11R6/lib /usr/X11R6/lib/qt" 4409 4410 if test "X$g4osname" = "XDarwin" && test "X$g4_qtincdir" = "X/Library/Frameworks" ; then 4411 g4_qtlibdir=`./loc QtCore no /Library/Frameworks/QtCore.framework/Versions/$g4_qtver/ $libQtFiles` 4412 g4_qtlibdir=`dirname $g4_qtlibdir` 4413 g4_qtlibdir=`dirname $g4_qtlibdir` 4414 g4_qtlibdir=`dirname $g4_qtlibdir` 4415 else 4416 g4_qtlibdir=`./loc libqt* no $libQtFiles` 4417 fi 4418 if test "x$g4_qtlibdir" != "xno" ; then 4419 g4_qtlibdir=`dirname $g4_qtlibdir` 4420 echo "checking Qt lib dir in... $g4_qtlibdir" 4421 g4_havegoodqt=yes 4422 else 4423 echo "Failed to find Qt lib dir in : $libQtFiles" 4424 fi 4425 else 4426 echo "Failed to find Qt includes dir in : $incQtFiles" 4427 fi #END CHECK QTLIBS 4428 else 4429 echo "Qt $g4_qtver is not actually support with this driver" 4430 fi #END CHECK QTINC 4431 fi #END CHECK QTVER 4396 4432 # 4397 4433 # END QT AUTOPROBE … … 4410 4446 g4message=`cat << EOM 4411 4447 4412 Autodetection failed to locate Qt 4 in $qthomelocon your system.4413 Please enter the path to your Qt 4 install (i.e. if Qt4is installed4414 in PATH/include/Qt, or PATH/include , enter PATH), or type '-' to4448 Autodetection failed to locate Qt on your system. 4449 Please enter the path to your Qt install (i.e. if Qt is installed 4450 in PATH/include/Qt, or PATH/include $PATH/include/qt, enter PATH), or type '-' to 4415 4451 CANCEL the build of the Qt UI module. 4416 4452 Qt path: 4417 4453 EOM` 4418 4454 dflt="/usr" 4455 g4_qtmochome="/usr" 4419 4456 fn='d~(-)' 4420 4457 rp=$g4message … … 4425 4462 g4ui_build_qt_session=n 4426 4463 g4ui_use_qt=n 4427 g4_qthome=""4428 4464 echo "build/use of Qt UI module cancelled..." 4429 4465 promptend=yes … … 4434 4470 qthomeloc=$ans 4435 4471 g4_havegoodqt=no 4436 g4_qthome=`./loc qglobal.h no $ans/include/Qt $ans/include` 4437 4438 echo "checking for Qt4 installation... $g4_qthome" 4439 4440 #If we found an installation, proceed to other tests. 4441 if test "x$g4_qthome" != "xno" ; then 4442 #Set Qt installation to good at this point 4443 g4_havegoodqt=yes 4444 4445 #Check that this is Qt4... 4446 g4_qtver=`$grep QT_VERSION_STR $g4_qthome | $sed 's/.* \"\([0-9]\)\..*\"/\1/'` 4447 4448 echo "checking Qt version... $g4_qtver" 4449 4450 #Now strip qthome back so we can check for moc... 4451 g4_qthome=`dirname $g4_qthome` 4452 4453 #At this point we could have include/Qt 4454 #or include 4455 if test `basename $g4_qthome` = "Qt" ; then 4456 g4_qthome=`dirname $g4_qthome` 4457 g4_qthome=`dirname $g4_qthome` 4458 else 4459 g4_qthome=`dirname $g4_qthome` 4460 fi 4461 4462 #If version is o.k, check for moc 4463 if test "x$g4_qtver" = "x4" ; then 4464 #Check for moc 4465 g4_qthavemoc=`./loc moc no $g4_qthome/bin` 4466 4467 echo "checking for moc... $g4_qthavemoc" 4468 4469 if test "x$g4_qthavemoc" = "xno" ; then 4470 g4_havegoodqt=no 4471 fi 4472 else 4473 g4_havegoodqt=no 4474 fi #END CHECK Qt VERSION 4475 fi #END CHECK QTHOME 4476 4477 #If we have a good Qt, end prompt 4478 if test "x$g4_havegoodqt" = "xyes" ; then 4479 promptend=yes 4480 fi 4472 4473 4474 # check for moc 4475 4476 g4_qtmochome=`./loc moc no $ans/bin` 4477 if test "x$g4_qtmochome" = "xno" ; then 4478 while test "x$promptend" = "xno" ; do 4479 g4message=`cat << EOM 4480 4481 Failed to locate Qt moc tool on your system. 4482 Please enter the path to your Qt moc tool install or type '-' to 4483 CANCEL the build of the Qt UI module. 4484 Qt moc path: 4485 EOM` 4486 fn='d~(-)' 4487 rp=$g4message 4488 . ./getfile 4489 4490 #Check for user cancellation 4491 if test "x$ans" = "x-" ; then 4492 g4ui_build_qt_session=n 4493 g4ui_use_qt=n 4494 echo "build/use of Qt UI module cancelled..." 4495 promptend=yes 4496 4497 else 4498 #We want to probe for Qt in the user supplied directory 4499 echo " " 4500 # check for moc 4501 g4_qtmochome=`./loc moc no $ans/bin` 4502 if test "x$g4_qtmochome" != "xno" ; then 4503 promptend=yes 4504 fi 4505 fi 4506 done 4507 fi # ASK FOR QT MOC 4508 if test "x$g4_qtmochome" != "xno" ; then 4509 echo "checking Qt moc tool in... $g4_qtmochome" 4510 fi 4511 4512 # if moc ok, then check for version 4513 if test "x$g4_qtmochome" != "xno" ; then 4514 g4_qtver=`$g4_qtmochome 2>&1 -v | $sed 's/.* .Qt \([0-9]\)\..*/\1/' ` 4515 echo "checking Qt version... $g4_qtver" 4516 4517 if test "x$g4_qtver" = "x3" || test "x$g4_qtver" = "x4";then 4518 4519 # if version ok check for includes 4520 # checking includes in qt$g4_qtver, then standard 4521 incQtFiles="$qthomeloc/lib/qt$g4_qtver/include $qthomeloc/include/qt$g4_qtver/Qt $qthomeloc/include/qt$g4_qtver $qthomeloc/include $qthomeloc/include/Qt " 4522 4523 if test "X$g4osname" = "XDarwin" && test "X$g4_qtver" = "X4"; then 4524 incQtFiles="$incQtFiles /Library/Frameworks/QtCore.framework/Headers/ $qthomeloc/QtCore.framework/Headers/" 4525 g4_qtincdir=`./loc qglobal.h no $incQtFiles` 4526 if test "x$g4_qtincdir" != "xno" ; then 4527 g4_qtincdir=`dirname $g4_qtincdir` 4528 g4_qtincdir=`dirname $g4_qtincdir` 4529 fi 4530 else 4531 g4_qtincdir=`./loc qglobal.h no $incQtFiles` 4532 fi 4533 if test "x$g4_qtincdir" = "xno" ; then 4534 while test "x$promptend" = "xno" ; do 4535 g4message=`cat << EOM 4536 4537 Failed to locate Qt include directory on your system. 4538 Please enter the path to your Qt include directory install or type '-' to 4539 CANCEL the build of the Qt UI module. 4540 Qt include path: 4541 EOM` 4542 fn='d~(-)' 4543 rp=$g4message 4544 . ./getfile 4545 4546 #Check for user cancellation 4547 if test "x$ans" = "x-" ; then 4548 g4ui_build_qt_session=n 4549 g4ui_use_qt=n 4550 echo "build/use of Qt UI module cancelled..." 4551 promptend=yes 4552 4553 else 4554 #We want to probe for Qt in the user supplied directory 4555 echo " " 4556 # check for include 4557 g4_qtincdir=`./loc qglobal.h no $ans` 4558 if test "x$g4_qtincdir" != "xno" ; then 4559 promptend=yes 4560 fi 4561 fi 4562 done 4563 fi # ASK FOR QT INC 4564 if test "x$g4_qtincdir" != "xno" ; then 4565 g4_qtincdir=`dirname $g4_qtincdir` 4566 echo "checking Qt inc dir in... $g4_qtincdir" 4567 fi 4568 # if qt inc ok, then check for libs 4569 if test "x$g4_qtincdir" != "xno" ; then 4570 4571 # checking libraries in qt$g4_qtver, then standard 4572 libQtFiles="$qthomeloc/lib/qt$g4_qtver/lib $qthomeloc/lib/qt$g4_qtver $qthomeloc/lib/qt$g4_qtver $qthomeloc/lib/qt$g4_qtver/lib64 $qthomeloc/lib $qthomeloc/lib64 $qthomeloc/lib/qt/lib $qthomeloc/lib/qt $qthomeloc/lib64" 4573 4574 if test "X$g4osname" = "XDarwin" && test "X$g4_qtincdir" = "X/Library/Frameworks" ; then 4575 g4_qtlibdir=`./loc QtCore no /Library/Frameworks/QtCore.framework/Versions/$g4_qtver/ $libQtFiles` 4576 g4_qtlibdir=`dirname $g4_qtlibdir` 4577 g4_qtlibdir=`dirname $g4_qtlibdir` 4578 g4_qtlibdir=`dirname $g4_qtlibdir` 4579 else 4580 g4_qtlibdir=`./loc libqt* no $libQtFiles` 4581 fi 4582 if test "x$g4_qtlibdir" = "xno" ; then 4583 while test "x$promptend" = "xno" ; do 4584 g4message=`cat << EOM 4585 4586 Failed to locate Qt lib directory on your system. 4587 Please enter the path to your Qt lib directory install or type '-' to 4588 CANCEL the build of the Qt UI module. 4589 Qt library path: 4590 EOM` 4591 fn='d~(-)' 4592 rp=$g4message 4593 . ./getfile 4594 4595 #Check for user cancellation 4596 if test "x$ans" = "x-" ; then 4597 g4ui_build_qt_session=n 4598 g4ui_use_qt=n 4599 echo "build/use of Qt UI module cancelled..." 4600 promptend=yes 4601 4602 else 4603 #We want to probe for Qt in the user supplied directory 4604 echo " " 4605 # check for libraries 4606 if test "X$g4osname" = "XDarwin" && test "X$g4_qtincdir" = "X/Library/Frameworks" ; then 4607 g4_qtlibdir=`./loc QtCore* no $libQtFiles /Library/Frameworks/` 4608 else 4609 g4_qtlibdir=`./loc libqt* no $libQtFiles` 4610 fi 4611 if test "x$g4_qtlibdir" != "xno" ; then 4612 promptend=yes 4613 fi 4614 fi 4615 done 4616 fi # END OF LIB CHECK 4617 if test "x$g4_qtlibdir" != "xno" ; then 4618 g4_qtlibdir=`dirname $g4_qtlibdir` 4619 echo "checking Qt lib dir in... $g4_qtlibdir" 4620 promptend=yes 4621 g4_havegoodqt=yes 4622 fi 4623 4624 else # END OF INC CHECK 4625 g4_qtincdir=no 4626 fi 4627 else # END OF VERSION CHECK 4628 g4_qtmochome=no 4629 fi 4630 fi # END OF MOC CHECK 4631 4481 4632 fi #END CHECK USER CANCELLATION 4482 4633 done #END USER PROMPT FOR QT DETECTION 4483 4634 4484 4635 fi #END USER DIRECTED QT DETECTION 4485 4636 # 4486 4637 #END QT USER INPUT PROBE 4487 4638 #################################################################### 4488 4639 4489 4640 fi #END CHECK OF G4UI_BUILD_QT_SESSION=Y 4490 4641 ########################################### 4491 4642 4492 4643 fi #END TEST G4UI_NONE=N 4493 fi #END TEST G4SYSTEM = Linux-g++ OR Darwin-g++4644 #fi #END TEST G4SYSTEM = Linux-g++ OR Darwin-g++ 4494 4645 ######################## 4495 4646 echo " " … … 5788 5939 visualisation driver and the use of this driver in your applications 5789 5940 respectively. 5790 The Qt 4headers, libraries and binaries are required to enable the5941 The Qt headers, libraries and binaries are required to enable the 5791 5942 building of this module. 5792 ### WARNING! THIS FEATURE IS EXPERIMENTAL IN THIS RELEASE! ###5793 ### WARNING! THIS FEATURE WILL ONLY WORK WITH Qt4! ###5794 5943 Do you want to enable build and use of this module? 5795 5944 EOM` … … 5821 5970 #################################################################### 5822 5971 # Now, if we have selected to build the driver, we need to check for 5823 # a Qt 4installation, which may have been done for use by the UI5972 # a Qt installation, which may have been done for use by the UI 5824 5973 # module... 5825 5974 # 5826 5975 if test "x$g4vis_build_openglqt_driver" = "xy" ; then 5827 5828 5829 #proceed to probe for Qt4... (assume it's unfiltered, i.e. not5830 5831 if test "x$g4_qthome" != "x"; then5832 5833 echo "configure: Qt4preconfigured, no recheck neccessary"5834 5976 5977 #Now check whether g4_qthome has been set previously - if it hasn't 5978 #proceed to probe for Qt... (assume it's unfiltered, i.e. not 5979 #set to '' by earlier probe if it was /usr or /usr/local 5980 if test "x$g4_qtmochome" != "x" && test "x$g4_qtlibdir" != "x" && test "x$g4_qtincdir" != "x" ; then 5981 echo " " 5982 echo "configure: Qt preconfigured, no recheck neccessary" 5983 else 5835 5984 ################################################################# 5836 5985 #We repeat the search used for the UI module 5837 5986 5838 echo " " 5839 g4_havegoodqt=no 5840 5841 g4_qthome=`./loc qglobal.h no /usr/include/Qt /usr/local/include/Qt /opt/local/include/Qt /sw/include/Qt` 5842 5843 echo "checking for Qt4 installation... $g4_qthome" 5844 5845 #If we found an installation, proceed to other tests. 5846 if test "x$g4_qthome" != "xno" ; then 5847 5848 #Set Qt installation to good at this point 5849 g4_havegoodqt=yes 5850 5851 #Check that this is Qt4... 5852 g4_qtver=`$grep QT_VERSION_STR $g4_qthome | $sed 's/.* \"\([0-9]\)\..*\"/\1/'` 5853 5854 echo "checking Qt version... $g4_qtver" 5855 5856 #Now strip qthome back so we can check for moc... 5857 g4_qthome=`dirname $g4_qthome` 5858 g4_qthome=`dirname $g4_qthome` 5859 g4_qthome=`dirname $g4_qthome` 5860 5861 #If version is o.k, check for moc 5862 if test "x$g4_qtver" = "x4" ; then 5863 #Check for moc 5864 g4_qthavemoc=`./loc moc no $g4_qthome/bin` 5865 5866 echo "checking for moc... $g4_qthavemoc" 5867 5868 if test "x$g4_qthavemoc" = "xno" ; then 5869 g4_havegoodqt=no 5870 fi 5871 else 5872 g4_havegoodqt=no 5873 fi #END CHECK Qt VERSION 5874 fi #END CHECK QTHOME 5875 # 5876 # END QT AUTOPROBE 5987 echo " " 5988 g4_havegoodqt=no 5989 5990 # Look for qt4 moc 5991 g4_qtmochome=`./loc moc no $QTDIR/bin /usr/lib/qt4/bin /usr/lib/qt/bin /usr/local/qt/bin /usr/local/bin /usr/bin /bin /usr/share/qt4/bin /usr/X11R6/bin /sw/bin` 5992 if test "x$g4_qtmochome" = "xno" ; then 5993 # Look for qt3 moc 5994 g4_qtmochome=`./loc moc no /usr/lib/qt3/bin /usr/share/qt3/bin` 5995 fi 5996 5997 # if not found 5998 if test "x$g4_qtmochome" = "xno" ; then 5999 g4_havegoodqt=no 6000 else 6001 # check Qt version 6002 g4_qtver=`$g4_qtmochome 2>&1 -v | $sed 's/.* .Qt \([0-9]\)\..*/\1/' ` 6003 echo "checking Qt version... $g4_qtver" 6004 if test "x$g4_qtver" = "x2";then 6005 echo "Qt $g4_qtver is too old to work with this driver" 6006 g4_havegoodqt=no 6007 fi 6008 if test "x$g4_qtver" = "x5";then 6009 echo "Qt $g4_qtver is not actually support with this driver" 6010 g4_havegoodqt=no 6011 else 6012 6013 6014 # checking includes 6015 6016 incQtFiles=" $QTDIR/include /usr/lib/qt$g4_qtver/include /usr/include/qt$g4_qtver /usr/X11R6/include /sw/include/qt /usr/include/qt$g4_qtver /usr/share/qt$g4_qtver/include /usr/X11R6/include/qt$g4_qtver /usr/lib/qt/include /usr/local/qt/include /usr/local/include /usr/include /usr/include/qt /usr/X11R6/include/qt" 6017 6018 if test "X$g4osname" = "XDarwin" ; then 6019 if test "X$g4_qtver" = "X3" ; then 6020 g4_qtincdir=`./loc qglobal.h no $incQtFiles` 6021 else 6022 g4_qtincdir=`./loc qglobal.h no /Library/Frameworks/QtCore.framework/Headers/ $incFiles` 6023 if test "x$g4_qtincdir" != "xno" ; then 6024 g4_qtincdir="/Library/Frameworks/" 6025 fi 6026 fi 6027 else 6028 g4_qtincdir=`./loc qglobal.h no $incFiles` 6029 fi #END CHECK QTLIBS 6030 6031 6032 if test "x$g4_qtincdir" != "xno" ; then 6033 if test "x$g4_qtincdir" != "x/Library/Frameworks/" ; then 6034 g4_qtincdir=`dirname $g4_qtincdir` 6035 fi 6036 echo "checking Qt includes dir in... $g4_qtincdir" 6037 6038 6039 # checking libs 6040 6041 libQtFiles="$QTDIR/lib /usr/lib/qt$g4_qtver/lib /usr/lib/qt$g4_qtver /usr/lib/qt$g4_qtver /sw/lib/qt$g4_qtver /sw/lib/qt$g4_qtver/lib /usr/share/qt$g4_qtver/lib /usr/X11R6/lib/qt /usr/X11R6/lib/qt$g4_qtver /usr/lib/qt$g4_qtver/lib64 $QTDIR/lib64 /usr/lib/qt/lib /usr/local/qt/lib /usr/local/lib /usr/lib /usr/lib/qt /usr/X11R6/lib /usr/X11R6/lib/qt $QTDIR/lib64" 6042 6043 if test "X$g4osname" = "XDarwin" ; then 6044 if test "X$g4_qtincdir" = "X/Library/Frameworks/" ; then 6045 g4_qtlibdir="/Library/Frameworks/" 6046 else 6047 g4_qtlibdir=`./loc libqt* no $libQtFiles /sw/lib /sw/lib/qt` 6048 fi 6049 else 6050 g4_qtlibdir=`./loc libqt* no $libQtFiles` 6051 fi 6052 if test "x$g4_qtlibdir" != "xno" ; then 6053 if test "x$g4_qtlibdir" != "x/Library/Frameworks/" ; then 6054 g4_qtlibdir=`dirname $g4_qtlibdir` 6055 fi 6056 echo "checking Qt lib dir in... $g4_qtlibdir" 6057 g4_havegoodqt=yes 6058 fi 6059 fi #END CHECK QTLIBS 6060 fi #END CHECK QTINC 6061 fi #END CHECK QTVER 6062 # 6063 # END QT AUTOPROBE 6064 #################################################################### 5877 6065 5878 6066 … … 5887 6075 g4message=`cat << EOM 5888 6076 5889 Autodetection failed to locate Qt 4in $qthomeloc on your system.5890 Please enter the path to your Qt 4 install (i.e. if Qt4is installed6077 Autodetection failed to locate Qt in $qthomeloc on your system. 6078 Please enter the path to your Qt install (i.e. if Qt is installed 5891 6079 in PATH/include/Qt, or PATH/include, enter PATH), or type '-' to 5892 6080 CANCEL the build of the Qt UI module. … … 5913 6101 g4_qthome=`./loc qglobal.h no $ans/include/Qt $ans/include` 5914 6102 5915 echo "checking for Qt 4installation... $g4_qthome"6103 echo "checking for Qt installation... $g4_qthome" 5916 6104 5917 6105 #If we found an installation, proceed to other tests. … … 5920 6108 g4_havegoodqt=yes 5921 6109 5922 #Check that this is Qt 4...6110 #Check that this is Qt... 5923 6111 g4_qtver=`$grep QT_VERSION_STR $g4_qthome | $sed 's/.* \"\([0-9]\)\..*\"/\1/'` 5924 6112 … … 6404 6592 g4_make='$g4_make' 6405 6593 g4_make_version='$g4_make_version' 6406 g4_qthome='$g4_qthome' 6594 g4_qtmochome='$g4_qtmochome' 6595 g4_qtincdir='$g4_qtincdir' 6596 g4_qtlibdir='$g4_qtlibdir' 6407 6597 g4abladata='$g4abladata' 6408 6598 g4base='$g4base'
Note: See TracChangeset
for help on using the changeset viewer.