From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Jesse Van Gavere <jesseevg@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v4 20/29] package/qt6/qt6base: add support for sql module w/ sqlite
Date: Tue, 20 Sep 2022 08:39:57 +0200 [thread overview]
Message-ID: <20220920083957.14ccdc13@windsurf> (raw)
In-Reply-To: <20220826135503.20612-21-jesseevg@gmail.com>
On Fri, 26 Aug 2022 15:54:54 +0200
Jesse Van Gavere <jesseevg@gmail.com> wrote:
> Signed-off-by: Jesse Van Gavere <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 79b6d675c5..5ae11afdb1 100644
> --- a/package/qt6/qt6base/Config.in
> +++ b/package/qt6/qt6base/Config.in
> @@ -90,6 +90,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.
In Buildroot, we really prefer to use non-bundled dependencies when it
is possible. So really the choice no/bundled/system does not make a lot
of sense. I have replaced it with a single boolean to enable/disable
sqlite support, and if enabled, it always uses the system sqlite.
> +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
Consequently this has been simplified as well a little bit.
Applied with those changes. Thanks!
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-09-20 6:40 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 13:54 [Buildroot] [PATCH v4 00/29] Extend Qt6 configuration Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 01/29] package/qt6/qt6base: Add qt6base hash file Jesse Van Gavere
2022-08-27 21:12 ` Arnout Vandecappelle
2022-08-26 13:54 ` [Buildroot] [PATCH v4 02/29] package/qt6/qt6base: Add license information Jesse Van Gavere
2022-08-27 21:15 ` Arnout Vandecappelle
2022-08-26 13:54 ` [Buildroot] [PATCH v4 03/29] package/qt6/qt6base: add support for network module Jesse Van Gavere
2022-08-29 20:07 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 04/29] package/qt6/qt6base: add support for concurrent module Jesse Van Gavere
2022-08-29 20:07 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 05/29] package/qt6/qt6base: add support for xml module Jesse Van Gavere
2022-08-29 20:07 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 06/29] package/qt6/qt6base: add support for test module Jesse Van Gavere
2022-08-29 20:07 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 07/29] package/qt6/qt6base: add support for dbus module Jesse Van Gavere
2022-08-29 20:07 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 08/29] package/qt6/qt6base: add support for syslog backend Jesse Van Gavere
2022-08-29 20:07 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 09/29] package/qt6/qt6base: add qt support for journald when using systemd Jesse Van Gavere
2022-09-18 8:50 ` Thomas Petazzoni via buildroot
2022-08-26 13:54 ` [Buildroot] [PATCH v4 10/29] package/qt6/qt6base: add qt support for zstd when using the package Jesse Van Gavere
2022-09-18 8:56 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 11/29] package/qt6/qt6base: add qt support for SSE/AVX SIMD extensions Jesse Van Gavere
2022-09-18 9:57 ` Thomas Petazzoni
2022-09-18 14:13 ` Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 12/29] package/qt6/qt6base: add linking to libatomic Jesse Van Gavere
2022-09-18 10:03 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 13/29] package/qt6/qt6base: add support to link qt to openssl Jesse Van Gavere
2022-09-18 10:19 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 14/29] package/qt6/qt6base: add qt icu support Jesse Van Gavere
2022-09-18 10:35 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 15/29] package/qt6/qt6base: add qt libudev support Jesse Van Gavere
2022-09-18 10:38 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 16/29] package/qt6/qt6base: add qt libglib2 support Jesse Van Gavere
2022-09-18 10:40 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 17/29] package/qt6/qt6base: add support for passing custom options Jesse Van Gavere
2022-09-18 10:41 ` Thomas Petazzoni
2022-09-18 14:36 ` Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 18/29] package/qt6/qt6base: add support for sql module w/ mysql Jesse Van Gavere
2022-09-20 6:38 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 19/29] package/qt6/qt6base: add support for sql module w/ postgresql Jesse Van Gavere
2022-09-20 6:38 ` Thomas Petazzoni
2022-08-26 13:54 ` [Buildroot] [PATCH v4 20/29] package/qt6/qt6base: add support for sql module w/ sqlite Jesse Van Gavere
2022-09-20 6:39 ` Thomas Petazzoni [this message]
2022-08-26 13:54 ` [Buildroot] [PATCH v4 21/29] package/qt6/qt6base: add support for gui module Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 22/29] package/qt6/qt6base: add support for gui module fontconfig/harfbuzz Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 23/29] package/qt6/qt6base: Add support for gui module jpeg/png/gif image format Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 24/29] package/qt6/qt6base: add support for gui module widgets/opengl/graphics backends Jesse Van Gavere
2022-08-26 13:54 ` [Buildroot] [PATCH v4 25/29] package/qt6/qt6base: add support for gui module tslib Jesse Van Gavere
2022-08-26 13:55 ` [Buildroot] [PATCH v4 26/29] package/qt6/qt6base: add support for gui module libinput Jesse Van Gavere
2022-08-26 13:55 ` [Buildroot] [PATCH v4 27/29] package/qt6/qt6base: add support for gui module kms Jesse Van Gavere
2022-08-26 13:55 ` [Buildroot] [PATCH v4 28/29] package/qt6/qt6base: add support for gui module printsupport/cups Jesse Van Gavere
2022-08-26 13:55 ` [Buildroot] [PATCH v4 29/29] package/qt6/qt6base: add support for building examples 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=20220920083957.14ccdc13@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@buildroot.org \
--cc=jesseevg@gmail.com \
/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