2
# Try to find QtMultimedia
3
# TODO: Remove this hack when cmake support QtMultimedia module
4
if (NOT QT_QTMULTIMEDIA_FOUND AND ${QTVERSION} VERSION_GREATER 4.5.9)
5
find_path(QT_QTMULTIMEDIA_INCLUDE_DIR QtMultimedia
6
PATHS ${QT_HEADERS_DIR}/QtMultimedia
7
${QT_LIBRARY_DIR}/QtMultimedia.framework/Headers
9
find_library(QT_QTMULTIMEDIA_LIBRARY QtMultimedia PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH)
10
if (QT_QTMULTIMEDIA_INCLUDE_DIR AND QT_QTMULTIMEDIA_LIBRARY)
11
set(QT_QTMULTIMEDIA_FOUND ON)
13
#Replace this on documentation
14
set(if_QtMultimedia "<!--")
15
set(end_QtMultimedia "-->")
19
# Try to find QtMaemo5 - it has to be done before QtGui to enable some QtMaemo5 flags
20
# TODO: Remove this hack when cmake support QtMaemo5 module
21
if (NOT QT_QTMAEMO5_FOUND AND ${QTVERSION} VERSION_GREATER 4.5.9)
22
find_path(QT_QTMAEMO5_INCLUDE_DIR QtMaemo5
23
PATHS ${QT_HEADERS_DIR}/QtMaemo5
24
${QT_LIBRARY_DIR}/QtMaemo5.framework/Headers
26
find_library(QT_QTMAEMO5_LIBRARY QtMaemo5 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH)
27
if (QT_QTMAEMO5_INCLUDE_DIR AND QT_QTMAEMO5_LIBRARY)
28
set(QT_QTMAEMO5_FOUND ON)
31
#Replace this on documentation
37
# Try to find QtDeclarative
38
# TODO: Remove this hack when cmake support QtDeclarative module
39
if (NOT QT_QTDECLARATIVE_FOUND AND ${QTVERSION} VERSION_GREATER 4.6.0)
40
find_path(QT_QTDECLARATIVE_INCLUDE_DIR QtDeclarative
41
PATHS ${QT_HEADERS_DIR}/QtDeclarative
42
${QT_LIBRARY_DIR}/QtDeclarative.framework/Headers
44
find_library(QT_QTDECLARATIVE_LIBRARY QtDeclarative PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH)
45
if (QT_QTDECLARATIVE_INCLUDE_DIR AND QT_QTDECLARATIVE_LIBRARY)
46
set(QT_QTDECLARATIVE_FOUND ON)
48
#Replace this on documentation
49
set(if_QtDeclarative "<!--")
50
set(end_QtDeclarative "-->")