|
From: Mojca M. <moj...@gm...> - 2011-05-27 19:54:03
|
On Fri, May 27, 2011 at 18:31, Ethan A Merritt wrote: > >> However I have >> /Library/Frameworks/QtCore.framework >> and others present and I'm able to compile and use other Qt applications. > > Aha. Sounds promising. > Can you see how the Make files for those other Qt applications > refer to Qt, and borrow equivalent commands for gnuplot's configure script? I just checked the source code of Geant4 (http://geant4.cern.ch/support/download.shtml). The configure script includes 500 lines of code devoted to Qt only. At the end it sets the following variables (which are later used as flags to compiler): QTFLAGS=-I/Library/Frameworks/QtCore.framework/Headers -I/Library/Frameworks/QtGui.framework/Headers -I/Library/Frameworks/QtOpenGl.framework/Headers QTLIBS=-F/Library/Frameworks -framework QtCore -framework QtGui I now commented out a few lines in gnuplot's configure script and ran export QT_CFLAGS="-I/Library/Frameworks/QtCore.framework/Headers -I/Library/Frameworks/QtGui.framework/Headers -I/Library/Frameworks/QtNetwork.framework/Headers -I/Library/Frameworks/QtSvg.framework/Headers" export QT_LIBS="-F/Library/Frameworks -framework QtCore -framework QtGui -framework QtNetwork -framework QtSvg" ./configure --enable-qt which ended up building gnuplot, but complaining about qtterminal/QtGnuplotWidget.cpp:280:34: error: ui_QtGnuplotSettings.h: No such file or directory which seems to be a valid complaint. I cannot find such file in gnuplot sources either. Mojca |