Enable `qtquickforkawesome` by default

This commit is contained in:
Martchus 2021-10-15 22:13:59 +02:00
parent 009c722c89
commit 5c9fe92ff6
2 changed files with 2 additions and 3 deletions

View File

@ -38,7 +38,7 @@ add_subdirectory(${META_PROJECT_NAME})
set(${PACKAGE_NAMESPACE_PREFIX}${META_PROJECT_NAME}${CONFIGURATION_PACKAGE_SUFFIX_QTFORKAWESOME}_DIR "${CMAKE_CURRENT_BINARY_DIR}/${META_PROJECT_NAME}")
add_subdirectory(iconengineplugin)
option(ENABLE_QT_QUICK_LIBRARY "enables building the library for Qt Quick integration" OFF)
option(ENABLE_QT_QUICK_LIBRARY "enables building the library for Qt Quick integration" ON)
if (ENABLE_QT_QUICK_LIBRARY)
add_subdirectory(qtquickforkawesome)
endif ()

View File

@ -79,8 +79,7 @@ to one of your source files.
### QQuickImageProvider
A `QQuickImageProvider` is provided as well in form of the additional library
`qtquickforkawesome` which can be enabled by adding
`-DENABLE_QT_QUICK_LIBRARY:BOOL=ON` to the CMake arguments.
`qtquickforkawesome`.
Then just include the header: