By Olivier Goffart

String concatenation with QStringBuilder

Published Monday June 13th, 2011 | 14 Comments on String concatenation with QStringBuilder
Posted in C++, Performance, Qt

QString and QByteArray comes with very handy operator+ which allows you to write stuff like this: QString directory = /*…*/, name = /*…*/; QString dataFile = directory + QLatin1Char(‘/’) + name + QLatin1String(“.dat”); Very convenient. The QLatin1Char and QLatin1String are just there for correctness, you could omit those while writing your application. We have something […]

Read More

C++0x in Qt

Published Thursday May 26th, 2011 | 30 Comments on C++0x in Qt
Posted in C++, KDE, News, Qt

While many are so enthusiastic about QML and javascript technology, a few of us still code in C++ ;-). C++ is about to get an upgrade: C++11 (formely known as C++0x). The final draft was aproved last march in the C++ standard commitee, and the final specification is expected to be published this summer. If […]

Read More
Get started today with Qt Download now