aboutsummaryrefslogtreecommitdiff
path: root/package/qt/Config.in
diff options
context:
space:
mode:
authorGravatar Hadrien Boutteville <hadrien.boutteville@gmail.com>2014-07-15 18:30:56 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-01-23 23:32:23 +0100
commitdfdf173a4c7ca1c8584833a7286df37cb008fdb2 (patch)
tree3cc12381e02ad76867285f86f4fa71fd287503b5 /package/qt/Config.in
parent69bed62e968ad054059c2c7e39ba1d4c5a47bdf5 (diff)
downloadbuildroot-dfdf173a4c7ca1c8584833a7286df37cb008fdb2.tar.gz
buildroot-dfdf173a4c7ca1c8584833a7286df37cb008fdb2.tar.bz2
qt: add X11 support
There are two possible configurations for Qt4 installation: standard (with X11) and embedded (for framebuffer). Both configurations cannot be used together for one installation and some options are specific to one configuration or the other. Add a choice to select the standard or the embedded installation to add X11 support. The integration is done in order to make maximum use of the current configuration logic, for example by using the same mkspecs files. Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt/Config.in')
-rw-r--r--package/qt/Config.in46
1 files changed, 46 insertions, 0 deletions
diff --git a/package/qt/Config.in b/package/qt/Config.in
index 44710f52e6..ba71e12921 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -17,6 +17,40 @@ menuconfig BR2_PACKAGE_QT
if BR2_PACKAGE_QT
+choice
+ prompt "Qt installation"
+ help
+ Selects the type of installation: standard or embedded
+
+config BR2_PACKAGE_QT_EMBEDDED
+ bool "Qt embedded"
+ help
+ The embedded Qt installation targets embedded systems without X.org.
+ Provides backends for framebuffer.
+ If unsure, say Y.
+
+comment "Qt standard (X11) not available (need X.org)"
+ depends on !BR2_PACKAGE_XORG7
+
+config BR2_PACKAGE_QT_X11
+ bool "Qt standard (X11)"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_FONTCONFIG
+ select BR2_PACKAGE_XLIB_LIBXI
+ select BR2_PACKAGE_XLIB_LIBX11
+ select BR2_PACKAGE_XLIB_LIBXRENDER
+ select BR2_PACKAGE_XLIB_LIBXCURSOR
+ select BR2_PACKAGE_XLIB_LIBXRANDR
+ select BR2_PACKAGE_XLIB_LIBXEXT
+ select BR2_PACKAGE_XLIB_LIBXV
+ select BR2_PACKAGE_QT_SYSTEMFREETYPE
+ select BR2_PACKAGE_QT_GUI_MODULE
+ help
+ The standard Qt installation provides X.org backend. If you don't want to
+ use X.org, say N.
+
+endchoice
+
config BR2_PACKAGE_QT_DEBUG
bool "Compile with debug support"
help
@@ -105,6 +139,9 @@ config BR2_PACKAGE_QT_GUI_MODULE
video output, or you don't require Qt GUI, say n.
if BR2_PACKAGE_QT_GUI_MODULE
+
+if BR2_PACKAGE_QT_EMBEDDED
+
menu "Pixel depths"
comment "Deselecting each option leads to Qt's default (8,16,32)"
@@ -162,6 +199,8 @@ config BR2_PACKAGE_QT_FONT_UNIFONT
endmenu
+endif # BR2_PACKAGE_QT_EMBEDDED
+
choice
prompt "freetype2 support"
default BR2_PACKAGE_QT_NOFREETYPE
@@ -170,11 +209,16 @@ choice
config BR2_PACKAGE_QT_NOFREETYPE
bool "no freetype2 support"
+ depends on BR2_PACKAGE_QT_EMBEDDED
help
Do not compile in Freetype2 support.
+comment "Qt freetype2 needs Qt embedded"
+ depends on BR2_PACKAGE_QT_X11
+
config BR2_PACKAGE_QT_QTFREETYPE
bool "Qt freetype2"
+ depends on BR2_PACKAGE_QT_EMBEDDED
help
Use the libfreetype bundled with Qt.
@@ -275,9 +319,11 @@ endchoice
source "package/qt/Config.sql.in"
if BR2_PACKAGE_QT_GUI_MODULE
+if BR2_PACKAGE_QT_EMBEDDED
source "package/qt/Config.gfx.in"
source "package/qt/Config.mouse.in"
source "package/qt/Config.keyboard.in"
+endif
config BR2_PACKAGE_QT_PHONON
bool "Phonon Module"