Commit cabddaeb authored by Andrey Kamaev's avatar Andrey Kamaev

Revert "Issue #2035 Calling cv::namedWindow crashes on Android fixed."

This reverts commit 36135fc5.
parent e83ff354
...@@ -70,8 +70,6 @@ set(highgui_srcs ...@@ -70,8 +70,6 @@ set(highgui_srcs
file(GLOB highgui_ext_hdrs "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h") file(GLOB highgui_ext_hdrs "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h")
add_definitions(-DHAVE_ANDROID_UI)
if(HAVE_QT) if(HAVE_QT)
if (HAVE_QT_OPENGL) if (HAVE_QT_OPENGL)
set(QT_USE_QTOPENGL TRUE) set(QT_USE_QTOPENGL TRUE)
......
...@@ -54,7 +54,6 @@ struct CvVideoWriter; ...@@ -54,7 +54,6 @@ struct CvVideoWriter;
namespace cv namespace cv
{ {
#if defined(ANDROID) && defined(HAVE_ANDROID_UI)
enum { enum {
// Flags for namedWindow // Flags for namedWindow
WINDOW_NORMAL = CV_WINDOW_NORMAL, // the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size WINDOW_NORMAL = CV_WINDOW_NORMAL, // the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size
...@@ -156,8 +155,6 @@ CV_EXPORTS int createButton( const string& bar_name, ButtonCallback on_change, ...@@ -156,8 +155,6 @@ CV_EXPORTS int createButton( const string& bar_name, ButtonCallback on_change,
void* userdata=NULL, int type=CV_PUSH_BUTTON, void* userdata=NULL, int type=CV_PUSH_BUTTON,
bool initial_button_state=0); bool initial_button_state=0);
#endif
//------------------------- //-------------------------
enum enum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment