From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 4/4] Qt5: add mySQL support
Date: Tue, 24 May 2016 12:54:33 +0200 [thread overview]
Message-ID: <1464087273-8487-5-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1464087273-8487-1-git-send-email-jbe@pengutronix.de>
Enable the mySQL binding as one of the possible SQL databases in Qt
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
rules/qt5.in | 5 +++++
rules/qt5.make | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/rules/qt5.in b/rules/qt5.in
index 9cdd9c2..ee5fb13 100644
--- a/rules/qt5.in
+++ b/rules/qt5.in
@@ -26,6 +26,7 @@ menuconfig QT5
select MESALIB_EGL_WAYLAND if QT5_MODULE_QTWAYLAND_MESA
select PLATFORM_OPENGL if QT5_OPENGL_ES2
select SQLITE if QT5_MODULE_QTBASE_SQL_SQLITE
+ select MYSQL if QT5_MODULE_QTBASE_SQL_MYSQL
select FONTCONFIG if QT5_GUI
select FREETYPE if QT5_GUI
select UDEV if QT5_GUI || QT5_INPUT_LIBINPUT
@@ -321,6 +322,10 @@ config QT5_MODULE_QTBASE_SQL_SQLITE
bool
prompt "SQLite backend"
+config QT5_MODULE_QTBASE_SQL_MYSQL
+ bool
+ prompt "mySQL backend"
+
endif
endif
diff --git a/rules/qt5.make b/rules/qt5.make
index 9aeea3a..bf3895f 100644
--- a/rules/qt5.make
+++ b/rules/qt5.make
@@ -109,7 +109,7 @@ QT5_CONF_OPT := \
--$(call ptx/endis, PTXCONF_QT5_ACCESSIBILITY)-accessibility \
--disable-sql-db2 \
--disable-sql-ibase \
- --disable-sql-mysql \
+ --$(call ptx/endis, PTXCONF_QT5_MODULE_QTBASE_SQL_MYSQL)-sql-mysql \
--disable-sql-oci \
--disable-sql-odbc \
--disable-sql-psql \
@@ -222,6 +222,10 @@ QT5_CONF_OPT += \
--$(call ptx/endis, PTXCONF_QT5_XRENDER)-xrender \
--$(call ptx/endis, PTXCONF_QT5_XV)-xvideo \
+ifdef PTXCONF_QT5_MODULE_QTBASE_SQL_MYSQL
+QT5_CONF_OPT += -mysql_config $(SYSROOT)/usr/bin/mysql_config
+endif
+
QT5_QMAKE_OPT := CONFIG+=release CONFIG-=debug
ifdef PTXCONF_QT5_MODULE_QTWEBENGINE
--
2.8.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2016-05-24 10:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 10:54 [ptxdist] [PATCH] mySQL: exhume a gone package Juergen Borleis
2016-05-24 10:54 ` [ptxdist] [PATCH 1/4] libaio: add new package Juergen Borleis
2016-05-24 10:54 ` [ptxdist] [PATCH 2/4] mySQL: remove an orphaned file Juergen Borleis
2016-05-24 10:54 ` [ptxdist] [PATCH 3/4] mySQL: exhume a gone package by updating it to a new release Juergen Borleis
2016-05-24 10:54 ` Juergen Borleis [this message]
2016-05-26 9:57 ` [ptxdist] [PATCH] mySQL: exhume a gone package Michael Olbrich
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=1464087273-8487-5-git-send-email-jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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