On Saturday 14 Jan 2006 04:49, Ross Vandegrift wrote:
> Ok, the patch is included below.  I need this patch to compile with Qt
> 3.3.3 and g++ 3.3.4.
>
> I think there's a possibility I'm missing something obvious, and this
> patch is likely not the correct solution.  But it shows what's up.

Thanks for that.

Several of these conversions would be better done with qstrtostr and strtoqstr 
(see rosestrings.h).  That generally applies to user-visible text strings 
rather than e.g. filenames.

Is it actually necessary to write e.g.

  QString qstr = (const char *)mystring.c_str();

What happens if you omit the cast, which I would (foolishly?) expect to be 
unnecessary?

I've committed a set of changes that take these adjustments into account and 
that I hope should still work for you.  Do let us know if they don't.

Thanks,


Chris


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to