On Mon, Sep 8, 2008 at 6:30 PM, Chris Cannam
<[EMAIL PROTECTED]> wrote:
> On Sun, Sep 7, 2008 at 1:41 PM, Emanuel Rumpf <[EMAIL PROTECTED]> wrote:
>> hmm. ...   when I tried to use .toStdString(), I couldn't
>
> What is the error?
>
> The header only declares this if QT_NO_STL is not defined, but I don't
> think a reasonable configuration would define that.

Looking at your commit just now, I think that pretty much all of those
uses of qstrtostr(...).c_str() should instead be calls to either
toStdString().c_str() or toLocal8Bit().data().

If you can't compile it with your local system using toStdString(),
use toLocal8Bit().data() instead.  Actually, toLocal8Bit().data() is
probably the right default fix for most of our uses of the obsolete
Qt3 QString::data() method.


Chris

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to