diff --git a/generator/main.cpp b/generator/main.cpp index 1aca0cf0d..1a1ec7f32 100644 --- a/generator/main.cpp +++ b/generator/main.cpp @@ -96,7 +96,7 @@ namespace QString reason = "The QTDIR environment variable " + qtdir.isEmpty() ? "is not set. " : "points to a non-existing directory. "; #if defined(Q_OS_MAC) - qWarning((reason + "Assuming standard binary install using frameworks.").toUtf8().constData()); + qWarning() << reason << "Assuming standard binary install using frameworks."; QString frameworkDir = "/Library/Frameworks"; includes << (frameworkDir + "/QtXml.framework/Headers"); includes << (frameworkDir + "/QtNetwork.framework/Headers");