Ask Your Question
0

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

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

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...)

https://docs.opencv.org/3.4/dc/d46/gr...

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

Comments

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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

mvuori gravatar image

See: "The library is compiled without QT support in function displayOverlay #2" https://github.com/Cartucho/OpenLabel...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 63 times

Last updated: Jan 02