user3079474
user3079474

Reputation: 1793

CMake options for Interfacing Qt 5.2.1 (MSVC 2012) with OpenCV

I'm trying to make OpenCV 2.4.9 work with Qt 5.2.1 (MSVC 2012). My question is that is it necessary to build the OpenCV libraries from scratch to make them work with QT (Since a pre compiled version with VC 11 is already provided). If this is not the case, how should I build my OpenCV library with CMake? Should I enable the 'WITH_QT' option or not?

I'm working on windows 7.

Upvotes: 0

Views: 276

Answers (1)

berak
berak

Reputation: 39816

  • "is it necessary to build the OpenCV libraries from scratch to make them work with QT" - yes, definitely.
  • " Should I enable the 'WITH_QT' option" - yes. (and check the cmake output carefully, if it found/accepted your QT install)

Upvotes: 1

Related Questions