[Kdenlive-devel] Compilation errors...

Craig Drummond craig_p_drummond at yahoo.co.uk
Fri Feb 2 00:13:42 UTC 2007


Hi,

Compiling on Kubuntu edgy, I get errors due to  QString -> char * conversion - 
this might be due to -DQT_NO_ASCII_CAST . However, the attached diff fixes 
these errors.

Also, why is KRender::decodedString(QString str) not just simply:

char *KRender::decodedString(const QString &str)
{
	return QFile::encodeName(str).data();
}

Is there  not a memory leak in the original version, with the "t" string not 
being deleted?

Craig.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qstring.diff
Type: text/x-diff
Size: 7305 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20070202/bb669a14/attachment.bin>


More information about the Kdenlive mailing list