Merge pull request #959 from SpecLad:qt4-build

This commit is contained in:
Roman Donchenko
2013-06-07 11:27:45 +04:00
committed by OpenCV Buildbot
2 changed files with 2 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ if(WITH_QT)
endif()
if(NOT HAVE_QT)
find_package(Qt4)
find_package(Qt4 REQUIRED QtCore QtGui QtTest)
if(QT4_FOUND)
set(HAVE_QT TRUE)
add_definitions(-DHAVE_QT) # We need to define the macro this way, using cvconfig.h does not work