Qt 6.5.2 Build Crash After update to macOS14 SDK
-
After updating the macOS SDK to version 14, the QT build process starts to break due to problems in libc++. Apparently, starting with version 14, the macOS SDK makes support for some C++17 features available. However, due to a problem with the libc++ provided in this SDK, some symbols are not found when running applications. As a result, some applications generated in the QT build process start to break (./libexec/moc for example).
The error produced by this application is:
dyld[79724]: Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
Referenced from: <14C05DB7-86A2-3288-939B-5E482D77687B> /.../qtbase/libexec/moc
Expected in: <3EE92404-8FC3-374B-A598-D5C9A8CD64B5> /usr/lib/libc++.1.dylibHas anyone managed to figure out how to get around the problem with some build option, while the libc++ library is not fixed?
-
Hey,
Try to upgrade your macOS to Sonoma which is now released.
I also faced the same issue, after upgrading the OS to 14.0, the build passes now.
Thanks
Senthil -
@senthilt_1984 said in Qt 6.5.2 Build Crash After update to macOS14 SDK:
Hey,
Try to upgrade your macOS to Sonoma which is now released.
I also faced the same issue, after upgrading the OS to 14.0, the build passes now.
Thanks
SenthilSame for me. Updating to Sonoma solved!