From 5c9fe92ff63fbcefab9598a8fa500d124a022a17 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 15 Oct 2021 22:13:59 +0200 Subject: [PATCH] Enable `qtquickforkawesome` by default --- CMakeLists.txt | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96e1d74..35deae8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 () diff --git a/README.md b/README.md index ecf848c..57d3c0c 100644 --- a/README.md +++ b/README.md @@ -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: