diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-13 19:44:58 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-13 19:44:58 +0200 |
commit | f9be03e6743d19e5fc119a8610496cff05d8c1b3 (patch) | |
tree | df3cf6c3195d75532ffccf0923d7d764becdb26d /rules | |
parent | 6f401cc9e424f00634f89f832520c85d08daabf1 (diff) | |
download | ptxdist-f9be03e6743d19e5fc119a8610496cff05d8c1b3.tar.gz ptxdist-f9be03e6743d19e5fc119a8610496cff05d8c1b3.tar.xz |
qt4: version bump 4.6.3 -> 4.7.3
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/host-qt4.make | 2 | ||||
-rw-r--r-- | rules/qt4.in | 36 | ||||
-rw-r--r-- | rules/qt4.make | 72 |
3 files changed, 91 insertions, 19 deletions
diff --git a/rules/host-qt4.make b/rules/host-qt4.make index 3a89d6fd8..34e769475 100644 --- a/rules/host-qt4.make +++ b/rules/host-qt4.make @@ -169,7 +169,7 @@ else @echo -e '#!/bin/sh\nexport QMAKESPEC=linux-ptx-g++\nexec $(PTXDIST_SYSROOT_CROSS)/bin/qmake-cross "$$@"\n' > $(PTXDIST_SYSROOT_CROSS)/bin/qmake endif @chmod +x $(PTXDIST_SYSROOT_CROSS)/bin/qmake - @echo -e "[Paths]\nPrefix=$(SYSROOT)/usr\nBinaries=$(PTXCONF_SYSROOT_HOST)/bin" > $(PTXDIST_SYSROOT_CROSS)/bin/qt.conf + @echo -e "[Paths]\nPrefix=$(SYSROOT)/usr\nBinaries=$(PTXCONF_SYSROOT_HOST)/bin\nImports=/usr/imports" > $(PTXDIST_SYSROOT_CROSS)/bin/qt.conf @echo -e "[Paths]\nPrefix=$(PTXCONF_SYSROOT_HOST)" > $(PTXDIST_SYSROOT_HOST)/bin/qt.conf @$(call touch) diff --git a/rules/qt4.in b/rules/qt4.in index b24cd7db1..9b68c9cf5 100644 --- a/rules/qt4.in +++ b/rules/qt4.in @@ -657,17 +657,19 @@ config QT4_OPENSSL help Add Qt support for openssl. +config QT4_DBUS + bool + prompt "dbus support" + help + Build D-Bus bindings for Qt + choice prompt "dbus support " + depends on QT4_DBUS default QT4_DBUS_LOAD help Qt dbus support. -config QT4_DBUS_NONE - bool "none " - help - Disable Qt bus support. - config QT4_DBUS_LOAD bool "load " select QT4_BUILD_XML @@ -713,6 +715,10 @@ config QT4_OPENGL_ES2 endchoice +config QT4_OPENGL_EGL + bool "use EGL" + depends on QT4_BUILD_OPENGL && !QT4_OPENGL_DESKTOP + menu "optional libraries " config QT4_BUILD_GUI @@ -868,6 +874,26 @@ config QT4_BUILD_SCRIPTTOOLS QtScriptTools provides additional components for applications that use Qt Script. +config QT4_BUILD_DECLARATIVE + bool + prompt "Declarative" + select QT4_BUILD_GUI + select QT4_BUILD_SQL + select QT4_BUILD_SCRIPT + select QT4_BUILD_NETWORK + help + QtDeclarative is a C++ library that provides the underlying engine, + which translates the declarative description of the UI in QML into + items on a QGraphicsScene. The library also provides APIs to bind + custom C++ types and elements to QML, and to connect the QML UI with + the underlying application logic written in C++. + +config QT4_INSTALL_QMLVIEWER + bool + prompt "install qmlviewer" + select QT4_BUILD_SQL + depends on QT4_BUILD_DECLARATIVE + endmenu if QT4_PLATFORM_EMBEDDED diff --git a/rules/qt4.make b/rules/qt4.make index 2ac0e9c7d..dc94f537b 100644 --- a/rules/qt4.make +++ b/rules/qt4.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_QT4) += qt4 # # Paths and names # -QT4_VERSION := 4.6.3 -QT4_MD5 := 5c69f16d452b0bb3d44bc3c10556c072 +QT4_VERSION := 4.7.3 +QT4_MD5 := 49b96eefb1224cc529af6fe5608654fe QT4 := qt-everywhere-opensource-src-$(QT4_VERSION) QT4_SUFFIX := tar.gz QT4_URL := http://get.qt.nokia.com/qt/source/$(QT4).$(QT4_SUFFIX) @@ -469,7 +469,7 @@ endif ifdef PTXCONF_QT4_DBUS_LINK QT4_AUTOCONF += -dbus-linked endif -ifdef PTXCONF_QT4_DBUS_NONE +ifndef PTXCONF_QT4_DBUS QT4_AUTOCONF += -no-qdbus endif @@ -489,6 +489,13 @@ ifdef PTXCONF_QT4_OPENGL_NONE QT4_AUTOCONF += -no-opengl endif +ifdef PTXCONF_QT4_OPENGL_EGL +QT4_AUTOCONF += -egl +else +QT4_AUTOCONF += -no-egl +endif + + ifdef PTXCONF_QT4_SHARED QT4_AUTOCONF += -shared QT4_PLUGIN_EXT := so @@ -522,6 +529,10 @@ ifdef PTXCONF_QT4_BUILD_WEBKIT QT4_AUTOCONF += -webkit QT4_BUILD_TARGETS += sub-webkit QT4_INSTALL_OPT += sub-webkit-install_subtargets +ifdef PTXCONF_QT4_BUILD_DECLARATIVE +QT4_BUILD_TARGETS += sub-webkitdeclarative +QT4_INSTALL_OPT += sub-webkitdeclarative-install_subtargets +endif else QT4_AUTOCONF += -no-webkit endif @@ -548,10 +559,12 @@ ifdef PTXCONF_QT4_SQLITE_PLUGIN QT4_AUTOCONF += -plugin-sql-sqlite endif -ifneq ($(PTXCONF_QT4_BUILD_DESIGNERLIBS)$(PTXCONF_QT4_BUILD_ASSISTANTLIB),) +ifneq ($(PTXCONF_QT4_BUILD_DESIGNERLIBS)$(PTXCONF_QT4_BUILD_ASSISTANTLIB)$(PTXCONF_QT4_INSTALL_QMLVIEWER),) QT4_AUTOCONF += -make tools QT4_BUILD_TOOLS_TARGETS = sub-tools QT4_INSTALL_OPT += sub-tools-install_subtargets +# qmlviewer does not need xml but we cannot built sub-tools without it +QT4_BUILD_TARGETS += sub-xml else QT4_AUTOCONF += -nomake tools endif @@ -609,6 +622,13 @@ ifdef PTXCONF_QT4_BUILD_QTESTLIB QT4_BUILD_TARGETS += sub-testlib QT4_INSTALL_OPT += sub-testlib-install_subtargets endif +ifdef PTXCONF_QT4_BUILD_DECLARATIVE +QT4_AUTOCONF += -declarative +QT4_BUILD_TARGETS += sub-declarative sub-imports +QT4_INSTALL_OPT += sub-declarative-install_subtargets sub-imports-install_subtargets +else +QT4_AUTOCONF += -no-declarative +endif $(STATEDIR)/qt4.compile: @$(call targetinfo) @@ -646,10 +666,6 @@ $(STATEDIR)/qt4.install: # Target-Install # ---------------------------------------------------------------------------- -QT_VERSION_L3 := $(QT4_VERSION) -QT_VERSION_L2 := 4.6 -QT_VERSION_L1 := 4 - $(STATEDIR)/qt4.targetinstall: @$(call targetinfo) @@ -688,11 +704,10 @@ ifdef PTXCONF_QT4_BUILD_QTESTLIB @$(call install_lib, qt4, 0, 0, 0644, libQtTest) endif ifdef PTXCONF_QT4_BUILD_ASSISTANTLIB - @$(call install_lib, qt4, 0, 0, 0644, libQtAssistantClient) @$(call install_lib, qt4, 0, 0, 0644, libQtCLucene) @$(call install_lib, qt4, 0, 0, 0644, libQtHelp) endif -ifneq ($(PTXCONF_QT4_DBUS_LOAD)$(PTXCONF_QT4_DBUS_LINK),) +ifdef PTXCONF_QT4_DBUS @$(call install_lib, qt4, 0, 0, 0644, libQtDBus) endif ifdef PTXCONF_QT4_BUILD_DESIGNERLIBS @@ -700,6 +715,12 @@ ifdef PTXCONF_QT4_BUILD_DESIGNERLIBS endif ifdef PTXCONF_QT4_BUILD_WEBKIT @$(call install_lib, qt4, 0, 0, 0644, libQtWebKit) +ifdef PTXCONF_QT4_BUILD_DECLARATIVE + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/QtWebKit/qmldir) + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/QtWebKit/libqmlwebkitplugin.so) +endif endif ifdef PTXCONF_QT4_BUILD_SCRIPTTOOLS @$(call install_lib, qt4, 0, 0, 0644, libQtScriptTools) @@ -707,8 +728,23 @@ endif ifdef PTXCONF_QT4_BUILD_QTXMLPATTERNS @$(call install_lib, qt4, 0, 0, 0644, libQtXmlPatterns) endif -ifdef PTXCONF_QT4_BUILD_MULTIMEDIA - @$(call install_lib, qt4, 0, 0, 0644, libQtMultimedia) +ifdef PTXCONF_QT4_BUILD_DECLARATIVE + @$(call install_lib, qt4, 0, 0, 0644, libQtDeclarative) + + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/Qt/labs/folderlistmodel/qmldir) + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so) + + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/Qt/labs/gestures/qmldir) + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/Qt/labs/gestures/libqmlgesturesplugin.so) + + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/Qt/labs/particles/qmldir) + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/imports/Qt/labs/particles/libqmlparticlesplugin.so) endif ifdef PTXCONF_QT4_BUILD_OPENGL @$(call install_lib, qt4, 0, 0, 0644, libQtOpenGL) @@ -742,7 +778,7 @@ ifdef PTXCONF_QT4_GFX_POWERVR_PLUGIN /usr/plugins/gfxdrivers/libqgfxpvregl.$(QT4_PLUGIN_EXT)) @$(call install_lib, qt4, 0, 0, 0644, libpvrQWSWSEGL) endif -ifneq ($(PTXCONF_QT4_DBUS_LOAD)$(PTXCONF_QT4_DBUS_LINK),) +ifdef PTXCONF_QT4_DBUS ifdef PTXCONF_QT4_BUILD_SCRIPT @$(call install_copy, qt4, 0, 0, 0644, -, \ /usr/plugins/script/libqtscriptdbus.$(QT4_PLUGIN_EXT)) @@ -774,10 +810,20 @@ ifdef PTXCONF_QT4_BUILD_SVG @$(call install_copy, qt4, 0, 0, 0644, -, \ /usr/plugins/iconengines/libqsvgicon.$(QT4_PLUGIN_EXT)) endif +ifndef PTXCONF_QT4_BUILD_NETWORK + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/plugins/bearer/libqgenericbearer.$(QT4_PLUGIN_EXT)) + @$(call install_copy, qt4, 0, 0, 0644, -, \ + /usr/plugins/bearer/libqnmbearer.$(QT4_PLUGIN_EXT)) +endif ifdef PTXCONF_QT4_BUILD_PHONON @$(call install_copy, qt4, 0, 0, 0644, -, \ /usr/plugins/phonon_backend/libphonon_gstreamer.$(QT4_PLUGIN_EXT)) endif +ifdef PTXCONF_QT4_INSTALL_QMLVIEWER + @$(call install_copy, qt4, 0, 0, 0755, -, \ + /usr/bin/qmlviewer) +endif ifdef PTXCONF_QT4_FONT_DEJAVU @for i in \ |