summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2009-06-15 11:55:51 +0000
committerMichael Olbrich <m.olbrich@pengutronix.de>2009-06-15 11:55:51 +0000
commit4d9876b7f7c88300d1805c1b2385f907ef08d222 (patch)
tree123ab111af86b4df2cae73e7f2711ce6b72dfff8
parent6c276f79ae435c44fe3c1a48c99bab09ef3e294c (diff)
downloadptxdist-4d9876b7f7c88300d1805c1b2385f907ef08d222.tar.gz
ptxdist-4d9876b7f7c88300d1805c1b2385f907ef08d222.tar.xz
qt4: rename qtopia -> qt4 and update to version 4.5.1
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10787 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/designer-script.diff33
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/fix-configure-disable.diff48
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/hide-cursor-at-startup.diff27
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/ptx-mkspec.diff114
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/qt-embedded-linux-opensource-src-4.5.0-fix-prl-paths.diff35
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/remove-ordered.diff24
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/script-qtdbus.diff27
-rw-r--r--patches/qt-embedded-linux-opensource-src-4.5.1/series11
-rw-r--r--patches/qwt-5.2.0/disable-designer-plugins.diff17
-rw-r--r--patches/qwt-5.2.0/qwt-5.1.1-fix-prefix.diff17
-rw-r--r--patches/qwt-5.2.0/series2
-rw-r--r--rules/qt4-examples.in1200
-rw-r--r--rules/qt4-examples.make1252
-rw-r--r--rules/qt4.in (renamed from rules/qtopia.in)383
-rw-r--r--rules/qt4.make945
-rw-r--r--rules/qtopia-examples.in58
-rw-r--r--rules/qtopia-examples.make204
-rw-r--r--rules/qtopia.make908
-rw-r--r--rules/qwt.in8
-rw-r--r--rules/qwt.make123
20 files changed, 4075 insertions, 1361 deletions
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/designer-script.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/designer-script.diff
new file mode 100644
index 000000000..31ed26f8f
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/designer-script.diff
@@ -0,0 +1,33 @@
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Subject: [PATCH] fix QtScript handling for designer lib
+
+FIXME: This patch does not work yet. The -lQtScript dependency
+FIXME: leaks in via pkg-config!
+
+While linking FIXME we get this error when compiling without support for
+QtScript:
+
+${toolchain}/bin/../lib/gcc/i586-unknown-linux-gnu/4.3.2/ ../../../../i586-unknown-linux-gnu/bin/ld: cannot find -lQtScript
+
+Fix by adding QtScript only when supported.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ tools/designer/src/components/lib/lib.pro | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/components/lib/lib.pro
+===================================================================
+--- qt-embedded-linux-opensource-src-4.5.0.orig/tools/designer/src/components/lib/lib.pro
++++ qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/components/lib/lib.pro
+@@ -64,7 +64,8 @@ PRECOMPILED_HEADER= lib_pch.h
+ include(../../sharedcomponents.pri)
+ include(../component.pri)
+
+-unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtScript QtXml
++unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtXml
++unix:!isEmpty(QT_BUILD_SCRIPT_LIB):QMAKE_PKGCONFIG_REQUIRES += QtScript
+
+ target.path=$$[QT_INSTALL_LIBS]
+ INSTALLS += target
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/fix-configure-disable.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/fix-configure-disable.diff
new file mode 100644
index 000000000..170572185
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/fix-configure-disable.diff
@@ -0,0 +1,48 @@
+Subject: fix disabling jpeg/mng/tiff
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+
+Setting -no-libjpeg, -no-libmng and -no-libtiff does not work.
+This patch ensures that these are disabled even if the corresponding
+libraries are found. The method is copied from the libpng handling.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ configure | 11 +++++++++--
+ 1 file changed, 9 insertions(+), 2 deletions(-)
+
+Index: b/configure
+===================================================================
+--- a/configure
++++ b/configure
+@@ -5533,7 +5533,9 @@ fi
+ if [ "$CFG_INOTIFY" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG inotify"
+ fi
+-if [ "$CFG_LIBJPEG" = "system" ]; then
++if [ "$CFG_LIBJPEG" = "no" ]; then
++ CFG_JPEG="no"
++elif [ "$CFG_LIBJPEG" = "system" ]; then
+ QT_CONFIG="$QT_CONFIG system-jpeg"
+ fi
+ if [ "$CFG_JPEG" = "no" ]; then
+@@ -5541,6 +5543,9 @@ if [ "$CFG_JPEG" = "no" ]; then
+ elif [ "$CFG_JPEG" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG jpeg"
+ fi
++if [ "$CFG_LIBMNG" = "no" ]; then
++ CFG_MNG="no"
++fi
+ if [ "$CFG_LIBMNG" = "system" ]; then
+ QT_CONFIG="$QT_CONFIG system-mng"
+ fi
+@@ -5565,7 +5570,9 @@ if [ "$CFG_GIF" = "no" ]; then
+ elif [ "$CFG_GIF" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG gif"
+ fi
+-if [ "$CFG_LIBTIFF" = "system" ]; then
++if [ "$CFG_LIBTIFF" = "no" ]; then
++ CFG_TIFF="no"
++elif [ "$CFG_LIBTIFF" = "system" ]; then
+ QT_CONFIG="$QT_CONFIG system-tiff"
+ fi
+ if [ "$CFG_TIFF" = "no" ]; then
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/hide-cursor-at-startup.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/hide-cursor-at-startup.diff
new file mode 100644
index 000000000..a9ef77b9f
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/hide-cursor-at-startup.diff
@@ -0,0 +1,27 @@
+Subject: Hack: hide cursor during startup
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+
+This will hide the cursor during application startup.
+To keep it hidden the application must call
+QApplication::setOverrideCursor(Qt::BlankCursor);
+Otherwise the cursor returns when the mouse is moved.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+
+---
+ src/gui/embedded/qwscursor_qws.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/src/gui/embedded/qwscursor_qws.cpp
+===================================================================
+--- a/src/gui/embedded/qwscursor_qws.cpp
++++ b/src/gui/embedded/qwscursor_qws.cpp
+@@ -344,7 +344,7 @@ void QWSServerPrivate::initializeCursor(
+
+ // default cursor
+ cursor = 0;
+- setCursor(QWSCursor::systemCursor(Qt::ArrowCursor));
++ setCursor(QWSCursor::systemCursor(Qt::BlankCursor));
+ #endif
+ q->sendMouseEvent(QPoint(swidth/2, sheight/2), 0);
+ }
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/ptx-mkspec.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/ptx-mkspec.diff
new file mode 100644
index 000000000..e09b183a9
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/ptx-mkspec.diff
@@ -0,0 +1,114 @@
+Subject: mkspec for ptxdist
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+
+Add a mkspec for ptxdist:
+- qplatformdefs.h
+ Include the generic qplatformdefs.h
+- qmake.conf.in
+ Used to generate qmake.conf with the correct toolchain.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ mkspecs/qws/linux-ptx-g++/qmake.conf.in | 87 ++++++++++++++++++++++++++++++
+ mkspecs/qws/linux-ptx-g++/qplatformdefs.h | 2
+ 2 files changed, 89 insertions(+)
+
+Index: b/mkspecs/qws/linux-ptx-g++/qmake.conf.in
+===================================================================
+--- /dev/null
++++ b/mkspecs/qws/linux-ptx-g++/qmake.conf.in
+@@ -0,0 +1,87 @@
++#
++# qmake configuration for linux-g++
++#
++
++MAKEFILE_GENERATOR = UNIX
++TEMPLATE = app
++CONFIG += qt link_prl
++QT += core gui network
++QMAKE_INCREMENTAL_STYLE = sublib
++
++QMAKE_CC = @COMPILER_PREFIX@gcc
++QMAKE_LEX = flex
++QMAKE_LEXFLAGS =
++QMAKE_YACC = yacc
++QMAKE_YACCFLAGS = -d
++QMAKE_CFLAGS = -pipe
++QMAKE_CFLAGS_WARN_ON = -Wall -W
++QMAKE_CFLAGS_WARN_OFF =
++QMAKE_CFLAGS_RELEASE = -O2
++QMAKE_CFLAGS_DEBUG = -g
++QMAKE_CFLAGS_SHLIB = -fPIC
++QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
++QMAKE_CFLAGS_THREAD = -D_REENTRANT
++QMAKE_CFLAGS_HIDESYMS = -fvisibility=hidden
++
++QMAKE_CXX = @COMPILER_PREFIX@g++
++QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
++QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
++QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
++QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
++QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
++QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
++QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
++QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
++QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
++
++QMAKE_INCDIR = @INCDIR@
++QMAKE_LIBDIR = @LIBDIR@
++QMAKE_INCDIR_X11 =
++QMAKE_LIBDIR_X11 =
++QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
++QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
++QMAKE_INCDIR_OPENGL =
++QMAKE_LIBDIR_OPENGL =
++QMAKE_INCDIR_QTOPIA = $(QPEDIR)/include/
++QMAKE_LIBDIR_QTOPIA = $(QPEDIR)/lib
++
++QMAKE_LINK = @COMPILER_PREFIX@g++
++QMAKE_LINK_SHLIB = @COMPILER_PREFIX@g++
++QMAKE_LFLAGS = @LDFLAGS@
++QMAKE_LFLAGS_RELEASE =
++QMAKE_LFLAGS_DEBUG =
++QMAKE_LFLAGS_SHLIB = -shared
++QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
++QMAKE_LFLAGS_SONAME = -Wl,-soname,
++QMAKE_LFLAGS_THREAD =
++QMAKE_RPATH = -Wl,-rpath,
++
++QMAKE_LIBS =
++QMAKE_LIBS_DYNLOAD = -ldl
++QMAKE_LIBS_X11 =
++QMAKE_LIBS_X11SM =
++QMAKE_LIBS_QT = -lqte
++QMAKE_LIBS_QT_THREAD = -lqte-mt
++QMAKE_LIBS_QT_OPENGL = -lqgl
++QMAKE_LIBS_QTOPIA = -lqtopia -lqpe
++QMAKE_LIBS_THREAD = -lpthread
++QMAKE_LIBS_OPENGL =
++
++QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
++QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
++
++QMAKE_AR = @COMPILER_PREFIX@ar cqs
++QMAKE_RANLIB =
++
++QMAKE_TAR = tar -cf
++QMAKE_GZIP = gzip -9f
++
++QMAKE_COPY = cp -f
++QMAKE_MOVE = mv -f
++QMAKE_DEL_FILE = rm -f
++QMAKE_DEL_DIR = rmdir
++QMAKE_STRIP = strip
++QMAKE_CHK_DIR_EXISTS = test -d
++QMAKE_MKDIR = mkdir -p
++include(../../common/unix.conf)
++load(qt_config)
+Index: b/mkspecs/qws/linux-ptx-g++/qplatformdefs.h
+===================================================================
+--- /dev/null
++++ b/mkspecs/qws/linux-ptx-g++/qplatformdefs.h
+@@ -0,0 +1,2 @@
++
++#include "../../linux-g++/qplatformdefs.h"
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/qt-embedded-linux-opensource-src-4.5.0-fix-prl-paths.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/qt-embedded-linux-opensource-src-4.5.0-fix-prl-paths.diff
new file mode 100644
index 000000000..7e2be9932
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/qt-embedded-linux-opensource-src-4.5.0-fix-prl-paths.diff
@@ -0,0 +1,35 @@
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Subject: [PATCH] qmake: avoid host path leakage while building with INSTALL_ROOT
+
+When building with INSTALL_ROOT (i.e. for cross compilation), qmake
+nevertheless generates a 'sed' expression to replace the local build
+path by /usr/{lib,include}. If we now assume an application which uses
+qmake to compile&link against the freshly installed, we observe an
+occurence of "-L/usr/lib" in the generated Makefiles. This may
+accidently work on developer machines where people often have another
+copy of Qt in that place, but fails for example badly while cross
+compiling.
+
+The patch below fixes it by adding $(INSTALL_ROOT) to the replacement
+path. If set during 'make install', it will be used instead of the plain
+prefix.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ qmake/generators/unix/unixmake.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: qt-embedded-linux-opensource-src-4.5.0/qmake/generators/unix/unixmake.cpp
+===================================================================
+--- qt-embedded-linux-opensource-src-4.5.0.orig/qmake/generators/unix/unixmake.cpp
++++ qt-embedded-linux-opensource-src-4.5.0/qmake/generators/unix/unixmake.cpp
+@@ -840,7 +840,7 @@ UnixMakefileGenerator::defaultInstall(co
+ const QString match = project->first(replace_rules.at(r) + ".match"),
+ replace = project->first(replace_rules.at(r) + ".replace");
+ if(!match.isEmpty() /*&& match != replace*/)
+- ret += " -e \"s," + match + "," + replace + ",g\"";
++ ret += " -e \"s," + match + ",$(INSTALL_ROOT)" + replace + ",g\"";
+ }
+ ret += " \"" + src_meta + "\" >\"" + dst_meta + "\"";
+ //ret += " || " + install_meta;
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/remove-ordered.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/remove-ordered.diff
new file mode 100644
index 000000000..002a203b8
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/remove-ordered.diff
@@ -0,0 +1,24 @@
+Subject: disable ordered compiling.
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+
+By default all modules are compiled in a predefined order. This breaks when
+building not all modules. This patch disables ordered building. As a result
+qmake generates the correct dependancies.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ projects.pro | 1 -
+ 1 file changed, 1 deletion(-)
+
+Index: b/projects.pro
+===================================================================
+--- a/projects.pro
++++ b/projects.pro
+@@ -2,7 +2,6 @@
+ # Main projectfile
+ #####################################################################
+
+-CONFIG += ordered
+ TEMPLATE = subdirs
+
+ cross_compile: CONFIG += nostrip
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/script-qtdbus.diff b/patches/qt-embedded-linux-opensource-src-4.5.1/script-qtdbus.diff
new file mode 100644
index 000000000..4726d724c
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/script-qtdbus.diff
@@ -0,0 +1,27 @@
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Subject: [PATCH] qtdbus needs qtscript
+
+When building qt without QtScript support, I get this error:
+
+make[4]: Entering directory `qt-embedded-linux-opensource-src-4.5.0/src/plugins/script/qtdbus'
+rm -f libqtscriptdbus.so
+i586-unknown-linux-gnu-g++ -L${sysroot}/lib -L${sysroot}/usr/lib -Wl,-rpath-link -Wl,${sysroot}/lib -Wl,-rpath-link -Wl,${sysroot}/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib -shared -o libqtscriptdbus.so .obj/release-shared-emb-i386/main.o .obj/release-shared-emb-i386/moc_main.o -Lqt-embedded-linux-opensource-src-4.5.0/lib -L${sysroot}/lib -L${sysroot}/usr/lib -lQtDBus -Lqt-embedded-linux-opensource-src-4.5.0/lib -L${sysroot}/lib -L${sysroot}/usr/lib -lQtXml -lQtScript -lQtGui -lts -lpng -lfreetype -lQtNetwork -lQtCore -lz -lm -lrt -lpthread -ldl
+${TOOLCHAIN}/bin/../lib/gcc/i586-unknown-linux-gnu/4.3.2/../../../../i586-unknown-linux-gnu/bin/ld:
+cannot find -lQtScript
+
+The qtdbus directory needs qtscript, so we reflect this in script.pro.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ src/plugins/script/script.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: qt-embedded-linux-opensource-src-4.5.0/src/plugins/script/script.pro
+===================================================================
+--- qt-embedded-linux-opensource-src-4.5.0.orig/src/plugins/script/script.pro
++++ qt-embedded-linux-opensource-src-4.5.0/src/plugins/script/script.pro
+@@ -1,2 +1,2 @@
+ TEMPLATE = subdirs
+-contains(QT_CONFIG, dbus):SUBDIRS += qtdbus
++contains(QT_CONFIG, dbus):!isEmpty(QT_BUILD_SCRIPT_LIB):SUBDIRS += qtdbus
diff --git a/patches/qt-embedded-linux-opensource-src-4.5.1/series b/patches/qt-embedded-linux-opensource-src-4.5.1/series
new file mode 100644
index 000000000..fc1b33993
--- /dev/null
+++ b/patches/qt-embedded-linux-opensource-src-4.5.1/series
@@ -0,0 +1,11 @@
+ptx-mkspec.diff
+remove-ordered.diff
+fix-configure-disable.diff
+qt-embedded-linux-opensource-src-4.5.0-fix-prl-paths.diff
+hide-cursor-at-startup.diff
+# SCRIPT_LIB is not marked in QT_CONFIG, checking the define with isEmpty or
+# contains(DEFINES, .....) seems not to work. This is probably a name space
+# problem, till we have a better solution, disable the patch here and for the
+# dependency with ptxdist.
+#script-qtdbus.diff
+#designer-script.diff
diff --git a/patches/qwt-5.2.0/disable-designer-plugins.diff b/patches/qwt-5.2.0/disable-designer-plugins.diff
new file mode 100644
index 000000000..e7d9f1917
--- /dev/null
+++ b/patches/qwt-5.2.0/disable-designer-plugins.diff
@@ -0,0 +1,17 @@
+---
+ qwtconfig.pri | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/qwtconfig.pri
+===================================================================
+--- a/qwtconfig.pri
++++ b/qwtconfig.pri
+@@ -114,7 +114,7 @@ CONFIG += QwtWidgets
+ # Otherwise you have to build it from the designer directory.
+ ######################################################################
+
+-CONFIG += QwtDesigner
++#CONFIG += QwtDesigner
+
+ ######################################################################
+ # If you want to auto build the examples, enable the line below
diff --git a/patches/qwt-5.2.0/qwt-5.1.1-fix-prefix.diff b/patches/qwt-5.2.0/qwt-5.1.1-fix-prefix.diff
new file mode 100644
index 000000000..622fc7447
--- /dev/null
+++ b/patches/qwt-5.2.0/qwt-5.1.1-fix-prefix.diff
@@ -0,0 +1,17 @@
+---
+ qwtconfig.pri | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/qwtconfig.pri
+===================================================================
+--- a/qwtconfig.pri
++++ b/qwtconfig.pri
+@@ -8,7 +8,7 @@ VER_PAT = 0
+ VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
+
+ unix {
+- INSTALLBASE = /usr/local/qwt-5.2.0
++ INSTALLBASE = /usr
+ }
+
+ win32 {
diff --git a/patches/qwt-5.2.0/series b/patches/qwt-5.2.0/series
new file mode 100644
index 000000000..0391ba9a2
--- /dev/null
+++ b/patches/qwt-5.2.0/series
@@ -0,0 +1,2 @@
+qwt-5.1.1-fix-prefix.diff
+disable-designer-plugins.diff
diff --git a/rules/qt4-examples.in b/rules/qt4-examples.in
new file mode 100644
index 000000000..63a75ece8
--- /dev/null
+++ b/rules/qt4-examples.in
@@ -0,0 +1,1200 @@
+## SECTION=qt
+# WARNING: this file is generated with qt4_mk_examples.sh
+# do not edit
+
+menuconfig QT4_EXAMPLES
+ tristate
+ select QT4
+ select QT4_PREPARE_EXAMPLES
+ prompt "Qt Embedded Examples "
+
+if QT4_EXAMPLES
+
+config QT4_EXAMPLES__INSTALL_DIR
+ string
+ default "/usr/bin/qt4-examples"
+ prompt "install dir"
+
+
+menuconfig QT4_EXAMPLES__DESIGNER
+ tristate
+ depends on QT4_BUILD_DESIGNERLIBS
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_XML
+ depends on QT4_BUILD_NETWORK
+ prompt "designer"
+
+if QT4_EXAMPLES__DESIGNER
+
+config QT4_EXAMPLES__WORLDTIMECLOCKBUILDER
+ bool
+ prompt "worldtimeclockbuilder"
+
+config QT4_EXAMPLES__CALCULATORFORM
+ bool
+ prompt "calculatorform"
+
+config QT4_EXAMPLES__CALCULATORBUILDER
+ bool
+ prompt "calculatorbuilder"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__XMLPATTERNS
+ tristate
+ depends on QT4_BUILD_WEBKIT
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_XML
+ prompt "xmlpatterns"
+
+if QT4_EXAMPLES__XMLPATTERNS
+
+config QT4_EXAMPLES__FILETREE
+ bool
+ prompt "filetree"
+
+config QT4_EXAMPLES__TRAFFICINFO
+ bool
+ prompt "trafficinfo"
+
+config QT4_EXAMPLES__RECIPES
+ bool
+ prompt "recipes"
+
+config QT4_EXAMPLES__QOBJECTXMLMODEL
+ bool
+ prompt "qobjectxmlmodel"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__WIDGETS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_XML
+ depends on QT4_BUILD_SVG
+ prompt "widgets"
+
+if QT4_EXAMPLES__WIDGETS
+
+config QT4_EXAMPLES__GROUPBOX
+ bool
+ prompt "groupbox"
+
+config QT4_EXAMPLES__LINEEDITS
+ bool
+ prompt "lineedits"
+
+config QT4_EXAMPLES__WINDOWFLAGS
+ bool
+ prompt "windowflags"
+
+config QT4_EXAMPLES__CALENDARWIDGET
+ bool
+ prompt "calendarwidget"
+
+config QT4_EXAMPLES__SPINBOXES
+ bool
+ prompt "spinboxes"
+
+config QT4_EXAMPLES__SLIDERS
+ bool
+ prompt "sliders"
+
+config QT4_EXAMPLES__TABLET
+ bool
+ prompt "tablet"
+
+config QT4_EXAMPLES__STYLESHEET
+ bool
+ prompt "stylesheet"
+
+config QT4_EXAMPLES__ANALOGCLOCK
+ bool
+ prompt "analogclock"
+
+config QT4_EXAMPLES__VALIDATORS
+ bool
+ prompt "validators"
+
+config QT4_EXAMPLES__WIGGLY
+ bool
+ prompt "wiggly"
+
+config QT4_EXAMPLES__CHARACTERMAP
+ bool
+ prompt "charactermap"
+
+config QT4_EXAMPLES__DIGITALCLOCK
+ bool
+ prompt "digitalclock"
+
+config QT4_EXAMPLES__SCRIBBLE
+ bool
+ prompt "scribble"
+
+config QT4_EXAMPLES__IMAGEVIEWER
+ bool
+ prompt "imageviewer"
+
+config QT4_EXAMPLES__MOVIE
+ bool
+ prompt "movie"
+
+config QT4_EXAMPLES__ICONS
+ bool
+ prompt "icons"
+
+config QT4_EXAMPLES__TETRIX
+ bool
+ prompt "tetrix"
+
+config QT4_EXAMPLES__CODEEDITOR
+ bool
+ prompt "codeeditor"
+
+config QT4_EXAMPLES__STYLES
+ bool
+ prompt "styles"
+
+config QT4_EXAMPLES__SHAPEDCLOCK
+ bool
+ prompt "shapedclock"
+
+config QT4_EXAMPLES__CALCULATOR
+ bool
+ prompt "calculator"
+
+config QT4_EXAMPLES__TOOLTIPS
+ bool
+ prompt "tooltips"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__XML
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_XML
+ prompt "xml"
+
+if QT4_EXAMPLES__XML
+
+config QT4_EXAMPLES__RSSLISTING
+ bool
+ prompt "rsslisting"
+
+config QT4_EXAMPLES__SAXBOOKMARKS
+ bool
+ prompt "saxbookmarks"
+
+config QT4_EXAMPLES__STREAMBOOKMARKS
+ bool
+ prompt "streambookmarks"
+
+config QT4_EXAMPLES__XMLSTREAMLINT
+ bool
+ prompt "xmlstreamlint"
+
+config QT4_EXAMPLES__DOMBOOKMARKS
+ bool
+ prompt "dombookmarks"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__SQL
+ tristate
+ depends on QT4_BUILD_SQL
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "sql"
+
+if QT4_EXAMPLES__SQL
+
+config QT4_EXAMPLES__SQLWIDGETMAPPER
+ bool
+ prompt "sqlwidgetmapper"
+
+config QT4_EXAMPLES__CACHEDTABLE
+ bool
+ prompt "cachedtable"
+
+config QT4_EXAMPLES__RELATIONALTABLEMODEL
+ bool
+ prompt "relationaltablemodel"
+
+config QT4_EXAMPLES__QUERYMODEL
+ bool
+ prompt "querymodel"
+
+config QT4_EXAMPLES__TABLEMODEL
+ bool
+ prompt "tablemodel"
+
+config QT4_EXAMPLES__DRILLDOWN
+ bool
+ prompt "drilldown"
+
+config QT4_EXAMPLES__MASTERDETAIL
+ bool
+ prompt "masterdetail"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__DESKTOP
+ tristate
+ depends on QT4_BUILD_SVG
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "desktop"
+
+if QT4_EXAMPLES__DESKTOP
+
+config QT4_EXAMPLES__SCREENSHOT
+ bool
+ prompt "screenshot"
+
+config QT4_EXAMPLES__SYSTRAY
+ bool
+ prompt "systray"
+
+endif
+
+config QT4_EXAMPLES__SIMPLETEXTVIEWER
+ bool
+ depends on QT4_BUILD_ASSISTANTLIB
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "simpletextviewer"
+
+menuconfig QT4_EXAMPLES__QWS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "qws"
+
+if QT4_EXAMPLES__QWS
+
+config QT4_EXAMPLES__MOUSECALIBRATION
+ bool
+ prompt "mousecalibration"
+
+config QT4_EXAMPLES__SIMPLEDECORATION
+ bool
+ prompt "simpledecoration"
+
+config QT4_EXAMPLES__FRAMEBUFFER
+ bool
+ prompt "framebuffer"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__DIALOGS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "dialogs"
+
+if QT4_EXAMPLES__DIALOGS
+
+config QT4_EXAMPLES__TRIVIALWIZARD
+ bool
+ prompt "trivialwizard"
+
+config QT4_EXAMPLES__LICENSEWIZARD
+ bool
+ prompt "licensewizard"
+
+config QT4_EXAMPLES__CLASSWIZARD
+ bool
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "classwizard"
+
+config QT4_EXAMPLES__EXTENSION
+ bool
+ prompt "extension"
+
+config QT4_EXAMPLES__FINDFILES
+ bool
+ prompt "findfiles"
+
+config QT4_EXAMPLES__TABDIALOG
+ bool
+ prompt "tabdialog"
+
+config QT4_EXAMPLES__STANDARDDIALOGS
+ bool
+ prompt "standarddialogs"
+
+config QT4_EXAMPLES__SIPDIALOG
+ bool
+ prompt "sipdialog"
+
+config QT4_EXAMPLES__CONFIGDIALOG
+ bool
+ prompt "configdialog"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__HELP
+ tristate
+# FIXME: -lQtHelp -lQtClucene
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_SQL
+ depends on QT4_BUILD_XML
+ prompt "help"
+
+if QT4_EXAMPLES__HELP
+
+config QT4_EXAMPLES__SIMPLETEXTVIEWER
+ bool
+ prompt "simpletextviewer"
+
+config QT4_EXAMPLES__REMOTECONTROL
+ bool
+ prompt "remotecontrol"
+
+config QT4_EXAMPLES__CONTEXTSENSITIVEHELP
+ bool
+ prompt "contextsensitivehelp"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__UITOOLS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "uitools"
+
+if QT4_EXAMPLES__UITOOLS
+
+config QT4_EXAMPLES__MULTIPLEINHERITANCE
+ bool
+ prompt "multipleinheritance"
+
+config QT4_EXAMPLES__TEXTFINDER
+ bool
+ prompt "textfinder"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__LINGUIST
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "linguist"
+
+if QT4_EXAMPLES__LINGUIST
+
+config QT4_EXAMPLES__TROLLPRINT
+ bool
+ prompt "trollprint"
+
+config QT4_EXAMPLES__HELLOTR
+ bool
+ prompt "hellotr"
+
+config QT4_EXAMPLES__ARROWPAD
+ bool
+ prompt "arrowpad"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__MAINWINDOWS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "mainwindows"
+
+if QT4_EXAMPLES__MAINWINDOWS
+
+config QT4_EXAMPLES__MDI
+ bool
+ prompt "mdi"
+
+config QT4_EXAMPLES__MENUS
+ bool
+ prompt "menus"
+
+config QT4_EXAMPLES__APPLICATION
+ bool
+ prompt "application"
+
+config QT4_EXAMPLES__DOCKWIDGETS
+ bool
+ prompt "dockwidgets"
+
+config QT4_EXAMPLES__SDI
+ bool
+ prompt "sdi"
+
+config QT4_EXAMPLES__RECENTFILES
+ bool
+ prompt "recentfiles"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__RICHTEXT
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "richtext"
+
+if QT4_EXAMPLES__RICHTEXT
+
+config QT4_EXAMPLES__TEXTOBJECT
+ bool
+ prompt "textobject"
+
+config QT4_EXAMPLES__SYNTAXHIGHLIGHTER
+ bool
+ prompt "syntaxhighlighter"
+
+config QT4_EXAMPLES__ORDERFORM
+ bool
+ prompt "orderform"
+
+config QT4_EXAMPLES__CALENDAR
+ bool
+ prompt "calendar"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__QTESTLIB
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_QTESTLIB
+ prompt "qtestlib"
+
+if QT4_EXAMPLES__QTESTLIB
+
+config QT4_EXAMPLES__TUTORIAL4
+ bool
+ prompt "tutorial4"
+
+config QT4_EXAMPLES__TUTORIAL1
+ bool
+ prompt "tutorial1"
+
+config QT4_EXAMPLES__TUTORIAL5
+ bool
+ prompt "tutorial5"
+
+config QT4_EXAMPLES__TUTORIAL3
+ bool
+ prompt "tutorial3"
+
+config QT4_EXAMPLES__TUTORIAL2
+ bool
+ prompt "tutorial2"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__PHONON
+ tristate
+ depends on QT4_BUILD_PHONON
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "phonon"
+
+if QT4_EXAMPLES__PHONON
+
+config QT4_EXAMPLES__CAPABILITIES
+ bool
+ prompt "capabilities"
+
+config QT4_EXAMPLES__MUSICPLAYER
+ bool
+ prompt "musicplayer"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__GRAPHICSVIEW
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "graphicsview"
+
+if QT4_EXAMPLES__GRAPHICSVIEW
+
+config QT4_EXAMPLES__DIAGRAMSCENE
+ bool
+ prompt "diagramscene"
+
+config QT4_EXAMPLES__COLLIDINGMICE
+ bool
+ prompt "collidingmice"
+
+config QT4_EXAMPLES__BASICGRAPHICSLAYOUTS
+ bool
+ prompt "basicgraphicslayouts"
+
+config QT4_EXAMPLES__PORTEDASTEROIDS
+ bool
+ prompt "portedasteroids"
+
+config QT4_EXAMPLES__PADNAVIGATOR
+ bool
+ prompt "padnavigator"
+
+config QT4_EXAMPLES__ELASTICNODES
+ bool
+ prompt "elasticnodes"
+
+config QT4_EXAMPLES__DRAGDROPROBOT
+ bool
+ prompt "dragdroprobot"
+
+config QT4_EXAMPLES__PORTEDCANVAS
+ bool
+ prompt "portedcanvas"
+
+endif
+
+
+config QT4_EXAMPLES__PRECOMPILE
+ bool
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "precompile"
+
+
+menuconfig QT4_EXAMPLES__DRAGANDDROP
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "draganddrop"
+
+if QT4_EXAMPLES__DRAGANDDROP
+
+config QT4_EXAMPLES__FRIDGEMAGNETS
+ bool
+ prompt "fridgemagnets"
+
+config QT4_EXAMPLES__DELAYEDENCODING
+ bool
+ prompt "delayedencoding"
+
+config QT4_EXAMPLES__PUZZLE
+ bool
+ prompt "puzzle"
+
+config QT4_EXAMPLES__DRAGGABLETEXT
+ bool
+ prompt "draggabletext"
+
+config QT4_EXAMPLES__DRAGGABLEICONS
+ bool
+ prompt "draggableicons"
+
+config QT4_EXAMPLES__DROPSITE
+ bool
+ prompt "dropsite"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__TUTORIALS
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "tutorials"
+
+if QT4_EXAMPLES__TUTORIALS
+
+menu "addressbook"
+config QT4_EXAMPLES__PART1
+ bool
+ prompt "part1"
+
+config QT4_EXAMPLES__PART6
+ bool
+ prompt "part6"
+
+config QT4_EXAMPLES__PART7
+ bool
+ prompt "part7"
+
+config QT4_EXAMPLES__PART4
+ bool
+ prompt "part4"
+
+config QT4_EXAMPLES__PART3
+ bool
+ prompt "part3"
+
+config QT4_EXAMPLES__PART5
+ bool
+ prompt "part5"
+
+config QT4_EXAMPLES__PART2
+ bool
+ prompt "part2"
+endmenu
+
+menu "addressbook-fr"
+config QT4_EXAMPLES__PART1
+ bool
+ prompt "part1"
+
+config QT4_EXAMPLES__PART6
+ bool
+ prompt "part6"
+
+config QT4_EXAMPLES__PART7
+ bool
+ prompt "part7"
+
+config QT4_EXAMPLES__PART4
+ bool
+ prompt "part4"
+
+config QT4_EXAMPLES__PART3
+ bool
+ prompt "part3"
+
+config QT4_EXAMPLES__PART5
+ bool
+ prompt "part5"
+
+config QT4_EXAMPLES__PART2
+ bool
+ prompt "part2"
+endmenu
+
+endif
+
+menuconfig QT4_EXAMPLES__WEBKIT
+ tristate
+ depends on QT4_BUILD_WEBKIT
+ prompt "webkit"
+
+if QT4_EXAMPLES__WEBKIT
+
+config QT4_EXAMPLES__PREVIEWER
+ bool
+ prompt "previewer"
+
+config QT4_EXAMPLES__FORMEXTRACTOR
+ bool
+ prompt "formExtractor"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__ITEMVIEWS
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "itemviews"
+
+if QT4_EXAMPLES__ITEMVIEWS
+
+config QT4_EXAMPLES__EDITABLETREEMODEL
+ bool
+ prompt "editabletreemodel"
+
+config QT4_EXAMPLES__CUSTOMSORTFILTERMODEL
+ bool
+ prompt "customsortfiltermodel"
+
+config QT4_EXAMPLES__ADDRESSBOOK
+ bool
+ prompt "addressbook"
+
+config QT4_EXAMPLES__FETCHMORE
+ bool
+ prompt "fetchmore"
+
+config QT4_EXAMPLES__STARDELEGATE
+ bool
+ prompt "stardelegate"
+
+config QT4_EXAMPLES__COLOREDITORFACTORY
+ bool
+ prompt "coloreditorfactory"
+
+config QT4_EXAMPLES__COMBOWIDGETMAPPER
+ bool
+ prompt "combowidgetmapper"
+
+config QT4_EXAMPLES__DIRVIEW
+ bool
+ prompt "dirview"
+
+config QT4_EXAMPLES__CHART
+ bool
+ prompt "chart"
+
+config QT4_EXAMPLES__PIXELATOR
+ bool
+ prompt "pixelator"
+
+config QT4_EXAMPLES__PUZZLE
+ bool
+ prompt "puzzle"
+
+config QT4_EXAMPLES__SPINBOXDELEGATE
+ bool
+ prompt "spinboxdelegate"
+
+config QT4_EXAMPLES__SIMPLETREEMODEL
+ bool
+ prompt "simpletreemodel"
+
+config QT4_EXAMPLES__BASICSORTFILTERMODEL
+ bool
+ prompt "basicsortfiltermodel"
+
+config QT4_EXAMPLES__SIMPLEDOMMODEL
+ bool
+ prompt "simpledommodel"
+
+config QT4_EXAMPLES__SIMPLEWIDGETMAPPER
+ bool
+ prompt "simplewidgetmapper"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__QTCONCURRENT
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "qtconcurrent"
+
+if QT4_EXAMPLES__QTCONCURRENT
+
+config QT4_EXAMPLES__RUNFUNCTION
+ bool
+ prompt "runfunction"
+
+config QT4_EXAMPLES__WORDCOUNT
+ bool
+ prompt "wordcount"
+
+config QT4_EXAMPLES__IMAGESCALING
+ bool
+ prompt "imagescaling"
+
+config QT4_EXAMPLES__PROGRESSDIALOG
+ bool
+ prompt "progressdialog"
+
+config QT4_EXAMPLES__MAPDEMO
+ bool
+ prompt "mapdemo"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__TOOLS
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_XML
+ prompt "tools"
+
+if QT4_EXAMPLES__TOOLS
+
+config QT4_EXAMPLES__COMPLETER
+ bool
+ prompt "completer"
+
+config QT4_EXAMPLES__REGEXP
+ bool
+ prompt "regexp"
+
+config QT4_EXAMPLES__CUSTOMCOMPLETER
+ bool
+ prompt "customcompleter"
+
+config QT4_EXAMPLES__TREEMODELCOMPLETER
+ bool
+ prompt "treemodelcompleter"
+
+config QT4_EXAMPLES__ECHOPLUGIN
+ bool
+ prompt "echoplugin"
+
+config QT4_EXAMPLES__SETTINGSEDITOR
+ bool
+ prompt "settingseditor"
+
+config QT4_EXAMPLES__CODECS
+ bool
+ prompt "codecs"
+
+config QT4_EXAMPLES__UNDOFRAMEWORK
+ bool
+ prompt "undoframework"
+
+config QT4_EXAMPLES__STYLEPLUGIN
+ bool
+ prompt "styleplugin"
+
+config QT4_EXAMPLES__PLUGANDPAINT
+ bool
+ prompt "plugandpaint"
+
+config QT4_EXAMPLES__I18N
+ bool
+ prompt "i18n"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__THREADS
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "threads"
+
+if QT4_EXAMPLES__THREADS
+
+config QT4_EXAMPLES__WAITCONDITIONS
+ bool
+ prompt "waitconditions"
+
+config QT4_EXAMPLES__MANDELBROT
+ bool
+ prompt "mandelbrot"
+
+config QT4_EXAMPLES__SEMAPHORES
+ bool
+ prompt "semaphores"
+endif
+
+
+menuconfig QT4_EXAMPLES__SCRIPT
+ tristate
+ depends on QT4_BUILD_SCRIPTTOOLS
+ depends on QT4_BUILD_XML
+ prompt "script"
+
+if QT4_EXAMPLES__SCRIPT
+config QT4_EXAMPLES__CONTEXT2D
+ bool
+ prompt "context2d"
+
+config QT4_EXAMPLES__MARSHAL
+ bool
+ prompt "marshal"
+
+config QT4_EXAMPLES__QSDBG
+ bool
+ prompt "qsdbg"
+
+config QT4_EXAMPLES__QSCRIPT
+ bool
+ prompt "qscript"
+
+config QT4_EXAMPLES__QSTETRIX
+ bool
+ prompt "qstetrix"
+
+config QT4_EXAMPLES__CUSTOMCLASS
+ bool
+ prompt "customclass"
+
+config QT4_EXAMPLES__HELLOSCRIPT
+ bool
+ prompt "helloscript"
+
+config QT4_EXAMPLES__CALCULATOR
+ bool
+ prompt "calculator"
+
+config QT4_EXAMPLES__DEFAULTPROTOTYPES
+ bool
+ prompt "defaultprototypes"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__OPENGL
+ tristate
+# FIXME: -lQtOpenGL
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "opengl"
+
+if QT4_EXAMPLES__OPENGL
+config QT4_EXAMPLES__HELLOGL
+ bool
+ prompt "hellogl"
+
+config QT4_EXAMPLES__PBUFFERS
+ bool
+ prompt "pbuffers"
+
+config QT4_EXAMPLES__SAMPLEBUFFERS
+ bool
+ prompt "samplebuffers"
+
+config QT4_EXAMPLES__HELLOGL_ES2
+ bool
+ prompt "hellogl_es2"
+
+config QT4_EXAMPLES__GRABBER
+ bool
+ prompt "grabber"
+
+config QT4_EXAMPLES__2DPAINTING
+ bool
+ prompt "2dpainting"
+
+config QT4_EXAMPLES__PBUFFERS2
+ bool
+ prompt "pbuffers2"
+
+config QT4_EXAMPLES__FRAMEBUFFEROBJECT
+ bool
+ prompt "framebufferobject"
+
+config QT4_EXAMPLES__FRAMEBUFFEROBJECT2
+ bool
+ prompt "framebufferobject2"
+
+config QT4_EXAMPLES__OVERPAINTING
+ bool
+ prompt "overpainting"
+
+config QT4_EXAMPLES__TEXTURES
+ bool
+ prompt "textures"
+
+config QT4_EXAMPLES__HELLOGL_ES
+ bool
+ prompt "hellogl_es"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__IPC
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "ipc"
+
+if QT4_EXAMPLES__IPC
+
+config QT4_EXAMPLES__LOCALFORTUNECLIENT
+ bool
+ prompt "localfortuneclient"
+
+config QT4_EXAMPLES__SHAREDMEMORY
+ bool
+ prompt "sharedmemory"
+
+config QT4_EXAMPLES__LOCALFORTUNESERVER
+ bool
+ prompt "localfortuneserver"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__PAINTING
+ tristate
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_GUI
+ prompt "painting"
+
+if QT4_EXAMPLES__PAINTING
+
+config QT4_EXAMPLES__SVGVIEWER
+ bool
+ prompt "svgviewer"
+
+config QT4_EXAMPLES__BASICDRAWING
+ bool
+ prompt "basicdrawing"
+
+config QT4_EXAMPLES__FONTSAMPLER
+ bool
+ prompt "fontsampler"
+
+config QT4_EXAMPLES__CONCENTRICCIRCLES
+ bool
+ prompt "concentriccircles"
+
+config QT4_EXAMPLES__TRANSFORMATIONS
+ bool
+ prompt "transformations"
+
+config QT4_EXAMPLES__IMAGECOMPOSITION
+ bool
+ prompt "imagecomposition"
+
+config QT4_EXAMPLES__PAINTERPATHS
+ bool
+ prompt "painterpaths"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__DBUS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_XML
+ depends on QT4_DBUS_LOAD || QT4_DBUS_LINK
+ prompt "dbus"
+
+if QT4_EXAMPLES__DBUS
+
+config QT4_EXAMPLES__COMPLEXPONG
+ bool
+ prompt "complexpong"
+
+config QT4_EXAMPLES__COMPLEXPING
+ bool
+ prompt "complexping"
+
+config QT4_EXAMPLES__LISTNAMES
+ bool
+ prompt "listnames"
+
+config QT4_EXAMPLES__PING
+ bool
+ prompt "ping"
+
+config QT4_EXAMPLES__PONG
+ bool
+ prompt "pong"
+
+config QT4_EXAMPLES__DBUS_CHAT
+ bool
+ prompt "dbus-chat"
+
+
+menu "dbus/remotecontrolledcar"
+
+config QT4_EXAMPLES__CAR
+ bool
+ prompt "car"
+
+config QT4_EXAMPLES__CONTROLLER
+ bool
+ prompt "controller"
+
+endmenu
+
+endif
+
+
+menuconfig QT4_EXAMPLES__LAYOUTS
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ prompt "layouts"
+
+if QT4_EXAMPLES__LAYOUTS
+
+config QT4_EXAMPLES__DYNAMICLAYOUTS
+ bool
+ prompt "dynamiclayouts"
+
+config QT4_EXAMPLES__BORDERLAYOUT
+ bool
+ prompt "borderlayout"
+
+config QT4_EXAMPLES__FLOWLAYOUT
+ bool
+ prompt "flowlayout"
+
+config QT4_EXAMPLES__BASICLAYOUTS
+ bool
+ prompt "basiclayouts"
+
+endif
+
+
+menuconfig QT4_EXAMPLES__NETWORK
+ tristate
+ depends on QT4_BUILD_GUI
+ depends on QT4_BUILD_NETWORK
+ depends on QT4_BUILD_XML
+ prompt "network"
+
+if QT4_EXAMPLES__NETWORK
+
+config QT4_EXAMPLES__SECURESOCKETCLIENT
+ bool
+ prompt "securesocketclient"
+
+config QT4_EXAMPLES__TORRENT
+ bool
+ prompt "torrent"
+
+config QT4_EXAMPLES__FORTUNESERVER
+ bool
+ prompt "fortuneserver"
+
+config QT4_EXAMPLES__BROADCASTSENDER
+ bool
+ prompt "broadcastsender"
+
+config QT4_EXAMPLES__LOOPBACK
+ bool
+ prompt "loopback"
+
+config QT4_EXAMPLES__BLOCKINGFORTUNECLIENT
+ bool
+ prompt "blockingfortuneclient"
+
+config QT4_EXAMPLES__NETWORK_CHAT
+ bool
+ prompt "network-chat"
+
+config QT4_EXAMPLES__THREADEDFORTUNESERVER
+ bool
+ prompt "threadedfortuneserver"
+
+config QT4_EXAMPLES__FTP
+ bool
+ prompt "ftp"
+
+config QT4_EXAMPLES__DOWNLOADMANAGER
+ bool
+ prompt "downloadmanager"
+
+config QT4_EXAMPLES__BROADCASTRECEIVER
+ bool
+ prompt "broadcastreceiver"
+
+config QT4_EXAMPLES__HTTP
+ bool
+ prompt "http"
+
+config QT4_EXAMPLES__FORTUNECLIENT
+ bool
+ prompt "fortuneclient"
+
+config QT4_EXAMPLES__DOWNLOAD
+ bool
+ prompt "download"
+
+endif
+
+
+endif
+
diff --git a/rules/qt4-examples.make b/rules/qt4-examples.make
new file mode 100644
index 000000000..959f84459
--- /dev/null
+++ b/rules/qt4-examples.make
@@ -0,0 +1,1252 @@
+# WARNING: this file is generated with qt4_mk_examples.sh
+# do not edit
+
+ifdef PTXCONF_QT4_EXAMPLES
+$(STATEDIR)/qt4.targetinstall.post: $(STATEDIR)/qt4-examples.targetinstall
+endif
+
+$(STATEDIR)/qt4-examples.targetinstall: $(STATEDIR)/qt4.targetinstall
+ @$(call targetinfo, $@)
+ @$(call install_init, qt4-examples)
+ @$(call install_fixup,qt4-examples,PACKAGE,qt4-examples)
+ @$(call install_fixup,qt4-examples,PRIORITY,optional)
+ @$(call install_fixup,qt4-examples,VERSION,$(QT4_VERSION))
+ @$(call install_fixup,qt4-examples,SECTION,base)
+ @$(call install_fixup,qt4-examples,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup,qt4-examples,DEPENDS,)
+ @$(call install_fixup,qt4-examples,DESCRIPTION,missing)
+
+ifdef PTXCONF_QT4_EXAMPLES__WORLDTIMECLOCKBUILDER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/designer/worldtimeclockbuilder/worldtimeclockbuilder, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/worldtimeclockbuilder)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CALCULATORFORM
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/designer/calculatorform/calculatorform, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/calculatorform)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CALCULATORBUILDER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/designer/calculatorbuilder/calculatorbuilder, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/calculatorbuilder)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FILETREE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xmlpatterns/filetree/filetree, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/filetree)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TRAFFICINFO
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xmlpatterns/trafficinfo/trafficinfo, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/trafficinfo)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__RECIPES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xmlpatterns/recipes/recipes, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/recipes)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__QOBJECTXMLMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/qobjectxmlmodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__GROUPBOX
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/groupbox/groupbox, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/groupbox)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__LINEEDITS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/lineedits/lineedits, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/lineedits)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__WINDOWFLAGS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/windowflags/windowflags, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/windowflags)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CALENDARWIDGET
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/calendarwidget/calendarwidget, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/calendarwidget)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SPINBOXES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/spinboxes/spinboxes, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/spinboxes)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SLIDERS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/sliders/sliders, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/sliders)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TABLET
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/tablet/tablet, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tablet)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__STYLESHEET
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/stylesheet/stylesheet, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/stylesheet)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ANALOGCLOCK
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/analogclock/analogclock, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/analogclock)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__VALIDATORS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/validators/validators, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/validators)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__WIGGLY
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/wiggly/wiggly, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/wiggly)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CHARACTERMAP
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/charactermap/charactermap, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/charactermap)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DIGITALCLOCK
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/digitalclock/digitalclock, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/digitalclock)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SCRIBBLE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/scribble/scribble, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/scribble)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__IMAGEVIEWER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/imageviewer/imageviewer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/imageviewer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MOVIE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/movie/movie, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/movie)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ICONS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/icons/icons, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/icons)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TETRIX
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/tetrix/tetrix, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tetrix)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CODEEDITOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/codeeditor/codeeditor, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/codeeditor)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__STYLES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/styles/styles, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/styles)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SHAPEDCLOCK
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/shapedclock/shapedclock, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/shapedclock)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CALCULATOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/calculator/calculator, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/calculator)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TOOLTIPS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/widgets/tooltips/tooltips, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tooltips)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__RSSLISTING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xml/rsslisting/rsslisting, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/rsslisting)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SAXBOOKMARKS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xml/saxbookmarks/saxbookmarks, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/saxbookmarks)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__STREAMBOOKMARKS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xml/streambookmarks/streambookmarks, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/streambookmarks)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__XMLSTREAMLINT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xml/xmlstreamlint/xmlstreamlint, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/xmlstreamlint)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DOMBOOKMARKS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/xml/dombookmarks/dombookmarks, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dombookmarks)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SQLWIDGETMAPPER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/sqlwidgetmapper/sqlwidgetmapper, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/sqlwidgetmapper)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CACHEDTABLE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/cachedtable/cachedtable, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/cachedtable)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__RELATIONALTABLEMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/relationaltablemodel/relationaltablemodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/relationaltablemodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__QUERYMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/querymodel/querymodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/querymodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TABLEMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/tablemodel/tablemodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tablemodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DRILLDOWN
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/drilldown/drilldown, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/drilldown)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MASTERDETAIL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/sql/masterdetail/masterdetail, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/masterdetail)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SCREENSHOT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/desktop/screenshot/screenshot, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/screenshot)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SYSTRAY
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/desktop/systray/systray, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/systray)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIMPLETEXTVIEWER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/assistant/simpletextviewer/simpletextviewer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/simpletextviewer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MOUSECALIBRATION
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qws/mousecalibration/mousecalibration, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/mousecalibration)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIMPLEDECORATION
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qws/simpledecoration/simpledecoration, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/simpledecoration)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FRAMEBUFFER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qws/framebuffer/framebuffer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/framebuffer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TRIVIALWIZARD
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/trivialwizard/trivialwizard, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/trivialwizard)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__LICENSEWIZARD
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/licensewizard/licensewizard, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/licensewizard)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CLASSWIZARD
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/classwizard/classwizard, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/classwizard)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__EXTENSION
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/extension/extension, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/extension)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FINDFILES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/findfiles/findfiles, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/findfiles)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TABDIALOG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/tabdialog/tabdialog, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tabdialog)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__STANDARDDIALOGS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/standarddialogs/standarddialogs, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/standarddialogs)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIPDIALOG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/sipdialog/sipdialog, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/sipdialog)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CONFIGDIALOG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dialogs/configdialog/configdialog, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/configdialog)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIMPLETEXTVIEWER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/help/simpletextviewer/simpletextviewer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/simpletextviewer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__REMOTECONTROL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/help/remotecontrol/remotecontrol, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/remotecontrol)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CONTEXTSENSITIVEHELP
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/help/contextsensitivehelp/contextsensitivehelp, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/contextsensitivehelp)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MULTIPLEINHERITANCE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/uitools/multipleinheritance/multipleinheritance, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/multipleinheritance)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TEXTFINDER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/uitools/textfinder/textfinder, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/textfinder)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TROLLPRINT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/linguist/trollprint/trollprint, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/trollprint)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__HELLOTR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/linguist/hellotr/hellotr, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/hellotr)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ARROWPAD
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/linguist/arrowpad/arrowpad, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/arrowpad)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MDI
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/mainwindows/mdi/mdi, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/mdi)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MENUS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/mainwindows/menus/menus, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/menus)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__APPLICATION
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/mainwindows/application/application, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/application)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DOCKWIDGETS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/mainwindows/dockwidgets/dockwidgets, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dockwidgets)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SDI
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/mainwindows/sdi/sdi, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/sdi)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__RECENTFILES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/mainwindows/recentfiles/recentfiles, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/recentfiles)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TEXTOBJECT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/richtext/textobject/textobject, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/textobject)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SYNTAXHIGHLIGHTER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/richtext/syntaxhighlighter/syntaxhighlighter, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/syntaxhighlighter)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ORDERFORM
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/richtext/orderform/orderform, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/orderform)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CALENDAR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/richtext/calendar/calendar, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/calendar)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TUTORIAL4
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtestlib/tutorial4/tutorial4, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tutorial4)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TUTORIAL1
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtestlib/tutorial1/tutorial1, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tutorial1)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TUTORIAL5
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtestlib/tutorial5/tutorial5, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tutorial5)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TUTORIAL3
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtestlib/tutorial3/tutorial3, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tutorial3)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TUTORIAL2
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtestlib/tutorial2/tutorial2, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/tutorial2)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CAPABILITIES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/phonon/capabilities/capabilities, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/capabilities)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MUSICPLAYER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/phonon/musicplayer/musicplayer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/musicplayer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DIAGRAMSCENE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/diagramscene/diagramscene, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/diagramscene)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__COLLIDINGMICE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/collidingmice/collidingmice, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/collidingmice)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BASICGRAPHICSLAYOUTS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/basicgraphicslayouts/basicgraphicslayouts, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/basicgraphicslayouts)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PORTEDASTEROIDS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/portedasteroids/portedasteroids, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/portedasteroids)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PADNAVIGATOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/padnavigator/padnavigator, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/padnavigator)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ELASTICNODES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/elasticnodes/elasticnodes, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/elasticnodes)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DRAGDROPROBOT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/dragdroprobot/dragdroprobot, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dragdroprobot)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PORTEDCANVAS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/graphicsview/portedcanvas/portedcanvas, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/portedcanvas)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PRECOMPILE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qmake/precompile/precompile, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/precompile)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FRIDGEMAGNETS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/draganddrop/fridgemagnets/fridgemagnets, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/fridgemagnets)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DELAYEDENCODING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/draganddrop/delayedencoding/delayedencoding, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/delayedencoding)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PUZZLE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/draganddrop/puzzle/puzzle, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/puzzle)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DRAGGABLETEXT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/draganddrop/draggabletext/draggabletext, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/draggabletext)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DRAGGABLEICONS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/draganddrop/draggableicons/draggableicons, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/draggableicons)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DROPSITE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/draganddrop/dropsite/dropsite, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dropsite)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART1
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part1/part1, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part1)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART6
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part6/part6, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part6)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART7
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part7/part7, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part7)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART4
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part4/part4, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part4)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART3
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part3/part3, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part3)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART5
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part5/part5, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part5)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART2
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook/part2/part2, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part2)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART1
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part1/part1, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part1)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART6
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part6/part6, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part6)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART7
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part7/part7, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part7)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART4
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part4/part4, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part4)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART3
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part3/part3, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part3)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART5
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part5/part5, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part5)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PART2
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tutorials/addressbook-fr/part2/part2, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/part2)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PREVIEWER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/webkit/previewer/previewer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/previewer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FORMEXTRACTOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/webkit/formextractor/formExtractor, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/formExtractor)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__EDITABLETREEMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/editabletreemodel/editabletreemodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/editabletreemodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CUSTOMSORTFILTERMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/customsortfiltermodel/customsortfiltermodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/customsortfiltermodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ADDRESSBOOK
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/addressbook/addressbook, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/addressbook)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FETCHMORE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/fetchmore/fetchmore, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/fetchmore)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__STARDELEGATE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/stardelegate/stardelegate, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/stardelegate)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__COLOREDITORFACTORY
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/coloreditorfactory/coloreditorfactory, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/coloreditorfactory)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__COMBOWIDGETMAPPER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/combowidgetmapper/combowidgetmapper, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/combowidgetmapper)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DIRVIEW
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/dirview/dirview, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dirview)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CHART
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/chart/chart, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/chart)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PIXELATOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/pixelator/pixelator, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/pixelator)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PUZZLE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/puzzle/puzzle, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/puzzle)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SPINBOXDELEGATE
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/spinboxdelegate/spinboxdelegate, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/spinboxdelegate)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIMPLETREEMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/simpletreemodel/simpletreemodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/simpletreemodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BASICSORTFILTERMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/basicsortfiltermodel/basicsortfiltermodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/basicsortfiltermodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIMPLEDOMMODEL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/simpledommodel/simpledommodel, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/simpledommodel)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SIMPLEWIDGETMAPPER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/itemviews/simplewidgetmapper/simplewidgetmapper, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/simplewidgetmapper)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__RUNFUNCTION
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtconcurrent/runfunction/runfunction, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/runfunction)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__WORDCOUNT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtconcurrent/wordcount/wordcount, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/wordcount)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__IMAGESCALING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtconcurrent/imagescaling/imagescaling, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/imagescaling)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PROGRESSDIALOG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtconcurrent/progressdialog/progressdialog, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/progressdialog)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MAPDEMO
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/qtconcurrent/map/mapdemo, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/mapdemo)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__COMPLETER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/completer/completer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/completer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__REGEXP
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/regexp/regexp, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/regexp)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CUSTOMCOMPLETER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/customcompleter/customcompleter, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/customcompleter)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TREEMODELCOMPLETER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/treemodelcompleter/treemodelcompleter, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/treemodelcompleter)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__ECHOPLUGIN
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/echoplugin/echowindow/echoplugin, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/echoplugin)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SETTINGSEDITOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/settingseditor/settingseditor, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/settingseditor)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CODECS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/codecs/codecs, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/codecs)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__UNDOFRAMEWORK
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/undoframework/undoframework, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/undoframework)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__STYLEPLUGIN
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/styleplugin/stylewindow/styleplugin, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/styleplugin)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PLUGANDPAINT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/plugandpaint/plugandpaint, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/plugandpaint)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__I18N
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/tools/i18n/i18n, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/i18n)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__WAITCONDITIONS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/threads/waitconditions/waitconditions, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/waitconditions)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MANDELBROT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/threads/mandelbrot/mandelbrot, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/mandelbrot)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SEMAPHORES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/threads/semaphores/semaphores, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/semaphores)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CONTEXT2D
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/context2d/context2d, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/context2d)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__MARSHAL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/marshal/marshal, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/marshal)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__QSDBG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/qsdbg/qsdbg, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/qsdbg)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__QSCRIPT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/qscript/qscript, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/qscript)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__QSTETRIX
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/qstetrix/qstetrix, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/qstetrix)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CUSTOMCLASS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/customclass/customclass, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/customclass)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__HELLOSCRIPT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/helloscript/helloscript, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/helloscript)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CALCULATOR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/calculator/calculator, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/calculator)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DEFAULTPROTOTYPES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/script/defaultprototypes/defaultprototypes, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/defaultprototypes)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__HELLOGL
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/hellogl/hellogl, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/hellogl)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PBUFFERS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/pbuffers/pbuffers, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/pbuffers)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SAMPLEBUFFERS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/samplebuffers/samplebuffers, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/samplebuffers)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__HELLOGL_ES2
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/hellogl_es2/hellogl_es2, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/hellogl_es2)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__GRABBER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/grabber/grabber, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/grabber)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__2DPAINTING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/2dpainting/2dpainting, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/2dpainting)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PBUFFERS2
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/pbuffers2/pbuffers2, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/pbuffers2)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FRAMEBUFFEROBJECT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/framebufferobject/framebufferobject, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/framebufferobject)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FRAMEBUFFEROBJECT2
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/framebufferobject2/framebufferobject2, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/framebufferobject2)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__OVERPAINTING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/overpainting/overpainting, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/overpainting)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TEXTURES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/textures/textures, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/textures)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__HELLOGL_ES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/opengl/hellogl_es/hellogl_es, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/hellogl_es)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__LOCALFORTUNECLIENT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/ipc/localfortuneclient/localfortuneclient, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/localfortuneclient)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SHAREDMEMORY
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/ipc/sharedmemory/sharedmemory, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/sharedmemory)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__LOCALFORTUNESERVER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/ipc/localfortuneserver/localfortuneserver, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/localfortuneserver)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SVGVIEWER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/svgviewer/svgviewer, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/svgviewer)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BASICDRAWING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/basicdrawing/basicdrawing, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/basicdrawing)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FONTSAMPLER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/fontsampler/fontsampler, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/fontsampler)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CONCENTRICCIRCLES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/concentriccircles/concentriccircles, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/concentriccircles)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TRANSFORMATIONS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/transformations/transformations, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/transformations)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__IMAGECOMPOSITION
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/imagecomposition/imagecomposition, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/imagecomposition)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PAINTERPATHS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/painting/painterpaths/painterpaths, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/painterpaths)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__COMPLEXPONG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/complexpingpong/complexpong, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/complexpong)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__COMPLEXPING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/complexpingpong/complexping, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/complexping)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__LISTNAMES
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/listnames/listnames, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/listnames)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PING
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/pingpong/ping, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/ping)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__PONG
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/pingpong/pong, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/pong)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DBUS_CHAT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/dbus-chat/dbus-chat, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dbus-chat)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CAR
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/remotecontrolledcar/car/car, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/car)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__CONTROLLER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/dbus/remotecontrolledcar/controller/controller, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/controller)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DYNAMICLAYOUTS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/layouts/dynamiclayouts/dynamiclayouts, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/dynamiclayouts)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BORDERLAYOUT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/layouts/borderlayout/borderlayout, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/borderlayout)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FLOWLAYOUT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/layouts/flowlayout/flowlayout, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/flowlayout)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BASICLAYOUTS
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/layouts/basiclayouts/basiclayouts, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/basiclayouts)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__SECURESOCKETCLIENT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/securesocketclient/securesocketclient, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/securesocketclient)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__TORRENT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/torrent/torrent, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/torrent)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FORTUNESERVER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/fortuneserver/fortuneserver, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/fortuneserver)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BROADCASTSENDER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/broadcastsender/broadcastsender, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/broadcastsender)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__LOOPBACK
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/loopback/loopback, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/loopback)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BLOCKINGFORTUNECLIENT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/blockingfortuneclient/blockingfortuneclient, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/blockingfortuneclient)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__NETWORK_CHAT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/network-chat/network-chat, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/network-chat)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__THREADEDFORTUNESERVER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/threadedfortuneserver/threadedfortuneserver, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/threadedfortuneserver)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FTP
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/ftp/ftp, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/ftp)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DOWNLOADMANAGER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/downloadmanager/downloadmanager, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/downloadmanager)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__BROADCASTRECEIVER
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/broadcastreceiver/broadcastreceiver, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/broadcastreceiver)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__HTTP
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/http/http, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/http)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__FORTUNECLIENT
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/fortuneclient/fortuneclient, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/fortuneclient)
+endif
+
+ifdef PTXCONF_QT4_EXAMPLES__DOWNLOAD
+ @$(call install_copy, qt4-examples, 0, 0, 0644, \
+ $(QT4_DIR)/examples/network/download/download, \
+ $(PTXCONF_QT4_EXAMPLES__INSTALL_DIR)/download)
+endif
+
+
+ @$(call install_finish,qt4-examples)
+ @$(call touch, $@)
+
diff --git a/rules/qtopia.in b/rules/qt4.in
index 8eca1b95b..533be2af9 100644
--- a/rules/qtopia.in
+++ b/rules/qt4.in
@@ -1,45 +1,46 @@
## SECTION=qt
-menuconfig QTOPIA
+menuconfig QT4
tristate
- select TSLIB if QTOPIA_MOUSE_TSLIB
- select DBUS if QTOPIA_DBUS_LOAD || QTOPIA_DBUS_LINK
- select ZLIB if QTOPIA_ZLIB_SYSTEM
- select FREETYPE if QTOPIA_FREETYPE_SYSTEM
- select LIBPNG if QTOPIA_PNG_SYSTEM
- select LIBJPEG if QTOPIA_JPG_SYSTEM
- select DIRECTFB if QTOPIA_GFX_DIRECTFB_PLUGIN
+ select TSLIB if QT4_MOUSE_TSLIB
+ select DBUS if QT4_DBUS_LOAD || QT4_DBUS_LINK
+ select GLIB if QT4_GLIB
+ select ZLIB if QT4_ZLIB_SYSTEM
+ select FREETYPE if QT4_FREETYPE_SYSTEM
+ select LIBPNG if QT4_PNG_SYSTEM
+ select LIBJPEG if QT4_JPG_SYSTEM
+ select DIRECTFB if QT4_GFX_DIRECTFB_PLUGIN
+ select GSTREAMER if QT4_BUILD_PHONON
+ select GST_PLUGINS_BASE if QT4_BUILD_PHONON
+ select OPENSSL if QT4_OPENSSL
# libsvga is currently not in ptxdist
-# select LIBSVGA if QTOPIA_GFX_SVGA_PLUGIN
- prompt "QTopia Core "
+# select LIBSVGA if QT4_GFX_SVGA_PLUGIN
+ prompt "Qt Embedded "
help
- QTopia Core is Trolltech's Widget Library formerly known as
- QT Embedded.
+ Qt Embedded is Trolltech's Widget Library for Embedded Linux.
+
+if QT4
menu "build options "
- depends on QTOPIA
-config QTOPIA_SHARED
+config QT4_SHARED
bool
prompt "build shared libraries"
- depends on QTOPIA
help
- If selected the shared QTopia Core Libraries are built
+ If selected the shared Qt Embedded Libraries are built
and installed.
endmenu
menu "graphics driver "
- depends on QTOPIA
choice
prompt "ahi "
- depends on QTOPIA
- default QTOPIA_GFX_AHI_NONE
+ default QT4_GFX_AHI_NONE
help
FIXME
- config QTOPIA_GFX_AHI_NONE
+ config QT4_GFX_AHI_NONE
bool
prompt "none "
help
@@ -47,7 +48,7 @@ choice
# only as plugin
- config QTOPIA_GFX_AHI_PLUGIN
+ config QT4_GFX_AHI_PLUGIN
bool
prompt "plugin "
depends on BROKEN
@@ -57,12 +58,11 @@ endchoice
choice
prompt "DirectFB "
- depends on QTOPIA
- default QTOPIA_GFX_DIRECTFB_NONE
+ default QT4_GFX_DIRECTFB_NONE
help
Accelerated driver using DirectFB
- config QTOPIA_GFX_DIRECTFB_NONE
+ config QT4_GFX_DIRECTFB_NONE
bool
prompt "none "
help
@@ -70,7 +70,7 @@ choice
# only as plugin
- config QTOPIA_GFX_DIRECTFB_PLUGIN
+ config QT4_GFX_DIRECTFB_PLUGIN
bool
prompt "plugin "
help
@@ -79,24 +79,23 @@ endchoice
choice
prompt "LinuxFb "
- depends on QTOPIA
- default QTOPIA_GFX_LINUXFB_NONE
+ default QT4_GFX_LINUXFB_NONE
help
Unaccelerated linux frambuffer driver
- config QTOPIA_GFX_LINUXFB_NONE
+ config QT4_GFX_LINUXFB_NONE
bool
prompt "none "
help
Don't build the driver
- config QTOPIA_GFX_LINUXFB_BUILTIN
+ config QT4_GFX_LINUXFB_BUILTIN
bool
prompt "builtin"
help
Link the driver into QtGui
- config QTOPIA_GFX_LINUXFB_PLUGIN
+ config QT4_GFX_LINUXFB_PLUGIN
bool
prompt "plugin "
help
@@ -104,26 +103,47 @@ choice
endchoice
choice
+ prompt "PowerVR "
+ default QT4_GFX_POWERVR_NONE
+ help
+ FIXME
+
+ config QT4_GFX_POWERVR_NONE
+ bool
+ prompt "none "
+ help
+ Don't build the driver
+
+# only as plugin
+
+ config QT4_GFX_POWERVR_PLUGIN
+ bool
+ prompt "plugin "
+ depends on BROKEN
+ help
+ Load the driver at runtime
+endchoice
+
+choice
prompt "Qt Virtual Fb "
- depends on QTOPIA
- default QTOPIA_GFX_QVFB_NONE
+ default QT4_GFX_QVFB_NONE
help
- The Qt Virtual Framebuffer can be used to test qtopia applications.
+ The Qt Virtual Framebuffer can be used to test Qt Embedded applications.
It must be used in combination with the QVFb tool which is part of Qt/X11
- config QTOPIA_GFX_QVFB_NONE
+ config QT4_GFX_QVFB_NONE
bool
prompt "none "
help
Don't build the driver
- config QTOPIA_GFX_QVFB_BUILTIN
+ config QT4_GFX_QVFB_BUILTIN
bool
prompt "builtin"
help
Link the driver into QtGui
- config QTOPIA_GFX_QVFB_PLUGIN
+ config QT4_GFX_QVFB_PLUGIN
bool
prompt "plugin "
help
@@ -132,14 +152,13 @@ endchoice
choice
prompt "SVGA "
- depends on QTOPIA
depends on BROKEN
- default QTOPIA_GFX_SVGA_NONE
+ default QT4_GFX_SVGA_NONE
help
Unaccelerated driver using svgalib.
- config QTOPIA_GFX_SVGA_NONE
+ config QT4_GFX_SVGA_NONE
bool
prompt "none "
help
@@ -147,7 +166,7 @@ choice
# only as plugin
- config QTOPIA_GFX_SVGA_PLUGIN
+ config QT4_GFX_SVGA_PLUGIN
bool
prompt "plugin "
depends on BROKEN
@@ -157,26 +176,25 @@ endchoice
choice
prompt "VNC "
- depends on QTOPIA
- default QTOPIA_GFX_VNC_NONE
+ default QT4_GFX_VNC_NONE
help
The VNC driver provides a VNC server. It can also be used in
combination with other drivers.
- config QTOPIA_GFX_VNC_NONE
+ config QT4_GFX_VNC_NONE
bool
prompt "none "
help
Don't build the driver
- config QTOPIA_GFX_VNC_BUILTIN
+ config QT4_GFX_VNC_BUILTIN
bool
prompt "builtin"
help
Link the driver into QtGui
- config QTOPIA_GFX_VNC_PLUGIN
+ config QT4_GFX_VNC_PLUGIN
bool
prompt "plugin "
help
@@ -185,26 +203,25 @@ endchoice
choice
prompt "Transformed "
- depends on QTOPIA
- default QTOPIA_GFX_TRANSFORMED_NONE
+ default QT4_GFX_TRANSFORMED_NONE
help
Transformed is a meta driver that delegates the drawing to another driver
after rotating the contents
- config QTOPIA_GFX_TRANSFORMED_NONE
+ config QT4_GFX_TRANSFORMED_NONE
bool
prompt "none "
help
Don't build the driver
- config QTOPIA_GFX_TRANSFORMED_BUILTIN
+ config QT4_GFX_TRANSFORMED_BUILTIN
bool
prompt "builtin"
help
Link the driver into QtGui
- config QTOPIA_GFX_TRANSFORMED_PLUGIN
+ config QT4_GFX_TRANSFORMED_PLUGIN
bool
prompt "plugin "
help
@@ -213,19 +230,18 @@ endchoice
choice
prompt "Multi "
- depends on QTOPIA
- default QTOPIA_GFX_MULTISCREEN_NONE
+ default QT4_GFX_MULTISCREEN_NONE
help
Multi is a meta driver that delegates the drawing to multiple other
drivers.
- config QTOPIA_GFX_MULTISCREEN_NONE
+ config QT4_GFX_MULTISCREEN_NONE
bool
prompt "none "
help
Don't build the driver
- config QTOPIA_GFX_MULTISCREEN_BUILTIN
+ config QT4_GFX_MULTISCREEN_BUILTIN
bool
prompt "builtin"
help
@@ -236,10 +252,9 @@ endchoice
choice
prompt "hybrid "
- depends on QTOPIA
- default QTOPIA_GFX_HYBRID_NONE
+ default QT4_GFX_HYBRID_NONE
- config QTOPIA_GFX_HYBRID_NONE
+ config QT4_GFX_HYBRID_NONE
bool
prompt "none "
help
@@ -247,7 +262,7 @@ choice
# only as plugin
- config QTOPIA_GFX_HYBRID_PLUGIN
+ config QT4_GFX_HYBRID_PLUGIN
bool
prompt "plugin [BROKEN]"
# needs GLES/egl.h and others
@@ -259,118 +274,101 @@ endchoice
endmenu
menu "keyboard drivers "
- depends on QTOPIA
-config QTOPIA_KBD_TTY
+config QT4_KBD_TTY
bool
prompt "tty"
- depends on QTOPIA
help
Generic console (tty) driver
-config QTOPIA_KBD_USB
+config QT4_KBD_USB
bool
prompt "USB"
- depends on QTOPIA
help
Generic usb keyboard driver
-config QTOPIA_KBD_SL5000
+config QT4_KBD_SL5000
bool
prompt "SL5000 [BROKEN]"
- depends on QTOPIA
# needs asm/sharp_char.h
depends on BROKEN
-config QTOPIA_KBD_YOPY
+config QT4_KBD_YOPY
bool
prompt "Yopy [BROKEN]"
- depends on QTOPIA
# needs linux/yopy_button.h
depends on BROKEN
-config QTOPIA_KBD_VR41XX
+config QT4_KBD_VR41XX
bool
prompt "Vr41XX"
- depends on QTOPIA
-config QTOPIA_KBD_QVFB
+config QT4_KBD_QVFB
bool
prompt "Qt Virtual Frambuffer"
- depends on QTOPIA
help
Keyboard driver for the Qt Virtual Frambuffer
endmenu
menu "mouse drivers "
- depends on QTOPIA
-config QTOPIA_MOUSE_PC
+config QT4_MOUSE_PC
bool
prompt "Generic Mouse Driver"
- depends on QTOPIA
help
Generic driver for the MouseMan, IntelliMouse, Microsoft and MouseSystems
protocols.
-config QTOPIA_MOUSE_BUS
+config QT4_MOUSE_BUS
bool
prompt "Bus"
- depends on QTOPIA
-config QTOPIA_MOUSE_LINUXTP
+config QT4_MOUSE_LINUXTP
bool
prompt "Linux Touch Panel"
- depends on QTOPIA
-config QTOPIA_MOUSE_YOPY
+config QT4_MOUSE_YOPY
bool
prompt "Yopy"
- depends on QTOPIA
-config QTOPIA_MOUSE_VR41XX
+config QT4_MOUSE_VR41XX
bool
prompt "NEC Vr41XX"
- depends on QTOPIA
-config QTOPIA_MOUSE_TSLIB
+config QT4_MOUSE_TSLIB
bool
prompt "Tslib"
- depends on QTOPIA
help
Driver for the universal touch screen library, tslib.
-config QTOPIA_MOUSE_QVFB
+config QT4_MOUSE_QVFB
bool
prompt "Qt Virtual Frambuffer"
- depends on QTOPIA
help
Mouse driver for the Qt Virtual Frambuffer
endmenu
# prepare the build system to build the examples
-config QTOPIA_PREPARE_EXAMPLES
+# selected by QT4_EXAMPLES
+config QT4_PREPARE_EXAMPLES
bool
- depends on QTOPIA
menu "feature options "
- depends on QTOPIA
choice
prompt "zlib support "
- depends on QTOPIA
- default QTOPIA_ZLIB_SYSTEM
+ default QT4_ZLIB_SYSTEM
help
zlib support is required for at least the PNG graphic format
-config QTOPIA_ZLIB_INTERNAL
+config QT4_ZLIB_INTERNAL
bool "internal"
help
This uses the embedded zlib support
-config QTOPIA_ZLIB_SYSTEM
+config QT4_ZLIB_SYSTEM
bool "system "
help
Use system's zlib
@@ -378,22 +376,21 @@ endchoice
choice
prompt "freetype support "
- depends on QTOPIA
- default QTOPIA_FREETYPE_SYSTEM
+ default QT4_FREETYPE_SYSTEM
help
Control freetype support
-config QTOPIA_FREETYPE_NONE
+config QT4_FREETYPE_NONE
bool "none "
help
This disables freeetype support entirely
-config QTOPIA_FREETYPE_INTERNAL
+config QT4_FREETYPE_INTERNAL
bool "internal"
help
This uses the embedded freetype support
-config QTOPIA_FREETYPE_SYSTEM
+config QT4_FREETYPE_SYSTEM
bool "system "
help
Use system's freetype
@@ -401,17 +398,16 @@ endchoice
choice
prompt "ICO support "
- depends on QTOPIA
- default QTOPIA_ICO_NONE
+ default QT4_ICO_NONE
help
Control support for the ICO File Format
-config QTOPIA_ICO_NONE
+config QT4_ICO_NONE
bool "none "
help
This disables entirely any ICO support
-config QTOPIA_ICO_INTERNAL
+config QT4_ICO_INTERNAL
bool "internal"
help
This uses the embedded ICO support
@@ -419,22 +415,21 @@ endchoice
choice
prompt "PNG support "
- depends on QTOPIA && !QTOPIA_ZLIB_NONE
- default QTOPIA_PNG_SYSTEM
+ default QT4_PNG_SYSTEM
help
Control support for the Portable Network Graphics format
-config QTOPIA_PNG_NONE
+config QT4_PNG_NONE
bool "none "
help
This disables entirely any PNG support
-config QTOPIA_PNG_INTERNAL
+config QT4_PNG_INTERNAL
bool "internal"
help
This uses the embedded PNG support
-config QTOPIA_PNG_SYSTEM
+config QT4_PNG_SYSTEM
bool "system "
help
Use system's PNG library
@@ -442,23 +437,22 @@ endchoice
choice
prompt "MNG support "
- depends on QTOPIA
- default QTOPIA_MNG_NONE
+ default QT4_MNG_NONE
help
Control support for the Multiple-image Network Graphics format
-config QTOPIA_MNG_NONE
+config QT4_MNG_NONE
bool "none "
help
This disables entirely any MNG support
-config QTOPIA_MNG_INTERNAL
+config QT4_MNG_INTERNAL
bool "internal"
help
This uses the embedded MNG support
# there is currently no support for MNG in ptxdist
-#config QTOPIA_MNG_SYSTEM
+#config QT4_MNG_SYSTEM
# bool "system "
# help
# Use system's MNG library
@@ -467,23 +461,22 @@ endchoice
choice
prompt "TIFF support "
- depends on QTOPIA
- default QTOPIA_TIFF_NONE
+ default QT4_TIFF_NONE
help
Control support for the Tag Image File Format
-config QTOPIA_TIFF_NONE
+config QT4_TIFF_NONE
bool "none "
help
This disables entirely any TIFF support
-config QTOPIA_TIFF_INTERNAL
+config QT4_TIFF_INTERNAL
bool "internal"
help
This uses the embedded TIFF support
# there is currently no support for TIFF in ptxdist
-#config QTOPIA_TIFF_SYSTEM
+#config QT4_TIFF_SYSTEM
# bool "system "
# help
# Use system's TIFF library
@@ -492,17 +485,16 @@ endchoice
choice
prompt "GIF support "
- depends on QTOPIA
- default QTOPIA_GIF_NONE
+ default QT4_GIF_NONE
help
Control support for the "Graphics Interchange Format" format
-config QTOPIA_GIF_NONE
+config QT4_GIF_NONE
bool "none "
help
This disables entirely any GIF support
-config QTOPIA_GIF_INTERNAL
+config QT4_GIF_INTERNAL
bool "internal"
help
This uses the embedded GIF support
@@ -511,82 +503,90 @@ endchoice
choice
prompt "JPG support "
- depends on QTOPIA
- default QTOPIA_JPG_NONE
+ default QT4_JPG_NONE
-config QTOPIA_JPG_NONE
+config QT4_JPG_NONE
bool "none "
help
This disables entirely any JPG support
-config QTOPIA_JPG_INTERNAL
+config QT4_JPG_INTERNAL
bool "internal"
help
This uses the embedded JPG support
-config QTOPIA_JPG_SYSTEM
+config QT4_JPG_SYSTEM
bool "system "
help
Use system's JPG library
endchoice
-config QTOPIA_STL
+config QT4_STL
bool
prompt "stl support"
- depends on QTOPIA
help
- Add QTopia support for standard template library.
+ Add Qt support for standard template library.
+
+config QT4_GLIB
+ bool
+ prompt "glib support"
+ help
+ Add Qt support for glib.
+
+config QT4_OPENSSL
+ bool
+ prompt "openssl support"
+ depends on BROKEN
+ help
+ Add Qt support for openssl.
choice
prompt "dbus support "
- depends on QTOPIA
- default QTOPIA_DBUS_LOAD
+ default QT4_DBUS_LOAD
help
- Qtopia dbus support.
+ Qt dbus support.
-config QTOPIA_DBUS_NONE
+config QT4_DBUS_NONE
bool "none "
help
- Disable Qtopia dbus support.
+ Disable Qt bus support.
-config QTOPIA_DBUS_LOAD
+config QT4_DBUS_LOAD
bool "load "
- select QTOPIA_BUILD_XML
+ select QT4_BUILD_XML
+ select QT4_BUILD_SCRIPT
help
- Build Qtopia dbus support and dynamically load libdbus-1.
+ Build Qt dbus support and dynamically load libdbus-1.
-config QTOPIA_DBUS_LINK
+config QT4_DBUS_LINK
bool "link "
- select QTOPIA_BUILD_XML
+ select QT4_BUILD_XML
+ select QT4_BUILD_SCRIPT
help
- Build Qtopia dbus support and link to libdbus-1.
+ Build Qt dbus support and link to libdbus-1.
endchoice
endmenu
menu "optional libraries "
- depends on QTOPIA
-config QTOPIA_BUILD_GUI
+config QT4_BUILD_GUI
bool
- select QTOPIA_BUILD_UIC
- depends on QTOPIA
+ select QT4_BUILD_UIC
prompt "QtGui"
help
The QtGui module provides the classes necessary for a graphical user interface.
-config QTOPIA_BUILD_NETWORK
+config QT4_BUILD_NETWORK
bool
- depends on QTOPIA
prompt "QtNetwork"
help
The QtNetwork module offers classes that allow you to write TCP/IP
clients and servers.
-config QTOPIA_BUILD_SQL
+config QT4_BUILD_SQL
bool
- depends on QTOPIA
prompt "QtSql"
help
The QtSql module helps you provide seamless database integration
@@ -598,38 +598,34 @@ config QTOPIA_BUILD_SQL
- UI Layer: These classes link the data from a database to
data-aware widgets.
-config QTOPIA_BUILD_SCRIPT
+config QT4_BUILD_SCRIPT
bool
default y
- depends on QTOPIA
prompt "QtScript"
help
The QtScript module provides classes for making Qt applications scriptable.
Qt Script is based on the ECMAScript scripting language, as defined in
standard ECMA-262.
-config QTOPIA_BUILD_SVG
+config QT4_BUILD_SVG
bool
default y
- depends on QTOPIA
- select QTOPIA_BUILD_XML
- select QTOPIA_BUILD_GUI
+ select QT4_BUILD_XML
+ select QT4_BUILD_GUI
prompt "QtSvg"
help
The QtSvg module provides classes for displaying the contents of SVG files.
-config QTOPIA_BUILD_XML
+config QT4_BUILD_XML
bool
- depends on QTOPIA
prompt "QtXml"
help
The QtXml module provides a stream reader and writer for XML documents,
and C++ implementations of SAX and DOM.
-config QTOPIA_BUILD_DESIGNERLIBS
+config QT4_BUILD_DESIGNERLIBS
bool
- depends on QTOPIA
- select QTOPIA_BUILD_XML
+ select QT4_BUILD_XML
prompt "Qt Designer Libraries"
help
This option enables two libraries:
@@ -640,53 +636,59 @@ config QTOPIA_BUILD_DESIGNERLIBS
at run-time using the information stored in .ui files or specified
plugin paths
-config QTOPIA_BUILD_ASSISTANTLIB
+config QT4_BUILD_ASSISTANTLIB
bool
- select QTOPIA_BUILD_NETWORK
- depends on QTOPIA
+ select QT4_BUILD_NETWORK
+ select QT4_BUILD_XML
+ select QT4_BUILD_SQL
prompt "QtAssistant"
help
The QtAssistant module provides a means of launching Qt Assistant to provide
online help.
-config QTOPIA_BUILD_QTESTLIB
+config QT4_BUILD_QTESTLIB
bool
- depends on QTOPIA
prompt "QtTest"
help
he QtTest module provides classes for unit testing Qt applications and libraries.
-config QTOPIA_BUILD_QTXMLPATTERNS
+config QT4_BUILD_QTXMLPATTERNS
bool
- select QTOPIA_BUILD_NETWORK
- depends on QTOPIA
+ select QT4_BUILD_NETWORK
prompt "QtXmlPatterns"
help
XQuery 1.0 and XPath 2.0 support for Qt
-config QTOPIA_BUILD_PHONON
+config QT4_BUILD_PHONON
bool
- select QTOPIA_BUILD_GUI
- depends on QTOPIA
- depends on BROKEN
+ select QT4_BUILD_GUI
+ select QT4_GLIB
prompt "Phonon"
help
Phonon is a cross-platform multimedia framework that enables the use
of audio and video content in Qt applications.
-config QTOPIA_BUILD_WEBKIT
+config QT4_BUILD_WEBKIT
bool
- select QTOPIA_BUILD_XML
- select QTOPIA_BUILD_GUI
- select QTOPIA_BUILD_NETWORK
- select QTOPIA_BUILD_SQL
- depends on QTOPIA
+ select QT4_BUILD_XML
+ select QT4_BUILD_GUI
+ select QT4_BUILD_NETWORK
+ select QT4_BUILD_SQL
prompt "Webkit"
help
QtWebKit provides a Web browser engine that makes it easy to embed
content from the World Wide Web into your Qt application. At the
same time Web content can be enhanced with native controls.
+config QT4_BUILD_SCRIPTTOOLS
+ bool
+ select QT4_BUILD_GUI
+ select QT4_BUILD_SCRIPT
+ prompt "ScriptTools"
+ help
+ QtScriptTools provides additional components for applications that
+ use Qt Script.
+
endmenu
#
@@ -694,11 +696,9 @@ endmenu
#
menu "Host side tools "
- depends on QTOPIA
-config QTOPIA_BUILD_UIC
+config QT4_BUILD_UIC
bool
- depends on QTOPIA
default y
prompt "uic"
help
@@ -708,47 +708,48 @@ config QTOPIA_BUILD_UIC
endmenu
menu "Install Fonts "
- depends on QTOPIA
- config QTOPIA_FONT_DEJAVU
+ config QT4_FONT_DEJAVU
bool
prompt "DejaVu"
- config QTOPIA_FONT_UT
+ config QT4_FONT_UT
bool
prompt "UT"
- config QTOPIA_FONT_VERA
+ config QT4_FONT_VERA
bool
prompt "Vera"
- config QTOPIA_FONT_C0
+ config QT4_FONT_C0
bool
prompt "c0"
- config QTOPIA_FONT_COUR
+ config QT4_FONT_COUR
bool
prompt "cour"
- config QTOPIA_FONT_CURSOR
+ config QT4_FONT_CURSOR
bool
prompt "cursor"
- config QTOPIA_FONT_FIXED
+ config QT4_FONT_FIXED
bool
prompt "fixed"
- config QTOPIA_FONT_HELVETICA
+ config QT4_FONT_HELVETICA
bool
prompt "helvetica"
- config QTOPIA_FONT_JAPANESE
+ config QT4_FONT_JAPANESE
bool
prompt "japanese"
- config QTOPIA_FONT_L04
+ config QT4_FONT_L04
bool
prompt "l04"
endmenu
+endif
+
diff --git a/rules/qt4.make b/rules/qt4.make
new file mode 100644
index 000000000..f943b25cd
--- /dev/null
+++ b/rules/qt4.make
@@ -0,0 +1,945 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2008 by Juergen Beisert
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_QT4) += qt4
+
+#
+# Paths and names
+#
+QT4_VERSION := 4.5.1
+QT4 := qt-embedded-linux-opensource-src-$(QT4_VERSION)
+QT4_SUFFIX := tar.bz2
+QT4_URL := ftp://ftp.trolltech.com/qt/source/$(QT4).$(QT4_SUFFIX)
+QT4_SOURCE := $(SRCDIR)/$(QT4).$(QT4_SUFFIX)
+QT4_DIR := $(BUILDDIR)/$(QT4)
+
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+qt4_get: $(STATEDIR)/qt4.get
+
+$(STATEDIR)/qt4.get: $(qt4_get_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+$(QT4_SOURCE):
+ @$(call targetinfo, $@)
+ @$(call get, QT4)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+qt4_extract: $(STATEDIR)/qt4.extract
+
+$(STATEDIR)/qt4.extract: $(qt4_extract_deps_default)
+ @$(call targetinfo, $@)
+ #@$(call clean, $(QT4_DIR))
+ @$(call extract, QT4)
+ @$(call patchin, QT4)
+ @for file in $(QT4_DIR)/mkspecs/qws/linux-ptx-g++/*.in; do \
+ sed -e "s,@COMPILER_PREFIX@,$(COMPILER_PREFIX),g" \
+ -e "s,@INCDIR@,$(SYSROOT)/include $(SYSROOT)/usr/include,g" \
+ -e "s,@LIBDIR@,$(SYSROOT)/lib $(SYSROOT)/usr/lib,g" \
+ -e "s#@LDFLAGS@#$(strip $(CROSS_LDFLAGS))#g" \
+ $$file > $${file%%.in}; \
+ done
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+qt4_prepare: $(STATEDIR)/qt4.prepare
+
+# don't use CROSS_ENV. Qt uses mkspecs for instead.
+QT4_ENV := $(CROSS_ENV_FLAGS) $(CROSS_ENV_PKG_CONFIG)
+QT4_PATH := PATH=$(CROSS_PATH)
+QT4_MAKEVARS := INSTALL_ROOT=$(SYSROOT)
+
+# With the introduction of platformconfigs PTXCONF_ARCH was
+# renamed to PTXCONF_ARCH_STRING.
+ifdef PTXCONF_ARCH
+QT4_ARCH = $(call remove_quotes, $(PTXCONF_ARCH))
+else
+QT4_ARCH = $(call remove_quotes, $(PTXCONF_ARCH_STRING))
+endif
+
+#
+# autoconf
+#
+# Important: Use "-no-fast" here. Otherwise qmake will be called during
+# the compile stage when the environment is not properly set!
+QT4_AUTOCONF := \
+ -opensource \
+ -confirm-license \
+ -release \
+ -no-fast \
+ -no-largefile \
+ -no-accessibility \
+ -no-sql-ibase \
+ -no-sql-mysql \
+ -no-sql-odbc \
+ -no-sql-psql \
+ -no-sql-sqlite \
+ -no-sql-sqlite2 \
+ -no-qt3support \
+ -no-mmx \
+ -no-3dnow \
+ -no-sse \
+ -no-sse2 \
+ -no-optimized-qmake \
+ -no-nis \
+ -no-cups \
+ -no-iconv \
+ -pch \
+ -force-pkg-config \
+ -embedded $(QT4_ARCH) \
+ -qt-decoration-styled \
+ -depths 8,16 \
+ -prefix /usr \
+ -no-armfpa \
+ -xplatform qws/linux-ptx-g++ \
+ -make libs \
+ -make tools
+
+# -make libs tools examples demos docs translations
+
+# maybe later:
+#
+# -iwmmxt
+
+QT4_INSTALL_TARGETS = install_mkspecs install_qmake
+
+ifdef PTXCONF_QT4_PREPARE_EXAMPLES
+QT4_AUTOCONF += -make examples -make demos
+QT4_INSTALL_TARGETS += sub-examples-install_subtargets
+else
+QT4_AUTOCONF += -nomake examples -nomake demos
+endif
+
+# ahi graphics driver
+ifdef PTXCONF_QT4_GFX_AHI_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-ahi
+endif
+
+# directfb graphics driver
+ifdef PTXCONF_QT4_GFX_DIRECTFB_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-directfb
+endif
+
+# linuxfb graphics driver
+ifdef PTXCONF_QT4_GFX_LINUXFB_NONE
+QT4_AUTOCONF += -no-gfx-linuxfb
+endif
+ifdef PTXCONF_QT4_GFX_LINUXFB_BUILTIN
+QT4_AUTOCONF += -qt-gfx-linuxfb
+endif
+ifdef PTXCONF_QT4_GFX_LINUXFB_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-linuxfb
+endif
+
+# powervr graphics driver
+ifdef PTXCONF_QT4_GFX_POWERVR_PLUGIN
+QT4_AUTOCONF += -plugin-powervr-ahi
+endif
+
+# svga graphics driver
+ifdef PTXCONF_QT4_GFX_SVGA_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-svgalib
+endif
+
+# transformed graphics driver
+ifdef PTXCONF_QT4_GFX_TRANSFORMED_NONE
+QT4_AUTOCONF += -no-gfx-transformed
+endif
+ifdef PTXCONF_QT4_GFX_TRANSFORMED_BUILTIN
+QT4_AUTOCONF += -qt-gfx-transformed
+endif
+ifdef PTXCONF_QT4_GFX_TRANSFORMED_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-transformed
+endif
+
+# qvfb graphics driver
+ifdef PTXCONF_QT4_GFX_QVFB_NONE
+QT4_AUTOCONF += -no-gfx-qvfb
+endif
+ifdef PTXCONF_QT4_GFX_QVFB_BUILTIN
+QT4_AUTOCONF += -qt-gfx-qvfb
+endif
+ifdef PTXCONF_QT4_GFX_QVFB_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-qvfb
+endif
+
+# vnc graphics driver
+ifdef PTXCONF_QT4_GFX_VNC_NONE
+QT4_AUTOCONF += -no-gfx-vnc
+endif
+ifdef PTXCONF_QT4_GFX_VNC_BUILTIN
+QT4_AUTOCONF += -qt-gfx-vnc
+endif
+ifdef PTXCONF_QT4_GFX_VNC_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-vnc
+endif
+
+# multiscreen graphics driver
+ifdef PTXCONF_QT4_GFX_MULTISCREEN_NONE
+QT4_AUTOCONF += -no-gfx-multiscreen
+endif
+ifdef PTXCONF_QT4_GFX_MULTISCREEN_BUILTIN
+QT4_AUTOCONF += -qt-gfx-multiscreen
+endif
+
+# hybrid graphics driver
+ifdef PTXCONF_QT4_GFX_HYBRID_PLUGIN
+QT4_AUTOCONF += -plugin-gfx-hybrid
+endif
+
+# tty keyboard driver
+ifdef PTXCONF_QT4_KBD_TTY
+QT4_AUTOCONF += -qt-kbd-tty
+else
+QT4_AUTOCONF += -no-kbd-tty
+endif
+
+# usb keyboard driver
+ifdef PTXCONF_QT4_KBD_USB
+QT4_AUTOCONF += -qt-kbd-usb
+else
+QT4_AUTOCONF += -no-kbd-usb
+endif
+
+# sl5000 keyboard driver
+ifdef PTXCONF_QT4_KBD_SL5000
+QT4_AUTOCONF += -qt-kbd-sl5000
+else
+QT4_AUTOCONF += -no-kbd-sl5000
+endif
+
+# yopy keyboard driver
+ifdef PTXCONF_QT4_KBD_YOPY
+QT4_AUTOCONF += -qt-kbd-yopy
+else
+QT4_AUTOCONF += -no-kbd-yopy
+endif
+
+# vr41xx keyboard driver
+ifdef PTXCONF_QT4_KBD_VR41XX
+QT4_AUTOCONF += -qt-kbd-vr41xx
+else
+QT4_AUTOCONF += -no-kbd-vr41xx
+endif
+
+# qvfb keyboard driver
+ifdef PTXCONF_QT4_KBD_QVFB
+QT4_AUTOCONF += -qt-kbd-qvfb
+else
+QT4_AUTOCONF += -no-kbd-qvfb
+endif
+
+# pc mouse driver
+ifdef PTXCONF_QT4_MOUSE_PC
+QT4_AUTOCONF += -qt-mouse-pc
+else
+QT4_AUTOCONF += -no-mouse-pc
+endif
+
+# bus mouse driver
+ifdef PTXCONF_QT4_MOUSE_BUS
+QT4_AUTOCONF += -qt-mouse-bus
+else
+QT4_AUTOCONF += -no-mouse-bus
+endif
+
+# linuxtp mouse driver
+ifdef PTXCONF_QT4_MOUSE_LINUXTP
+QT4_AUTOCONF += -qt-mouse-linuxtp
+else
+QT4_AUTOCONF += -no-mouse-linuxtp
+endif
+
+# yopy mouse driver
+ifdef PTXCONF_QT4_MOUSE_YOPY
+QT4_AUTOCONF += -qt-mouse-yopy
+else
+QT4_AUTOCONF += -no-mouse-yopy
+endif
+
+# vr41xx mouse driver
+ifdef PTXCONF_QT4_MOUSE_VR41XX
+QT4_AUTOCONF += -qt-mouse-vr41xx
+else
+QT4_AUTOCONF += -no-mouse-vr41xx
+endif
+
+# tslib mouse driver
+ifdef PTXCONF_QT4_MOUSE_TSLIB
+QT4_AUTOCONF += -qt-mouse-tslib
+else
+QT4_AUTOCONF += -no-mouse-tslib
+endif
+
+# qvfb mouse driver
+ifdef PTXCONF_QT4_MOUSE_QVFB
+QT4_AUTOCONF += -qt-mouse-qvfb
+else
+QT4_AUTOCONF += -no-mouse-qvfb
+endif
+
+# PNG support
+ifdef PTXCONF_QT4_PNG_NONE
+QT4_AUTOCONF += -no-libpng
+endif
+ifdef PTXCONF_QT4_PNG_INTERNAL
+QT4_AUTOCONF += -qt-libpng
+endif
+ifdef PTXCONF_QT4_PNG_SYSTEM
+QT4_AUTOCONF += -system-libpng
+endif
+
+# MNG support
+ifdef PTXCONF_QT4_MNG_NONE
+QT4_AUTOCONF += -no-libmng
+endif
+ifdef PTXCONF_QT4_MNG_INTERNAL
+QT4_AUTOCONF += -qt-libmng
+endif
+ifdef PTXCONF_QT4_MNG_SYSTEM
+QT4_AUTOCONF += -system-libmng
+endif
+
+# TIFF support
+ifdef PTXCONF_QT4_TIFF_NONE
+QT4_AUTOCONF += -no-libtiff
+endif
+ifdef PTXCONF_QT4_TIFF_INTERNAL
+QT4_AUTOCONF += -qt-libtiff
+endif
+ifdef PTXCONF_QT4_TIFF_SYSTEM
+QT4_AUTOCONF += -system-libtiff
+endif
+
+# GIF support
+ifdef PTXCONF_QT4_GIF_NONE
+QT4_AUTOCONF += -no-gif
+endif
+ifdef PTXCONF_QT4_GIF_INTERNAL
+QT4_AUTOCONF += -qt-gif
+endif
+
+# JPG support
+ifdef PTXCONF_QT4_JPG_NONE
+QT4_AUTOCONF += -no-libjpeg
+endif
+ifdef PTXCONF_QT4_JPG_INTERNAL
+QT4_AUTOCONF += -qt-libjpeg
+endif
+ifdef PTXCONF_QT4_JPG_SYSTEM
+QT4_AUTOCONF += -system-libjpeg
+endif
+
+ifdef PTXCONF_QT4_ZLIB_INTERNAL
+QT4_AUTOCONF += -qt-zlib
+endif
+ifdef PTXCONF_QT4_ZLIB_SYSTEM
+QT4_AUTOCONF += -system-zlib
+endif
+
+ifdef PTXCONF_QT4_FREETYPE_NONE
+QT4_AUTOCONF += -no-freetype
+endif
+ifdef PTXCONF_QT4_FREETYPE_INTERNAL
+QT4_AUTOCONF += -qt-freetype
+endif
+ifdef PTXCONF_QT4_FREETYPE_SYSTEM
+QT4_AUTOCONF += -system-freetype -I$(SYSROOT)/usr/include/freetype2
+endif
+
+ifdef PTXCONF_ENDIAN_LITTLE
+QT4_AUTOCONF += -little-endian
+else
+QT4_AUTOCONF += -big-endian
+endif
+
+ifdef PTXCONF_QT4_STL
+QT4_AUTOCONF += -stl
+else
+QT4_AUTOCONF += -no-stl
+endif
+
+ifdef PTXCONF_QT4_GLIB
+QT4_AUTOCONF += -glib
+else
+QT4_AUTOCONF += -no-glib
+endif
+
+ifdef PTXCONF_QT4_OPENSSL
+QT4_AUTOCONF += -openssl
+else
+QT4_AUTOCONF += -no-openssl
+endif
+
+ifdef PTXCONF_QT4_DBUS_LOAD
+QT4_AUTOCONF += -dbus
+endif
+ifdef PTXCONF_QT4_DBUS_LINK
+QT4_AUTOCONF += -dbus-linked
+endif
+ifdef PTXCONF_QT4_DBUS_NONE
+QT4_AUTOCONF += -no-qdbus
+endif
+
+ifdef PTXCONF_QT4_SHARED
+QT4_AUTOCONF += -shared
+QT4_PLUGIN_EXT := so
+else
+QT4_AUTOCONF += -static
+QT4_PLUGIN_EXT := a
+endif
+
+ifdef PTXCONF_QT4_BUILD_QTXMLPATTERNS
+QT4_AUTOCONF += -xmlpatterns -exceptions
+QT4_BUILD_TARGETS += sub-xmlpatterns
+QT4_INSTALL_TARGETS += sub-xmlpatterns-install_subtargets
+else
+QT4_AUTOCONF += -no-xmlpatterns -no-exceptions
+endif
+ifdef PTXCONF_QT4_BUILD_PHONON
+QT4_AUTOCONF += -phonon -phonon-backend
+QT4_BUILD_TARGETS += sub-phonon
+QT4_INSTALL_TARGETS += sub-phonon-install_subtargets
+else
+QT4_AUTOCONF += -no-phonon -no-phonon-backend
+endif
+ifdef PTXCONF_QT4_BUILD_WEBKIT
+QT4_AUTOCONF += -webkit
+QT4_BUILD_TARGETS += sub-webkit
+QT4_INSTALL_TARGETS += sub-webkit-install_subtargets
+else
+QT4_AUTOCONF += -no-webkit
+endif
+ifdef PTXCONF_QT4_BUILD_SCRIPTTOOLS
+QT4_AUTOCONF += -scripttools
+QT4_BUILD_TARGETS += sub-scripttools
+QT4_INSTALL_TARGETS += sub-scripttools-install_subtargets
+else
+QT4_AUTOCONF += -no-scripttools
+endif
+
+ifneq ($(PTXCONF_QT4_DBUS_LOAD)$(PTXCONF_QT4_DBUS_LINK)$(PTXCONF_QT4_BUILD_DESIGNERLIBS)$(PTXCONF_QT4_BUILD_ASSISTANTLIB),)
+QT4_BUILD_TOOLS_TARGETS = sub-tools
+endif
+
+$(STATEDIR)/qt4.prepare: $(qt4_prepare_deps_default)
+ @$(call targetinfo, $@)
+ @$(call clean, $(QT4_DIR)/config.cache)
+
+ cd $(QT4_DIR) && $(QT4_PATH) $(QT4_ENV) $(MAKE) \
+ confclean || true
+
+ cd $(QT4_DIR) && \
+ $(QT4_PATH) $(QT4_ENV) \
+ ./configure $(QT4_AUTOCONF)
+ @# qmake needs this to build other packages
+ @echo -e "[Paths]\nPrefix=/usr\nHeaders=$(SYSROOT)/usr/include\nBinaries=$(QT4_DIR)/bin\nLibraries=$(SYSROOT)/usr/lib" > $(QT4_DIR)/bin/qt.conf
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+# these are always built:
+
+# moc
+QT4_BUILD_TARGETS += sub-moc
+QT4_INSTALL_TARGETS += sub-moc-install_subtargets
+# rcc
+QT4_BUILD_TARGETS += sub-rcc
+QT4_INSTALL_TARGETS += sub-rcc-install_subtargets
+# QtCore
+QT4_BUILD_TARGETS += sub-corelib
+QT4_INSTALL_TARGETS += sub-corelib-install_subtargets
+# plugins (any selected plugins, gfx, image, mouse...)
+QT4_BUILD_TARGETS += sub-plugins
+QT4_INSTALL_TARGETS += sub-plugins-install_subtargets
+
+ifdef PTXCONF_QT4_BUILD_UIC
+QT4_BUILD_TARGETS += sub-uic
+QT4_INSTALL_TARGETS += sub-uic-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_XML
+QT4_BUILD_TARGETS += sub-xml
+QT4_INSTALL_TARGETS += sub-xml-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_GUI
+QT4_BUILD_TARGETS += sub-gui
+QT4_INSTALL_TARGETS += sub-gui-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_SQL
+QT4_BUILD_TARGETS += sub-sql
+QT4_INSTALL_TARGETS += sub-sql-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_NETWORK
+QT4_BUILD_TARGETS += sub-network
+QT4_INSTALL_TARGETS += sub-network-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_SVG
+QT4_BUILD_TARGETS += sub-svg
+QT4_INSTALL_TARGETS += sub-svg-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_SCRIPT
+QT4_BUILD_TARGETS += sub-script
+QT4_INSTALL_TARGETS += sub-script-install_subtargets
+endif
+ifdef PTXCONF_QT4_BUILD_QTESTLIB
+QT4_BUILD_TARGETS += sub-testlib
+QT4_INSTALL_TARGETS += sub-testlib-install_subtargets
+endif
+
+qt4_compile: $(STATEDIR)/qt4.compile
+
+$(STATEDIR)/qt4.compile: $(qt4_compile_deps_default)
+ @$(call targetinfo, $@)
+ifneq ($(strip $(QT4_BUILD_TARGETS)), )
+ cd $(QT4_DIR) && $(QT4_PATH) $(QT4_ENV) $(MAKE) \
+ $(PARALLELMFLAGS) $(QT4_BUILD_TARGETS)
+endif
+
+ # These targets don't have the correct dependencies.
+ # We have to build them later
+ echo $(QT4_BUILD_TOOLS_TARGETS)
+ifneq ($(strip $(QT4_BUILD_TOOLS_TARGETS)), )
+ cd $(QT4_DIR) && $(QT4_PATH) $(QT4_ENV) $(MAKE) \
+ $(PARALLELMFLAGS) $(QT4_BUILD_TOOLS_TARGETS)
+endif
+ifdef PTXCONF_QT4_PREPARE_EXAMPLES
+ cd $(QT4_DIR) && $(QT4_PATH) $(QT4_ENV) $(MAKE) \
+ $(PARALLELMFLAGS) sub-examples
+endif
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+qt4_install: $(STATEDIR)/qt4.install
+
+$(STATEDIR)/qt4.install: $(qt4_install_deps_default)
+ @$(call targetinfo, $@)
+ @cd $(QT4_DIR) && $(QT4_PATH) $(MAKE) \
+ $(QT4_INSTALL_TARGETS) $(QT4_MAKEVARS)
+ # put a link for qmake where other packages can find it
+ @ln -sf $(QT4_DIR)/bin/qmake $(PTXDIST_SYSROOT_CROSS)/bin/qmake
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+qt4_targetinstall: $(STATEDIR)/qt4.targetinstall
+
+QT_VERSION_L3 := 4.5.1
+QT_VERSION_L2 := 4.5
+QT_VERSION_L1 := 4
+
+$(STATEDIR)/qt4.targetinstall: $(qt4_targetinstall_deps_default)
+ @$(call targetinfo, $@)
+
+ @$(call install_init, qt4)
+ @$(call install_fixup,qt4,PACKAGE,qt4)
+ @$(call install_fixup,qt4,PRIORITY,optional)
+ @$(call install_fixup,qt4,VERSION,$(QT4_VERSION))
+ @$(call install_fixup,qt4,SECTION,base)
+ @$(call install_fixup,qt4,AUTHOR,"Juergen Beisertl <j.beisert\@pengutronix.de>")
+ @$(call install_fixup,qt4,DEPENDS,)
+ @$(call install_fixup,qt4,DESCRIPTION,missing)
+
+ifdef PTXCONF_QT4_SHARED
+# always install QtCore
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtCore.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtCore.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtCore.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtCore.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtCore.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtCore.so.$(QT_VERSION_L1))
+ifdef PTXCONF_QT4_BUILD_XML
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtXml.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtXml.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtXml.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtXml.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtXml.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtXml.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_GUI
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtGui.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtGui.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtGui.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtGui.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtGui.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtGui.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_SQL
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtSql.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtSql.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtSql.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtSql.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtSql.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtSql.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_NETWORK
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtNetwork.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtNetwork.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtNetwork.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtNetwork.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtNetwork.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtNetwork.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_SVG
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtSvg.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtSvg.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtSvg.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtSvg.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtSvg.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtSvg.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_SCRIPT
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtScript.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtScript.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtScript.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtScript.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtScript.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtScript.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_QTESTLIB
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtTest.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtTest.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtTest.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtTest.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtTest.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtTest.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_ASSISTANTLIB
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtAssistantClient.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtAssistantClient.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtAssistantClient.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtAssistantClient.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtAssistantClient.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtAssistantClient.so.$(QT_VERSION_L1))
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtCLucene.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtCLucene.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtCLucene.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtCLucene.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtCLucene.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtCLucene.so.$(QT_VERSION_L1))
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtHelp.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtHelp.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtHelp.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtHelp.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtHelp.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtHelp.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_DBUS_LOAD
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtDBus.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtDBus.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtDBus.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtDBus.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtDBus.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtDBus.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_DESIGNERLIBS
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtDesigner.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtDesigner.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtDesigner.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtDesigner.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtDesigner.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtDesigner.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_WEBKIT
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtWebKit.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtWebKit.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtWebKit.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtWebKit.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtWebKit.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtWebKit.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_SCRIPTTOOLS
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtScriptTools.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtScriptTools.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtScriptTools.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtScriptTools.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtScriptTools.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtScriptTools.so.$(QT_VERSION_L1))
+endif
+ifdef PTXCONF_QT4_BUILD_QTXMLPATTERNS
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/libQtXmlPatterns.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtXmlPatterns.so.$(QT_VERSION_L3))
+ @$(call install_link, qt4, libQtXmlPatterns.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtXmlPatterns.so.$(QT_VERSION_L2))
+ @$(call install_link, qt4, libQtXmlPatterns.so.$(QT_VERSION_L3), \
+ /usr/lib/libQtXmlPatterns.so.$(QT_VERSION_L1))
+endif
+endif #PTXCONF_QT4_SHARED
+ifdef PTXCONF_QT4_GFX_LINUXFB_PLUGIN
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/gfxdrivers/libqscreenlinuxfb.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/gfxdrivers/libqscreenlinuxfb.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_GFX_DIRECTFB_PLUGIN
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/gfxdrivers/libqdirectfbscreen.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/gfxdrivers/libqdirectfbscreen.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_GFX_TRANSFORMED_PLUGIN
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/gfxdrivers/libqgfxtransformed.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/gfxdrivers/libqgfxtransformed.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_GFX_VNC_PLUGIN
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/gfxdrivers/libqgfxvnc.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/gfxdrivers/libqgfxvnc.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_GFX_QVFB_PLUGIN
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/gfxdrivers/libqscreenvfb.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/gfxdrivers/libqscreenvfb.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_DBUS_LOAD
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/script/libqtscriptdbus.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/script/libqtscriptdbus.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_GIF_INTERNAL
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/imageformats/libqgif.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/imageformats/libqgif.$(QT4_PLUGIN_EXT))
+endif
+ifndef PTXCONF_QT4_JPG_NONE
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/imageformats/libqjpeg.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/imageformats/libqjpeg.$(QT4_PLUGIN_EXT))
+endif
+ifndef PTXCONF_QT4_MNG_NONE
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/imageformats/libqmng.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/imageformats/libqmng.$(QT4_PLUGIN_EXT))
+endif
+ifndef PTXCONF_QT4_TIFF_NONE
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/imageformats/libqtiff.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/imageformats/libqtiff.$(QT4_PLUGIN_EXT))
+endif
+ifndef PTXCONF_QT4_ICO_NONE
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/imageformats/libqico.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/imageformats/libqico.$(QT4_PLUGIN_EXT))
+endif
+ifdef PTXCONF_QT4_BUILD_SVG
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/imageformats/libqsvg.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/imageformats/libqsvg.$(QT4_PLUGIN_EXT))
+ @$(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/plugins/iconengines/libqsvgicon.$(QT4_PLUGIN_EXT), \
+ /usr/plugins/iconengines/libqsvgicon.$(QT4_PLUGIN_EXT))
+endif
+
+ifdef PTXCONF_QT4_FONT_DEJAVU
+ @for i in \
+ DejaVuSans-Bold.ttf \
+ DejaVuSans-BoldOblique.ttf \
+ DejaVuSans-Oblique.ttf \
+ DejaVuSans.ttf \
+ DejaVuSansMono-Bold.ttf \
+ DejaVuSansMono-BoldOblique.ttf \
+ DejaVuSansMono-Oblique.ttf \
+ DejaVuSansMono.ttf \
+ DejaVuSerif-Bold.ttf \
+ DejaVuSerif-BoldOblique.ttf \
+ DejaVuSerif-Oblique.ttf \
+ DejaVuSerif.ttf; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_UT
+ @for i in \
+ 'UTBI____.pfa' \
+ 'UTB_____.pfa' \
+ 'UTI_____.pfa' \
+ 'UTRG____.pfa'; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_VERA
+ @for i in \
+ Vera.ttf \
+ VeraBI.ttf \
+ VeraBd.ttf \
+ VeraIt.ttf \
+ VeraMoBI.ttf \
+ VeraMoBd.ttf \
+ VeraMoIt.ttf \
+ VeraMono.ttf \
+ VeraSe.ttf \
+ VeraSeBd.ttf; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_C0
+ @for i in \
+ c0419bt_.pfb \
+ c0582bt_.pfb \
+ c0583bt_.pfb \
+ c0611bt_.pfb \
+ c0632bt_.pfb \
+ c0633bt_.pfb \
+ c0648bt_.pfb \
+ c0649bt_.pfb; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_COUR
+ @for i in \
+ cour.pfa \
+ courb.pfa \
+ courbi.pfa \
+ couri.pfa; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_CURSOR
+ @for i in \
+ cursor.pfa; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_FIXED
+ @for i in \
+ fixed_120_50.qpf \
+ fixed_70_50.qpf; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_HELVETICA
+ @for i in \
+ helvetica_100_50.qpf \
+ helvetica_100_50i.qpf \
+ helvetica_100_75.qpf \
+ helvetica_100_75i.qpf \
+ helvetica_120_50.qpf \
+ helvetica_120_50i.qpf \
+ helvetica_120_75.qpf \
+ helvetica_120_75i.qpf \
+ helvetica_140_50.qpf \
+ helvetica_140_50i.qpf \
+ helvetica_140_75.qpf \
+ helvetica_140_75i.qpf \
+ helvetica_180_50.qpf \
+ helvetica_180_50i.qpf \
+ helvetica_180_75.qpf \
+ helvetica_180_75i.qpf \
+ helvetica_240_50.qpf \
+ helvetica_240_50i.qpf \
+ helvetica_240_75.qpf \
+ helvetica_240_75i.qpf \
+ helvetica_80_50.qpf \
+ helvetica_80_50i.qpf \
+ helvetica_80_75.qpf \
+ helvetica_80_75i.qpf; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i,n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_JAPANESE
+ @for i in \
+ japanese_230_50.qpf; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ifdef PTXCONF_QT4_FONT_L04
+ @for i in \
+ l047013t.pfa \
+ l047016t.pfa \
+ l047033t.pfa \
+ l047036t.pfa \
+ l048013t.pfa \
+ l048016t.pfa \
+ l048033t.pfa \
+ l048036t.pfa \
+ l049013t.pfa \
+ l049016t.pfa \
+ l049033t.pfa \
+ l049036t.pfa; do \
+ $(call install_copy, qt4, 0, 0, 0644, \
+ $(QT4_DIR)/lib/fonts/$$i, \
+ /usr/lib/fonts/$$i, n); \
+ done
+endif
+
+ @$(call install_finish,qt4)
+
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+qt4_clean:
+ rm -rf $(STATEDIR)/qt4.*
+ rm -rf $(IMAGEDIR)/qt4_*
+ rm -rf $(QT4_DIR)
+
+# vim: syntax=make
diff --git a/rules/qtopia-examples.in b/rules/qtopia-examples.in
deleted file mode 100644
index 416b60664..000000000
--- a/rules/qtopia-examples.in
+++ /dev/null
@@ -1,58 +0,0 @@
-## SECTION=qt
-
-menuconfig QTOPIA_EXAMPLES
- tristate
- select QTOPIA
- select QTOPIA_PREPARE_EXAMPLES
- select QTOPIA_BUILD_GUI
- select QTOPIA_BUILD_NETWORK
- select QTOPIA_BUILD_SQL
- select QTOPIA_BUILD_SCRIPT
- select QTOPIA_BUILD_SVG
- select QTOPIA_BUILD_XML
- select QTOPIA_BUILD_DESIGNERLIBS
- select QTOPIA_BUILD_ASSISTANTLIB
- select QTOPIA_BUILD_QTESTLIB
- select QTOPIA_BUILD_QTXMLPATTERNS
- select QTOPIA_BUILD_WEBKIT
- prompt "QTopia Examples "
-
-config QTOPIA_EXAMPLES_EXAMPLES
- bool
- depends on QTOPIA_EXAMPLES
- prompt "Examples"
- help
- Qtopia comes with a large collection of example applications.
- Select this options to build these examples.
-
-config QTOPIA_EXAMPLES_EXAMPLES_LIST
- string
- depends on QTOPIA_EXAMPLES_EXAMPLES
- prompt "Install List"
- default "ALL"
- help
- Space separated list of the examples to be installed. An empty string
- means the examples will only be built. "ALL" installs all examples.
- For each example the binary name including the path relative to the example
- source directory must be specified.
-
-config QTOPIA_EXAMPLES_DEMOS
- bool
- depends on QTOPIA_EXAMPLES
- prompt "Demos"
- help
- The qtopia demos are more elaborate examples that demostrate the use of
- certain qtopia subsystems.
- Select this option to build and install these demos.
-
-config QTOPIA_EXAMPLES_DEMOS_LIST
- string
- depends on QTOPIA_EXAMPLES_DEMOS
- prompt "Install List"
- default "ALL"
- help
- Space separated list of the demos to be installed. An empty string
- means the demos will only be built. "ALL" installs all demos.
- For each demo the binary name including the path relative to the demo
- source directory must be specified.
-
diff --git a/rules/qtopia-examples.make b/rules/qtopia-examples.make
deleted file mode 100644
index b87c5c650..000000000
--- a/rules/qtopia-examples.make
+++ /dev/null
@@ -1,204 +0,0 @@
-# -*-makefile-*-
-# $Id: template-make 7759 2008-02-12 21:05:07Z mkl $
-#
-# Copyright (C) 2008 by mol@pengutronix.de
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_QTOPIA_EXAMPLES) += qtopia-examples
-
-#
-# Paths and names
-#
-QTOPIA_EXAMPLES_VERSION := 4.4.0
-QTOPIA_EXAMPLES := qt-embedded-linux-opensource-src-$(QTOPIA_EXAMPLES_VERSION)
-QTOPIA_EXAMPLES_DIR := $(BUILDDIR)/$(QTOPIA_EXAMPLES)
-
-# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-qtopia-examples_get: $(STATEDIR)/qtopia-examples.get
-
-$(STATEDIR)/qtopia-examples.get:
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-qtopia-examples_extract: $(STATEDIR)/qtopia-examples.extract
-
-$(STATEDIR)/qtopia-examples.extract:
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-qtopia-examples_prepare: $(STATEDIR)/qtopia-examples.prepare
-
-QTOPIA_EXAMPLES_PATH := PATH=$(CROSS_PATH)
-QTOPIA_EXAMPLES_MAKEVARS := INSTALL_ROOT=$(SYSROOT)
-
-#
-# autoconf
-#
-QTOPIA_EXAMPLES_AUTOCONF := $(CROSS_AUTOCONF_USR)
-
-$(STATEDIR)/qtopia-examples.prepare:
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-ifdef PTXCONF_QTOPIA_EXAMPLES_EXAMPLES
-QTOPIA_EXAMPLES_BUILD_TARGETS += sub-examples
-QTOPIA_EXAMPLES_INSTALL_TARGETS += sub-examples-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_EXAMPLES_DEMOS
-QTOPIA_EXAMPLES_BUILD_TARGETS += sub-demos
-QTOPIA_EXAMPLES_INSTALL_TARGETS += sub-demos-install_subtargets
-endif
-
-ifdef PTXCONF_QTOPIA_EXAMPLES_EXAMPLES
-QTOPIA_EXAMPLES_LIST := $(call remove_quotes, $(PTXCONF_QTOPIA_EXAMPLES_EXAMPLES_LIST))
-endif
-
-ifdef PTXCONF_QTOPIA_EXAMPLES_DEMOS
-QTOPIA_DEMOS_LIST := $(call remove_quotes, $(PTXCONF_QTOPIA_EXAMPLES_DEMOS_LIST))
-endif
-
-
-qtopia-examples_compile: $(STATEDIR)/qtopia-examples.compile
-
-$(STATEDIR)/qtopia-examples.compile:
- @$(call targetinfo, $@)
-ifdef PTXCONF_QTOPIA_EXAMPLES_EXAMPLES
-ifeq ($(QTOPIA_EXAMPLES_LIST)), ALL)
- cd $(QTOPIA_EXAMPLES_DIR) && $(QTOPIA_EXAMPLES_PATH) $(MAKE) \
- $(PARALLELMFLAGS) sub-examples
-else
- for example in $(QTOPIA_EXAMPLES_LIST); do \
- cd `dirname $(QTOPIA_EXAMPLES_DIR)/examples/$$example` && \
- $(QTOPIA_EXAMPLES_PATH) $(MAKE) $(PARALLELMFLAGS); \
- done
-endif
-endif
-ifdef PTXCONF_QTOPIA_EXAMPLES_DEMOS
-ifeq ($(QTOPIA_DEMOS_LIST)), ALL)
- cd $(QTOPIA_EXAMPLES_DIR) && $(QTOPIA_EXAMPLES_PATH) $(MAKE) \
- $(PARALLELMFLAGS) sub-demos
-else
- for demo in shared/Makefile $(QTOPIA_DEMOS_LIST); do \
- cd `dirname $(QTOPIA_EXAMPLES_DIR)/demos/$$demo` && \
- $(QTOPIA_EXAMPLES_PATH) $(MAKE) $(PARALLELMFLAGS); \
- done
-endif
-endif
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-qtopia-examples_install: $(STATEDIR)/qtopia-examples.install
-
-$(STATEDIR)/qtopia-examples.install:
- @$(call targetinfo, $@)
-ifdef PTXCONF_QTOPIA_EXAMPLES_EXAMPLES
-ifeq ($(QTOPIA_EXAMPLES_LIST)), ALL)
- cd $(QTOPIA_EXAMPLES_DIR) && $(QTOPIA_EXAMPLES_PATH) $(MAKE) $(PARALLELMFLAGS) \
- sub-examples-install_subtargets $(QTOPIA_EXAMPLES_MAKEVARS)
-else
- for example in $(QTOPIA_EXAMPLES_LIST); do \
- cd `dirname $(QTOPIA_EXAMPLES_DIR)/examples/$$example` && \
- $(QTOPIA_EXAMPLES_PATH) $(MAKE) $(PARALLELMFLAGS) \
- install $(QTOPIA_EXAMPLES_MAKEVARS); \
- done
-endif
-endif
-ifdef PTXCONF_QTOPIA_EXAMPLES_DEMOS
-ifeq ($(QTOPIA_DEMOS_LIST)), ALL)
- cd $(QTOPIA_EXAMPLES_DIR) && $(QTOPIA_EXAMPLES_PATH) $(MAKE) $(PARALLELMFLAGS) \
- sub-demos-install_subtargets $(QTOPIA_EXAMPLES_MAKEVARS)
-else
- for demo in $(QTOPIA_DEMOS_LIST); do \
- cd `dirname $(QTOPIA_EXAMPLES_DIR)/demos/$$demo` && \
- $(QTOPIA_EXAMPLES_PATH) $(MAKE) $(PARALLELMFLAGS) \
- install $(QTOPIA_EXAMPLES_MAKEVARS); \
- done
-endif
-endif
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-qtopia-examples_targetinstall: $(STATEDIR)/qtopia-examples.targetinstall
-
-$(STATEDIR)/qtopia-examples.targetinstall:
- @$(call targetinfo, $@)
-
- @$(call install_init, qtopia-examples)
- @$(call install_fixup, qtopia-examples,PACKAGE,qtopia-examples)
- @$(call install_fixup, qtopia-examples,PRIORITY,optional)
- @$(call install_fixup, qtopia-examples,VERSION,$(QTOPIA_EXAMPLES_VERSION))
- @$(call install_fixup, qtopia-examples,SECTION,base)
- @$(call install_fixup, qtopia-examples,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
- @$(call install_fixup, qtopia-examples,DEPENDS,)
- @$(call install_fixup, qtopia-examples,DESCRIPTION,missing)
-
-ifdef PTXCONF_QTOPIA_EXAMPLES_EXAMPLES
- if [ "$(QTOPIA_EXAMPLES_LIST)" = "ALL" ]; then \
- list=`cd $(QTOPIA_EXAMPLES_DIR)/examples/; find . -type f -perm /+x`; \
- else \
- list="$(QTOPIA_EXAMPLES_LIST)"; \
- fi; \
- for i in $$list; do \
- $(call install_copy, qtopia-examples, 0, 0, 0755, \
- $(QTOPIA_DIR)/examples/$$i, \
- /usr/bin/qt-examples/$$j/$$i); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_EXAMPLES_DEMOS
- if [ "$(QTOPIA_DEMOS_LIST)" = "ALL" ]; then \
- list=`cd $(QTOPIA_EXAMPLES_DIR)/demos/; find . -type f -perm /+x`; \
- else \
- list="$(QTOPIA_DEMOS_LIST)"; \
- fi; \
- for i in $$list; do \
- $(call install_copy, qtopia-examples, 0, 0, 0755, \
- $(QTOPIA_DIR)/demos/$$i, \
- /usr/bin/qt-demos/$$j/$$i); \
- done
-endif
-
-
- @$(call install_finish, qtopia-examples)
-
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-qtopia-examples_clean:
- rm -rf $(STATEDIR)/qtopia-examples.*
- rm -rf $(IMAGEDIR)/qtopia-examples_*
- rm -rf $(QTOPIA_EXAMPLES_DIR)
-
-# vim: syntax=make
diff --git a/rules/qtopia.make b/rules/qtopia.make
deleted file mode 100644
index 844426ec4..000000000
--- a/rules/qtopia.make
+++ /dev/null
@@ -1,908 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2008 by Juergen Beisert
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_QTOPIA) += qtopia
-
-#
-# Paths and names
-#
-QTOPIA_VERSION := 4.4.0
-QTOPIA := qt-embedded-linux-opensource-src-$(QTOPIA_VERSION)
-QTOPIA_SUFFIX := tar.bz2
-QTOPIA_URL := ftp://ftp.trolltech.com/qt/source/$(QTOPIA).$(QTOPIA_SUFFIX)
-QTOPIA_SOURCE := $(SRCDIR)/$(QTOPIA).$(QTOPIA_SUFFIX)
-QTOPIA_DIR := $(BUILDDIR)/$(QTOPIA)
-
-
-# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-qtopia_get: $(STATEDIR)/qtopia.get
-
-$(STATEDIR)/qtopia.get: $(qtopia_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
-$(QTOPIA_SOURCE):
- @$(call targetinfo, $@)
- @$(call get, QTOPIA)
-
-# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-qtopia_extract: $(STATEDIR)/qtopia.extract
-
-$(STATEDIR)/qtopia.extract: $(qtopia_extract_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(QTOPIA_DIR))
- @$(call extract, QTOPIA)
- @$(call patchin, QTOPIA)
- @for file in $(QTOPIA_DIR)/mkspecs/qws/linux-ptx-g++/*.in; do \
- sed -e "s,@COMPILER_PREFIX@,$(COMPILER_PREFIX),g" \
- -e "s,@INCDIR@,$(SYSROOT)/include $(SYSROOT)/usr/include,g" \
- -e "s,@LIBDIR@,$(SYSROOT)/lib $(SYSROOT)/usr/lib,g" \
- $$file > $${file%%.in}; \
- done
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-qtopia_prepare: $(STATEDIR)/qtopia.prepare
-
-# don't use CROSS_ENV. Qt uses mkspecs for instead.
-QTOPIA_ENV := $(CROSS_ENV_PKG_CONFIG)
-QTOPIA_PATH := PATH=$(CROSS_PATH)
-QTOPIA_MAKEVARS := INSTALL_ROOT=$(SYSROOT)
-
-# With the introduction of platformconfigs PTXCONF_ARCH was
-# renamed to PTXCONF_ARCH_STRING.
-ifdef PTXCONF_ARCH
-QTOPIA_ARCH = $(call remove_quotes, $(PTXCONF_ARCH))
-else
-QTOPIA_ARCH = $(call remove_quotes, $(PTXCONF_ARCH_STRING))
-endif
-
-#
-# autoconf
-#
-# Important: Use "-no-fast" here. Otherwise qmake will be called during
-# the compile stage when the environment is not properly set!
-#
-# FIXME: when PTXCONF_ICONV is set, we have libc iconv support, check
-# if this works with -iconv
-#
-QTOPIA_AUTOCONF := \
- -release \
- -no-fast \
- -no-largefile \
- -no-accessibility \
- -no-sql-ibase \
- -no-sql-mysql \
- -no-sql-odbc \
- -no-sql-psql \
- -no-sql-sqlite \
- -no-sql-sqlite2 \
- -no-qt3support \
- -no-mmx \
- -no-3dnow \
- -no-sse \
- -no-sse2 \
- -no-openssl \
- -no-optimized-qmake \
- -no-nis \
- -no-cups \
- -no-iconv \
- -pch \
- -force-pkg-config \
- -embedded $(QTOPIA_ARCH) \
- -no-glib \
- -qt-decoration-styled \
- -depths 8,16 \
- -prefix /usr \
- -no-armfpa \
- -xplatform qws/linux-ptx-g++ \
- -make libs \
- -make tools
-
-# maybe later:
-#
-# -iwmmxt
-
-ifdef PTXCONF_QTOPIA_PREPARE_EXAMPLES
-QTOPIA_AUTOCONF += -make examples -make demos
-else
-QTOPIA_AUTOCONF += -nomake examples -nomake demos
-endif
-
-
-# ahi graphics driver
-ifdef PTXCONF_QTOPIA_GFX_AHI_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-ahi
-endif
-
-# directfb graphics driver
-ifdef PTXCONF_QTOPIA_GFX_DIRECTFB_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-directfb
-endif
-
-# linuxfb graphics driver
-ifdef PTXCONF_QTOPIA_GFX_LINUXFB_NONE
-QTOPIA_AUTOCONF += -no-gfx-linuxfb
-endif
-ifdef PTXCONF_QTOPIA_GFX_LINUXFB_BUILTIN
-QTOPIA_AUTOCONF += -qt-gfx-linuxfb
-endif
-ifdef PTXCONF_QTOPIA_GFX_LINUXFB_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-linuxfb
-endif
-
-# svga graphics driver
-ifdef PTXCONF_QTOPIA_GFX_SVGA_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-svgalib
-endif
-
-# transformed graphics driver
-ifdef PTXCONF_QTOPIA_GFX_TRANSFORMED_NONE
-QTOPIA_AUTOCONF += -no-gfx-transformed
-endif
-ifdef PTXCONF_QTOPIA_GFX_TRANSFORMED_BUILTIN
-QTOPIA_AUTOCONF += -qt-gfx-transformed
-endif
-ifdef PTXCONF_QTOPIA_GFX_TRANSFORMED_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-transformed
-endif
-
-# qvfb graphics driver
-ifdef PTXCONF_QTOPIA_GFX_QVFB_NONE
-QTOPIA_AUTOCONF += -no-gfx-qvfb
-endif
-ifdef PTXCONF_QTOPIA_GFX_QVFB_BUILTIN
-QTOPIA_AUTOCONF += -qt-gfx-qvfb
-endif
-ifdef PTXCONF_QTOPIA_GFX_QVFB_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-qvfb
-endif
-
-# vnc graphics driver
-ifdef PTXCONF_QTOPIA_GFX_VNC_NONE
-QTOPIA_AUTOCONF += -no-gfx-vnc
-endif
-ifdef PTXCONF_QTOPIA_GFX_VNC_BUILTIN
-QTOPIA_AUTOCONF += -qt-gfx-vnc
-endif
-ifdef PTXCONF_QTOPIA_GFX_VNC_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-vnc
-endif
-
-# multiscreen graphics driver
-ifdef PTXCONF_QTOPIA_GFX_MULTISCREEN_NONE
-QTOPIA_AUTOCONF += -no-gfx-multiscreen
-endif
-ifdef PTXCONF_QTOPIA_GFX_MULTISCREEN_BUILTIN
-QTOPIA_AUTOCONF += -qt-gfx-multiscreen
-endif
-
-# hybrid graphics driver
-ifdef PTXCONF_QTOPIA_GFX_HYBRID_PLUGIN
-QTOPIA_AUTOCONF += -plugin-gfx-hybrid
-endif
-
-
-# tty keyboard driver
-ifdef PTXCONF_QTOPIA_KBD_TTY
-QTOPIA_AUTOCONF += -qt-kbd-tty
-else
-QTOPIA_AUTOCONF += -no-kbd-tty
-endif
-
-# usb keyboard driver
-ifdef PTXCONF_QTOPIA_KBD_USB
-QTOPIA_AUTOCONF += -qt-kbd-usb
-else
-QTOPIA_AUTOCONF += -no-kbd-usb
-endif
-
-# sl5000 keyboard driver
-ifdef PTXCONF_QTOPIA_KBD_SL5000
-QTOPIA_AUTOCONF += -qt-kbd-sl5000
-else
-QTOPIA_AUTOCONF += -no-kbd-sl5000
-endif
-
-# yopy keyboard driver
-ifdef PTXCONF_QTOPIA_KBD_YOPY
-QTOPIA_AUTOCONF += -qt-kbd-yopy
-else
-QTOPIA_AUTOCONF += -no-kbd-yopy
-endif
-
-# vr41xx keyboard driver
-ifdef PTXCONF_QTOPIA_KBD_VR41XX
-QTOPIA_AUTOCONF += -qt-kbd-vr41xx
-else
-QTOPIA_AUTOCONF += -no-kbd-vr41xx
-endif
-
-# qvfb keyboard driver
-ifdef PTXCONF_QTOPIA_KBD_QVFB
-QTOPIA_AUTOCONF += -qt-kbd-qvfb
-else
-QTOPIA_AUTOCONF += -no-kbd-qvfb
-endif
-
-
-# pc mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_PC
-QTOPIA_AUTOCONF += -qt-mouse-pc
-else
-QTOPIA_AUTOCONF += -no-mouse-pc
-endif
-
-# bus mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_BUS
-QTOPIA_AUTOCONF += -qt-mouse-bus
-else
-QTOPIA_AUTOCONF += -no-mouse-bus
-endif
-
-# linuxtp mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_LINUXTP
-QTOPIA_AUTOCONF += -qt-mouse-linuxtp
-else
-QTOPIA_AUTOCONF += -no-mouse-linuxtp
-endif
-
-# yopy mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_YOPY
-QTOPIA_AUTOCONF += -qt-mouse-yopy
-else
-QTOPIA_AUTOCONF += -no-mouse-yopy
-endif
-
-# vr41xx mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_VR41XX
-QTOPIA_AUTOCONF += -qt-mouse-vr41xx
-else
-QTOPIA_AUTOCONF += -no-mouse-vr41xx
-endif
-
-# tslib mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_TSLIB
-QTOPIA_AUTOCONF += -qt-mouse-tslib
-else
-QTOPIA_AUTOCONF += -no-mouse-tslib
-endif
-
-# qvfb mouse driver
-ifdef PTXCONF_QTOPIA_MOUSE_QVFB
-QTOPIA_AUTOCONF += -qt-mouse-qvfb
-else
-QTOPIA_AUTOCONF += -no-mouse-qvfb
-endif
-
-
-# PNG support
-ifdef PTXCONF_QTOPIA_PNG_NONE
-QTOPIA_AUTOCONF += -no-libpng
-endif
-ifdef PTXCONF_QTOPIA_PNG_INTERNAL
-QTOPIA_AUTOCONF += -qt-libpng
-endif
-ifdef PTXCONF_QTOPIA_PNG_SYSTEM
-QTOPIA_AUTOCONF += -system-libpng
-endif
-
-# MNG support
-ifdef PTXCONF_QTOPIA_MNG_NONE
-QTOPIA_AUTOCONF += -no-libmng
-endif
-ifdef PTXCONF_QTOPIA_MNG_INTERNAL
-QTOPIA_AUTOCONF += -qt-libmng
-endif
-ifdef PTXCONF_QTOPIA_MNG_SYSTEM
-QTOPIA_AUTOCONF += -system-libmng
-endif
-
-# TIFF support
-ifdef PTXCONF_QTOPIA_TIFF_NONE
-QTOPIA_AUTOCONF += -no-libtiff
-endif
-ifdef PTXCONF_QTOPIA_TIFF_INTERNAL
-QTOPIA_AUTOCONF += -qt-libtiff
-endif
-ifdef PTXCONF_QTOPIA_TIFF_SYSTEM
-QTOPIA_AUTOCONF += -system-libtiff
-endif
-
-# GIF support
-ifdef PTXCONF_QTOPIA_GIF_NONE
-QTOPIA_AUTOCONF += -no-gif
-endif
-ifdef PTXCONF_QTOPIA_GIF_INTERNAL
-QTOPIA_AUTOCONF += -qt-gif
-endif
-
-# JPG support
-ifdef PTXCONF_QTOPIA_JPG_NONE
-QTOPIA_AUTOCONF += -no-libjpeg
-endif
-ifdef PTXCONF_QTOPIA_JPG_INTERNAL
-QTOPIA_AUTOCONF += -qt-libjpeg
-endif
-ifdef PTXCONF_QTOPIA_JPG_SYSTEM
-QTOPIA_AUTOCONF += -system-libjpeg
-endif
-
-ifdef PTXCONF_QTOPIA_ZLIB_INTERNAL
-QTOPIA_AUTOCONF += -qt-zlib
-endif
-ifdef PTXCONF_QTOPIA_ZLIB_SYSTEM
-QTOPIA_AUTOCONF += -system-zlib
-endif
-
-ifdef PTXCONF_QTOPIA_FREETYPE_NONE
-QTOPIA_AUTOCONF += -no-freetype
-endif
-ifdef PTXCONF_QTOPIA_FREETYPE_INTERNAL
-QTOPIA_AUTOCONF += -qt-freetype
-endif
-ifdef PTXCONF_QTOPIA_FREETYPE_SYSTEM
-QTOPIA_AUTOCONF += -system-freetype -I$(SYSROOT)/usr/include/freetype2
-endif
-
-ifdef PTXCONF_ENDIAN_LITTLE
-QTOPIA_AUTOCONF += -little-endian
-else
-QTOPIA_AUTOCONF += -big-endian
-endif
-
-ifdef PTXCONF_QTOPIA_STL
-QTOPIA_AUTOCONF += -stl
-else
-QTOPIA_AUTOCONF += -no-stl
-endif
-
-ifdef PTXCONF_QTOPIA_DBUS_LOAD
-QTOPIA_AUTOCONF += -dbus
-QTOPIA_BUILD_TOOLS_TARGETS += sub-tools-qdbus
-QTOPIA_INSTALL_TARGETS += sub-tools-qdbus-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_DBUS_LINK
-QTOPIA_AUTOCONF += -dbus-linked
-QTOPIA_BUILD_TOOLS_TARGETS += sub-tools-qdbus
-QTOPIA_INSTALL_TARGETS += sub-tools-qdbus-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_DBUS_NONE
-QTOPIA_AUTOCONF += -no-qdbus
-endif
-
-ifdef PTXCONF_QTOPIA_SHARED
-QTOPIA_AUTOCONF += -shared
-QTOPIA_PLUGIN_EXT := so
-else
-QTOPIA_AUTOCONF += -static
-QTOPIA_PLUGIN_EXT := a
-endif
-
-ifdef PTXCONF_QTOPIA_BUILD_QTXMLPATTERNS
-QTOPIA_AUTOCONF += -xmlpatterns -exceptions
-QTOPIA_BUILD_TARGETS += sub-xmlpatterns
-QTOPIA_INSTALL_TARGETS += sub-xmlpatterns-install_subtargets
-else
-QTOPIA_AUTOCONF += -no-xmlpatterns -no-exceptions
-endif
-ifdef PTXCONF_QTOPIA_BUILD_PHONON
-QTOPIA_AUTOCONF += -phonon
-else
-QTOPIA_AUTOCONF += -no-phonon
-endif
-ifdef PTXCONF_QTOPIA_BUILD_WEBKIT
-QTOPIA_AUTOCONF += -webkit
-QTOPIA_BUILD_TARGETS += sub-webkit
-QTOPIA_INSTALL_TARGETS += sub-webkit-install_subtargets
-else
-QTOPIA_AUTOCONF += -no-webkit
-endif
-
-ifdef PTXCONF_QTOPIA_BUILD_DESIGNERLIBS
-QTOPIA_BUILD_TOOLS_TARGETS += \
- sub-tools-designer-src-uitools \
- sub-tools-designer-src-lib
-QTOPIA_INSTALL_TARGETS += \
- sub-tools-designer-src-uitools-install_subtargets \
- sub-tools-designer-src-lib-install_subtargets
-endif
-
-ifdef PTXCONF_QTOPIA_BUILD_ASSISTANTLIB
-QTOPIA_BUILD_TOOLS_TARGETS += sub-tools-assistant
-QTOPIA_INSTALL_TARGETS += sub-tools-assistant-install_subtargets
-endif
-
-$(STATEDIR)/qtopia.prepare: $(qtopia_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(QTOPIA_DIR)/config.cache)
- cd $(QTOPIA_DIR) && \
- echo "yes" | $(QTOPIA_PATH) $(QTOPIA_ENV) \
- ./configure $(QTOPIA_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-### These are always built
-# moc
-QTOPIA_BUILD_TARGETS += sub-moc
-QTOPIA_INSTALL_TARGETS += sub-moc-install_subtargets
-# rcc
-QTOPIA_BUILD_TARGETS += sub-rcc
-QTOPIA_INSTALL_TARGETS += sub-rcc-install_subtargets
-# QtCore
-QTOPIA_BUILD_TARGETS += sub-corelib
-QTOPIA_INSTALL_TARGETS += sub-corelib-install_subtargets
-# plugins (any selected plugins, gfx, image, mouse...)
-QTOPIA_BUILD_TARGETS += sub-plugins
-QTOPIA_INSTALL_TARGETS += sub-plugins-install_subtargets
-
-ifdef PTXCONF_QTOPIA_BUILD_UIC
-QTOPIA_BUILD_TARGETS += sub-uic
-QTOPIA_INSTALL_TARGETS += sub-uic-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_XML
-QTOPIA_BUILD_TARGETS += sub-xml
-QTOPIA_INSTALL_TARGETS += sub-xml-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_GUI
-QTOPIA_BUILD_TARGETS += sub-gui
-QTOPIA_INSTALL_TARGETS += sub-gui-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SQL
-QTOPIA_BUILD_TARGETS += sub-sql
-QTOPIA_INSTALL_TARGETS += sub-sql-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_NETWORK
-QTOPIA_BUILD_TARGETS += sub-network
-QTOPIA_INSTALL_TARGETS += sub-network-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SVG
-QTOPIA_BUILD_TARGETS += sub-svg
-QTOPIA_INSTALL_TARGETS += sub-svg-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SCRIPT
-QTOPIA_BUILD_TARGETS += sub-script
-QTOPIA_INSTALL_TARGETS += sub-script-install_subtargets
-endif
-ifdef PTXCONF_QTOPIA_BUILD_QTESTLIB
-QTOPIA_BUILD_TARGETS += sub-testlib
-QTOPIA_INSTALL_TARGETS += sub-testlib-install_subtargets
-endif
-
-qtopia_compile: $(STATEDIR)/qtopia.compile
-
-$(STATEDIR)/qtopia.compile: $(qtopia_compile_deps_default)
- @$(call targetinfo, $@)
-ifneq ($(strip $(QTOPIA_BUILD_TARGETS)), )
- cd $(QTOPIA_DIR) && $(QTOPIA_PATH) $(QTOPIA_ENV) $(MAKE) \
- $(PARALLELMFLAGS) $(QTOPIA_BUILD_TARGETS)
-endif
-# These targets don't have the correct dependencies.
-# We have to build them later
- echo $(QTOPIA_BUILD_TOOLS_TARGETS)
-ifneq ($(strip $(QTOPIA_BUILD_TOOLS_TARGETS)), )
- cd $(QTOPIA_DIR) && $(QTOPIA_PATH) $(QTOPIA_ENV) $(MAKE) \
- $(PARALLELMFLAGS) $(QTOPIA_BUILD_TOOLS_TARGETS)
-endif
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-qtopia_install: $(STATEDIR)/qtopia.install
-
-$(STATEDIR)/qtopia.install: $(qtopia_install_deps_default)
- @$(call targetinfo, $@)
- @cd $(QTOPIA_DIR) && $(QTOPIA_PATH) $(MAKE) \
- $(QTOPIA_INSTALL_TARGETS) $(QTOPIA_MAKEVARS)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-qtopia_targetinstall: $(STATEDIR)/qtopia.targetinstall
-
-$(STATEDIR)/qtopia.targetinstall: $(qtopia_targetinstall_deps_default)
- @$(call targetinfo, $@)
-
- @$(call install_init, qtopia)
- @$(call install_fixup,qtopia,PACKAGE,qtopia)
- @$(call install_fixup,qtopia,PRIORITY,optional)
- @$(call install_fixup,qtopia,VERSION,$(QTOPIA_VERSION))
- @$(call install_fixup,qtopia,SECTION,base)
- @$(call install_fixup,qtopia,AUTHOR,"Juergen Beisertl <j.beisert\@pengutronix.de>")
- @$(call install_fixup,qtopia,DEPENDS,)
- @$(call install_fixup,qtopia,DESCRIPTION,missing)
-
-ifdef PTXCONF_QTOPIA_SHARED
-# always install QtCore
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtCore.so.4.4.0, \
- /usr/lib/libQtCore.so.4.4.0)
- @$(call install_link, qtopia, libQtCore.so.4.4.0, \
- /usr/lib/libQtCore.so.4.4)
- @$(call install_link, qtopia, libQtCore.so.4.4.0, \
- /usr/lib/libQtCore.so.4)
-ifdef PTXCONF_QTOPIA_BUILD_XML
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtXml.so.4.4.0, \
- /usr/lib/libQtXml.so.4.4.0)
- @$(call install_link, qtopia, libQtXml.so.4.4.0, \
- /usr/lib/libQtXml.so.4.4)
- @$(call install_link, qtopia, libQtXml.so.4.4.0, \
- /usr/lib/libQtXml.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_GUI
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtGui.so.4.4.0, \
- /usr/lib/libQtGui.so.4.4.0)
- @$(call install_link, qtopia, libQtGui.so.4.4.0, \
- /usr/lib/libQtGui.so.4.4)
- @$(call install_link, qtopia, libQtGui.so.4.4.0, \
- /usr/lib/libQtGui.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SQL
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtSql.so.4.4.0, \
- /usr/lib/libQtSql.so.4.4.0)
- @$(call install_link, qtopia, libQtSql.so.4.4.0, \
- /usr/lib/libQtSql.so.4.4)
- @$(call install_link, qtopia, libQtSql.so.4.4.0, \
- /usr/lib/libQtSql.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_NETWORK
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtNetwork.so.4.4.0, \
- /usr/lib/libQtNetwork.so.4.4.0)
- @$(call install_link, qtopia, libQtNetwork.so.4.4.0, \
- /usr/lib/libQtNetwork.so.4.4)
- @$(call install_link, qtopia, libQtNetwork.so.4.4.0, \
- /usr/lib/libQtNetwork.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SVG
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtSvg.so.4.4.0, \
- /usr/lib/libQtSvg.so.4.4.0)
- @$(call install_link, qtopia, libQtSvg.so.4.4.0, \
- /usr/lib/libQtSvg.so.4.4)
- @$(call install_link, qtopia, libQtSvg.so.4.4.0, \
- /usr/lib/libQtSvg.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SCRIPT
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtScript.so.4.4.0, \
- /usr/lib/libQtScript.so.4.4.0)
- @$(call install_link, qtopia, libQtScript.so.4.4.0, \
- /usr/lib/libQtScript.so.4.4)
- @$(call install_link, qtopia, libQtScript.so.4.4.0, \
- /usr/lib/libQtScript.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_QTESTLIB
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtTest.so.4.4.0, \
- /usr/lib/libQtTest.so.4.4.0)
- @$(call install_link, qtopia, libQtTest.so.4.4.0, \
- /usr/lib/libQtTest.so.4.4)
- @$(call install_link, qtopia, libQtTest.so.4.4.0, \
- /usr/lib/libQtTest.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_ASSISTANTLIB
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtAssistantClient.so.4.4.0, \
- /usr/lib/libQtAssistantClient.so.4.4.0)
- @$(call install_link, qtopia, libQtAssistantClient.so.4.4.0, \
- /usr/lib/libQtAssistantClient.so.4.4)
- @$(call install_link, qtopia, libQtAssistantClient.so.4.4.0, \
- /usr/lib/libQtAssistantClient.so.4)
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtCLucene.so.4.4.0, \
- /usr/lib/libQtCLucene.so.4.4.0)
- @$(call install_link, qtopia, libQtCLucene.so.4.4.0, \
- /usr/lib/libQtCLucene.so.4.4)
- @$(call install_link, qtopia, libQtCLucene.so.4.4.0, \
- /usr/lib/libQtCLucene.so.4)
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtHelp.so.4.4.0, \
- /usr/lib/libQtHelp.so.4.4.0)
- @$(call install_link, qtopia, libQtHelp.so.4.4.0, \
- /usr/lib/libQtHelp.so.4.4)
- @$(call install_link, qtopia, libQtHelp.so.4.4.0, \
- /usr/lib/libQtHelp.so.4)
-endif
-ifdef PTXCONF_QTOPIA_DBUS_LOAD
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtDBus.so.4.4.0, \
- /usr/lib/libQtDBus.so.4.4.0)
- @$(call install_link, qtopia, libQtDBus.so.4.4.0, \
- /usr/lib/libQtDBus.so.4.4)
- @$(call install_link, qtopia, libQtDBus.so.4.4.0, \
- /usr/lib/libQtDBus.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_DESIGNERLIBS
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtDesigner.so.4.4.0, \
- /usr/lib/libQtDesigner.so.4.4.0)
- @$(call install_link, qtopia, libQtDesigner.so.4.4.0, \
- /usr/lib/libQtDesigner.so.4.4)
- @$(call install_link, qtopia, libQtDesigner.so.4.4.0, \
- /usr/lib/libQtDesigner.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_WEBKIT
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtWebKit.so.4.4.0, \
- /usr/lib/libQtWebKit.so.4.4.0)
- @$(call install_link, qtopia, libQtWebKit.so.4.4.0, \
- /usr/lib/libQtWebKit.so.4.4)
- @$(call install_link, qtopia, libQtWebKit.so.4.4.0, \
- /usr/lib/libQtWebKit.so.4)
-endif
-ifdef PTXCONF_QTOPIA_BUILD_QTXMLPATTERNS
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/libQtXmlPatterns.so.4.4.0, \
- /usr/lib/libQtXmlPatterns.so.4.4.0)
- @$(call install_link, qtopia, libQtXmlPatterns.so.4.4.0, \
- /usr/lib/libQtXmlPatterns.so.4.4)
- @$(call install_link, qtopia, libQtXmlPatterns.so.4.4.0, \
- /usr/lib/libQtXmlPatterns.so.4)
-endif
-endif #PTXCONF_QTOPIA_SHARED
-ifdef PTXCONF_QTOPIA_GFX_LINUXFB_PLUGIN
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/gfxdrivers/libqscreenlinuxfb.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/gfxdrivers/libqscreenlinuxfb.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_GFX_DIRECTFB_PLUGIN
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/gfxdrivers/libqdirectfbscreen.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/gfxdrivers/libqdirectfbscreen.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_GFX_TRANSFORMED_PLUGIN
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/gfxdrivers/libqgfxtransformed.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/gfxdrivers/libqgfxtransformed.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_GFX_VNC_PLUGIN
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/gfxdrivers/libqgfxvnc.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/gfxdrivers/libqgfxvnc.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_GFX_QVFB_PLUGIN
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/gfxdrivers/libqscreenvfb.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/gfxdrivers/libqscreenvfb.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_DBUS_LOAD
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/script/libqtscriptdbus.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/script/libqtscriptdbus.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_GIF_INTERNAL
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/imageformats/libqgif.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/imageformats/libqgif.$(QTOPIA_PLUGIN_EXT))
-endif
-ifndef PTXCONF_QTOPIA_JPG_NONE
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/imageformats/libqjpeg.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/imageformats/libqjpeg.$(QTOPIA_PLUGIN_EXT))
-endif
-ifndef PTXCONF_QTOPIA_MNG_NONE
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/imageformats/libqmng.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/imageformats/libqmng.$(QTOPIA_PLUGIN_EXT))
-endif
-ifndef PTXCONF_QTOPIA_TIFF_NONE
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/imageformats/libqtiff.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/imageformats/libqtiff.$(QTOPIA_PLUGIN_EXT))
-endif
-ifndef PTXCONF_QTOPIA_ICO_NONE
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/imageformats/libqico.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/imageformats/libqico.$(QTOPIA_PLUGIN_EXT))
-endif
-ifdef PTXCONF_QTOPIA_BUILD_SVG
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/imageformats/libqsvg.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/imageformats/libqsvg.$(QTOPIA_PLUGIN_EXT))
- @$(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/plugins/iconengines/libqsvgicon.$(QTOPIA_PLUGIN_EXT), \
- /usr/plugins/iconengines/libqsvgicon.$(QTOPIA_PLUGIN_EXT))
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_DEJAVU
- @for i in \
- DejaVuSans-Bold.ttf \
- DejaVuSans-BoldOblique.ttf \
- DejaVuSans-Oblique.ttf \
- DejaVuSans.ttf \
- DejaVuSansMono-Bold.ttf \
- DejaVuSansMono-BoldOblique.ttf \
- DejaVuSansMono-Oblique.ttf \
- DejaVuSansMono.ttf \
- DejaVuSerif-Bold.ttf \
- DejaVuSerif-BoldOblique.ttf \
- DejaVuSerif-Oblique.ttf \
- DejaVuSerif.ttf; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_UT
- @for i in \
- 'UTBI____.pfa' \
- 'UTB_____.pfa' \
- 'UTI_____.pfa' \
- 'UTRG____.pfa'; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_VERA
- @for i in \
- Vera.ttf \
- VeraBI.ttf \
- VeraBd.ttf \
- VeraIt.ttf \
- VeraMoBI.ttf \
- VeraMoBd.ttf \
- VeraMoIt.ttf \
- VeraMono.ttf \
- VeraSe.ttf \
- VeraSeBd.ttf; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_C0
- @for i in \
- c0419bt_.pfb \
- c0582bt_.pfb \
- c0583bt_.pfb \
- c0611bt_.pfb \
- c0632bt_.pfb \
- c0633bt_.pfb \
- c0648bt_.pfb \
- c0649bt_.pfb; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_COUR
- @for i in \
- cour.pfa \
- courb.pfa \
- courbi.pfa \
- couri.pfa; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_CURSOR
- @for i in \
- cursor.pfa; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_FIXED
- @for i in \
- fixed_120_50.qpf \
- fixed_70_50.qpf; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_HELVETICA
- @for i in \
- helvetica_100_50.qpf \
- helvetica_100_50i.qpf \
- helvetica_100_75.qpf \
- helvetica_100_75i.qpf \
- helvetica_120_50.qpf \
- helvetica_120_50i.qpf \
- helvetica_120_75.qpf \
- helvetica_120_75i.qpf \
- helvetica_140_50.qpf \
- helvetica_140_50i.qpf \
- helvetica_140_75.qpf \
- helvetica_140_75i.qpf \
- helvetica_180_50.qpf \
- helvetica_180_50i.qpf \
- helvetica_180_75.qpf \
- helvetica_180_75i.qpf \
- helvetica_240_50.qpf \
- helvetica_240_50i.qpf \
- helvetica_240_75.qpf \
- helvetica_240_75i.qpf \
- helvetica_80_50.qpf \
- helvetica_80_50i.qpf \
- helvetica_80_75.qpf \
- helvetica_80_75i.qpf; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i,n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_JAPANESE
- @for i in \
- japanese_230_50.qpf; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
-ifdef PTXCONF_QTOPIA_FONT_L04
- @for i in \
- l047013t.pfa \
- l047016t.pfa \
- l047033t.pfa \
- l047036t.pfa \
- l048013t.pfa \
- l048016t.pfa \
- l048033t.pfa \
- l048036t.pfa \
- l049013t.pfa \
- l049016t.pfa \
- l049033t.pfa \
- l049036t.pfa; do \
- $(call install_copy, qtopia, 0, 0, 0644, \
- $(QTOPIA_DIR)/lib/fonts/$$i, \
- /usr/lib/fonts/$$i, n); \
- done
-endif
-
- @$(call install_finish,qtopia)
-
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-qtopia_clean:
- rm -rf $(STATEDIR)/qtopia.*
- rm -rf $(IMAGEDIR)/qtopia_*
- rm -rf $(QTOPIA_DIR)
-
-# vim: syntax=make
diff --git a/rules/qwt.in b/rules/qwt.in
new file mode 100644
index 000000000..d6482841e
--- /dev/null
+++ b/rules/qwt.in
@@ -0,0 +1,8 @@
+## SECTION=qt
+
+config QWT
+ tristate
+ prompt "qwt"
+ select QT4
+ help
+ FIXME
diff --git a/rules/qwt.make b/rules/qwt.make
new file mode 100644
index 000000000..c6b2a12d6
--- /dev/null
+++ b/rules/qwt.make
@@ -0,0 +1,123 @@
+# -*-makefile-*-
+# $Id: template-make 9053 2008-11-03 10:58:48Z wsa $
+#
+# Copyright (C) 2009 by
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_QWT) += qwt
+
+#
+# Paths and names
+#
+QWT_VERSION := 5.2.0
+QWT := qwt-$(QWT_VERSION)
+QWT_SUFFIX := tar.bz2
+QWT_URL := $(PTXCONF_SETUP_SFMIRROR)/qwt/$(QWT).$(QWT_SUFFIX)
+QWT_SOURCE := $(SRCDIR)/$(QWT).$(QWT_SUFFIX)
+QWT_DIR := $(BUILDDIR)/$(QWT)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(QWT_SOURCE):
+ @$(call targetinfo)
+ @$(call get, QWT)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/qwt.extract:
+ @$(call targetinfo)
+ @$(call clean, $(QWT_DIR))
+ @$(call extract, QWT)
+ @$(call patchin, QWT)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+QWT_PATH := PATH=$(CROSS_PATH)
+
+QWT_ENV = \
+ $(CROSS_ENV) \
+ INSTALL_ROOT=$(SYSROOT) \
+ QMAKESPEC=$(QT4_DIR)/mkspecs/qws/linux-ptx-g++
+
+#
+# autoconf
+#
+QWT_AUTOCONF := $(CROSS_AUTOCONF_USR)
+
+$(STATEDIR)/qwt.prepare:
+ @$(call targetinfo)
+ cd $(QWT_DIR) && \
+ $(QWT_PATH) $(QWT_ENV) qmake -recursive
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/qwt.compile:
+ @$(call targetinfo)
+ cd $(QWT_DIR) && $(QWT_PATH) $(QWT_ENV) $(MAKE) $(PARALLELMFLAGS_BROKEN)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/qwt.install:
+ @$(call targetinfo)
+ cd $(QWT_DIR) && $(QWT_PATH) $(QWT_ENV) $(MAKE) install
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/qwt.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, qwt)
+ @$(call install_fixup, qwt,PACKAGE,qwt)
+ @$(call install_fixup, qwt,PRIORITY,optional)
+ @$(call install_fixup, qwt,VERSION,$(QWT_VERSION))
+ @$(call install_fixup, qwt,SECTION,base)
+ @$(call install_fixup, qwt,AUTHOR,"Michael Olbrich <m.olbrich\@pengutronix.de>")
+ @$(call install_fixup, qwt,DEPENDS,)
+ @$(call install_fixup, qwt,DESCRIPTION,missing)
+
+ @$(call install_copy, qwt, 0, 0, 0644, \
+ $(QWT_DIR)/lib/libqwt.so.5.2.0, \
+ /usr/lib/libqwt.so.5.2.0)
+ @$(call install_link, qwt, libqwt.so.5.2.0, \
+ /usr/lib/libqwt.so.5.2)
+ @$(call install_link, qwt, libqwt.so.5.2.0, \
+ /usr/lib/libqwt.so.5)
+
+ @$(call install_finish, qwt)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+qwt_clean:
+ rm -rf $(STATEDIR)/qwt.*
+ rm -rf $(PKGDIR)/qwt_*
+ rm -rf $(QWT_DIR)
+
+# vim: syntax=make