tag 432368 patch thanks Lucas Nussbaum <[EMAIL PROTECTED]> (09/07/2007): > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG > -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DQT_NO_DEBUG > -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB > -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL > -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support > -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 > -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant > -I../3rdparty/muParser -I/usr/include/qwtplot3d-qt4 -I/usr/include/qwt-qt4 > -I../3rdparty/liborigin -I/usr/include/python2.5 -I/usr/X11R6/include > -I../tmp/qtiplot -I. -o ../tmp/qtiplot/Graph.o src/Graph.cpp > src/Graph.cpp:139:26: error: QSvgGenerator: No such file or directory
Hi, see the attached patch, the /usr/include/qt4/QtSvg directory isn't passed in -I, that's why it is needed to prepend the header with the subdirectory name. Probably suboptimal (adding the appropriate -I option would be better, I guess), but at least that solves the FTBFS. Cheers, -- Cyril Brulebois PS: Cc'ing my AM for the RC bugfix.
--- qtiplot-0.9~rc2/qtiplot/src/Graph.cpp~ 2007-07-15 13:08:49.000000000 +0000 +++ qtiplot-0.9~rc2/qtiplot/src/Graph.cpp 2007-07-15 13:09:01.000000000 +0000 @@ -136,7 +136,7 @@ #include <QFileInfo> #if QT_VERSION >= 0x040300 - #include <QSvgGenerator> + #include <QtSvg/QSvgGenerator> #endif #include <qwt_painter.h> --- qtiplot-0.9~rc2/qtiplot/src/MultiLayer.cpp~ 2007-07-15 13:18:53.000000000 +0000 +++ qtiplot-0.9~rc2/qtiplot/src/MultiLayer.cpp 2007-07-15 13:19:15.000000000 +0000 @@ -40,7 +40,7 @@ #include <QClipboard> #if QT_VERSION >= 0x040300 - #include <QSvgGenerator> + #include <QtSvg/QSvgGenerator> #endif #include <qwt_plot.h>
pgpC2dF61GgpH.pgp
Description: PGP signature