You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This change adds the ability for the cv created normal window to be TOPMOST, in situations where it is needed for the Window to be above all of the others.
To make a normal window TOPMOST, call cvSetWindowProperty with property WND_PROP_TOPMOST and a non-zero property value. Passing in 0 for the prop_value will make the window TOP.
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution!
Unfortunately there is no design decision (and consistency in existed code) about errors handling for U/I functionality (silent/log message/return value or exception) at this moment.
[ 44%] Linking CXX shared library ../../lib/libopencv_highgui.dylib
Undefined symbols for architecture x86_64:
"cvGetPropTopmost_COCOA(char const*)", referenced from:
_cvGetWindowProperty in window.cpp.o
cv::getWindowProperty(cv::String const&, int) in window.cpp.o
"cvSetPropTopmost_COCOA(char const*, bool)", referenced from:
_cvSetWindowProperty in window.cpp.o
cv::setWindowProperty(cv::String const&, int, double) in window.cpp.o
ld: symbol(s) not found for architecture x86_64
I don't have macOS env so that I don't know whether this PR actually trigger this error or not. However, according to my investigation shown below, the possibility is high, I think.
Defining HAVE_COCOA is not related to defining HAVE_QT.
@yumetodo I'm not entirely sure if the newly added code, as it is, is causing a linking problem when the Qt option is selected. I'm guessing, this may be a CMake issue for the Build folks to review/research.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change adds the ability for the cv created normal window to be TOPMOST, in situations where it is needed for the Window to be above all of the others.
To make a normal window TOPMOST, call cvSetWindowProperty with property WND_PROP_TOPMOST and a non-zero property value. Passing in 0 for the prop_value will make the window TOP.