Closed Armmegon closed 9 months ago
It seems to be related to C++17's filesystem library. Check if your C++ compiler supports C++17 standard.
@L-Super I am not sure but they should be supporting it:
☁ cmake-build-release gcc --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
☁ cmake-build-release g++ --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
☁ cmake-build-release
Updating the QCefView code may solve this problem. You can see https://github.com/CefView/QCefView/discussions/329?sort=new#discussioncomment-7485042
@L-Super no difference at all. Still the exact same issue. This project is uncompilable on MacOS Sonoma 14.1
But QCefView still need to support macOS 10.13+, if you want to compile QCefView with Qt 6.5+, that means the minimum deployment target should be macOS 11.0+.
New commit to detect the deployment target: https://github.com/CefView/QCefView/commit/d8d134926d311bdc6412619774ebb7edd5d38d92
you can try it.
@tishion HA! Now it compiles. Thank you sir!
P.S. Another question anyone have tried to notarize this librariy as part of their app for Mac App store? Because QtWebEngine can't be notarised for Mac App Store.
@tishion thanks to your feedback and changes in the code I was able to build the project. However now it crashes and bare minimum implementation, please check this: https://github.com/CefView/QCefView/issues/351
Trying to build QCefView on my MacBook M2 Max with MacOS 13.5 I get get this error:
Any idea why do I get this issue and how can I fix it ?