Share

QMBTagger

Tracker: Bugs

5 can't compile qmbtagger (qt problem?) - ID: 985018
Last Update: Comment added ( echeslack )

This is what I get trying to compile qmbtagger:

make[2]: Entering directory
`/home/giuseppe/Documents/cvs/qmbtagger/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include
-DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include
-DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -MT qcdlookup.o -MD -MP -MF
".deps/qcdlookup.Tpo" \
-c -o qcdlookup.o `test -f 'qcdlookup.cpp' || echo
'./'`qcdlookup.cpp; \
then mv -f ".deps/qcdlookup.Tpo" ".deps/qcdlookup.Po"; \
else rm -f ".deps/qcdlookup.Tpo"; exit 1; \
fi
qcdlookup.cpp: In member function `void
QCDLookup::CDLookup()':
qcdlookup.cpp:107: error: no matching function for call to
`QString::QString(std::string&)'
/usr/lib/qt3/include/qstring.h:746: error: candidates are:
QString::QString(QStringData*, bool)
/usr/lib/qt3/include/qstring.h:720: error:
QString::QString(int, bool)
/usr/lib/qt3/include/qstring.h:406: error:
QString::QString(const char*)
/usr/lib/qt3/include/qstring.h:404: error:
QString::QString(const QChar*, unsigned int)
/usr/lib/qt3/include/qstring.h:403: error:
QString::QString(const QByteArray&)
/usr/lib/qt3/include/qstring.h:402: error:
QString::QString(const QString&)
/usr/lib/qt3/include/qstring.h:401: error:
QString::QString(QChar)
/usr/lib/qt3/include/qstring.h:838: error:
QString::QString()
make[2]: *** [qcdlookup.o] Error 1
make[2]: Leaving directory
`/home/giuseppe/Documents/cvs/qmbtagger/src'

Can you help me please? Thank you


Peppe ( cerebro84 ) - 2004-07-04 19:21

5

Closed

Wont Fix

Ewen Cheslack-Postava

tagger-other

None

Public


Comment ( 1 )




Date: 2004-07-05 23:58
Sender: echeslackProject AdminAccepting Donations

Logged In: YES
user_id=769104

This constructor is available from Qt 3.1.2 up. You must
have an earlier version (probably 3.0.7). I won't fix this
because it is a lot of trouble to support older versions,
but to get past this problem you can change the referenced
line to read

error = QString(strerror.c_str());

If you have further problems building you can email me
directly at echeslack@users.sourceforge.net and I can help
you get it working.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2004-07-05 23:58 echeslack
resolution_id None 2004-07-05 23:58 echeslack
category_id None 2004-07-05 23:58 echeslack
assigned_to nobody 2004-07-05 23:58 echeslack
close_date - 2004-07-05 23:58 echeslack