On Wednesday, 23 August 2023 06:03:24 PDT Alexandru Croitor via Development 
wrote:
> Looking at the log, it appears that mingw's windres.exe can't handle spaces
> in paths passed to -I?
> 
> -I "C:/Program Files/PostgreSQL/14/include"
> 
> cc1.exe: fatal error: Files/PostgreSQL/14/include: No such file or directory
> compilation terminated.
> 
> In any case, you can work around it by either removing the postgresql
> installation, or configuring qt with -no-feature-sql-psql

Or moving that PostgreSQL to a path without spaces, or getting a fixed windres. 
It looks the latter is not possible, as the bug reports on the topic are still 
open: 
https://sourceware.org/bugzilla/show_bug.cgi?id=27594
Looks like windres has a design flaw and there's no agreement on how or even if 
it should be fixed.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to