diff options
| author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2024-10-01 16:24:24 +0200 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2024-10-01 16:32:08 +0200 |
| commit | e4830b4cb686ceb0dc4315aeea46fa50e1a66586 (patch) | |
| tree | a19f20e6d2c964a00b23ccf8bd85ee88fffa6af4 | |
| parent | 29a347dbbaf6b9b94534c51a757b8138c128ba0a (diff) | |
StyleGenerator: only build generator if QSettings is available
On some plaforms / build configurations of Qt, QSettings is
not available. Since the StyleGenerator depends on it, only
build StyleGenerator when QSettings is available.
Change-Id: Id341e265069409d6c578fb17093f844486d66d1f
Reviewed-by: Doris Verria <doris.verria@qt.io>
| -rw-r--r-- | tools/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 129e8d4785..86f5c19cc2 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -28,7 +28,9 @@ endif() if(NOT (ANDROID OR WASM OR IOS OR VISIONOS OR rtems)) if(QT_FEATURE_thread) add_subdirectory(qml) - add_subdirectory(qqcstylegenerator) + if (QT_FEATURE_settings) + add_subdirectory(qqcstylegenerator) + endif() if(QT_FEATURE_qml_profiler) add_subdirectory(qmlprofiler) endif() |
