#include #include #include int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QString testString; testString = QString("Hello World"); qDebug() << "Test: " << testString; testString = QLatin1String("Hello World"); qDebug() << "Test: " << testString; testString = QStringLiteral("Hello World"); qDebug() << "Test: " << testString; return 0; }