[Qt-interest] CString and QString...any way to transform them?

Rafael March rafaelmarch3 at yahoo.com
Fri Mar 20 17:42:08 CET 2009


Have you ever tried 

QString MyQString = QString::fromStdString(string(MyCString)) ? 

Regards,
Rafael March.


--- On Fri, 3/20/09, Giancarlo Amati <ilferraresebono at hotmail.it> wrote:

From: Giancarlo Amati <ilferraresebono at hotmail.it>
Subject: [Qt-interest] CString and QString...any way to transform them?
To: qt-interest at trolltech.com
Date: Friday, March 20, 2009, 4:32 PM




#yiv482278774 .hmmessage P
{
margin:0px;padding:0px;}
#yiv482278774 {
font-size:10pt;font-family:Verdana;}

Hello everybody,

I have a library that has been written for MFC win32 and I want to integrate in my QT application. Now, the problem is that there are types of data which belong to MFC Win32 while in QT they are a bit different.
Is there any mechanism to convert CString to QString?

Kind regards.
Giancarlo

Chiavette USB. addio!  Attiva SkyDrive! 

-----Inline Attachment Follows-----

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090320/beca77f6/attachment.html 


More information about the Qt-interest-old mailing list