- if (WITH_WEBKIT)
- find_package(Qt5WebKit QUIET)
- set_package_properties(Qt5WebKit PROPERTIES TYPE RECOMMENDED
- URL "http://qt.digia.com"
- DESCRIPTION "a WebKit implementation for Qt"
- PURPOSE "Needed for displaying previews for URLs in chat"
- )
- if (Qt5WebKit_FOUND)
- find_package(Qt5WebKitWidgets QUIET)
- set_package_properties(Qt5WebKitWidgets PROPERTIES TYPE RECOMMENDED
- URL "http://qt.digia.com"
- DESCRIPTION "widgets for Qt's WebKit implementation"
- PURPOSE "Needed for displaying previews for URLs in chat"
- )
- endif()
- endif()
- add_feature_info("WITH_WEBKIT, QtWebKit and QtWebKitWidgets modules" Qt5WebKitWidgets_FOUND "Support showing previews for URLs in chat")
-
- # KDE Frameworks
- ################
-
- if (WITH_KDE)
- set(ecm_find_type "REQUIRED")
- else()
- # Even with KDE integration disabled, we optionally use tier1 frameworks if we find them
- set(ecm_find_type "RECOMMENDED")
- endif()