Qmake failing with SDK 14 / Ventura 13.5.2

1.5k Views Asked by At

So today I installed Ventura 13.5.1 update, and with it SDK 14, and now if I try and run qmake I get the error:

Project ERROR: failed to parse default search paths from compiler output

Is seems that qmake can't find the lib/include paths from the compiler output anymore. Anyone have a solution for this? Short of rolling back the SDK?

2

There are 2 best solutions below

0
keith969 On

OK so the answer to this from the Qt folks is as follows:

This issue will be fixed in the next release of each branch (Qt 6.6, 6.5, 6.2, and 5.15): https://bugreports.qt.io/browse/QTBUG-117225

In the meantime, please manually patch /mkspecs/features/toolchain.prf

0
d99kris On

The Qt bug tracker also mentions a workaround which worked fine for me:

qmake ~/foo/bar -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib