Skip to content

Commit 0e1ebc4

Browse files
nim65susiems
authored andcommitted
fix format-security on Q_OS_MAC
1 parent 16da4f9 commit 0e1ebc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace
9696
QString reason = "The QTDIR environment variable " + qtdir.isEmpty() ?
9797
"is not set. " : "points to a non-existing directory. ";
9898
#if defined(Q_OS_MAC)
99-
qWarning((reason + "Assuming standard binary install using frameworks.").toUtf8().constData());
99+
qWarning() << reason << "Assuming standard binary install using frameworks.";
100100
QString frameworkDir = "/Library/Frameworks";
101101
includes << (frameworkDir + "/QtXml.framework/Headers");
102102
includes << (frameworkDir + "/QtNetwork.framework/Headers");

0 commit comments

Comments
 (0)