From c75fb61f3c460305ec6fd7e207681fb2239beaad Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 1 Aug 2006 09:12:18 -0400 Subject: ENH: put back find qtmain --- Modules/FindQt4.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index e06a19e..66f7882 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -535,6 +535,14 @@ IF (QT4_QMAKE_FOUND) FIND_LIBRARY(QT_QTDESIGNER_LIBRARY_RELEASE NAMES QtDesigner QtDesigner4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) FIND_LIBRARY(QT_QTDESIGNER_LIBRARY_DEBUG NAMES QtDesigner_debug QtDesignerd4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) + # Set QT_QTMAIN_LIBRARY + IF(WIN32) + FIND_LIBRARY(QT_QTMAIN_LIBRARY_RELEASE NAMES qtmain PATHS ${QT_LIBRARY_DIR} + NO_DEFAULT_PATH) + FIND_LIBRARY(QT_QTMAIN_LIBRARY_DEBUG NAMES qtmaind PATHS ${QT_LIBRARY_DIR} + NO_DEFAULT_PATH) + ENDIF(WIN32) + ############################################ # # Check the existence of the libraries. -- cgit v0.12