Ask Your Question

About calling the function "displayoverlay" of opencv in Visual Studio 2015

asked 2020-01-02 02:26:52 -0600

Hi, everyone. Recently I am trying to run the sample code of Qt New Function in Visual Studio 2015 (Hereinafter referred to as VS2015). Now I have successfully run lots of opencv project with VS2015. And then I saw the interesting and powerful UI widget Qt. According to my apprehension, I think this widget can turn my UI into the one the link below shows. (Although now I really doubt if I am right...)

I'm sure now I have installed the Qt properly and I can open a Qt project in VS2015. But when I run the sample code in the link above, the debugger keep popping out error message "The library is compiled without QT support".

Now I think maybe I should compile and build opencv myself with Qt and then import it to my VS project. Is that right? If so, how can I do that ? Could somebody please help me as I'm actually quite unfamiliar with these things...

edit retag flag offensive close merge delete


did you rebuild the opencv libs from src, with qt dev kit installed ? (you have to!)

berak gravatar imageberak ( 2020-01-02 05:27:52 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-01-02 05:34:11 -0600

mvuori gravatar image

See: "The library is compiled without QT support in function displayOverlay #2"

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-01-02 02:26:52 -0600

Seen: 1,609 times

Last updated: Jan 02 '20