PDA

View Full Version : Help, qwt-6.0.1 make on Mac OS X 10.7



ibobo
2nd August 2011, 07:42
Hi there,

I'm getting the following errors while trying to make qwt-6.0.1 on Mac OS X 10.7:

ld: file not found: QtSvg.framework/Versions/4/QtSvg for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [../../lib/qwtmathml.framework/qwtmathml] Error 1
make[1]: *** [sub-mathml-make_default] Error 2
make: *** [sub-textengines-make_default-ordered] Error 2

any help would be much appreciated...

Uwe
2nd August 2011, 11:44
Seems you have built Qt without SVG support.

To solve this problem you can rebuild Qt with SVG support or configure Qwt ( edit qwtconfig.pri ) not to use SVG and MathML.

Uwe

ibobo
2nd August 2011, 12:09
Thanks Uwe, I'll look it up and report here how I go.


Seems you have built Qt without SVG support.

To solve this problem you can rebuild Qt with SVG support or configure Qwt ( edit qwtconfig.pri ) not to use SVG and MathML.

Uwe

ibobo
3rd August 2011, 05:45
I've reinstalled the SDK using default settings and and then make & make install went fine (?):


cd src/ && make -f Makefile install
rm -f -r "/usr/local/qwt-6.0.1/lib/qwt.framework"
cp -f -R "../lib/qwt.framework" "/usr/local/qwt-6.0.1/lib/qwt.framework"
cp -f -R /Users/yar01a/qwt-6.0.1/doc/html /usr/local/qwt-6.0.1/doc/
cd textengines/ && make -f Makefile install
cd mathml/ && make -f Makefile install
rm -f -r "/usr/local/qwt-6.0.1/lib/qwtmathml.framework"
cp -f -R "../../lib/qwtmathml.framework" "/usr/local/qwt-6.0.1/lib/qwtmathml.framework"
cp -f /Users/yar01a/qwt-6.0.1/textengines/mathml/qwtmathml.prf /usr/local/qwt-6.0.1/features/
cd designer/ && make -f Makefile install
cp -f "plugins/designer/libqwt_designer_plugin.dylib" "/usr/local/qwt-6.0.1/plugins/designer/libqwt_designer_plugin.dylib"
cd examples/ && make -f Makefile install
cd cpuplot/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd curvdemo1/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd curvdemo2/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd friedberg/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd sinusplot/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd realtime/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd refreshtest/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd navigation/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd plotmatrix/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd spectrogram/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd rasterview/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd tvplot/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd bode/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd event_filter/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd oscilloscope/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd svgmap/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd sysinfo/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd radio/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd dials/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cd sliders/ && make -f Makefile install
make[2]: Nothing to be done for `install'.
cp -f /Users/yar01a/qwt-6.0.1/qwtconfig.pri /usr/local/qwt-6.0.1/features/
cp -f /Users/yar01a/qwt-6.0.1/qwt.prf /usr/local/qwt-6.0.1/features/

I cannot get the qwt plugin to appear in designer though... Here (http://doc.qt.nokia.com/qtcreator-snapshot/adding-plugins.html) it says that I have to copy libqwt.*.dylib as well as libqwt_designer_plugin.dylib to corresponding QtCreator.app folders, but it seems libqwt was included in the older versions of qwt, and is now being replaced with qwt.framework?

so I'm lost again...