Closed Mathijs-Bakker closed 6 months ago
https://github.com/slint-ui/slint/pull/4566 should workaround such issue by disabling the Qt backend by default on Mac.
But the problem is that clang can't find standard library header:
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead
That is really strange and i can't explain it. Perhaps something wrong with your compiler.
OK, I solved it...
I can't put my finger on it, but I suspect Homebrew is also installing command-line-tools (next to Xcode) and messes things up with the path to the SDK.
In my case I had to change the /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
path to/with:
$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Closing this issue and thanks!
I can not
cargo build
on MacOS 12.6 as I get the following error:I updated QT for Mac. But still I have the same issue.
The only issues with Qt w/ MacOS I found: #3819 #3921