Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS support #20

Open
hn-88 opened this issue Dec 8, 2023 · 5 comments
Open

MacOS support #20

hn-88 opened this issue Dec 8, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@hn-88
Copy link
Owner

hn-88 commented Dec 8, 2023

https://stackoverflow.com/questions/73108273/building-and-distributing-a-macos-application-using-cmake
indicates macdeployqt

@hn-88
Copy link
Owner Author

hn-88 commented Dec 8, 2023

More references
https://amin-ahmadi.com/2019/07/03/deploying-qtopencv-applications-on-macos/
perhaps - not tested.

Or maybe just like linuxdeployqt there might be a -bundle-non-qt-libs option?

Answer: No, it doesn't.
https://doc.qt.io/qt-6/macos-deployment.html

@hn-88
Copy link
Owner Author

hn-88 commented Dec 8, 2023

Even installing the build dependencies fails. Pausing work on this for now.

@hn-88 hn-88 added the help wanted Extra attention is needed label Dec 8, 2023
@hn-88
Copy link
Owner Author

hn-88 commented Dec 17, 2023

This thread suggests a workaround -
brew upgrade || true

Maybe I can try that.

@hn-88
Copy link
Owner Author

hn-88 commented Dec 17, 2023

But, no, elsewhere in the thread, someone says,

This is also not feasible for us as the exact Python version required for a package to be installed is not known/may change.

Hence our workaround is to remove the symlinks on failure and retry: https://github.com/boostorg/boost-ci/blob/ac5ae7e901e49351d19de278cbf82ce8d2c44216/ci/setup_ccache.sh#L17-L24

@hn-88 hn-88 removed the help wanted Extra attention is needed label Dec 18, 2023
@hn-88
Copy link
Owner Author

hn-88 commented Dec 18, 2023

Working after removing the symlinks and then running. TODO - make a package?

The github workflow which returns a successful build is at https://github.com/hn-88/OCVWarp/blob/d7abd17b72981f34c22c810decbd20b912420551/.github/workflows/osx-build.yml

@hn-88 hn-88 added the enhancement New feature or request label Jan 27, 2024
@hn-88 hn-88 self-assigned this Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant