Enable `qtquickforkawesome` by default
This commit is contained in:
parent
009c722c89
commit
5c9fe92ff6
|
@ -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}")
|
set(${PACKAGE_NAMESPACE_PREFIX}${META_PROJECT_NAME}${CONFIGURATION_PACKAGE_SUFFIX_QTFORKAWESOME}_DIR "${CMAKE_CURRENT_BINARY_DIR}/${META_PROJECT_NAME}")
|
||||||
add_subdirectory(iconengineplugin)
|
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)
|
if (ENABLE_QT_QUICK_LIBRARY)
|
||||||
add_subdirectory(qtquickforkawesome)
|
add_subdirectory(qtquickforkawesome)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -79,8 +79,7 @@ to one of your source files.
|
||||||
|
|
||||||
### QQuickImageProvider
|
### QQuickImageProvider
|
||||||
A `QQuickImageProvider` is provided as well in form of the additional library
|
A `QQuickImageProvider` is provided as well in form of the additional library
|
||||||
`qtquickforkawesome` which can be enabled by adding
|
`qtquickforkawesome`.
|
||||||
`-DENABLE_QT_QUICK_LIBRARY:BOOL=ON` to the CMake arguments.
|
|
||||||
|
|
||||||
Then just include the header:
|
Then just include the header:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue