[Development] Bug in either moc or VS Tools
miguel.costa at qt.io
Fri May 15 12:39:09 CEST 2020
I confirm, the problem is in the Qt VS Tools extension.
I've opened an issue for this in Jira: https://bugreports.qt.io/browse/QTVSADDINBUG-776
The problem is caused by paths always being quoted when they're used as arguments to moc.
If paths already contain quotes, this generates an incorrect set of args and leads to the reported error.
Workaround is to remove quotes from paths used in Additional Include Directories.
The Qt Company GmbH
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
From: Development <development-bounces at qt-project.org> on behalf of Thiago Macieira <thiago.macieira at intel.com>
Sent: Thursday, May 14, 2020 9:02 PM
To: development at qt-project.org <development at qt-project.org>
Subject: Re: [Development] Bug in either moc or VS Tools
On Thursday, 14 May 2020 02:21:01 PDT David C. Partridge wrote:
> I'm not sure whether this problem is caused by a bug in moc, or a bug in VS
> Problem description is here:
It's not moc.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
Development mailing list
Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development