diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 5b8aaaf139..3e148b0036 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -157,7 +157,7 @@ ENDIF(NOT QT_QTCORE_INCLUDE_DIR) # Set QT_QTDESIGNER_INCLUDE_DIR IF(NOT QT_QTDESIGNER_INCLUDE_DIR) - FIND_PATH( QT_QTDESIGNER_INCLUDE_DIR QtDesigner ${QT_INCLUDE_DIR}/QtDesigner) + FIND_PATH( QT_QTDESIGNER_INCLUDE_DIR QtDesigner ${QT_INCLUDE_DIR}/QDesignerComponents) IF( NOT QT_QTDESIGNER_INCLUDE_DIR ) IF( NOT Qt_FIND_QUIETLY) MESSAGE( STATUS "Could not find ${QT_INCLUDE_DIR}/QtDesigner")