#2 can't build software

open
nobody
None
5
2011-10-24
2011-10-24
Anonymous
No

I tried to build fop_miniscribus.2.0.0.pro under Ubuntu 10.10
./configure work fine after installing qt4-dev, libxml-dev and libxslt-dev packages
but make return the following error:

g++ -c -pipe -O2 -w -D_REENTRANT -DOPENGLINITYES -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -Ibookmark -Ifoformat -Ipaperformat -Itextapi -Iui -I../include -I../modules/apng -I../modules/tidy -I../modules/zip -I../modules/ooo -I../modules/xslt -I/usr/include/libxslt -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I../modules/ooo -I/usr/X11R6/include -Ibuild/.moc -I. -o build/.obj/Fo_Reader.o foformat/Fo_Reader.cpp
foformat/Fo_Reader.cpp: In constructor ‘ApacheFop::Fo_Reader::Fo_Reader(QString, QObject*)’:
foformat/Fo_Reader.cpp:57: error: call of overloaded ‘QString(int)’ is ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note: QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:727: note: QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note: QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note: QString::QString(const QChar*)
make[1]: *** [build/.obj/Fo_Reader.o] Error 1

Discussion


  • Anonymous
    2011-10-24

     
    Attachments

  • Anonymous
    2011-10-24

    • summary: can build software --> can't build software