[linux-audio-dev] [ANN] LDRUM 0.6.0 released

Alex Marandon al at alpage.org
Tue Apr 13 07:40:49 UTC 2004


On Tue, Apr 13, 2004 at 12:54:32AM +0200, Peter Eschler wrote:
> > paramtooltip.h: In member function `void ParamToolTip::updateTip()':
> > paramtooltip.h:25: error: no match for 'operator=' in 't =
> ..
> > paramtooltip.h:35: error: no match for 'operator=' in 't =
> 
> I just searched the qstring headerfile and the reason for this seems to be Qt 
> compiled without STL support (compiler flag QT_NO_STL).

Gosh. I installed the qt slackware package available at linuxpackages.net

> This does *not* mean you need to recompile Qt ;-) 

Cool ;)

> Just replace lines 25 and 
> 35:
> t = _param->name() + ": " + _param->toString(); 
> with:
> t = _param->name() + ": " + _param->toString().c_str(); 
> 
> This should do the trick.

I try the trick, but it doesn't fix the problem here :

$ grep -n c_str widgets/paramtooltip.h
25:                     t = _param->name() + ": " + _param->toString().c_str(); 
35:                     t = _param->name() + ": " + _param->toString().c_str();
$ make
[...]
make[3]: Entering directory `/home2/al/ldrum-0.6.0/widgets'
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC  -DLINGUI_NO_NAMESPACE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib/qt-3.2.3/mkspecs/default -I. -I../gui -I../engine -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o linguiplugin.o linguiplugin.cpp
In file included from parameterui.h:29,
                 from floatparamdialui.h:25,
                 from linguiplugin.cpp:5:
paramtooltip.h: In member function `void ParamToolTip::updateTip()':
paramtooltip.h:25: error: no match for 'operator=' in 't = std::operator+(const 
   std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) [with _CharT = 
   char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>]((&*(this->ParamToolTip::_param->ldrum::Parameter::_vptr.Parameter
   + 8)())->std::basic_string<_CharT, _Traits, _Alloc>::c_str [with _CharT = 
   char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]())'
/usr/lib/qt-3.2.3/include/qstring.h:409: error: candidates are: QString& 
   QString::operator=(const QString&)
/usr/lib/qt-3.2.3/include/qstring.h:410: error:                 QString& 
   QString::operator=(const char*)
/usr/lib/qt-3.2.3/include/qstring.h:414: error:                 QString& 
   QString::operator=(const QCString&)
/usr/lib/qt-3.2.3/include/qstring.h:868: error:                 QString& 
   QString::operator=(QChar)
/usr/lib/qt-3.2.3/include/qstring.h:871: error:                 QString& 
   QString::operator=(char)
paramtooltip.h: In member function `virtual void ParamToolTip::maybeTip(const 
   QPoint&)':
paramtooltip.h:35: error: no match for 'operator=' in 't = std::operator+(const 
   std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) [with _CharT = 
   char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>]((&*(this->ParamToolTip::_param->ldrum::Parameter::_vptr.Parameter
   + 8)())->std::basic_string<_CharT, _Traits, _Alloc>::c_str [with _CharT = 
   char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]())'
/usr/lib/qt-3.2.3/include/qstring.h:409: error: candidates are: QString& 
   QString::operator=(const QString&)
/usr/lib/qt-3.2.3/include/qstring.h:410: error:                 QString& 
   QString::operator=(const char*)
/usr/lib/qt-3.2.3/include/qstring.h:414: error:                 QString& 
   QString::operator=(const QCString&)
/usr/lib/qt-3.2.3/include/qstring.h:868: error:                 QString& 
   QString::operator=(QChar)
/usr/lib/qt-3.2.3/include/qstring.h:871: error:                 QString& 
   QString::operator=(char)
linguiplugin.cpp: In member function `virtual bool 
   LinGuiPlugin::isContainer(const QString&) const':
linguiplugin.cpp:147: warning: unused parameter `const QString&key'
make[3]: *** [linguiplugin.o] Error 1
make[3]: Leaving directory `/home2/al/ldrum-0.6.0/widgets'
make[2]: *** [ldrumwidgets] Error 2
make[2]: Leaving directory `/home2/al/ldrum-0.6.0/widgets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/al/ldrum-0.6.0'
make: *** [all] Error 2




More information about the Linux-audio-dev mailing list