[Development] Failed to run configure.bat in qt/qt5 repository on Windows?
Thiago Macieira
thiago.macieira at intel.com
Wed Aug 23 16:50:52 CEST 2023
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230823/b6b96142/attachment.bin>
More information about the Development
mailing list