We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d65f59 commit b3d72acCopy full SHA for b3d72ac
1 file changed
packages/PyQt6-Qlementine/project.py
@@ -300,8 +300,13 @@ def apply_user_defaults(self, tool):
300
if sys.platform == "win32":
301
self.builder_settings.append("QMAKE_CXXFLAGS += /std:c++17 /W0")
302
else:
303
+ # -Wno-implicit-function-declaration works around Qt 6.8.x's
304
+ # qyieldcpu.h calling __yield() on arm64 without including
305
+ # <arm_acle.h>; Apple clang 21 trusts __has_builtin(__yield) but
306
+ # can't resolve the call. No-op under GCC C++ compiles.
307
self.builder_settings.append(
- "QMAKE_CXXFLAGS += -std=c++17 -Wno-error -Wno-overloaded-virtual"
308
+ "QMAKE_CXXFLAGS += -std=c++17 -Wno-error "
309
+ "-Wno-overloaded-virtual -Wno-implicit-function-declaration"
310
)
311
312
super().apply_user_defaults(tool)
0 commit comments