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. --Miguel Costa Software Engineer The Qt Company GmbH Erich-Thilo-Straße 10 D-12489 Berlin http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ________________________________ From: Development <[email protected]> on behalf of Thiago Macieira <[email protected]> Sent: Thursday, May 14, 2020 9:02 PM To: [email protected] <[email protected]> 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 > Tools. > > Problem description is here: > <https://forum.qt.io/topic/114726/bug-with-moc-parsing-of-include-directorie > s> It's not moc. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
_______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
