#2 cannot compile museek+

open
nobody
None
5
2007-03-04
2007-03-04
Anonymous
No

I got the following error while trying to compile museek+ (both 0.1.11 and 0.1.12). What could be the problem?

g++ -fPIC -Wall -pipe -g -DENABLE_BINRELOC=1 -DHAVE_TRAYICON=1
-I/usr/lib/qt/include -I. -I/usr/local/include -I/usr/include
-I/usr/X11R6/include -I/usr/include/libxml2
-I/usr/local/include/libxml++-1.0 -I/usr/local/lib/libxml++-1.0/include
-I/usr/lib/qt/mkspecs/linux-g++ -I. -c -o build-i686-linux/museeq/museeq.o
build-i686-linux/museeq/museeq.cpp
function `int main(int, char**)':
build-i686-linux/museeq/museeq.cpp:991: error: no match for 'operator+' in '
string("museeq ", (&allocator<char>())) +
museeq->Museeq::mainwin()->MainWindow::mVersion'
/usr/lib/qt/include/qcstring.h:354: error: candidates are: const QCString
operator+(const QCString&, const QCString&)
/usr/lib/qt/include/qcstring.h:361: error: const QCString
operator+(const QCString&, const char*)
/usr/lib/qt/include/qcstring.h:368: error: const QCString
operator+(const char*, const QCString&)
/usr/lib/qt/include/qcstring.h:375: error: const QCString
operator+(const QCString&, char)
/usr/lib/qt/include/qcstring.h:382: error: const QCString
operator+(char, const QCString&)
/usr/lib/qt/include/qstring.h:1034: error: const QString
operator+(const QString&, const QString&)
/usr/lib/qt/include/qstring.h:1042: error: const QString
operator+(const QString&, const char*)
/usr/lib/qt/include/qstring.h:1049: error: const QString
operator+(const char*, const QString&)
/usr/lib/qt/include/qstring.h:1057: error: const QString
operator+(const QString&, QChar)
/usr/lib/qt/include/qstring.h:1064: error: const QString
operator+(const QString&, char)
/usr/lib/qt/include/qstring.h:1071: error: const QString
operator+(QChar, const QString&)
/usr/lib/qt/include/qstring.h:1079: error: const QString
operator+(char, const QString&)
/usr/lib/qt/include/qpoint.h:154: error: const QPoint
operator+(const QPoint&, const QPoint&)
/usr/lib/qt/include/qsize.h:168: error: const QSize
operator+(const QSize&, const QSize&)
scons: *** [build-i686-linux/museeq/museeq.o] Error 1
scons: building terminated because of errors.

Discussion