Sfoglia il codice sorgente

ENH: add changes for qt4 from Clinton Stimpson

Bill Hoffman 20 anni fa
parent
commit
a95fef3d1c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Modules/FindQt4.cmake

+ 1 - 1
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")