I built OpenCV from CMake to work with QT in prior months. I now want to also develop in Visual Studio 2010. Can I use this same installation, or do I need to have 2 opencv installations for this to work?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since your question isn’t quite clear, I’m going to make an assumption that you compiled OpenCV with Qt support. It should be noted that Qt support has nothing to do with whether or not you compiled it to work with Qt Creator for example. This Qt support enhances the
highguiAPI (e.g.,imshowetc…).If you set your OpenCV build target to be MinGW based, then yes, you will have to recompile OpenCV.
If, on the other hand, you set the build target to Visual Studio 2010 based, then no the OpenCV build should work fine with Visual Studio.
Hope that is helpful!