Skip to content

Recover if opencv native libs unavailable#1951

Merged
petebankhead merged 1 commit intoqupath:mainfrom
petebankhead:unopened-cv
Jul 7, 2025
Merged

Recover if opencv native libs unavailable#1951
petebankhead merged 1 commit intoqupath:mainfrom
petebankhead:unopened-cv

Conversation

@petebankhead
Copy link
Member

The practical benefit is if we wish to make a stripped-down distribution that operates as a viewer but excludes OpenCV and other non-essential features.

We can't remove qupath-core-processing, which pulls in OpenCV, but these changes mean that the unavailability of the native libraries doesn't stop QuPath from launching.

This can be tested using

./gradlew run -PjavacppPlatform=-

The practical benefit is if we wish to make a stripped-down distribution that operates as a viewer but excludes OpenCV and other non-essential features.

We can't remove `qupath-core-processing`, which pulls in OpenCV, but these changes mean that the unavailability of the native libraries doesn't stop QuPath from launching.

This can be tested using
```
./gradlew run -PjavacppPlatform=-
```
@petebankhead petebankhead merged commit a5a5cd2 into qupath:main Jul 7, 2025
3 checks passed
@petebankhead petebankhead deleted the unopened-cv branch July 7, 2025 11:44
@petebankhead petebankhead added this to the v0.7.0 milestone Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant