ENH: add qtmain to findqt
This commit is contained in:
parent
7eba286403
commit
9704c8f8c3
|
@ -568,6 +568,12 @@ 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_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)
|
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.
|
# Check the existence of the libraries.
|
||||||
|
|
Loading…
Reference in New Issue