diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2009-11-04 07:14:37 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-06-21 21:53:04 +0200 |
commit | 834ce96df4501478e2152ae4e72cb286ebea1d01 (patch) | |
tree | 6828d212806d41694f5942b6f23913059eb4b025 /rules/qt4.in | |
parent | 9a22cb31cbda99aae1e5a3956149425cdacf986d (diff) | |
download | ptxdist-834ce96df4501478e2152ae4e72cb286ebea1d01.tar.gz ptxdist-834ce96df4501478e2152ae4e72cb286ebea1d01.tar.xz |
[qt4] add X11 support
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/qt4.in')
-rw-r--r-- | rules/qt4.in | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/rules/qt4.in b/rules/qt4.in index ca681ea49..6bd788e71 100644 --- a/rules/qt4.in +++ b/rules/qt4.in @@ -17,6 +17,22 @@ menuconfig QT4 select ALSA_LIB if QT4_BUILD_MULTIMEDIA # libsvga is currently not in ptxdist # select LIBSVGA if QT4_GFX_SVGA_PLUGIN + + select XORG_LIB_X11 if QT4_X11 + select XORG_LIB_SM if QT4_X11_SM + select XORG_PROTO_XEXT if QT4_X11_XSHAPE + select XORG_PROTO_XEXT if QT4_X11_XSYNC + select XORG_LIB_XINERAMA if QT4_X11_XINERAMA + select XORG_LIB_XCURSOR if QT4_X11_XCURSOR + select XORG_LIB_XFIXES if QT4_X11_XFIXES + select XORG_LIB_XRANDR if QT4_X11_XRANDR + select XORG_LIB_XRENDER if QT4_X11_XRENDER + select XORG_PROTO_XEXT if QT4_X11_MITSHM + select FONTCONFIG if QT4_X11_FONTCONFIG + select FREETYPE if QT4_X11_FONTCONFIG + select XORG_PROTO_INPUT if QT4_X11_XINPUT + select XORG_LIB_XI if QT4_X11_XINPUT + prompt "Qt Embedded " help Qt Embedded is Trolltech's Widget Library for Embedded Linux. @@ -32,8 +48,27 @@ config QT4_SHARED If selected the shared Qt Embedded Libraries are built and installed. +choice + prompt "platform " + default QT4_PLATFORM_EMBEDDED + + config QT4_PLATFORM_EMBEDDED + bool + prompt "embedded" + help + Build Qt for embedded + + config QT4_PLATFORM_X11 + bool + prompt "X11 " + help + Build Qt for X11 +endchoice + endmenu +if QT4_PLATFORM_EMBEDDED + menu "graphics driver " choice @@ -328,6 +363,104 @@ config QT4_MOUSE_QVFB endmenu +endif # QT4_PLATFORM_EMBEDDED + +if QT4_PLATFORM_X11 + +menu "X11 feature options " + +config QT4_X11_SM + bool + prompt "X Session Management" + help + Support X Session Management, links in -lSM -lICE. + +config QT4_X11_XSHAPE + bool + prompt "XShape" + help + Compile XShape support. Requires X11/extensions/shape.h. + +config QT4_X11_XSYNC + bool + prompt "XSync" + help + Compile XSync support. Requires X11/extensions/sync.h. + +config QT4_X11_XINERAMA + bool + prompt "Xinerama" + help + Compile Xinerama support. Requires X11/extensions/Xinerama.h + and libXinerama. By default, Xinerama support will be compiled if + available and the shared libraries are dynamically loaded at + runtime. + +config QT4_X11_XCURSOR + bool + prompt "Xcursor" + help + Compile Xcursor support. Requires X11/Xcursor/Xcursor.h and + libXcursor. By default, Xcursor support will be compiled if + available and the shared libraries are dynamically loaded + at runtime. + +config QT4_X11_XFIXES + bool + prompt "Xfixes" + help + Compile Xfixes support. Requires X11/extensions/Xfixes.h and + libXfixes. By default, Xfixes support will be compiled if + available and the shared libraries are dynamically loaded at + runtime. + +config QT4_X11_XRANDR + bool + prompt "Xrandr" + help + Compile Xrandr support. Requires X11/extensions/Xrandr.h + and libXrandr. + +config QT4_X11_XRENDER + bool + prompt "Xrender" + help + Compile Xrender support. Requires X11/extensions/Xrender.h + and libXrender. + +config QT4_X11_MITSHM + bool + prompt "MIT-SHM" + help + Compile MIT-SHM support. Requires sys/ipc.h, sys/shm.h + and X11/extensions/XShm.h + +config QT4_X11_FONTCONFIG + bool + prompt "FontConfig" + help + Compile FontConfig (anti-aliased font) support. Requires + fontconfig/fontconfig.h, libfontconfig, freetype.h and + libfreetype. + +config QT4_X11_XINPUT + bool + prompt "Xinput" + help + ompile Xinput support. This also enabled tablet support + which requires IRIX with wacom.h and libXi or XFree86 with + X11/extensions/XInput.h and libXi. + +config QT4_X11_XKB + bool + prompt "XKB" + help + Compile XKB (X KeyBoard extension) support. + +endmenu + +endif # QT4_PLATFORM_X11 + # prepare the build system to build the examples # selected by QT4_EXAMPLES config QT4_PREPARE_EXAMPLES @@ -703,6 +836,8 @@ config QT4_BUILD_SCRIPTTOOLS endmenu +if QT4_PLATFORM_EMBEDDED + menu "Install Fonts " config QT4_FONT_DEJAVU @@ -749,3 +884,5 @@ endmenu endif +endif + |