# Revision history [back]

### opencv and qt

Hello, I'm having trouble compiling opencv with mingw32. I have a project which needs opencv, qt, and ffmpeg.

In the .pro file, I have these lines: win32 { INCLUDEPATH += \ "C:\opencv\include" \ "C:\FFmpeg\1.2.1\include" LIBS += \ -L"C:\opencv\lib" \ -L"C:\FFmpeg\1.2.1\lib" }

I will work on qtcreator, and to compile opencv, I use CMAKE and mingw32.

My question is, do I need to tick WITH_QT and WITH_FFMPEG? QT is already installed, and will be found by qtcreator, so I don't need it with opencv, am I right?

And same question for FFMPEG, as there is a different path for FFMPEG, I will download FFMPEG, and compile it myself, so I think I don't need to tick WITH_FFMPEG....

I'm new to this kind of stuff, and I have to admit that I'm a bit lost....

### opencv and qt

Hello, I'm having trouble compiling opencv with mingw32. I have a project which needs opencv, qt, and ffmpeg.

In the .pro file, I have these lines:

win32 {
INCLUDEPATH += \
"C:\opencv\include" \
"C:\FFmpeg\1.2.1\include"
LIBS += \
-L"C:\opencv\lib" \
-L"C:\FFmpeg\1.2.1\lib"
}}


I will work on qtcreator, and to compile opencv, I use CMAKE and mingw32.

My question is, do I need to tick WITH_QT and WITH_FFMPEG? QT is already installed, and will be found by qtcreator, so I don't need it with opencv, am I right?

And same question for FFMPEG, as there is a different path for FFMPEG, I will download FFMPEG, and compile it myself, so I think I don't need to tick WITH_FFMPEG....

I'm new to this kind of stuff, and I have to admit that I'm a bit lost....