-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kern Sibbald wrote:
> Thanks.
> 
> Between what you write and what Michel writes, I *should* be able to make 
> some 
> progress on this.  I'll try it a bit later today ...

Just FYI: Even with the alternatives set up properly and the modified
bat.pro.in I got compilation errors:
/usr/bin/qmake -unix -o Makefile bat.pro
g++  -o bat obj/main.o obj/bat_conf.o obj/mainwin.o obj/qstd.o
obj/authenticate.o obj/console.o obj/prerestore.o obj/restore.o
obj/brestore.o obj/label.o obj/relabel.o obj/mount.o obj/run.o
obj/runcmd.o obj/estimate.o obj/prune.o obj/select.o obj/pages.o
obj/medialist.o obj/mediaedit.o obj/joblist.o obj/clients.o
obj/storage.o obj/fileset.o obj/joblog.o obj/jobs.o obj/restoretree.o
obj/jobplot.o obj/help.o obj/moc_mainwin.o obj/moc_console.o
obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o obj/moc_mount.o
obj/moc_run.o obj/moc_select.o obj/moc_medialist.o obj/moc_mediaedit.o
obj/moc_joblist.o obj/moc_clients.o obj/moc_storage.o obj/moc_fileset.o
obj/moc_joblog.o obj/moc_jobs.o obj/moc_restoretree.o obj/moc_jobplot.o
obj/moc_help.o obj/qrc_main.o    -L/usr/lib -L../lib -lbac -lssl
- -lcrypto -lqwt -lQtGui -lQtCore -lpthread
obj/jobplot.o: In function `JobPlot::byteCheckChanged(int)':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:534:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `JobPlot::fileCheckChanged(int)':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:519:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `JobPlot::setSymbolType(int, int)':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:501:
undefined reference to `QwtPlotCurve::setSymbol(QwtSymbol const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:505:
undefined reference to `QwtPlotCurve::setSymbol(QwtSymbol const&)'
obj/jobplot.o: In function `JobPlot::setPlotType(QString)':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:433:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:434:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:439:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:440:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:446:
undefined reference to `QwtPlotCurve::setStyle(QwtPlotCurve::CurveStyle)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:447:
undefined reference to `QwtPlotCurve::setStyle(QwtPlotCurve::CurveStyle)'
obj/jobplot.o: In function `JobPlot::addCurve()':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:356:
undefined reference to `QwtLegend::QwtLegend(QWidget*)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:356:
undefined reference to `QwtPlot::insertLegend(QwtLegend*,
QwtPlot::LegendPosition, double)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:366:
undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:367:
undefined reference to `QwtPlotCurve::setPen(QPen const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:368:
undefined reference to `QwtPlotCurve::setCurveType(QwtPlotCurve::CurveType)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:369:
undefined reference to `QwtPlotItem::setYAxis(int)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:371:
undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:372:
undefined reference to `QwtPlotCurve::setPen(QPen const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:373:
undefined reference to `QwtPlotCurve::setCurveType(QwtPlotCurve::CurveType)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:374:
undefined reference to `QwtPlotItem::setYAxis(int)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:379:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:380:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:397:
undefined reference to `QwtPlotCurve::setData(double const*, double
const*, int)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:398:
undefined reference to `QwtPlotCurve::setData(double const*, double
const*, int)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:412:
undefined reference to `QwtPlotMarker::QwtPlotMarker()'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:413:
undefined reference to `QwtText::QwtText(QString const&,
QwtText::TextFormat)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:413:
undefined reference to `QwtPlotMarker::setLabel(QwtText const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:414:
undefined reference to
`QwtPlotMarker::setLabelAlignment(QFlags<Qt::AlignmentFlag>)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:415:
undefined reference to
`QwtPlotMarker::setLineStyle(QwtPlotMarker::LineStyle)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:418:
undefined reference to `QwtPlotMarker::setLinePen(QPen const&)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:419:
undefined reference to `QwtPlotMarker::setXValue(double)'
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:420:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `JobPlot::setupUserInterface()':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/jobgraphs/jobplot.cpp:335:
undefined reference to `QwtPlot::QwtPlot(QWidget*)'
obj/jobplot.o: In function `QwtPlotItem::detach()':
/usr/include/qwt-qt4/qwt_plot_item.h:66: undefined reference to
`QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `DateTimeScaleDraw::label(double) const':
/home/steltek/swdownloads/bacula/bacula-2.1.26/src/qt-console/./jobgraphs/jobplot.h:94:
undefined reference to `QwtText::QwtText(QString const&,
QwtText::TextFormat)'
obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for
DateTimeScaleDraw]+0x10): undefined reference to
`QwtAbstractScaleDraw::draw(QPainter*, QPalette const&) const'
obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for
DateTimeScaleDraw]+0x18): undefined reference to
`QwtScaleDraw::extent(QPen const&, QFont const&) const'
collect2: ld returned 1 exit status
make: *** [bat] Error 1


It's probably because Debian calls it libqwt-qt4, not just libqwt. I
hacked the bat.pro file to use that in the ldflags and then it seemed to
compile... couldn't test it yet though (not much time, slow machine and
I really have to get to work)

Greetings,
        Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGl2Fq2Vs+MkscAyURAhIqAKDZITxHr0O8GxTK/MaRvB6/f9WLKgCgkdLI
idiLQmOMrq9a/xPp0QPyn+c=
=1QrJ
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to