Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Van Gavere <jesseevg@gmail.com>
To: buildroot@buildroot.org
Cc: Jesse Van Gavere <jesseevg@gmail.com>,
	"Yann E . Morin" <yann.morin.1998@free.fr>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v2 21/29] package/qt6/qt6base: add support for sql module with sqlite
Date: Fri, 26 Aug 2022 08:47:50 +0200	[thread overview]
Message-ID: <20220826064758.3968647-22-jesseevg@gmail.com> (raw)
In-Reply-To: <20220826064758.3968647-1-jesseevg@gmail.com>

---
 package/qt6/qt6base/Config.in  | 25 +++++++++++++++++++++++++
 package/qt6/qt6base/qt6base.mk |  9 +++++++++
 2 files changed, 34 insertions(+)

diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in
index 9cbbce6e4c..469e6b642c 100644
--- a/package/qt6/qt6base/Config.in
+++ b/package/qt6/qt6base/Config.in
@@ -74,6 +74,31 @@ comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library"
 	depends on BR2_USE_MMU
 	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
 
+choice
+	prompt "SQLite 3 support"
+	default BR2_PACKAGE_QT6BASE_SQLITE_NONE
+	help
+	  Select SQLite support.
+
+config BR2_PACKAGE_QT6BASE_SQLITE_NONE
+	bool "No sqlite support"
+	help
+	  Do not compile any kind of SQLite support.
+
+config BR2_PACKAGE_QT6BASE_SQLITE_QT
+	bool "Qt SQLite"
+	help
+	  Use Qt bundled SQLite support.
+
+config BR2_PACKAGE_QT6BASE_SQLITE_SYSTEM
+	bool "System SQLite"
+	select BR2_PACKAGE_SQLITE
+	select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
+	help
+	  Use system SQLite.
+
+endchoice
+
 endif
 
 config BR2_PACKAGE_QT6BASE_TEST
diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk
index 69c59b8d6f..de65711cde 100644
--- a/package/qt6/qt6base/qt6base.mk
+++ b/package/qt6/qt6base/qt6base.mk
@@ -122,6 +122,15 @@ else
 QT6BASE_CONF_OPTS += -DFEATURE_sql_psql=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_QT6BASE_SQLITE_SYSTEM),y)
+QT6BASE_CONF_OPTS += -DFEATURE_sql_sqlite=ON -DFEATURE_system_sqlite=ON
+QT6BASE_DEPENDENCIES += sqlite
+else ifeq ($(BR2_PACKAGE_QT6BASE_SQLITE_QT),y)
+QT6BASE_CONF_OPTS += -DFEATURE_sql_sqlite=ON -DFEATURE_system_sqlite=OFF
+else
+QT6BASE_CONF_OPTS += -DFEATURE_sql_sqlite=OFF
+endif
+
 else
 QT6BASE_CONF_OPTS += -DFEATURE_sql=OFF
 endif
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-08-26  6:52 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26  6:47 [Buildroot] [PATCH v2] Extend Qt6 configuration Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 01/29] package/qt6/qt6base: Add qt6base hash file Jesse Van Gavere
2022-08-26  8:06   ` Thomas Petazzoni via buildroot
2022-08-26  6:47 ` [Buildroot] [PATCH v2 02/29] package/qt6/qt6base: Add license information Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 03/29] package/qt6/qt6base: add support for network module Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 04/29] package/qt6/qt6base: add support for concurrent module Jesse Van Gavere
2022-08-26  8:07   ` Thomas Petazzoni via buildroot
2022-08-26  6:47 ` [Buildroot] [PATCH v2 05/29] package/qt6/qt6base: add support for xml module Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 06/29] package/qt6/qt6base: add support for test module Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 07/29] package/qt6/qt6base: add support for building examples Jesse Van Gavere
2022-08-26  8:07   ` Thomas Petazzoni via buildroot
2022-08-26  6:47 ` [Buildroot] [PATCH v2 08/29] package/qt6/qt6base: add support for dbus module Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 09/29] package/qt6/qt6base: add support for syslog backend Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 10/29] package/qt6/qt6base: add qt support for journald when using systemd Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 11/29] package/qt6/qt6base: add qt support for zstd when using the package Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 12/29] package/qt6/qt6base: add qt support for SSE/AVX SIMD extensions Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 13/29] package/qt6/qt6base: add linking to libatomic Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 14/29] package/qt6/qt6base: add support to link qt to openssl Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 15/29] package/qt6/qt6base: add qt icu support Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 16/29] package/qt6/qt6base: add qt libudev support Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 17/29] package/qt6/qt6base: add qt libglib2 support Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 18/29] package/qt6/qt6base: add support for passing custom options Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 19/29] package/qt6/qt6base: add support for sql module w/ mysql Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 20/29] package/qt6/qt6base: add support for sql module with postgresql Jesse Van Gavere
2022-08-26  6:47 ` Jesse Van Gavere [this message]
2022-08-26  6:47 ` [Buildroot] [PATCH v2 22/29] package/qt6/qt6base: add support for gui module Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 23/29] package/qt6/qt6base: add support for gui module fontconfig/harfbuzz Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 24/29] package/qt6/qt6base: Add support for gui module jpeg/png/gif image format Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 25/29] package/qt6/qt6base: add support for gui module widgets/opengl/graphics backends Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 26/29] package/qt6/qt6base: add support for gui module tslib Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 27/29] package/qt6/qt6base: add support for gui module libinput Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 28/29] package/qt6/qt6base: add support for gui module kms Jesse Van Gavere
2022-08-26  6:47 ` [Buildroot] [PATCH v2 29/29] package/qt6/qt6base: add support for gui module printsupport/cups Jesse Van Gavere

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220826064758.3968647-22-jesseevg@gmail.com \
    --to=jesseevg@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox