Sagar Patel
Sagar Patel

Reputation: 852

Why am I getting QUnhandledException?

Upvotes: 3

Views: 218

Answers (1)

Reed Tomlinson
Reed Tomlinson

Reputation: 71

I ran into the same error using OpenBR V1.1.0, with OpenCV-2.4.11 running on Ubuntu 14.04.3. I was able to move beyond the QUnhandledException by uninstalling QT4.x and explicitly linking OpenCV with QT5. With a little help from this open GitHub issue, I got things working by doing the following.

Uninstall earlier version of QT:

apt-get remove qt4-linguist-tools
apt-get remove qt4-qmake
apt-get autoremove

Install QT5:

apt-get install qtdeclarative5-dev
apt-get install qttools5-dev-tools

Build OpenCV from source with this cmake command:

cmake -DWITH_QT5=ON -DCMAKE_BUILD_TYPE=Release ..

Build OpenBR from source

Upvotes: 1

Related Questions