[Interest] Qt5 - my hopes for when the dust settles...

Thiago Macieira thiago.macieira at intel.com
Thu Aug 16 12:47:42 CEST 2012


On quinta-feira, 16 de agosto de 2012 11.23.37, Rui Maciel wrote:
> On 08/16/2012 10:54 AM, Mark Summerfield wrote:
> > Here are some of the things I'd like to see in a future Qt.*
> 
> Proper support for std::string would be a nice start.  To me, Qt's main
> drawback is how it fails to support such a basic feature, and how the
> conversion between QString and std::string objects manages to be
> systematically broken.

1) std::string is broken with GCC. The devs had to break binary compatibility 
between C++98 and C++11. Therefore, you should either:
  a) REQUIRE C++11 and require a reasonably recent GCC (4.6 and up)
  b) stop using std::string

 I highly suggest you choose (a).

 Also note that Qt chose (b), so we're not affected by this issue.


2) there's nothing wrong with the conversion between QString and std::string

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120816/fb907ad5/attachment.sig>


More information about the Interest mailing list