menuconfig BR2_PACKAGE_QT_SQL_MODULE
	bool "SQL Module"
	help
	  Compile Qt SQL Module

if BR2_PACKAGE_QT_SQL_MODULE
config BR2_PACKAGE_QT_MYSQL
	bool "MySQL Driver"
	select BR2_PACKAGE_MYSQL
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_READLINE
	depends on BR2_USE_MMU # mysql
	help
	  Build MySQL driver
	  If unsure, say n.

config BR2_PACKAGE_QT_IBASE
	bool "iBase Driver"
	depends on BROKEN # libfbclient not in BR
	help
	  Build iBase driver
	  If unsure, say n.

config BR2_PACKAGE_QT_ODBC
	bool "ODBC Driver"
	depends on BROKEN # libodbc not in BR
	help
	  Build ODBC driver
	  If unsure, say n.

config BR2_PACKAGE_QT_PSQL
	bool "PostgreSQL Driver"
	select BR2_PACKAGE_POSTGRESQL
	depends on BR2_TOOLCHAIN_USES_GLIBC
	help
	  Build PostgreSQL driver
	  If unsure, say n.

comment "PostgreSQL needs an (e)glibc toolchain"
	depends on !BR2_TOOLCHAIN_USES_GLIBC

choice
	prompt "SQLite 3 support"
	default BR2_PACKAGE_QT_SQLITE_NONE
	help
	  Select SQLite support.

config BR2_PACKAGE_QT_SQLITE_NONE
	bool "No sqlite support"
	help
	  Do not compile any kind of SQLite support.

config BR2_PACKAGE_QT_SQLITE_QT
	bool "Qt SQLite"
	help
	  Use Qt bundled SQLite support.

config BR2_PACKAGE_QT_SQLITE_SYSTEM
	bool "System SQLite"
	select BR2_PACKAGE_SQLITE
	help
	  Use system SQLite.

endchoice

endif
