Fix empty "Command line was" string in generated source files
Task-number: QTBUG-61370 Change-Id: If829a889acfe092adad4ac443d71e63b67ba7f55 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
5b24d3dd35
commit
dbcfe31892
@ -1134,6 +1134,11 @@ int main(int argc, char **argv)
|
|||||||
QDBusIntrospection::Interfaces interfaces = readInput();
|
QDBusIntrospection::Interfaces interfaces = readInput();
|
||||||
cleanInterfaces(interfaces);
|
cleanInterfaces(interfaces);
|
||||||
|
|
||||||
|
QStringList args = app.arguments();
|
||||||
|
args.removeFirst();
|
||||||
|
commandLine = QLatin1String(PROGRAMNAME " ");
|
||||||
|
commandLine += args.join(QLatin1Char(' '));
|
||||||
|
|
||||||
if (!proxyFile.isEmpty() || adaptorFile.isEmpty())
|
if (!proxyFile.isEmpty() || adaptorFile.isEmpty())
|
||||||
writeProxy(proxyFile, interfaces);
|
writeProxy(proxyFile, interfaces);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user