No button icons on OpenCV4 Named Windows and WINDOW_GUI_EXPANDEDOpenCv, Python3: No icons in the toolbarCalling a function of a module by using its name (a string)Getting the class name of an instance?What is the meaning of a single and a double underscore before an object name?How do I install pip on Windows?Install OpenCV on Mac OS X Lion (10.8.2) with Xcode 4.6how to only compile python module in OpenCVError building OpenCV 3.0.0 rc1 on Windows 7 (64-bit): Cannot compile/link cv2.pyd for Python 3.4opencv crosscompilation failed with __fp16 does not name typeRaspberry pi 3B OpenCV 3.4.1 Empty screen/frameOpencv on MacOS Xcode can not use imread to read image based on C++

Do Iron Man suits sport waste management systems?

How can saying a song's name be a copyright violation?

Notepad++ delete until colon for every line with replace all

Which ISO should I use for the cleanest image?

Sums of two squares in arithmetic progressions

OP Amp not amplifying audio signal

How badly should I try to prevent a user from XSSing themselves?

Do creatures with a speed 0ft., fly 30ft. (hover) ever touch the ground?

Finitely generated matrix groups whose eigenvalues are all algebraic

Are British MPs missing the point, with these 'Indicative Votes'?

Getting extremely large arrows with tikzcd

Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?

Blending or harmonizing

When handwriting 黄 (huáng; yellow) is it incorrect to have a disconnected 草 (cǎo; grass) radical on top?

Machine learning testing data

Unlock My Phone! February 2018

Could neural networks be considered metaheuristics?

How can a day be of 24 hours?

Where would I need my direct neural interface to be implanted?

How to show a landlord what we have in savings?

What is the opposite of "eschatology"?

Why is the sentence "Das ist eine Nase" correct?

Why were 5.25" floppy drives cheaper than 8"?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?



No button icons on OpenCV4 Named Windows and WINDOW_GUI_EXPANDED


OpenCv, Python3: No icons in the toolbarCalling a function of a module by using its name (a string)Getting the class name of an instance?What is the meaning of a single and a double underscore before an object name?How do I install pip on Windows?Install OpenCV on Mac OS X Lion (10.8.2) with Xcode 4.6how to only compile python module in OpenCVError building OpenCV 3.0.0 rc1 on Windows 7 (64-bit): Cannot compile/link cv2.pyd for Python 3.4opencv crosscompilation failed with __fp16 does not name typeRaspberry pi 3B OpenCV 3.4.1 Empty screen/frameOpencv on MacOS Xcode can not use imread to read image based on C++













0















I have the same problem as This question



When I use a named window in OpenCV 4 with WINDOW_GUI_EXPANDED, I get the window with buttons (zoom in, zoom out, etc.), functionality OK, but no icon in those buttons, as you can see in the following capture:



enter image description here



I'm running Linux Mint 19.1, Python 3.6, OpenCV4 (pip3 install opencv-python) and the following Build Information from OpenCV:





General configuration for OpenCV 4.0.0 =====================================
Version control: 4.0.0

Extra modules:
Location (extra): /io/opencv_contrib/modules
Version control (extra): 4.0.0

Platform:
Timestamp: 2019-01-09T18:07:09Z
Host: Linux 4.4.0-101-generic x86_64
CMake: 3.9.0
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/gmake
Configuration: Release

CPU/HW features:
Baseline: SSE SSE2 SSE3
requested: SSE3
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
SSE4_1 (5 files): + SSSE3 SSE4_1
SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
AVX2 (11 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2

C/C++:
Built as dynamic libs?: NO
C++ Compiler: /usr/lib/ccache/compilers/c++ (ver 4.8.2)
C++ flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
C++ flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
C Compiler: /usr/lib/ccache/compilers/cc
C flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
C flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release): -L/root/ffmpeg_build/lib
Linker flags (Debug): -L/root/ffmpeg_build/lib
ccache: YES
Precompiled headers: NO
Extra dependencies: ade /opt/Qt4.8.7/lib/libQtGui.so /opt/Qt4.8.7/lib/libQtTest.so /opt/Qt4.8.7/lib/libQtCore.so /lib64/libz.so /opt/libjpeg-turbo/lib64/libjpeg.a avcodec avformat avutil swscale dl m pthread rt
3rdparty dependencies: ittnotify libprotobuf libwebp libpng libtiff libjasper IlmImf quirc

OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js matlab ovis python2 sfm ts viz
Applications: -
Documentation: NO
Non-free algorithms: NO

GUI:
QT: YES (ver 4.8.7 EDITION = OpenSource)
QT OpenGL support: NO
GTK+: NO
VTK support: NO

