Missing Icons in Highgui Toolbar (Bug #3152)


Added by Stefan R over 11 years ago. Updated over 10 years ago.


Status:Done Start date:2013-07-11
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:highgui-gui
Target version:-
Affected version:2.4.9 (latest release) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:

Description

Applies to OpenCV 2.4.6, MSVC 9.0, Windows 7, Qt 4.8.4, x64

The icons in the window toolbar (GUI built with QT) have no visible icons and are basically invisible though they same to work.

Also describe here.
http://answers.opencv.org/question/16323/missing-icons-in-highgui-toolbar-and-wrong-color/


Associated revisions

Revision 71891123
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3152 from PhilLab:VideoCaptureFix

History

Updated by Nikita Manovich over 11 years ago

  • Assignee set to Vadim Pisarevsky
  • Status changed from New to Open

Updated by Khue Le over 10 years ago

Any suggestions to solve this problem?

OpenCV 2.4.9, Qt 5. on x64 Ubuntu 14.04 and still have this problem.

Stefan R wrote:

Applies to OpenCV 2.4.6, MSVC 9.0, Windows 7, Qt 4.8.4, x64

The icons in the window toolbar (GUI built with QT) have no visible icons and are basically invisible though they same to work.

Also describe here.
http://answers.opencv.org/question/16323/missing-icons-in-highgui-toolbar-and-wrong-color/

Updated by Steven Puttemans over 10 years ago

Got OpenCV 2.4.9 latest github release built with Qt 5.3 and CUDA 6.5 on Ubuntu 14.04 x64 bit here and icons appear normal.

  • Affected version changed from 2.4.6 (latest release) to 2.4.9 (latest release)

Updated by Khue Le over 10 years ago

Steven Puttemans wrote:

Got OpenCV 2.4.9 latest github release built with Qt 5.3 and CUDA 6.5 on Ubuntu 14.04 x64 bit here and icons appear normal.

Hi Steven. What are the options when you configured cmake?

I'll try upgrading Qt 5.2.1 to 5.3 to see if there's a difference.

Updated by Khue Le over 10 years ago

It works with Qt 5.3.

Updated by Steven Puttemans over 10 years ago

Perfect! It will probably have been a bug in earlier Qt release I am guessing. So this can be put on done.

  • Status changed from Open to Done
  • Assignee deleted (Vadim Pisarevsky)

Updated by Dmitry Ryuma over 10 years ago

Hi there!
I'm having the very same issue with missing icons while using QT4.
Based on this thread, I realize that I'd better upgrade to QT5.3.
But are there any good instructions on how to configure my OpenCV project with using QT5.3?
I followed these instructions to install QT5: http://www.sysads.co.uk/2014/06/install-qt-5-3-1-in-ubuntu-14-04/
But I'm not sure what's next. OpenCV cmake doesn't find the QT5 libs and trying to redirect it to the folder doesn't really work for me.
Am I missing anything?
I'm using OPenCV 2.4.6, Ubuntu 14.04.

Thanks in advance!
Dmitry

Updated by Steven Puttemans over 10 years ago

Several problems in your approach

1. Use OpenCV 2.4.9, several bugs related to Qt were fixed in the last months
2. Use cmake-gui and manually select all your Qt paths needed

Then it should work perfectly fine

Also available in: Atom PDF