Re: [Development] Bug in either moc or VS Tools

2020-05-15 Thread Miguel Costa
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  on behalf of Thiago 
Macieira 
Sent: Thursday, May 14, 2020 9:02 PM
To: development@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
> 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
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Bug in either moc or VS Tools

2020-05-14 Thread Thiago Macieira
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:
>  s>

It's not moc.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


[Development] Bug in either moc or VS Tools

2020-05-14 Thread David C. Partridge
I'm not sure whether this problem is caused by a bug in moc, or a bug in VS
Tools.

Problem description is here:


David


___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development