Media I/O:
ZLib: /lib64/libz.so (ver 1.2.3)
JPEG: /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.35)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
HDR: YES
SUNRASTER: YES
PXM: YES
PFM: YES

Video I/O:
DC1394: NO
FFMPEG: YES
avcodec: YES (ver 58.21.104)
avformat: YES (ver 58.17.101)
avutil: YES (ver 56.18.102)
swscale: YES (ver 5.2.100)
avresample: NO
GStreamer: NO
v4l/v4l2: linux/videodev2.h

Parallel framework: pthreads

Trace: YES (with Intel ITT)

Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.5.1)

OpenCL: YES (no extra features)
Include path: /io/opencv/3rdparty/include/opencl/1.2
Link libraries: Dynamic load

Python 3:
Interpreter: /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
Libraries: libpython3.6m.a (ver 3.6.5)
numpy: /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
packages path: lib/python3.6/site-packages

Python (for build): /opt/python/cp36-cp36m/bin/python

Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO

Install to: /io/_skbuild/linux-x86_64-3.6/cmake-install
-----------------------------------------------------------------




Best Regards!










share|improve this question


























    0















    I have the same problem as This question



    When I use a named window in OpenCV 4 with WINDOW_GUI_EXPANDED, I get the window with buttons (zoom in, zoom out, etc.), functionality OK, but no icon in those buttons, as you can see in the following capture:



    enter image description here



    I'm running Linux Mint 19.1, Python 3.6, OpenCV4 (pip3 install opencv-python) and the following Build Information from OpenCV:





    General configuration for OpenCV 4.0.0 =====================================
    Version control: 4.0.0

    Extra modules:
    Location (extra): /io/opencv_contrib/modules
    Version control (extra): 4.0.0

    Platform:
    Timestamp: 2019-01-09T18:07:09Z
    Host: Linux 4.4.0-101-generic x86_64
    CMake: 3.9.0
    CMake generator: Unix Makefiles
    CMake build tool: /usr/bin/gmake
    Configuration: Release

    CPU/HW features:
    Baseline: SSE SSE2 SSE3
    requested: SSE3
    Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2
    requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
    SSE4_1 (5 files): + SSSE3 SSE4_1
    SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
    FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
    AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
    AVX2 (11 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2

    C/C++:
    Built as dynamic libs?: NO
    C++ Compiler: /usr/lib/ccache/compilers/c++ (ver 4.8.2)
    C++ flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
    C++ flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
    C Compiler: /usr/lib/ccache/compilers/cc
    C flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
    C flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
    Linker flags (Release): -L/root/ffmpeg_build/lib
    Linker flags (Debug): -L/root/ffmpeg_build/lib
    ccache: YES
    Precompiled headers: NO
    Extra dependencies: ade /opt/Qt4.8.7/lib/libQtGui.so /opt/Qt4.8.7/lib/libQtTest.so /opt/Qt4.8.7/lib/libQtCore.so /lib64/libz.so /opt/libjpeg-turbo/lib64/libjpeg.a avcodec avformat avutil swscale dl m pthread rt
    3rdparty dependencies: ittnotify libprotobuf libwebp libpng libtiff libjasper IlmImf quirc

    OpenCV modules:
    To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
    Disabled: world
    Disabled by dependency: -
    Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js matlab ovis python2 sfm ts viz
    Applications: -
    Documentation: NO
    Non-free algorithms: NO

    GUI:
    QT: YES (ver 4.8.7 EDITION = OpenSource)
    QT OpenGL support: NO
    GTK+: NO
    VTK support: NO

    Media I/O:
    ZLib: /lib64/libz.so (ver 1.2.3)
    JPEG: /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
    WEBP: build (ver encoder: 0x020e)
    PNG: build (ver 1.6.35)
    TIFF: build (ver 42 - 4.0.9)
    JPEG 2000: build (ver 1.900.1)
    OpenEXR: build (ver 1.7.1)
    HDR: YES
    SUNRASTER: YES
    PXM: YES
    PFM: YES

    Video I/O:
    DC1394: NO
    FFMPEG: YES
    avcodec: YES (ver 58.21.104)
    avformat: YES (ver 58.17.101)
    avutil: YES (ver 56.18.102)
    swscale: YES (ver 5.2.100)
    avresample: NO
    GStreamer: NO
    v4l/v4l2: linux/videodev2.h

    Parallel framework: pthreads

    Trace: YES (with Intel ITT)

    Other third-party libraries:
    Lapack: NO
    Eigen: NO
    Custom HAL: NO
    Protobuf: build (3.5.1)

    OpenCL: YES (no extra features)
    Include path: /io/opencv/3rdparty/include/opencl/1.2
    Link libraries: Dynamic load

    Python 3:
    Interpreter: /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
    Libraries: libpython3.6m.a (ver 3.6.5)
    numpy: /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
    packages path: lib/python3.6/site-packages

    Python (for build): /opt/python/cp36-cp36m/bin/python

    Java:
    ant: NO
    JNI: NO
    Java wrappers: NO
    Java tests: NO

    Install to: /io/_skbuild/linux-x86_64-3.6/cmake-install
    -----------------------------------------------------------------




    Best Regards!










    share|improve this question
























      0












      0








      0








      I have the same problem as This question



      When I use a named window in OpenCV 4 with WINDOW_GUI_EXPANDED, I get the window with buttons (zoom in, zoom out, etc.), functionality OK, but no icon in those buttons, as you can see in the following capture:



      enter image description here



      I'm running Linux Mint 19.1, Python 3.6, OpenCV4 (pip3 install opencv-python) and the following Build Information from OpenCV:





      General configuration for OpenCV 4.0.0 =====================================
      Version control: 4.0.0

      Extra modules:
      Location (extra): /io/opencv_contrib/modules
      Version control (extra): 4.0.0

      Platform:
      Timestamp: 2019-01-09T18:07:09Z
      Host: Linux 4.4.0-101-generic x86_64
      CMake: 3.9.0
      CMake generator: Unix Makefiles
      CMake build tool: /usr/bin/gmake
      Configuration: Release

      CPU/HW features:
      Baseline: SSE SSE2 SSE3
      requested: SSE3
      Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2
      requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
      SSE4_1 (5 files): + SSSE3 SSE4_1
      SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
      FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
      AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
      AVX2 (11 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2

      C/C++:
      Built as dynamic libs?: NO
      C++ Compiler: /usr/lib/ccache/compilers/c++ (ver 4.8.2)
      C++ flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
      C++ flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
      C Compiler: /usr/lib/ccache/compilers/cc
      C flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
      C flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
      Linker flags (Release): -L/root/ffmpeg_build/lib
      Linker flags (Debug): -L/root/ffmpeg_build/lib
      ccache: YES
      Precompiled headers: NO
      Extra dependencies: ade /opt/Qt4.8.7/lib/libQtGui.so /opt/Qt4.8.7/lib/libQtTest.so /opt/Qt4.8.7/lib/libQtCore.so /lib64/libz.so /opt/libjpeg-turbo/lib64/libjpeg.a avcodec avformat avutil swscale dl m pthread rt
      3rdparty dependencies: ittnotify libprotobuf libwebp libpng libtiff libjasper IlmImf quirc

      OpenCV modules:
      To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
      Disabled: world
      Disabled by dependency: -
      Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js matlab ovis python2 sfm ts viz
      Applications: -
      Documentation: NO
      Non-free algorithms: NO

      GUI:
      QT: YES (ver 4.8.7 EDITION = OpenSource)
      QT OpenGL support: NO
      GTK+: NO
      VTK support: NO

      Media I/O:
      ZLib: /lib64/libz.so (ver 1.2.3)
      JPEG: /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
      WEBP: build (ver encoder: 0x020e)
      PNG: build (ver 1.6.35)
      TIFF: build (ver 42 - 4.0.9)
      JPEG 2000: build (ver 1.900.1)
      OpenEXR: build (ver 1.7.1)
      HDR: YES
      SUNRASTER: YES
      PXM: YES
      PFM: YES

      Video I/O:
      DC1394: NO
      FFMPEG: YES
      avcodec: YES (ver 58.21.104)
      avformat: YES (ver 58.17.101)
      avutil: YES (ver 56.18.102)
      swscale: YES (ver 5.2.100)
      avresample: NO
      GStreamer: NO
      v4l/v4l2: linux/videodev2.h

      Parallel framework: pthreads

      Trace: YES (with Intel ITT)

      Other third-party libraries:
      Lapack: NO
      Eigen: NO
      Custom HAL: NO
      Protobuf: build (3.5.1)

      OpenCL: YES (no extra features)
      Include path: /io/opencv/3rdparty/include/opencl/1.2
      Link libraries: Dynamic load

      Python 3:
      Interpreter: /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
      Libraries: libpython3.6m.a (ver 3.6.5)
      numpy: /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
      packages path: lib/python3.6/site-packages

      Python (for build): /opt/python/cp36-cp36m/bin/python

      Java:
      ant: NO
      JNI: NO
      Java wrappers: NO
      Java tests: NO

      Install to: /io/_skbuild/linux-x86_64-3.6/cmake-install
      -----------------------------------------------------------------




      Best Regards!










      share|improve this question














      I have the same problem as This question



      When I use a named window in OpenCV 4 with WINDOW_GUI_EXPANDED, I get the window with buttons (zoom in, zoom out, etc.), functionality OK, but no icon in those buttons, as you can see in the following capture:



      enter image description here



      I'm running Linux Mint 19.1, Python 3.6, OpenCV4 (pip3 install opencv-python) and the following Build Information from OpenCV:





      General configuration for OpenCV 4.0.0 =====================================
      Version control: 4.0.0

      Extra modules:
      Location (extra): /io/opencv_contrib/modules
      Version control (extra): 4.0.0

      Platform:
      Timestamp: 2019-01-09T18:07:09Z
      Host: Linux 4.4.0-101-generic x86_64
      CMake: 3.9.0
      CMake generator: Unix Makefiles
      CMake build tool: /usr/bin/gmake
      Configuration: Release

      CPU/HW features:
      Baseline: SSE SSE2 SSE3
      requested: SSE3
      Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2
      requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
      SSE4_1 (5 files): + SSSE3 SSE4_1
      SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
      FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
      AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
      AVX2 (11 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2

      C/C++:
      Built as dynamic libs?: NO
      C++ Compiler: /usr/lib/ccache/compilers/c++ (ver 4.8.2)
      C++ flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
      C++ flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
      C Compiler: /usr/lib/ccache/compilers/cc
      C flags (Release): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
      C flags (Debug): -Wl,-strip-all -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-missing-field-initializers -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
      Linker flags (Release): -L/root/ffmpeg_build/lib
      Linker flags (Debug): -L/root/ffmpeg_build/lib
      ccache: YES
      Precompiled headers: NO
      Extra dependencies: ade /opt/Qt4.8.7/lib/libQtGui.so /opt/Qt4.8.7/lib/libQtTest.so /opt/Qt4.8.7/lib/libQtCore.so /lib64/libz.so /opt/libjpeg-turbo/lib64/libjpeg.a avcodec avformat avutil swscale dl m pthread rt
      3rdparty dependencies: ittnotify libprotobuf libwebp libpng libtiff libjasper IlmImf quirc

      OpenCV modules:
      To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
      Disabled: world
      Disabled by dependency: -
      Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js matlab ovis python2 sfm ts viz
      Applications: -
      Documentation: NO
      Non-free algorithms: NO

      GUI:
      QT: YES (ver 4.8.7 EDITION = OpenSource)
      QT OpenGL support: NO
      GTK+: NO
      VTK support: NO

      Media I/O:
      ZLib: /lib64/libz.so (ver 1.2.3)
      JPEG: /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
      WEBP: build (ver encoder: 0x020e)
      PNG: build (ver 1.6.35)
      TIFF: build (ver 42 - 4.0.9)
      JPEG 2000: build (ver 1.900.1)
      OpenEXR: build (ver 1.7.1)
      HDR: YES
      SUNRASTER: YES
      PXM: YES
      PFM: YES

      Video I/O:
      DC1394: NO
      FFMPEG: YES
      avcodec: YES (ver 58.21.104)
      avformat: YES (ver 58.17.101)
      avutil: YES (ver 56.18.102)
      swscale: YES (ver 5.2.100)
      avresample: NO
      GStreamer: NO
      v4l/v4l2: linux/videodev2.h

      Parallel framework: pthreads

      Trace: YES (with Intel ITT)

      Other third-party libraries:
      Lapack: NO
      Eigen: NO
      Custom HAL: NO
      Protobuf: build (3.5.1)

      OpenCL: YES (no extra features)
      Include path: /io/opencv/3rdparty/include/opencl/1.2
      Link libraries: Dynamic load

      Python 3:
      Interpreter: /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
      Libraries: libpython3.6m.a (ver 3.6.5)
      numpy: /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
      packages path: lib/python3.6/site-packages

      Python (for build): /opt/python/cp36-cp36m/bin/python

      Java:
      ant: NO
      JNI: NO
      Java wrappers: NO
      Java tests: NO

      Install to: /io/_skbuild/linux-x86_64-3.6/cmake-install
      -----------------------------------------------------------------




      Best Regards!







      python qt opencv






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 21:04









      Jorge HarachJorge Harach

      563




      563






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052759%2fno-button-icons-on-opencv4-named-windows-and-window-gui-expanded%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052759%2fno-button-icons-on-opencv4-named-windows-and-window-gui-expanded%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

          Алба-Юлія

          Захаров Федір Захарович