Sqlite: Disable QmlDesigner plugin for Qt 5 based builds

Sqlite is only used by the qmldesigner plugin. Because the qmldesigner
is disabled for older Qt version Sqlite should not be built too.

Change-Id: I7cdf2c1705f22ba07daea747858cd56b4dcb0437
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2022-06-07 16:55:44 +02:00
parent 0bac1fb08e
commit 2a902be0cd

View File

@@ -4,6 +4,7 @@ add_qtc_library(Sqlite
BUILD_SQLITE_LIBRARY
SQLITE_CORE
DEPENDS Qt5::Core Threads::Threads ${CMAKE_DL_LIBS}
CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.2.0
PUBLIC_INCLUDES
"${CMAKE_CURRENT_LIST_DIR}"
../3rdparty/sqlite