Fix a missing header path when building with Qt 4.

Also, removing explicit include path configuration,
since QT_USE_FILE takes care of that.
This commit is contained in:
Roman Donchenko
2013-06-06 14:09:33 +04:00
parent 7f9675bcc0
commit 8714cbac91
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