aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.qt.mk112
-rw-r--r--accessibility/qt4-accessible/Makefile1
-rw-r--r--accessibility/qt4-accessible/distinfo6
-rw-r--r--chinese/qt4-codecs-cn/distinfo6
-rw-r--r--chinese/qt4-codecs-tw/Makefile5
-rw-r--r--chinese/qt4-codecs-tw/distinfo6
-rw-r--r--databases/qt4-ibase-plugin/Makefile5
-rw-r--r--databases/qt4-ibase-plugin/distinfo6
-rw-r--r--databases/qt4-ibase-plugin/files/Makefile.bsd7
-rw-r--r--databases/qt4-mysql-plugin/Makefile5
-rw-r--r--databases/qt4-mysql-plugin/distinfo6
-rw-r--r--databases/qt4-mysql-plugin/files/Makefile.bsd11
-rw-r--r--databases/qt4-odbc-plugin/Makefile7
-rw-r--r--databases/qt4-odbc-plugin/distinfo6
-rw-r--r--databases/qt4-odbc-plugin/files/Makefile.bsd8
-rw-r--r--databases/qt4-odbc-plugin/files/patch-src-sql-drivers-odbc-qsql_odbc.cpp20
-rw-r--r--databases/qt4-pgsql-plugin/Makefile5
-rw-r--r--databases/qt4-pgsql-plugin/distinfo6
-rw-r--r--databases/qt4-pgsql-plugin/files/Makefile.bsd6
-rw-r--r--databases/qt4-sql/Makefile1
-rw-r--r--databases/qt4-sql/distinfo6
-rw-r--r--databases/qt4-sql/pkg-plist18
-rw-r--r--databases/qt4-sqlite-plugin/Makefile5
-rw-r--r--databases/qt4-sqlite-plugin/distinfo6
-rw-r--r--databases/qt4-sqlite-plugin/files/Makefile.bsd8
-rw-r--r--databases/qt4-sqlite3-plugin/Makefile5
-rw-r--r--databases/qt4-sqlite3-plugin/distinfo6
-rw-r--r--databases/qt4-sqlite3-plugin/files/Makefile.bsd6
-rw-r--r--devel/Makefile1
-rw-r--r--devel/dbus-qt4/Makefile1
-rw-r--r--devel/dbus-qt4/distinfo6
-rw-r--r--devel/dbus-qt4/pkg-plist14
-rw-r--r--devel/qmake/Makefile75
-rw-r--r--devel/qmake/distinfo6
-rw-r--r--devel/qmake/files/Makefile.bsd22
-rw-r--r--devel/qmake/files/qconfig.cpp22
-rw-r--r--devel/qmake/pkg-descr2
-rw-r--r--devel/qmake/pkg-plist644
-rw-r--r--devel/qt4-assistant-adp/Makefile1
-rw-r--r--devel/qt4-assistant-adp/distinfo6
-rw-r--r--devel/qt4-assistant/Makefile5
-rw-r--r--devel/qt4-assistant/distinfo6
-rw-r--r--devel/qt4-corelib/Makefile23
-rw-r--r--devel/qt4-corelib/distinfo6
-rw-r--r--devel/qt4-corelib/files/patch-src__corelib__codecs__qiconvcodec.cpp11
-rw-r--r--devel/qt4-corelib/files/qconfig.h.in42
-rw-r--r--devel/qt4-corelib/pkg-message16
-rw-r--r--devel/qt4-corelib/pkg-plist23
-rw-r--r--devel/qt4-designer/Makefile3
-rw-r--r--devel/qt4-designer/distinfo6
-rw-r--r--devel/qt4-designer/pkg-plist13
-rw-r--r--devel/qt4-help-tools/Makefile1
-rw-r--r--devel/qt4-help-tools/distinfo6
-rw-r--r--devel/qt4-help/Makefile1
-rw-r--r--devel/qt4-help/distinfo6
-rw-r--r--devel/qt4-help/pkg-plist6
-rw-r--r--devel/qt4-libqtassistantclient/Makefile1
-rw-r--r--devel/qt4-libqtassistantclient/distinfo6
-rw-r--r--devel/qt4-libqtassistantclient/pkg-plist6
-rw-r--r--devel/qt4-linguist/Makefile1
-rw-r--r--devel/qt4-linguist/distinfo6
-rw-r--r--devel/qt4-linguist/files/patch-0185-fix-format-strings.diff16
-rw-r--r--devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp11
-rw-r--r--devel/qt4-linguist/pkg-plist2
-rw-r--r--devel/qt4-makeqpf/Makefile1
-rw-r--r--devel/qt4-makeqpf/distinfo6
-rw-r--r--devel/qt4-moc/Makefile6
-rw-r--r--devel/qt4-moc/distinfo6
-rw-r--r--devel/qt4-porting/Makefile1
-rw-r--r--devel/qt4-porting/distinfo6
-rw-r--r--devel/qt4-qdbusviewer/Makefile8
-rw-r--r--devel/qt4-qdbusviewer/distinfo6
-rw-r--r--devel/qt4-qt3support/Makefile1
-rw-r--r--devel/qt4-qt3support/distinfo6
-rw-r--r--devel/qt4-qt3support/pkg-plist6
-rw-r--r--devel/qt4-qtestlib/Makefile1
-rw-r--r--devel/qt4-qtestlib/distinfo6
-rw-r--r--devel/qt4-qtestlib/pkg-plist8
-rw-r--r--devel/qt4-qvfb/Makefile5
-rw-r--r--devel/qt4-qvfb/distinfo6
-rw-r--r--devel/qt4-rcc/Makefile4
-rw-r--r--devel/qt4-rcc/distinfo6
-rw-r--r--devel/qt4-script/Makefile1
-rw-r--r--devel/qt4-script/distinfo6
-rw-r--r--devel/qt4-script/pkg-plist7
-rw-r--r--devel/qt4-scripttools/Makefile61
-rw-r--r--devel/qt4-scripttools/distinfo3
-rw-r--r--devel/qt4-scripttools/pkg-descr12
-rw-r--r--devel/qt4-scripttools/pkg-plist14
-rw-r--r--devel/qt4-uic/Makefile4
-rw-r--r--devel/qt4-uic/distinfo6
-rw-r--r--devel/qt4-uic3/Makefile1
-rw-r--r--devel/qt4-uic3/distinfo6
-rw-r--r--devel/qt4/Makefile6
-rw-r--r--devel/qt4/files/Makefile.options15
-rw-r--r--devel/qt4/files/configure1581
-rw-r--r--devel/qt4/files/extrapatch-configure123
-rw-r--r--graphics/qt4-iconengines/Makefile25
-rw-r--r--graphics/qt4-iconengines/distinfo6
-rw-r--r--graphics/qt4-iconengines/pkg-plist16
-rw-r--r--graphics/qt4-imageformats/Makefile3
-rw-r--r--graphics/qt4-imageformats/distinfo6
-rw-r--r--graphics/qt4-pixeltool/Makefile1
-rw-r--r--graphics/qt4-pixeltool/distinfo6
-rw-r--r--graphics/qt4-svg/Makefile1
-rw-r--r--graphics/qt4-svg/distinfo6
-rw-r--r--graphics/qt4-svg/pkg-plist6
-rw-r--r--japanese/qt4-codecs-jp/distinfo6
-rw-r--r--korean/qt4-codecs-kr/Makefile2
-rw-r--r--korean/qt4-codecs-kr/distinfo6
-rw-r--r--misc/qt4-doc/distinfo6
-rw-r--r--misc/qt4-doc/pkg-plist499
-rw-r--r--misc/qt4-l10n/distinfo6
-rw-r--r--misc/qt4-l10n/pkg-plist13
-rw-r--r--misc/qt4-qtconfig/distinfo6
-rw-r--r--misc/qt4-qtdemo/Makefile2
-rw-r--r--misc/qt4-qtdemo/distinfo6
-rw-r--r--misc/qt4-qtdemo/pkg-plist429
-rw-r--r--multimedia/qt4-phonon-gst/distinfo6
-rw-r--r--multimedia/qt4-phonon-gst/pkg-plist1
-rw-r--r--multimedia/qt4-phonon/Makefile21
-rw-r--r--multimedia/qt4-phonon/distinfo6
-rw-r--r--multimedia/qt4-phonon/pkg-plist53
-rw-r--r--net/qt4-network/Makefile1
-rw-r--r--net/qt4-network/distinfo6
-rw-r--r--net/qt4-network/pkg-plist15
-rw-r--r--textproc/qt4-clucene/Makefile1
-rw-r--r--textproc/qt4-clucene/distinfo6
-rw-r--r--textproc/qt4-clucene/pkg-plist6
-rw-r--r--textproc/qt4-xml/Makefile1
-rw-r--r--textproc/qt4-xml/distinfo6
-rw-r--r--textproc/qt4-xml/pkg-plist6
-rw-r--r--textproc/qt4-xmlpatterns-tool/Makefile1
-rw-r--r--textproc/qt4-xmlpatterns-tool/distinfo6
-rw-r--r--textproc/qt4-xmlpatterns/Makefile1
-rw-r--r--textproc/qt4-xmlpatterns/distinfo6
-rw-r--r--textproc/qt4-xmlpatterns/pkg-plist6
-rw-r--r--www/qt4-webkit/Makefile13
-rw-r--r--www/qt4-webkit/distinfo6
-rw-r--r--www/qt4-webkit/files/patch-JavaScriptCore-wtf-Threading.h31
-rw-r--r--www/qt4-webkit/pkg-plist12
-rw-r--r--x11-toolkits/qt4-gui/Makefile30
-rw-r--r--x11-toolkits/qt4-gui/distinfo6
-rw-r--r--x11-toolkits/qt4-gui/files/patch-0256-fix-recursive-backingstore-sync-crash40
-rw-r--r--x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp15
-rw-r--r--x11-toolkits/qt4-gui/pkg-plist15
-rw-r--r--x11/qt4-inputmethods/Makefile1
-rw-r--r--x11/qt4-inputmethods/distinfo6
-rw-r--r--x11/qt4-opengl/Makefile4
-rw-r--r--x11/qt4-opengl/distinfo6
-rw-r--r--x11/qt4-opengl/pkg-plist8
151 files changed, 3101 insertions, 1557 deletions
diff --git a/Mk/bsd.qt.mk b/Mk/bsd.qt.mk
index abe3aebe837c..101ca9ad7dda 100644
--- a/Mk/bsd.qt.mk
+++ b/Mk/bsd.qt.mk
@@ -21,11 +21,12 @@ MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
.if defined(QT_DIST)
#CONFLICTS+= Currently there are no conflicts \o/
-CONFIGURE_ARGS+=-fast ${CUPS} -platform ${QMAKESPEC} \
+CONFIGURE_ARGS+=-fast -platform ${QMAKESPEC} \
-L${PREFIX}/${QT_LIBDIR_REL} \
-qt-gif -system-libjpeg -system-libpng \
-system-libmng -system-libtiff -system-zlib \
- -confirm-license \
+ -opensource -confirm-license \
+ -no-pch \
-prefix ${PREFIX} \
-bindir ${PREFIX}/bin \
-libdir ${PREFIX}/${QT_LIBDIR_REL} \
@@ -42,9 +43,9 @@ CONFIGURE_ARGS+=-fast ${CUPS} -platform ${QMAKESPEC} \
CONFIGURE_ARGS+=-no-mmx -no-3dnow -no-sse -no-sse2
.endif #defined(PACKAGE_BUILDING)
-.if defined(PORTNAME) && ${PORTNAME} != "xmlpatterns"
-CONFIGURE_ARGS+=-no-exceptions
-.endif
+# .if defined(PORTNAME) && ${PORTNAME} != "xmlpatterns"
+# CONFIGURE_ARGS+=-no-exceptions
+# .endif
.if defined(WANT_QT_DEBUG)
CONFIGURE_ARGS+=-debug
@@ -94,14 +95,14 @@ QTCGFLIBS?=
# QT4 version
# Don't forget to update ${PORTSDIR}/devel/qt4/files/configure !
#
-QT4_VERSION?= 4.4.3
+QT4_VERSION?= 4.5.2
_QT_COMPONENTS_ALL= accessible assistant assistant-adp assistantclient \
clucene codecs-cn codecs-jp codecs-kr codecs-tw corelib \
dbus designer doc help help-tools gui iconengines imageformats \
inputmethods linguist l10n makeqpf moc network opengl \
pixeltool porting phonon phonon-gst qdbusviewer \
- qmake qt3support qtconfig qtestlib qvfb rcc script \
+ qmake qt3support qtconfig qtestlib qvfb rcc script scripttools \
sql svg uic uic3 webkit xml xmlpatterns xmlpatterns-tool
accessible_DEPENDS= accessibility/qt4-accessible
@@ -142,6 +143,7 @@ qtestlib_DEPENDS= devel/qt4-qtestlib
qvfb_DEPENDS= devel/qt4-qvfb
rcc_DEPENDS= devel/qt4-rcc
script_DEPENDS= devel/qt4-script
+scripttools_DEPENDS= devel/qt4-scripttools
sql_DEPENDS= databases/qt4-sql
svg_DEPENDS= graphics/qt4-svg
uic_DEPENDS= devel/qt4-uic
@@ -151,104 +153,12 @@ xml_DEPENDS= textproc/qt4-xml
xmlpatterns_DEPENDS= textproc/qt4-xmlpatterns
xmlpatterns-tool_DEPENDS= textproc/qt4-xmlpatterns-tool
-accessible_build_DEPENDS= ${accessible_DEPENDS}
-assistant_build_DEPENDS= ${assistant_DEPENDS}
-assistant-adp_build_DEPENDS= ${assistant-adp_DEPENDS}
-assistantclient_build_DEPENDS= ${assistantclient_DEPENDS}
-assistantclient_build_NAME= ${assistantclient_NAME}
-clucene_build_DEPENDS= ${clucene_DEPENDS}
-codecs-cn_build_DEPENDS= ${codecs-cn_DEPENDS}
-codecs-jp_build_DEPENDS= ${codecs-jp_DEPENDS}
-codecs-kr_build_DEPENDS= ${codecs-kr_DEPENDS}
-codecs-tw_build_DEPENDS= ${codecs-tw_DEPENDS}
-corelib_build_DEPENDS= ${corelib_DEPENDS}
-dbus_build_DEPENDS= ${dbus_DEPENDS}
-designer_build_DEPENDS= ${designer_DEPENDS}
-doc_build_DEPENDS= ${doc_DEPENDS}
-gui_build_DEPENDS= ${gui_DEPENDS}
-help_build_DEPENDS= ${help_DEPENDS}
-help-tools_build_DEPENDS= ${help-tools_DEPENDS}
-iconengines_build_DEPENDS= ${iconengines_DEPENDS}
-imageformats_build_DEPENDS= ${imageformats_DEPENDS}
-inputmethods_build_DEPENDS= ${inputmethods_DEPENDS}
-linguist_build_DEPENDS= ${linguist_DEPENDS}
-l10n_build_DEPENDS= ${l10n_DEPENDS}
-makeqpf_build_DEPENDS= ${makeqpf_DEPENDS}
-moc_build_DEPENDS= ${moc_DEPENDS}
-network_build_DEPENDS= ${network_DEPENDS}
-opengl_build_DEPENDS= ${opengl_DEPENDS}
-pixeltool_build_DEPENDS= ${pixeltool_DEPENDS}
-phonon_build_DEPENDS= ${phonon_DEPENDS}
-phonon-gst_build_DEPENDS= ${phonon-gst_DEPENDS}
-porting_build_DEPENDS= ${porting_DEPENDS}
-qdbusviewer_build_DEPENDS= ${qdbusviewer_DEPENDS}
-qmake_build_DEPENDS= ${qmake_DEPENDS}
-qt3support_build_DEPENDS= ${qt3support_DEPENDS}
-qtconfig_build_DEPENDS= ${qtconfig_DEPENDS}
-qtestlib_build_DEPENDS= ${qtestlib_DEPENDS}
-qvfb_build_DEPENDS= ${qvfb_DEPENDS}
-rcc_build_DEPENDS= ${rcc_DEPENDS}
-script_build_DEPENDS= ${script_DEPENDS}
-sql_build_DEPENDS= ${sql_DEPENDS}
-svg_build_DEPENDS= ${svg_DEPENDS}
-uic_build_DEPENDS= ${uic_DEPENDS}
-uic3_build_DEPENDS= ${uic3_DEPENDS}
-webkit_build_DEPENDS= ${webkit_DEPENDS}
-xml_build_DEPENDS= ${xml_DEPENDS}
-xmlpatterns_build_DEPENDS= ${xmlpatterns_DEPENDS}
-xmlpatterns-tool_build_DEPENDS= ${xmlpatterns-tool_DEPENDS}
-
-accessible_run_DEPENDS= ${accessible_DEPENDS}
-assistant_run_DEPENDS= ${assistant_DEPENDS}
-assistant-adp_run_DEPENDS= ${assistant-adp_DEPENDS}
-assistantclient_run_DEPENDS= ${assistantclient_DEPENDS}
-assistantclient_run_NAME= ${assistantclient_NAME}
-clucene_run_DEPENDS= ${clucene_DEPENDS}
-codecs-cn_run_DEPENDS= ${codecs-cn_DEPENDS}
-codecs-jp_run_DEPENDS= ${codecs-jp_DEPENDS}
-codecs-kr_run_DEPENDS= ${codecs-kr_DEPENDS}
-codecs-tw_run_DEPENDS= ${codecs-tw_DEPENDS}
-corelib_run_DEPENDS= ${corelib_DEPENDS}
-dbus_run_DEPENDS= ${dbus_DEPENDS}
-designer_run_DEPENDS= ${designer_DEPENDS}
-doc_run_DEPENDS= ${doc_DEPENDS}
-gui_run_DEPENDS= ${gui_DEPENDS}
-help_run_DEPENDS= ${help_DEPENDS}
-help-tools_run_DEPENDS= ${help-tools_DEPENDS}
-iconengines_run_DEPENDS= ${iconengines_DEPENDS}
-imageformats_run_DEPENDS= ${imageformats_DEPENDS}
-inputmethods_run_DEPENDS= ${inputmethods_DEPENDS}
-linguist_run_DEPENDS= ${linguist_DEPENDS}
-l10n_run_DEPENDS= ${l10n_DEPENDS}
-makeqpf_run_DEPENDS= ${makeqpf_DEPENDS}
-moc_run_DEPENDS= ${moc_DEPENDS}
-network_run_DEPENDS= ${network_DEPENDS}
-opengl_run_DEPENDS= ${opengl_DEPENDS}
-pixeltool_run_DEPENDS= ${pixeltool_DEPENDS}
-phonon_run_DEPENDS= ${phonon_DEPENDS}
-phonon-gst_run_DEPENDS= ${phonon-gst_DEPENDS}
-porting_run_DEPENDS= ${porting_DEPENDS}
-qdbusviewer_run_DEPENDS= ${qdbusviewer_DEPENDS}
-qmake_run_DEPENDS= ${qmake_DEPENDS}
-qt3support_run_DEPENDS= ${qt3support_DEPENDS}
-qtconfig_run_DEPENDS= ${qtconfig_DEPENDS}
-qtestlib_run_DEPENDS= ${qtestlib_DEPENDS}
-qvfb_run_DEPENDS= ${qvfb_DEPENDS}
-rcc_run_DEPENDS= ${rcc_DEPENDS}
-script_run_DEPENDS= ${script_DEPENDS}
-sql_run_DEPENDS= ${sql_DEPENDS}
-svg_run_DEPENDS= ${svg_DEPENDS}
-uic_run_DEPENDS= ${uic_DEPENDS}
-uic3_run_DEPENDS= ${uic3_DEPENDS}
-webkit_run_DEPENDS= ${webkit_DEPENDS}
-xml_run_DEPENDS= ${xml_DEPENDS}
-xmlpatterns_run_DEPENDS= ${xmlpatterns_DEPENDS}
-xmlpatterns-tool_run_DEPENDS= ${xmlpatterns-tool_DEPENDS}
-
.if defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include)
Qt_Post_Include= bsd.qt.mk
.for component in ${_QT_COMPONENTS_ALL}
+${component}_build_DEPENDS= ${${component}_DEPENDS}
+${component}_run_DEPENDS= ${${component}_DEPENDS}
_QT_COMPONENTS_SUFFIXED+=${component} ${component}_build ${component}_run
.endfor
diff --git a/accessibility/qt4-accessible/Makefile b/accessibility/qt4-accessible/Makefile
index 4614aa70a0f7..1a7b82499fd7 100644
--- a/accessibility/qt4-accessible/Makefile
+++ b/accessibility/qt4-accessible/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build qt3support corelib gui network sql xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAVE= yes
HAS_CONFIGURE= yes
diff --git a/accessibility/qt4-accessible/distinfo b/accessibility/qt4-accessible/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/accessibility/qt4-accessible/distinfo
+++ b/accessibility/qt4-accessible/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/chinese/qt4-codecs-cn/distinfo b/chinese/qt4-codecs-cn/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/chinese/qt4-codecs-cn/distinfo
+++ b/chinese/qt4-codecs-cn/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/chinese/qt4-codecs-tw/Makefile b/chinese/qt4-codecs-tw/Makefile
index accefb9a47e3..c6f7d2679551 100644
--- a/chinese/qt4-codecs-tw/Makefile
+++ b/chinese/qt4-codecs-tw/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
-DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
+DO_NOT_EXTRACT= demos doc examples qmake tools translations \
src/dbus src/gui src/network src/opengl src/phonon \
src/qt3support src/script src/sql src/svg src/testlib \
src/tools src/xml src/xmlpatterns src/3rdparty/clucene \
@@ -48,4 +48,7 @@ pre-configure:
${MKDIR} ${WRKSRC}/../../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../../bin/qmake
+post-configure:
+ ${REINPLACE_CMD} -e 's|(test -z.*||g' ${WRKSRC}/Makefile
+
.include <bsd.port.mk>
diff --git a/chinese/qt4-codecs-tw/distinfo b/chinese/qt4-codecs-tw/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/chinese/qt4-codecs-tw/distinfo
+++ b/chinese/qt4-codecs-tw/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-ibase-plugin/Makefile b/databases/qt4-ibase-plugin/Makefile
index d19f3495a5d2..269f3f2786cc 100644
--- a/databases/qt4-ibase-plugin/Makefile
+++ b/databases/qt4-ibase-plugin/Makefile
@@ -22,6 +22,7 @@ USE_FIREBIRD= yes
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
@@ -33,7 +34,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-ibase-plugin/distinfo b/databases/qt4-ibase-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-ibase-plugin/distinfo
+++ b/databases/qt4-ibase-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-ibase-plugin/files/Makefile.bsd b/databases/qt4-ibase-plugin/files/Makefile.bsd
index 386176f80cd8..4b914de42cf9 100644
--- a/databases/qt4-ibase-plugin/files/Makefile.bsd
+++ b/databases/qt4-ibase-plugin/files/Makefile.bsd
@@ -2,14 +2,15 @@ SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} -Iinclude \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
+ -I${QT_INCDIR}/QtCore \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE -DQT_SHARED
MOC?= ${LOCALBASE}/bin/moc-qt4
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lgds
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lgds
SRCS= main.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers
diff --git a/databases/qt4-mysql-plugin/Makefile b/databases/qt4-mysql-plugin/Makefile
index 786e5919713b..3ed443b2d405 100644
--- a/databases/qt4-mysql-plugin/Makefile
+++ b/databases/qt4-mysql-plugin/Makefile
@@ -21,6 +21,7 @@ DB= mysql
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
USE_MYSQL= yes
DRIVER= src/sql/drivers/${DB}
@@ -32,7 +33,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-mysql-plugin/distinfo b/databases/qt4-mysql-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-mysql-plugin/distinfo
+++ b/databases/qt4-mysql-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-mysql-plugin/files/Makefile.bsd b/databases/qt4-mysql-plugin/files/Makefile.bsd
index eb565d0992f9..09c2a81bab7b 100644
--- a/databases/qt4-mysql-plugin/files/Makefile.bsd
+++ b/databases/qt4-mysql-plugin/files/Makefile.bsd
@@ -2,15 +2,15 @@ SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
-I${LOCALBASE}/include/mysql \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN \
-DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql ${PTHREAD_LIBS} -lQtSql -lmysqlclient_r
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql ${PTHREAD_LIBS} -lQtSql -lmysqlclient_r
MOC?= ${LOCALBASE}/bin/moc-qt4
-SRCS= main.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
+SRCS= main.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp qsql_${DB}.moc
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers
@@ -20,6 +20,9 @@ ${LIBDIR}:
moc_qsql_${DB}.cpp: qsql_${DB}.h
$(MOC) $(.ALLSRC) -o $(.TARGET)
+qsql_${DB}.moc: qsql_${DB}.cpp
+ $(MOC) $(.ALLSRC) -o ${DRIVER}/$(.TARGET)
+
beforeinstall: ${LIBDIR}
.include <bsd.lib.mk>
diff --git a/databases/qt4-odbc-plugin/Makefile b/databases/qt4-odbc-plugin/Makefile
index 8e698e6e0c07..9d36ac6fc363 100644
--- a/databases/qt4-odbc-plugin/Makefile
+++ b/databases/qt4-odbc-plugin/Makefile
@@ -8,7 +8,6 @@
PORTNAME= qt4-${DB}-plugin
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_QT}
DISTNAME= qt-x11-opensource-src-${PORTVERSION}
@@ -20,11 +19,11 @@ COMMENT= Qt ODBC database plugin
DB= odbc
LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
-BUILD_DEPENDS= unixODBC>=2.2.14_1:${PORTSDIR}/databases/unixODBC
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
@@ -35,7 +34,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-odbc-plugin/distinfo b/databases/qt4-odbc-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-odbc-plugin/distinfo
+++ b/databases/qt4-odbc-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-odbc-plugin/files/Makefile.bsd b/databases/qt4-odbc-plugin/files/Makefile.bsd
index 40f018c8a8c4..0c73245937a5 100644
--- a/databases/qt4-odbc-plugin/files/Makefile.bsd
+++ b/databases/qt4-odbc-plugin/files/Makefile.bsd
@@ -2,13 +2,15 @@ SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
+ -I${QT_INCDIR}/QtCore \
+ -I${QT_INCDIR}/QtSql \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE -DQT_SHARED
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lodbc
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lodbc
MOC?= ${LOCALBASE}/bin/moc-qt4
SRCS= main.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
diff --git a/databases/qt4-odbc-plugin/files/patch-src-sql-drivers-odbc-qsql_odbc.cpp b/databases/qt4-odbc-plugin/files/patch-src-sql-drivers-odbc-qsql_odbc.cpp
deleted file mode 100644
index 9f1d284aa97a..000000000000
--- a/databases/qt4-odbc-plugin/files/patch-src-sql-drivers-odbc-qsql_odbc.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-01-27 00:11:47.000000000 +0600
-+++ src/sql/drivers/odbc/qsql_odbc.cpp 2009-01-27 00:12:12.000000000 +0600
-@@ -64,17 +64,8 @@
- #endif
-
- // newer platform SDKs use SQLLEN instead of SQLINTEGER
--#if defined(SQLLEN) || defined(Q_OS_WIN64)
- # define QSQLLEN SQLLEN
--#else
--# define QSQLLEN SQLINTEGER
--#endif
--
--#if defined(SQLULEN) || defined(Q_OS_WIN64)
- # define QSQLULEN SQLULEN
--#else
--# define QSQLULEN SQLUINTEGER
--#endif
-
- static const int COLNAMESIZE = 256;
- //Map Qt parameter types to ODBC types
diff --git a/databases/qt4-pgsql-plugin/Makefile b/databases/qt4-pgsql-plugin/Makefile
index b2acc142aa20..3126f98522c2 100644
--- a/databases/qt4-pgsql-plugin/Makefile
+++ b/databases/qt4-pgsql-plugin/Makefile
@@ -21,6 +21,7 @@ DB= psql
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
USE_PGSQL= yes
DRIVER= src/sql/drivers/${DB}
@@ -32,7 +33,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-pgsql-plugin/distinfo b/databases/qt4-pgsql-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-pgsql-plugin/distinfo
+++ b/databases/qt4-pgsql-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-pgsql-plugin/files/Makefile.bsd b/databases/qt4-pgsql-plugin/files/Makefile.bsd
index 545a2eee5ad1..9506edf39bec 100644
--- a/databases/qt4-pgsql-plugin/files/Makefile.bsd
+++ b/databases/qt4-pgsql-plugin/files/Makefile.bsd
@@ -2,15 +2,15 @@ SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
-I${LOCALBASE}/include/postgresql/server \
-I${LOCALBASE}/include -I${X11BASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE -DQT_SHARED
MOC?= ${LOCALBASE}/bin/moc-qt4
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lpq
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lpq
SRCS= main.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers
diff --git a/databases/qt4-sql/Makefile b/databases/qt4-sql/Makefile
index fe9c32bb47aa..a12aecd55721 100644
--- a/databases/qt4-sql/Makefile
+++ b/databases/qt4-sql/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAVE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/databases/qt4-sql/distinfo b/databases/qt4-sql/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-sql/distinfo
+++ b/databases/qt4-sql/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-sql/pkg-plist b/databases/qt4-sql/pkg-plist
index c6a83f9f5715..910d43aecc41 100644
--- a/databases/qt4-sql/pkg-plist
+++ b/databases/qt4-sql/pkg-plist
@@ -1,5 +1,8 @@
include/qt4/Qt/QtSql
include/qt4/Qt/qsql.h
+include/qt4/Qt/qsql_db2.h
+include/qt4/Qt/qsql_oci.h
+include/qt4/Qt/qsql_tds.h
include/qt4/Qt/qsql_ibase.h
include/qt4/Qt/qsql_mysql.h
include/qt4/Qt/qsql_odbc.h
@@ -52,6 +55,15 @@ include/qt4/QtSql/QtSql
include/qt4/QtSql/qsql.h
include/qt4/QtSql/qsql_ibase.h
include/qt4/QtSql/qsql_mysql.h
+include/qt4/QtSql/qsql_db2.h
+include/qt4/QtSql/qsql_oci.h
+include/qt4/QtSql/qsql_tds.h
+include/qt4/QtSql/QDB2Result
+include/qt4/QtSql/QDB2Driver
+include/qt4/QtSql/QOCIResult
+include/qt4/QtSql/QOCIDriver
+include/qt4/QtSql/QTDSResult
+include/qt4/QtSql/QTDSDriver
include/qt4/QtSql/qsql_odbc.h
include/qt4/QtSql/qsql_psql.h
include/qt4/QtSql/qsql_sqlite.h
@@ -73,9 +85,9 @@ lib/qt4/libQtSql.la
lib/qt4/libQtSql.prl
lib/qt4/libQtSql.so
lib/qt4/libQtSql.so.4
-lib/qt4/libQtSql.so.4.4
-lib/qt4/libQtSql.so.4.4.3
-%%DEBUG%%lib/qt4/libQtSql.so.4.4.3.debug
+lib/qt4/libQtSql.so.4.5
+lib/qt4/libQtSql.so.4.5.2
+%%DEBUG%%lib/qt4/libQtSql.so.4.5.2.debug
libdata/pkgconfig/QtSql.pc
@dirrm include/qt4/QtSql
@dirrmtry include/qt4/Qt
diff --git a/databases/qt4-sqlite-plugin/Makefile b/databases/qt4-sqlite-plugin/Makefile
index 81e5df5adbe3..7dda02b71008 100644
--- a/databases/qt4-sqlite-plugin/Makefile
+++ b/databases/qt4-sqlite-plugin/Makefile
@@ -23,6 +23,7 @@ LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
@@ -34,7 +35,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-sqlite-plugin/distinfo b/databases/qt4-sqlite-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-sqlite-plugin/distinfo
+++ b/databases/qt4-sqlite-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-sqlite-plugin/files/Makefile.bsd b/databases/qt4-sqlite-plugin/files/Makefile.bsd
index 8b6871981c70..8ce538749a95 100644
--- a/databases/qt4-sqlite-plugin/files/Makefile.bsd
+++ b/databases/qt4-sqlite-plugin/files/Makefile.bsd
@@ -2,14 +2,14 @@ SHLIB_NAME= libq${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} -Iinclude \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE -DQT_SHARED
-MOC?= ${PREFIX}/bin/moc-qt4
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite
+MOC?= ${LOCALBASE}/bin/moc-qt4
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite
SRCS= smain.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers
diff --git a/databases/qt4-sqlite3-plugin/Makefile b/databases/qt4-sqlite3-plugin/Makefile
index ddbe338211ff..0a0389442dde 100644
--- a/databases/qt4-sqlite3-plugin/Makefile
+++ b/databases/qt4-sqlite3-plugin/Makefile
@@ -23,6 +23,7 @@ LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
@@ -34,7 +35,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-sqlite3-plugin/distinfo b/databases/qt4-sqlite3-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-sqlite3-plugin/distinfo
+++ b/databases/qt4-sqlite3-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-sqlite3-plugin/files/Makefile.bsd b/databases/qt4-sqlite3-plugin/files/Makefile.bsd
index f3b0e7bd4749..293786a04b1d 100644
--- a/databases/qt4-sqlite3-plugin/files/Makefile.bsd
+++ b/databases/qt4-sqlite3-plugin/files/Makefile.bsd
@@ -2,14 +2,14 @@ SHLIB_NAME= libq${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} -Iinclude \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE -DQT_SHARED
MOC?= ${LOCALBASE}/bin/moc-qt4
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite3
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite3
SRCS= smain.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers
diff --git a/devel/Makefile b/devel/Makefile
index d6ca23568257..e925f0251a1f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2549,6 +2549,7 @@
SUBDIR += qt4-qvfb
SUBDIR += qt4-rcc
SUBDIR += qt4-script
+ SUBDIR += qt4-scripttools
SUBDIR += qt4-uic
SUBDIR += qt4-uic3
SUBDIR += quilt
diff --git a/devel/dbus-qt4/Makefile b/devel/dbus-qt4/Makefile
index 2d0323eaf7f6..e222c6073c78 100644
--- a/devel/dbus-qt4/Makefile
+++ b/devel/dbus-qt4/Makefile
@@ -25,7 +25,6 @@ QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui xml
QT_NONSTANDARD= yes
QT_DIST= yes
MAKE_JOBS_UNSAFE= yes
-
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/devel/dbus-qt4/distinfo b/devel/dbus-qt4/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/dbus-qt4/distinfo
+++ b/devel/dbus-qt4/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/dbus-qt4/pkg-plist b/devel/dbus-qt4/pkg-plist
index 10c9fea69c2c..d989979ee813 100644
--- a/devel/dbus-qt4/pkg-plist
+++ b/devel/dbus-qt4/pkg-plist
@@ -19,6 +19,8 @@ include/qt4/Qt/qdbusmessage.h
include/qt4/Qt/qdbusmetatype.h
include/qt4/Qt/qdbusreply.h
include/qt4/Qt/qdbusserver.h
+include/qt4/Qt/qdbuspendingcall.h
+include/qt4/Qt/qdbuspendingreply.h
include/qt4/QtDBus/QDBusAbstractAdaptor
include/qt4/QtDBus/QDBusAbstractInterface
include/qt4/QtDBus/QDBusArgument
@@ -35,6 +37,10 @@ include/qt4/QtDBus/QDBusServer
include/qt4/QtDBus/QDBusSignature
include/qt4/QtDBus/QDBusVariant
include/qt4/QtDBus/QtDBus
+include/qt4/QtDBus/QDBusPendingCall
+include/qt4/QtDBus/QDBusPendingCallWatcher
+include/qt4/QtDBus/QDBusPendingReplyData
+include/qt4/QtDBus/QDBusPendingReply
include/qt4/QtDBus/qdbusabstractadaptor.h
include/qt4/QtDBus/qdbusabstractinterface.h
include/qt4/QtDBus/qdbusargument.h
@@ -47,15 +53,17 @@ include/qt4/QtDBus/qdbusinterface.h
include/qt4/QtDBus/qdbusmacros.h
include/qt4/QtDBus/qdbusmessage.h
include/qt4/QtDBus/qdbusmetatype.h
+include/qt4/QtDBus/qdbuspendingcall.h
+include/qt4/QtDBus/qdbuspendingreply.h
include/qt4/QtDBus/qdbusreply.h
include/qt4/QtDBus/qdbusserver.h
lib/qt4/libQtDBus.la
lib/qt4/libQtDBus.prl
lib/qt4/libQtDBus.so
lib/qt4/libQtDBus.so.4
-lib/qt4/libQtDBus.so.4.4
-lib/qt4/libQtDBus.so.4.4.3
-%%DEBUG%%lib/qt4/libQtDBus.so.4.4.3.debug
+lib/qt4/libQtDBus.so.4.5
+lib/qt4/libQtDBus.so.4.5.2
+%%DEBUG%%lib/qt4/libQtDBus.so.4.5.2.debug
libdata/pkgconfig/QtDBus.pc
@dirrm include/qt4/QtDBus
@dirrmtry include/qt4/Qt
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
index eaeb1c63cf5e..da3046f89877 100644
--- a/devel/qmake/Makefile
+++ b/devel/qmake/Makefile
@@ -1,69 +1,84 @@
-# New ports collection makefile for: qmake
-# Date created: 2 September 2003
-# Whom: mi@aldan.algebra.com
+# New ports collection makefile for: qmake-4
+# Date created: Tue Jul 12 16:04:29 UTC 2005
+# Whom: lofi@freebsd.org,
+# mi@aldan.algebra.com
#
# $FreeBSD$
-#
PORTNAME= qmake
-PORTVERSION= 3.3.8
-PORTREVISION= 1
+PORTVERSION= ${QT4_VERSION}
+PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_QT}
-DISTNAME= qt-x11-free-${PORTVERSION}
+PKGNAMEPREFIX= qt4-
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
DIST_SUBDIR= KDE
-MAINTAINER= mi@aldan.algebra.com
+MAINTAINER= kde@FreeBSD.org
COMMENT= The build utility of the Qt project
+QT_NONSTANDARD= yes
REINPLACE_ARGS= -i ""
WRKSRC= ${WRKDIR}/${DISTNAME}/qmake
MAKEFILE= ${FILESDIR}/Makefile.bsd
-ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
-PLIST_SUB+= _PREFIX="${PREFIX}"
MAKE_ENV+= FILESDIR="${FILESDIR}"
-
-USE_BZIP2= yes
+#USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
+ '${DISTNAME}/config.tests/unix/padstring' \
'${DISTNAME}/mkspecs' \
- '${DISTNAME}/src/*/*.h' '${DISTNAME}/qmake' \
- '${DISTNAME}/src/tools'
-
-.if !defined(NOPORTDOCS)
-EXTRACT_AFTER_ARGS+='${DISTNAME}/doc/html/qmake*'
-DOCSDIR=${PREFIX}/share/doc/qt
-PLIST_SUB+= DOCSDIR='${DOCSDIR}'
-post-install:
- ${MKDIR} '${DOCSDIR}'
- ${CP} -Rp '${WRKSRC:H}/doc/html' '${DOCSDIR}'
-.endif
+ '${DISTNAME}/include/*/*' \
+ '${DISTNAME}/src/*/*.h' \
+ '${DISTNAME}/qmake' \
+ '${DISTNAME}/src/corelib/tools' \
+ '${DISTNAME}/src/corelib/io' \
+ '${DISTNAME}/src/corelib/global' \
+ '${DISTNAME}/src/corelib/plugin' \
+ '${DISTNAME}/src/corelib/kernel' \
+ '${DISTNAME}/src/script' \
+ '${DISTNAME}/src/3rdparty/md4' \
+ '${DISTNAME}/src/3rdparty/md5' \
+ '${DISTNAME}/src/3rdparty/sha1'
post-patch:
- @${RM} -fr ${WRKSRC}/examples ${WRKSRC}/tutorial
@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
- -e 's|gcc|${CC}|' \
- -e 's|g++|${CXX}|' \
+ -e 's|gcc.*|${CC}|' \
+ -e 's|g++.*|${CXX}|' \
-e 's|/usr/local|${LOCALBASE}|' \
-e 's|/usr/X11R6|${LOCALBASE}|' \
-e 's|release|release thread|' \
-e 's|-pthread -D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \
-e 's|-pthread|${PTHREAD_LIBS}|' \
- ${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf
+ -e 's|uic|uic-qt4|' \
+ -e 's|moc|moc-qt4|' \
+ ${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf \
+ ${WRKSRC}/../mkspecs/freebsd-g++34/qmake.conf \
+ ${WRKSRC}/../mkspecs/freebsd-g++40/qmake.conf \
+ ${WRKSRC}/../mkspecs/freebsd-icc/qmake.conf
+ @${REINPLACE_CMD} -e 's|include(../common/c++|include(../common/g++.conf)|' \
+ ${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf
@${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
do-configure:
${SED} -e 's|/usr/local|${PREFIX}|g' \
< ${FILESDIR}/qconfig.cpp \
- > ${WRKSRC:H}/src/tools/qconfig.cpp
+ > ${WRKSRC:H}/src/corelib/global/qconfig.cpp
${ECHO} '/* empty */' > ${WRKSRC}/qconfig.h
- ${LN} ${WRKSRC}/qconfig.h ${WRKSRC}/qmodules.h
- ${LN} -s . ${WRKDIR}/${DISTNAME}/src/tools/private
+ ${LN} ${WRKSRC}/qconfig.h ${WRKSRC}/../include/QtCore/qconfig.h
.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../Mk/bsd.qt.mk"
.if ${ARCH} == "alpha"
CXXFLAGS+= -mieee
.endif
+.if ${OSVERSION} < 700042 && ${ARCH} == "amd64"
+CXXFLAGS+= -fno-gcse
+.endif
+
+post-install:
+ ${LN} -sf ${PREFIX}/share/qt4/mkspecs/freebsd-g++ ${PREFIX}/share/qt4/mkspecs/default
+
.include <bsd.port.post.mk>
diff --git a/devel/qmake/distinfo b/devel/qmake/distinfo
index 0a949f0f5ec5..27b0949354e8 100644
--- a/devel/qmake/distinfo
+++ b/devel/qmake/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-free-3.3.8.tar.bz2) = cf3c43a7dfde5bfb76f8001102fe6e85
-SHA256 (KDE/qt-x11-free-3.3.8.tar.bz2) = e8c3f703d00a4e2ab9ba63fd474caa8a9d0aa3d7f1d5451dd162bec9d778a449
-SIZE (KDE/qt-x11-free-3.3.8.tar.bz2) = 14360483
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qmake/files/Makefile.bsd b/devel/qmake/files/Makefile.bsd
index 30c96ae66b1c..08ccc6fb6d8c 100644
--- a/devel/qmake/files/Makefile.bsd
+++ b/devel/qmake/files/Makefile.bsd
@@ -5,13 +5,20 @@ _OBJS!= ${MAKE} -f Makefile.unix -V OBJS -V QOBJS
# next to -DHAVE_CONFIG_CPP below:
#_OBJS:= ${_OBJS:S/qconfig.o//}
SRCS:= ${_OBJS:.o=.cpp}
-NOMAN= true # qmake.1 anyone?
+NO_MAN= true # qmake.1 anyone?
+
+.PATH: ${.CURDIR} ${.CURDIR:H}/src/corelib/tools ${.CURDIR:H}/src/corelib/io \
+ ${.CURDIR:H}/src/corelib/global ${.CURDIR:H}/src/corelib/plugin \
+ ${.CURDIR:H}/src/corelib/kernel ${.CURDIR:H}/src/3rdparty/md5 \
+ ${.CURDIR:H}/src/3rdparty/md4 ${.CURDIR:H}/src/3rdparty/sha1 \
+ ${.CURDIR:H}/src/script
-.PATH: ${.CURDIR} ${.CURDIR:H}/src/tools
CXXFLAGS+=-I${.CURDIR:H}/mkspecs/freebsd-g++
-.for s in tools kernel codecs
-CXXFLAGS+=-I${.CURDIR:H}/src/$s
+.for s in src/corelib/arch/generic src/global src/tools src/kernel src/codecs \
+ src/3rdparty/md5 src/3rdparty/md4 src/3rdparty/sha1 \
+ src/script include/QtCore include
+CXXFLAGS+=-I${.CURDIR:H}/$s
.endfor
.for g in /. /unix /win32 /mac
@@ -22,7 +29,8 @@ CXXFLAGS+=-I${.CURDIR}/generators$g
CXXFLAGS+=-I. -I"${FILESDIR}"
CXXFLAGS+=-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT \
- -DQT_NO_STL -DQT_NO_COMPRESS -DQT_INSTALL_DATA="\"${SHAREDIR}\""
+ -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -DHAVE_QCONFIG_CPP \
+ -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQMAKE_OPENSOURCE_EDITION
# I guess, qconfig.cpp used to be optional, but no longer is -- due to
# bit-rot in Qt sources. So we still have to compile it, but, by not
@@ -30,9 +38,9 @@ CXXFLAGS+=-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT \
# it:
# -DHAVE_QCONFIG_CPP
-PROG_CXX= qmake
+PROG_CXX= qmake-qt4
BINDIR= ${PREFIX}/bin
-SHAREDIR=${PREFIX}/share/qt
+SHAREDIR=${PREFIX}/share/qt4
${SHAREDIR}:
mkdir -p "$@"
diff --git a/devel/qmake/files/qconfig.cpp b/devel/qmake/files/qconfig.cpp
index 3079f2acd576..d662b424fce0 100644
--- a/devel/qmake/files/qconfig.cpp
+++ b/devel/qmake/files/qconfig.cpp
@@ -4,12 +4,16 @@
* The default prefix (/ usr / local) is dynamicly replaced
* at configure time.
*/
-const char *qInstallPath() { return "/usr/local"; }
-const char *qInstallPathDocs() { return "/usr/local/share/doc/qt"; }
-const char *qInstallPathHeaders() { return "/usr/local/include"; }
-const char *qInstallPathLibs() { return "/usr/local/lib"; }
-const char *qInstallPathBins() { return "/usr/local/bin"; }
-const char *qInstallPathPlugins() { return "/usr/local/plugins"; }
-const char *qInstallPathData() { return "/usr/local/share/qt"; }
-const char *qInstallPathTranslations() { return "/usr/local/translations"; }
-const char *qInstallPathSysconf() { return "/usr/local/etc"; }
+#define QT_CONFIGURE_LICENSEE "Open Source";
+#define QT_CONFIGURE_LICENSED_PRODUCTS "OpenSource";
+#define QT_CONFIGURE_PREFIX_PATH "/usr/local";
+#define QT_CONFIGURE_DOCUMENTATION_PATH "/usr/local/share/doc/qt4";
+#define QT_CONFIGURE_HEADERS_PATH "/usr/local/include/qt4";
+#define QT_CONFIGURE_LIBRARIES_PATH "/usr/local/lib/qt4";
+#define QT_CONFIGURE_BINARIES_PATH "/usr/local/bin";
+#define QT_CONFIGURE_PLUGINS_PATH "/usr/local/lib/qt4/plugins";
+#define QT_CONFIGURE_DATA_PATH "/usr/local/share/qt4";
+#define QT_CONFIGURE_TRANSLATIONS_PATH "/usr/local/share/qt4/translations";
+#define QT_CONFIGURE_SETTINGS_PATH "/usr/local/etc/xdg";
+#define QT_CONFIGURE_EXAMPLES_PATH "/usr/local/share/examples/qt4/examples";
+#define QT_CONFIGURE_DEMOS_PATH "/usr/local/share/examples/qt4/demos/";
diff --git a/devel/qmake/pkg-descr b/devel/qmake/pkg-descr
index 9c1e694a6b71..eccbc5d9c1e0 100644
--- a/devel/qmake/pkg-descr
+++ b/devel/qmake/pkg-descr
@@ -3,6 +3,6 @@ developers target all major operating systems with a single application
source code.
Qmake is a project and makefile creating utility, that is part of Qt.
-For ease of maintenance it is split out into a port of its own.
+For ease of maintainance it is split out into a port of its own.
WWW: http://www.trolltech.com/products/qt/index.html
diff --git a/devel/qmake/pkg-plist b/devel/qmake/pkg-plist
index 6eadb5351fe5..fda1a09e3087 100644
--- a/devel/qmake/pkg-plist
+++ b/devel/qmake/pkg-plist
@@ -1,207 +1,437 @@
-bin/qmake
-@comment A bug in pkg_* prevents us from using %D below
-@cwd %%_PREFIX%%/share/qt/mkspecs
-aix-g++-64/qmake.conf
-aix-g++-64/qplatformdefs.h
-aix-g++/qmake.conf
-aix-g++/qplatformdefs.h
-aix-xlc-64/qmake.conf
-aix-xlc-64/qplatformdefs.h
-aix-xlc/qmake.conf
-aix-xlc/qplatformdefs.h
-bsdi-g++/qmake.conf
-bsdi-g++/qplatformdefs.h
-cygwin-g++/qmake.conf
-cygwin-g++/qplatformdefs.h
-darwin-g++/qmake.conf
-darwin-g++/qplatformdefs.h
-dgux-g++/qmake.conf
-dgux-g++/qplatformdefs.h
-freebsd-g++/qmake.conf
-freebsd-g++/qplatformdefs.h
-freebsd-g++34/qmake.conf
-freebsd-g++34/qplatformdefs.h
-freebsd-icc/qmake.conf
-freebsd-icc/qplatformdefs.h
-hpux-acc-64/qmake.conf
-hpux-acc-64/qplatformdefs.h
-hpux-acc-o64/qmake.conf
-hpux-acc-o64/qplatformdefs.h
-hpux-acc/qmake.conf
-hpux-acc/qplatformdefs.h
-hpux-cc/qmake.conf
-hpux-cc/qplatformdefs.h
-hpux-g++-64/qmake.conf
-hpux-g++-64/qplatformdefs.h
-hpux-g++/qmake.conf
-hpux-g++/qplatformdefs.h
-hpuxi-acc-32/qmake.conf
-hpuxi-acc-32/qplatformdefs.h
-hpuxi-acc-64/qmake.conf
-hpuxi-acc-64/qplatformdefs.h
-hurd-g++/qmake.conf
-hurd-g++/qplatformdefs.h
-irix-cc-64/qmake.conf
-irix-cc-64/qplatformdefs.h
-irix-cc-o32/qmake.conf
-irix-cc-o32/qplatformdefs.h
-irix-cc/qmake.conf
-irix-cc/qplatformdefs.h
-irix-g++/qmake.conf
-irix-g++/qplatformdefs.h
-linux-cxx/qmake.conf
-linux-cxx/qplatformdefs.h
-linux-ecc-64/qmake.conf
-linux-ecc-64/qplatformdefs.h
-linux-g++-32/qmake.conf
-linux-g++-32/qplatformdefs.h
-linux-g++-64/qmake.conf
-linux-g++-64/qplatformdefs.h
-linux-g++/qmake.conf
-linux-g++/qplatformdefs.h
-linux-icc/qmake.conf
-linux-icc/qplatformdefs.h
-linux-kcc/qmake.conf
-linux-kcc/qplatformdefs.h
-linux-kylix/qmake.conf
-linux-kylix/qplatformdefs.h
-linux-pgcc/qmake.conf
-linux-pgcc/qplatformdefs.h
-lynxos-g++/qmake.conf
-lynxos-g++/qplatformdefs.h
-macx-g++/Info.plist.app
-macx-g++/qmake.conf
-macx-g++/qplatformdefs.h
-macx-mwerks/README
-macx-mwerks/mwerkstmpl.xml
-macx-mwerks/qmake.conf
-macx-mwerks/qplatformdefs.h
-macx-pbuilder/Info.plist.app
-macx-pbuilder/qmake.conf
-macx-pbuilder/qplatformdefs.h
-macx-xlc/qmake.conf
-macx-xlc/qplatformdefs.h
-netbsd-g++/qmake.conf
-netbsd-g++/qplatformdefs.h
-openbsd-g++/qmake.conf
-openbsd-g++/qplatformdefs.h
-qnx-g++/qmake.conf
-qnx-g++/qplatformdefs.h
-reliant-cds-64/qmake.conf
-reliant-cds-64/qplatformdefs.h
-reliant-cds/qmake.conf
-reliant-cds/qplatformdefs.h
-sco-cc/qmake.conf
-sco-cc/qplatformdefs.h
-sco-g++/qmake.conf
-sco-g++/qplatformdefs.h
-solaris-cc-64/qmake.conf
-solaris-cc-64/qplatformdefs.h
-solaris-cc/qmake.conf
-solaris-cc/qplatformdefs.h
-solaris-g++-64/qmake.conf
-solaris-g++-64/qplatformdefs.h
-solaris-g++/qmake.conf
-solaris-g++/qplatformdefs.h
-tru64-cxx/qmake.conf
-tru64-cxx/qplatformdefs.h
-tru64-g++/qmake.conf
-tru64-g++/qplatformdefs.h
-unixware-cc/qmake.conf
-unixware-cc/qplatformdefs.h
-unixware-g++/qmake.conf
-unixware-g++/qplatformdefs.h
-win32-borland/qmake.conf
-win32-borland/qplatformdefs.h
-win32-g++/qmake.conf
-win32-g++/qplatformdefs.h
-win32-g++/qtcrtentrypoint.cpp
-win32-icc/qmake.conf
-win32-icc/qplatformdefs.h
-win32-icc/win32app.dsp
-win32-icc/win32dll.dsp
-win32-icc/win32lib.dsp
-win32-msvc.net/qmake.conf
-win32-msvc.net/qplatformdefs.h
-win32-msvc/qmake.conf
-win32-msvc/qplatformdefs.h
-win32-msvc/win32app.dsp
-win32-msvc/win32dll.dsp
-win32-msvc/win32lib.dsp
-win32-msvc2005/qmake.conf
-win32-msvc2005/qplatformdefs.h
-win32-watcom/qmake.conf
-@dirrm aix-g++
-@dirrm aix-g++-64
-@dirrm aix-xlc
-@dirrm aix-xlc-64
-@dirrm bsdi-g++
-@dirrm cygwin-g++
-@dirrm darwin-g++
-@dirrm dgux-g++
-@dirrm freebsd-g++
-@dirrm freebsd-g++34
-@dirrm freebsd-icc
-@dirrm hpux-acc
-@dirrm hpux-acc-64
-@dirrm hpux-acc-o64
-@dirrm hpux-cc
-@dirrm hpux-g++
-@dirrm hpux-g++-64
-@dirrm hpuxi-acc-32
-@dirrm hpuxi-acc-64
-@dirrm hurd-g++
-@dirrm irix-cc
-@dirrm irix-cc-64
-@dirrm irix-cc-o32
-@dirrm irix-g++
-@dirrm linux-cxx
-@dirrm linux-ecc-64
-@dirrm linux-g++
-@dirrm linux-g++-32
-@dirrm linux-g++-64
-@dirrm linux-icc
-@dirrm linux-kcc
-@dirrm linux-kylix
-@dirrm linux-pgcc
-@dirrm lynxos-g++
-@dirrm macx-g++
-@dirrm macx-mwerks
-@dirrm macx-pbuilder
-@dirrm macx-xlc
-@dirrm netbsd-g++
-@dirrm openbsd-g++
-@dirrm qnx-g++
-@dirrm reliant-cds
-@dirrm reliant-cds-64
-@dirrm sco-cc
-@dirrm sco-g++
-@dirrm solaris-cc
-@dirrm solaris-cc-64
-@dirrm solaris-g++
-@dirrm solaris-g++-64
-@dirrm tru64-cxx
-@dirrm tru64-g++
-@dirrm unixware-cc
-@dirrm unixware-g++
-@dirrm win32-borland
-@dirrm win32-g++
-@dirrm win32-icc
-@dirrm win32-msvc
-@dirrm win32-msvc.net
-@dirrm win32-msvc2005
-@dirrm win32-watcom
-@unexec rmdir %%_PREFIX%%/share/qt/mkspecs
-@unexec rmdir %%_PREFIX%%/share/qt || echo %%_PREFIX%%/share/qt is still in use -- probably by the rest of Qt
-%%PORTDOCS%%@cwd %%DOCSDIR%%
-%%PORTDOCS%%html/qmake.dcf
-%%PORTDOCS%%html/qmake-manual.html
-%%PORTDOCS%%html/qmake-manual-1.html
-%%PORTDOCS%%html/qmake-manual-2.html
-%%PORTDOCS%%html/qmake-manual-3.html
-%%PORTDOCS%%html/qmake-manual-4.html
-%%PORTDOCS%%html/qmake-manual-5.html
-%%PORTDOCS%%html/qmake-manual-6.html
-%%PORTDOCS%%html/qmake-manual-7.html
-%%PORTDOCS%%html/qmake-manual-8.html
-%%PORTDOCS%%@unexec (rmdir %%DOCSDIR%%/html && rmdir %%DOCSDIR%%) || echo %%DOCSDIR%% is still in use -- by other Qt docs?
+bin/qmake-qt4
+share/qt4/mkspecs/aix-g++-64/qmake.conf
+share/qt4/mkspecs/aix-g++-64/qplatformdefs.h
+share/qt4/mkspecs/aix-g++/qmake.conf
+share/qt4/mkspecs/aix-g++/qplatformdefs.h
+share/qt4/mkspecs/aix-xlc-64/qmake.conf
+share/qt4/mkspecs/aix-xlc-64/qplatformdefs.h
+share/qt4/mkspecs/aix-xlc/qmake.conf
+share/qt4/mkspecs/aix-xlc/qplatformdefs.h
+share/qt4/mkspecs/common/g++.conf
+share/qt4/mkspecs/common/linux.conf
+share/qt4/mkspecs/common/llvm.conf
+share/qt4/mkspecs/common/mac-g++.conf
+share/qt4/mkspecs/common/mac-llvm.conf
+share/qt4/mkspecs/common/mac.conf
+share/qt4/mkspecs/common/qws.conf
+share/qt4/mkspecs/common/unix.conf
+share/qt4/mkspecs/common/wince.conf
+share/qt4/mkspecs/cygwin-g++/qmake.conf
+share/qt4/mkspecs/cygwin-g++/qplatformdefs.h
+share/qt4/mkspecs/darwin-g++/qmake.conf
+share/qt4/mkspecs/darwin-g++/qplatformdefs.h
+share/qt4/mkspecs/default
+share/qt4/mkspecs/features/assistant.prf
+share/qt4/mkspecs/features/build_pass.prf
+share/qt4/mkspecs/features/dbusadaptors.prf
+share/qt4/mkspecs/features/dbusinterfaces.prf
+share/qt4/mkspecs/features/debug.prf
+share/qt4/mkspecs/features/debug_and_release.prf
+share/qt4/mkspecs/features/default_post.prf
+share/qt4/mkspecs/features/default_pre.prf
+share/qt4/mkspecs/features/designer.prf
+share/qt4/mkspecs/features/dll.prf
+share/qt4/mkspecs/features/exclusive_builds.prf
+share/qt4/mkspecs/features/help.prf
+share/qt4/mkspecs/features/include_source_dir.prf
+share/qt4/mkspecs/features/incredibuild_xge.prf
+share/qt4/mkspecs/features/lex.prf
+share/qt4/mkspecs/features/link_pkgconfig.prf
+share/qt4/mkspecs/features/mac/default_post.prf
+share/qt4/mkspecs/features/mac/default_pre.prf
+share/qt4/mkspecs/features/mac/dwarf2.prf
+share/qt4/mkspecs/features/mac/objective_c.prf
+share/qt4/mkspecs/features/mac/ppc.prf
+share/qt4/mkspecs/features/mac/ppc64.prf
+share/qt4/mkspecs/features/mac/rez.prf
+share/qt4/mkspecs/features/mac/sdk.prf
+share/qt4/mkspecs/features/mac/x86.prf
+share/qt4/mkspecs/features/mac/x86_64.prf
+share/qt4/mkspecs/features/moc.prf
+share/qt4/mkspecs/features/no_debug_info.prf
+share/qt4/mkspecs/features/qdbus.prf
+share/qt4/mkspecs/features/qt.prf
+share/qt4/mkspecs/features/qt_config.prf
+share/qt4/mkspecs/features/qt_functions.prf
+share/qt4/mkspecs/features/qtestlib.prf
+share/qt4/mkspecs/features/qtopia.prf
+share/qt4/mkspecs/features/qtopiainc.prf
+share/qt4/mkspecs/features/qtopialib.prf
+share/qt4/mkspecs/features/release.prf
+share/qt4/mkspecs/features/resources.prf
+share/qt4/mkspecs/features/shared.prf
+share/qt4/mkspecs/features/silent.prf
+share/qt4/mkspecs/features/static.prf
+share/qt4/mkspecs/features/static_and_shared.prf
+share/qt4/mkspecs/features/staticlib.prf
+share/qt4/mkspecs/features/uic.prf
+share/qt4/mkspecs/features/uitools.prf
+share/qt4/mkspecs/features/unix/bsymbolic_functions.prf
+share/qt4/mkspecs/features/unix/dylib.prf
+share/qt4/mkspecs/features/unix/hide_symbols.prf
+share/qt4/mkspecs/features/unix/largefile.prf
+share/qt4/mkspecs/features/unix/opengl.prf
+share/qt4/mkspecs/features/unix/separate_debug_info.prf
+share/qt4/mkspecs/features/unix/thread.prf
+share/qt4/mkspecs/features/unix/x11.prf
+share/qt4/mkspecs/features/unix/x11inc.prf
+share/qt4/mkspecs/features/unix/x11lib.prf
+share/qt4/mkspecs/features/unix/x11sm.prf
+share/qt4/mkspecs/features/use_c_linker.prf
+share/qt4/mkspecs/features/warn_off.prf
+share/qt4/mkspecs/features/warn_on.prf
+share/qt4/mkspecs/features/win32/console.prf
+share/qt4/mkspecs/features/win32/default_post.prf
+share/qt4/mkspecs/features/win32/default_pre.prf
+share/qt4/mkspecs/features/win32/dumpcpp.prf
+share/qt4/mkspecs/features/win32/embed_manifest_dll.prf
+share/qt4/mkspecs/features/win32/embed_manifest_exe.prf
+share/qt4/mkspecs/features/win32/exceptions.prf
+share/qt4/mkspecs/features/win32/exceptions_off.prf
+share/qt4/mkspecs/features/win32/ltcg.prf
+share/qt4/mkspecs/features/win32/opengl.prf
+share/qt4/mkspecs/features/win32/qaxcontainer.prf
+share/qt4/mkspecs/features/win32/qaxserver.prf
+share/qt4/mkspecs/features/win32/qt_dll.prf
+share/qt4/mkspecs/features/win32/rtti.prf
+share/qt4/mkspecs/features/win32/rtti_off.prf
+share/qt4/mkspecs/features/win32/stl.prf
+share/qt4/mkspecs/features/win32/stl_off.prf
+share/qt4/mkspecs/features/win32/thread.prf
+share/qt4/mkspecs/features/win32/thread_off.prf
+share/qt4/mkspecs/features/win32/windows.prf
+share/qt4/mkspecs/features/yacc.prf
+share/qt4/mkspecs/freebsd-g++/qmake.conf
+share/qt4/mkspecs/freebsd-g++/qplatformdefs.h
+share/qt4/mkspecs/freebsd-g++34/qmake.conf
+share/qt4/mkspecs/freebsd-g++34/qplatformdefs.h
+share/qt4/mkspecs/freebsd-g++40/qmake.conf
+share/qt4/mkspecs/freebsd-g++40/qplatformdefs.h
+share/qt4/mkspecs/freebsd-icc/qmake.conf
+share/qt4/mkspecs/freebsd-icc/qplatformdefs.h
+share/qt4/mkspecs/hpux-acc-64/qmake.conf
+share/qt4/mkspecs/hpux-acc-64/qplatformdefs.h
+share/qt4/mkspecs/hpux-acc-o64/qmake.conf
+share/qt4/mkspecs/hpux-acc-o64/qplatformdefs.h
+share/qt4/mkspecs/hpux-acc/qmake.conf
+share/qt4/mkspecs/hpux-acc/qplatformdefs.h
+share/qt4/mkspecs/hpux-g++-64/qmake.conf
+share/qt4/mkspecs/hpux-g++-64/qplatformdefs.h
+share/qt4/mkspecs/hpux-g++/qmake.conf
+share/qt4/mkspecs/hpux-g++/qplatformdefs.h
+share/qt4/mkspecs/hpuxi-acc-32/qmake.conf
+share/qt4/mkspecs/hpuxi-acc-32/qplatformdefs.h
+share/qt4/mkspecs/hpuxi-acc-64/qmake.conf
+share/qt4/mkspecs/hpuxi-acc-64/qplatformdefs.h
+share/qt4/mkspecs/hpuxi-g++-64/qmake.conf
+share/qt4/mkspecs/hpuxi-g++-64/qplatformdefs.h
+share/qt4/mkspecs/hurd-g++/qmake.conf
+share/qt4/mkspecs/hurd-g++/qplatformdefs.h
+share/qt4/mkspecs/irix-cc-64/qmake.conf
+share/qt4/mkspecs/irix-cc-64/qplatformdefs.h
+share/qt4/mkspecs/irix-cc/qmake.conf
+share/qt4/mkspecs/irix-cc/qplatformdefs.h
+share/qt4/mkspecs/irix-g++-64/qmake.conf
+share/qt4/mkspecs/irix-g++-64/qplatformdefs.h
+share/qt4/mkspecs/irix-g++/qmake.conf
+share/qt4/mkspecs/irix-g++/qplatformdefs.h
+share/qt4/mkspecs/linux-cxx/qmake.conf
+share/qt4/mkspecs/linux-cxx/qplatformdefs.h
+share/qt4/mkspecs/linux-ecc-64/qmake.conf
+share/qt4/mkspecs/linux-ecc-64/qplatformdefs.h
+share/qt4/mkspecs/linux-g++-32/qmake.conf
+share/qt4/mkspecs/linux-g++-32/qplatformdefs.h
+share/qt4/mkspecs/linux-g++-64/qmake.conf
+share/qt4/mkspecs/linux-g++-64/qplatformdefs.h
+share/qt4/mkspecs/linux-g++/qmake.conf
+share/qt4/mkspecs/linux-g++/qplatformdefs.h
+share/qt4/mkspecs/linux-icc-32/qmake.conf
+share/qt4/mkspecs/linux-icc-32/qplatformdefs.h
+share/qt4/mkspecs/linux-icc-64/qmake.conf
+share/qt4/mkspecs/linux-icc-64/qplatformdefs.h
+share/qt4/mkspecs/linux-icc/qmake.conf
+share/qt4/mkspecs/linux-icc/qplatformdefs.h
+share/qt4/mkspecs/linux-kcc/qmake.conf
+share/qt4/mkspecs/linux-kcc/qplatformdefs.h
+share/qt4/mkspecs/linux-llvm/qmake.conf
+share/qt4/mkspecs/linux-llvm/qplatformdefs.h
+share/qt4/mkspecs/linux-lsb-g++/qmake.conf
+share/qt4/mkspecs/linux-lsb-g++/qplatformdefs.h
+share/qt4/mkspecs/linux-pgcc/qmake.conf
+share/qt4/mkspecs/linux-pgcc/qplatformdefs.h
+share/qt4/mkspecs/lynxos-g++/qmake.conf
+share/qt4/mkspecs/lynxos-g++/qplatformdefs.h
+share/qt4/mkspecs/macx-g++/Info.plist.app
+share/qt4/mkspecs/macx-g++/Info.plist.lib
+share/qt4/mkspecs/macx-g++/qmake.conf
+share/qt4/mkspecs/macx-g++/qplatformdefs.h
+share/qt4/mkspecs/macx-g++42/Info.plist.app
+share/qt4/mkspecs/macx-g++42/Info.plist.lib
+share/qt4/mkspecs/macx-g++42/qmake.conf
+share/qt4/mkspecs/macx-g++42/qplatformdefs.h
+share/qt4/mkspecs/macx-icc/qmake.conf
+share/qt4/mkspecs/macx-icc/qplatformdefs.h
+share/qt4/mkspecs/macx-llvm/Info.plist.app
+share/qt4/mkspecs/macx-llvm/Info.plist.lib
+share/qt4/mkspecs/macx-llvm/qmake.conf
+share/qt4/mkspecs/macx-llvm/qplatformdefs.h
+share/qt4/mkspecs/macx-pbuilder/Info.plist.app
+share/qt4/mkspecs/macx-pbuilder/qmake.conf
+share/qt4/mkspecs/macx-pbuilder/qplatformdefs.h
+share/qt4/mkspecs/macx-xcode/Info.plist.app
+share/qt4/mkspecs/macx-xcode/Info.plist.lib
+share/qt4/mkspecs/macx-xcode/qmake.conf
+share/qt4/mkspecs/macx-xcode/qplatformdefs.h
+share/qt4/mkspecs/macx-xlc/qmake.conf
+share/qt4/mkspecs/macx-xlc/qplatformdefs.h
+share/qt4/mkspecs/netbsd-g++/qmake.conf
+share/qt4/mkspecs/netbsd-g++/qplatformdefs.h
+share/qt4/mkspecs/openbsd-g++/qmake.conf
+share/qt4/mkspecs/openbsd-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/freebsd-generic-g++/qmake.conf
+share/qt4/mkspecs/qws/freebsd-generic-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-arm-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-arm-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-armv6-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-armv6-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-avr32-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-avr32-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-cellon-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-cellon-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-dm7000-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-dm7000-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-dm800-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-dm800-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-generic-g++-32/qmake.conf
+share/qt4/mkspecs/qws/linux-generic-g++-32/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-generic-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-generic-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-ipaq-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-ipaq-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-lsb-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-lsb-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-mips-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-mips-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-ppc-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-ppc-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-sh-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-sh-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-sh4al-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-sh4al-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-sharp-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-sharp-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-x86-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-x86-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-x86_64-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-x86_64-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/linux-zylonite-g++/qmake.conf
+share/qt4/mkspecs/qws/linux-zylonite-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/macx-generic-g++/qmake.conf
+share/qt4/mkspecs/qws/macx-generic-g++/qplatformdefs.h
+share/qt4/mkspecs/qws/solaris-generic-g++/qmake.conf
+share/qt4/mkspecs/qws/solaris-generic-g++/qplatformdefs.h
+share/qt4/mkspecs/sco-cc/qmake.conf
+share/qt4/mkspecs/sco-cc/qplatformdefs.h
+share/qt4/mkspecs/sco-g++/qmake.conf
+share/qt4/mkspecs/sco-g++/qplatformdefs.h
+share/qt4/mkspecs/solaris-cc-64/qmake.conf
+share/qt4/mkspecs/solaris-cc-64/qplatformdefs.h
+share/qt4/mkspecs/solaris-cc/qmake.conf
+share/qt4/mkspecs/solaris-cc/qplatformdefs.h
+share/qt4/mkspecs/solaris-g++-64/qmake.conf
+share/qt4/mkspecs/solaris-g++-64/qplatformdefs.h
+share/qt4/mkspecs/solaris-g++/qmake.conf
+share/qt4/mkspecs/solaris-g++/qplatformdefs.h
+share/qt4/mkspecs/tru64-cxx/qmake.conf
+share/qt4/mkspecs/tru64-cxx/qplatformdefs.h
+share/qt4/mkspecs/tru64-g++/qmake.conf
+share/qt4/mkspecs/tru64-g++/qplatformdefs.h
+share/qt4/mkspecs/unixware-cc/qmake.conf
+share/qt4/mkspecs/unixware-cc/qplatformdefs.h
+share/qt4/mkspecs/unixware-g++/qmake.conf
+share/qt4/mkspecs/unixware-g++/qplatformdefs.h
+share/qt4/mkspecs/win32-borland/qmake.conf
+share/qt4/mkspecs/win32-borland/qplatformdefs.h
+share/qt4/mkspecs/win32-g++/qmake.conf
+share/qt4/mkspecs/win32-g++/qplatformdefs.h
+share/qt4/mkspecs/win32-icc/qmake.conf
+share/qt4/mkspecs/win32-icc/qplatformdefs.h
+share/qt4/mkspecs/win32-msvc.net/qmake.conf
+share/qt4/mkspecs/win32-msvc.net/qplatformdefs.h
+share/qt4/mkspecs/win32-msvc/features/incremental.prf
+share/qt4/mkspecs/win32-msvc/features/incremental_off.prf
+share/qt4/mkspecs/win32-msvc/qmake.conf
+share/qt4/mkspecs/win32-msvc/qplatformdefs.h
+share/qt4/mkspecs/win32-msvc2002/qmake.conf
+share/qt4/mkspecs/win32-msvc2002/qplatformdefs.h
+share/qt4/mkspecs/win32-msvc2003/qmake.conf
+share/qt4/mkspecs/win32-msvc2003/qplatformdefs.h
+share/qt4/mkspecs/win32-msvc2005/qmake.conf
+share/qt4/mkspecs/win32-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/win32-msvc2008/qmake.conf
+share/qt4/mkspecs/win32-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf
+share/qt4/mkspecs/wince50standard-armv4i-msvc2005/qmake.conf
+share/qt4/mkspecs/wince50standard-armv4i-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-armv4i-msvc2008/default_post.prf
+share/qt4/mkspecs/wince50standard-armv4i-msvc2008/qmake.conf
+share/qt4/mkspecs/wince50standard-armv4i-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf
+share/qt4/mkspecs/wince50standard-mipsii-msvc2005/qmake.conf
+share/qt4/mkspecs/wince50standard-mipsii-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-mipsii-msvc2008/default_post.prf
+share/qt4/mkspecs/wince50standard-mipsii-msvc2008/qmake.conf
+share/qt4/mkspecs/wince50standard-mipsii-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-mipsiv-msvc2005/qmake.conf
+share/qt4/mkspecs/wince50standard-mipsiv-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-mipsiv-msvc2008/qmake.conf
+share/qt4/mkspecs/wince50standard-mipsiv-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-sh4-msvc2005/qmake.conf
+share/qt4/mkspecs/wince50standard-sh4-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-sh4-msvc2008/qmake.conf
+share/qt4/mkspecs/wince50standard-sh4-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-x86-msvc2005/default_post.prf
+share/qt4/mkspecs/wince50standard-x86-msvc2005/qmake.conf
+share/qt4/mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wince50standard-x86-msvc2008/default_post.prf
+share/qt4/mkspecs/wince50standard-x86-msvc2008/qmake.conf
+share/qt4/mkspecs/wince50standard-x86-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wince60standard-armv4i-msvc2005/qmake.conf
+share/qt4/mkspecs/wince60standard-armv4i-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wincewm50pocket-msvc2005/default_post.prf
+share/qt4/mkspecs/wincewm50pocket-msvc2005/qmake.conf
+share/qt4/mkspecs/wincewm50pocket-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wincewm50pocket-msvc2008/default_post.prf
+share/qt4/mkspecs/wincewm50pocket-msvc2008/qmake.conf
+share/qt4/mkspecs/wincewm50pocket-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wincewm50smart-msvc2005/default_post.prf
+share/qt4/mkspecs/wincewm50smart-msvc2005/qmake.conf
+share/qt4/mkspecs/wincewm50smart-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wincewm50smart-msvc2008/default_post.prf
+share/qt4/mkspecs/wincewm50smart-msvc2008/qmake.conf
+share/qt4/mkspecs/wincewm50smart-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wincewm60professional-msvc2005/default_post.prf
+share/qt4/mkspecs/wincewm60professional-msvc2005/qmake.conf
+share/qt4/mkspecs/wincewm60professional-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wincewm60professional-msvc2008/default_post.prf
+share/qt4/mkspecs/wincewm60professional-msvc2008/qmake.conf
+share/qt4/mkspecs/wincewm60professional-msvc2008/qplatformdefs.h
+share/qt4/mkspecs/wincewm60standard-msvc2005/default_post.prf
+share/qt4/mkspecs/wincewm60standard-msvc2005/qmake.conf
+share/qt4/mkspecs/wincewm60standard-msvc2005/qplatformdefs.h
+share/qt4/mkspecs/wincewm60standard-msvc2008/default_post.prf
+share/qt4/mkspecs/wincewm60standard-msvc2008/qmake.conf
+share/qt4/mkspecs/wincewm60standard-msvc2008/qplatformdefs.h
+@dirrm share/qt4/mkspecs/wincewm60standard-msvc2008
+@dirrm share/qt4/mkspecs/wincewm60standard-msvc2005
+@dirrm share/qt4/mkspecs/wincewm60professional-msvc2008
+@dirrm share/qt4/mkspecs/wincewm60professional-msvc2005
+@dirrm share/qt4/mkspecs/wincewm50smart-msvc2008
+@dirrm share/qt4/mkspecs/wincewm50smart-msvc2005
+@dirrm share/qt4/mkspecs/wincewm50pocket-msvc2008
+@dirrm share/qt4/mkspecs/wincewm50pocket-msvc2005
+@dirrm share/qt4/mkspecs/wince60standard-armv4i-msvc2005
+@dirrm share/qt4/mkspecs/wince50standard-x86-msvc2008
+@dirrm share/qt4/mkspecs/wince50standard-x86-msvc2005
+@dirrm share/qt4/mkspecs/wince50standard-sh4-msvc2008
+@dirrm share/qt4/mkspecs/wince50standard-sh4-msvc2005
+@dirrm share/qt4/mkspecs/wince50standard-mipsiv-msvc2008
+@dirrm share/qt4/mkspecs/wince50standard-mipsiv-msvc2005
+@dirrm share/qt4/mkspecs/wince50standard-mipsii-msvc2008
+@dirrm share/qt4/mkspecs/wince50standard-mipsii-msvc2005
+@dirrm share/qt4/mkspecs/wince50standard-armv4i-msvc2008
+@dirrm share/qt4/mkspecs/wince50standard-armv4i-msvc2005
+@dirrm share/qt4/mkspecs/win32-msvc2008
+@dirrm share/qt4/mkspecs/win32-msvc2005
+@dirrm share/qt4/mkspecs/win32-msvc2003
+@dirrm share/qt4/mkspecs/win32-msvc2002
+@dirrm share/qt4/mkspecs/win32-msvc/features
+@dirrm share/qt4/mkspecs/win32-msvc.net
+@dirrm share/qt4/mkspecs/win32-msvc
+@dirrm share/qt4/mkspecs/win32-icc
+@dirrm share/qt4/mkspecs/win32-g++
+@dirrm share/qt4/mkspecs/win32-borland
+@dirrm share/qt4/mkspecs/unixware-g++
+@dirrm share/qt4/mkspecs/unixware-cc
+@dirrm share/qt4/mkspecs/tru64-g++
+@dirrm share/qt4/mkspecs/tru64-cxx
+@dirrm share/qt4/mkspecs/solaris-g++-64
+@dirrm share/qt4/mkspecs/solaris-g++
+@dirrm share/qt4/mkspecs/solaris-cc-64
+@dirrm share/qt4/mkspecs/solaris-cc
+@dirrm share/qt4/mkspecs/sco-g++
+@dirrm share/qt4/mkspecs/sco-cc
+@dirrm share/qt4/mkspecs/qws/solaris-generic-g++
+@dirrm share/qt4/mkspecs/qws/macx-generic-g++
+@dirrm share/qt4/mkspecs/qws/linux-zylonite-g++
+@dirrm share/qt4/mkspecs/qws/linux-x86_64-g++
+@dirrm share/qt4/mkspecs/qws/linux-x86-g++
+@dirrm share/qt4/mkspecs/qws/linux-sharp-g++
+@dirrm share/qt4/mkspecs/qws/linux-sh4al-g++
+@dirrm share/qt4/mkspecs/qws/linux-sh-g++
+@dirrm share/qt4/mkspecs/qws/linux-ppc-g++
+@dirrm share/qt4/mkspecs/qws/linux-mips-g++
+@dirrm share/qt4/mkspecs/qws/linux-lsb-g++
+@dirrm share/qt4/mkspecs/qws/linux-ipaq-g++
+@dirrm share/qt4/mkspecs/qws/linux-generic-g++-32
+@dirrm share/qt4/mkspecs/qws/linux-generic-g++
+@dirrm share/qt4/mkspecs/qws/linux-dm800-g++
+@dirrm share/qt4/mkspecs/qws/linux-dm7000-g++
+@dirrm share/qt4/mkspecs/qws/linux-cellon-g++
+@dirrm share/qt4/mkspecs/qws/linux-avr32-g++
+@dirrm share/qt4/mkspecs/qws/linux-armv6-g++
+@dirrm share/qt4/mkspecs/qws/linux-arm-g++
+@dirrm share/qt4/mkspecs/qws/freebsd-generic-g++
+@dirrm share/qt4/mkspecs/qws
+@dirrm share/qt4/mkspecs/openbsd-g++
+@dirrm share/qt4/mkspecs/netbsd-g++
+@dirrm share/qt4/mkspecs/macx-xlc
+@dirrm share/qt4/mkspecs/macx-xcode
+@dirrm share/qt4/mkspecs/macx-pbuilder
+@dirrm share/qt4/mkspecs/macx-llvm
+@dirrm share/qt4/mkspecs/macx-icc
+@dirrm share/qt4/mkspecs/macx-g++42
+@dirrm share/qt4/mkspecs/macx-g++
+@dirrm share/qt4/mkspecs/lynxos-g++
+@dirrm share/qt4/mkspecs/linux-pgcc
+@dirrm share/qt4/mkspecs/linux-lsb-g++
+@dirrm share/qt4/mkspecs/linux-llvm
+@dirrm share/qt4/mkspecs/linux-kcc
+@dirrm share/qt4/mkspecs/linux-icc-64
+@dirrm share/qt4/mkspecs/linux-icc-32
+@dirrm share/qt4/mkspecs/linux-icc
+@dirrm share/qt4/mkspecs/linux-g++-64
+@dirrm share/qt4/mkspecs/linux-g++-32
+@dirrm share/qt4/mkspecs/linux-g++
+@dirrm share/qt4/mkspecs/linux-ecc-64
+@dirrm share/qt4/mkspecs/linux-cxx
+@dirrm share/qt4/mkspecs/irix-g++-64
+@dirrm share/qt4/mkspecs/irix-g++
+@dirrm share/qt4/mkspecs/irix-cc-64
+@dirrm share/qt4/mkspecs/irix-cc
+@dirrm share/qt4/mkspecs/hurd-g++
+@dirrm share/qt4/mkspecs/hpuxi-g++-64
+@dirrm share/qt4/mkspecs/hpuxi-acc-64
+@dirrm share/qt4/mkspecs/hpuxi-acc-32
+@dirrm share/qt4/mkspecs/hpux-g++-64
+@dirrm share/qt4/mkspecs/hpux-g++
+@dirrm share/qt4/mkspecs/hpux-acc-o64
+@dirrm share/qt4/mkspecs/hpux-acc-64
+@dirrm share/qt4/mkspecs/hpux-acc
+@dirrm share/qt4/mkspecs/freebsd-icc
+@dirrm share/qt4/mkspecs/freebsd-g++40
+@dirrm share/qt4/mkspecs/freebsd-g++34
+@dirrm share/qt4/mkspecs/freebsd-g++
+@dirrm share/qt4/mkspecs/features/win32
+@dirrm share/qt4/mkspecs/features/unix
+@dirrm share/qt4/mkspecs/features/mac
+@dirrmtry share/qt4/mkspecs/features
+@dirrm share/qt4/mkspecs/darwin-g++
+@dirrm share/qt4/mkspecs/cygwin-g++
+@dirrm share/qt4/mkspecs/common
+@dirrm share/qt4/mkspecs/aix-xlc-64
+@dirrm share/qt4/mkspecs/aix-xlc
+@dirrm share/qt4/mkspecs/aix-g++-64
+@dirrm share/qt4/mkspecs/aix-g++
+@dirrmtry share/qt4/mkspecs
+@dirrmtry share/qt4
diff --git a/devel/qt4-assistant-adp/Makefile b/devel/qt4-assistant-adp/Makefile
index 4ce95474d375..cad3d9efc982 100644
--- a/devel/qt4-assistant-adp/Makefile
+++ b/devel/qt4-assistant-adp/Makefile
@@ -22,6 +22,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib \
gui network xml doc dbus
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/devel/qt4-assistant-adp/distinfo b/devel/qt4-assistant-adp/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-assistant-adp/distinfo
+++ b/devel/qt4-assistant-adp/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-assistant/Makefile b/devel/qt4-assistant/Makefile
index 898bd6293299..93e6a1a77475 100644
--- a/devel/qt4-assistant/Makefile
+++ b/devel/qt4-assistant/Makefile
@@ -20,9 +20,10 @@ COMMENT= Qt documentation browser
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build qt3support corelib \
- gui network sql xml doc help
+ gui network sql xml doc help webkit
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
@@ -35,7 +36,7 @@ DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
src/dbus src/opengl src/phonon \
src/qt3support src/script src/svg src/testlib \
src/tools src/xmlpatterns src/3rdparty/clucene \
- src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+ src/3rdparty/kdebase src/3rdparty/kdelibs
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
diff --git a/devel/qt4-assistant/distinfo b/devel/qt4-assistant/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-assistant/distinfo
+++ b/devel/qt4-assistant/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-corelib/Makefile b/devel/qt4-corelib/Makefile
index 417f4f220adf..4d1b4c6f1246 100644
--- a/devel/qt4-corelib/Makefile
+++ b/devel/qt4-corelib/Makefile
@@ -24,10 +24,12 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
+
ALL_TARGET= first
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
@@ -47,13 +49,21 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../
PATCH_WRKSRC=${CONFIGURE_WRKSRC}
-.include <bsd.port.pre.mk>
+EXTRA_PATCHES=${.CURDIR}/../../devel/qt4/files/extrapatch-configure
+
+.include "${.CURDIR}/../../devel/qt4/files/Makefile.options"
+
+pre-everything::
+ @${CAT} ${PKGMESSAGE}
+
+post-patch:
+ ${REINPLACE_CMD} -e '${QT4_OPTIONS_REPLACE}' ${CONFIGURE_WRKSRC}/configure
pre-configure:
- ${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
+
post-configure:
${REINPLACE_CMD} -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
-e 's|.*$$(QMAKE).*||g' ${WRKSRC}/Makefile
@@ -61,17 +71,10 @@ post-configure:
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
${WRKSRC}/../../lib/pkgconfig/QtCore.pc
- #hack to hard-code the feature part of qconfig.h
- ${HEAD} -n 27 ${WRKSRC}/global/qconfig.h > ${WRKDIR}/qconfig.tmp
- ${CHMOD} 644 ${WRKSRC}/global/qconfig.h
- ${CAT} ${WRKDIR}/qconfig.tmp ${FILESDIR}/qconfig.h.in > ${WRKSRC}/global/qconfig.h
-.if ${OSVERSION} >= 700042
- ${ECHO_CMD} "#define QT_VISIBILITY_AVAILABLE" >> ${WRKSRC}/global/qconfig.h
-.endif
post-install:
${MKDIR} ${PREFIX}/lib/qt4/plugins
${TOUCH} ${PREFIX}/lib/qt4/plugins/.keep_me
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/mkspecs/qconfig.pri ${PREFIX}/share/qt4/mkspecs/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/qt4-corelib/distinfo b/devel/qt4-corelib/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-corelib/distinfo
+++ b/devel/qt4-corelib/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-corelib/files/patch-src__corelib__codecs__qiconvcodec.cpp b/devel/qt4-corelib/files/patch-src__corelib__codecs__qiconvcodec.cpp
new file mode 100644
index 000000000000..31c291b6928f
--- /dev/null
+++ b/devel/qt4-corelib/files/patch-src__corelib__codecs__qiconvcodec.cpp
@@ -0,0 +1,11 @@
+--- ./src/corelib/codecs/qiconvcodec.cpp.orig 2009-06-20 08:57:57.000000000 +0400
++++ ./src/corelib/codecs/qiconvcodec.cpp 2009-07-01 23:12:06.000000000 +0400
+@@ -62,7 +62,7 @@
+ #elif defined(Q_OS_AIX)
+ # define NO_BOM
+ # define UTF16 "UCS-2"
+-#elif defined(Q_OS_MAC)
++#elif defined(Q_OS_MAC) || defined(Q_OS_FREEBSD)
+ # define NO_BOM
+ # if Q_BYTE_ORDER == Q_BIG_ENDIAN
+ # define UTF16 "UTF-16BE"
diff --git a/devel/qt4-corelib/files/qconfig.h.in b/devel/qt4-corelib/files/qconfig.h.in
deleted file mode 100644
index 5e17437dbff8..000000000000
--- a/devel/qt4-corelib/files/qconfig.h.in
+++ /dev/null
@@ -1,42 +0,0 @@
-#if defined(QT_NO_CLOCK_MONOTONIC) && defined(QT_CLOCK_MONOTONIC)
-# undef QT_NO_CLOCK_MONOTONIC
-#elif !defined(QT_NO_CLOCK_MONOTONIC) && !defined(QT_CLOCK_MONOTONIC)
-# define QT_NO_CLOCK_MONOTONIC
-#endif
-
-#if defined(QT_NO_EXCEPTIONS) && defined(QT_EXCEPTIONS)
-# undef QT_NO_EXCEPTIONS
-#elif !defined(QT_NO_EXCEPTIONS) && !defined(QT_EXCEPTIONS)
-# define QT_NO_EXCEPTIONS
-#endif
-
-#if defined(QT_NO_INOTIFY) && defined(QT_INOTIFY)
-# undef QT_NO_INOTIFY
-#elif !defined(QT_NO_INOTIFY) && !defined(QT_INOTIFY)
-# define QT_NO_INOTIFY
-#endif
-
-#if defined(QT_NO_MREMAP) && defined(QT_MREMAP)
-# undef QT_NO_MREMAP
-#elif !defined(QT_NO_MREMAP) && !defined(QT_MREMAP)
-# define QT_NO_MREMAP
-#endif
-
-#if defined(QT_NO_NAS) && defined(QT_NAS)
-# undef QT_NO_NAS
-#elif !defined(QT_NO_NAS) && !defined(QT_NAS)
-# define QT_NO_NAS
-#endif
-
-#if defined(QT_NO_SXE) && defined(QT_SXE)
-# undef QT_NO_SXE
-#elif !defined(QT_NO_SXE) && !defined(QT_SXE)
-# define QT_NO_SXE
-#endif
-
-#if defined(QT_USE_MATH_H_FLOATS) && defined(QT_NO_USE_MATH_H_FLOATS)
-# undef QT_USE_MATH_H_FLOATS
-#elif !defined(QT_USE_MATH_H_FLOATS) && !defined(QT_NO_USE_MATH_H_FLOATS)
-# define QT_USE_MATH_H_FLOATS
-#endif
-
diff --git a/devel/qt4-corelib/pkg-message b/devel/qt4-corelib/pkg-message
new file mode 100644
index 000000000000..73e2b9581e01
--- /dev/null
+++ b/devel/qt4-corelib/pkg-message
@@ -0,0 +1,16 @@
+=====================================================================
+
+Qt4 can be built with optional support for:
+ - Common UNIX Printing System (CUPS)
+ - Network Audio System (NAS)
+ - Qt style that renders using GTK (QGTKSTYLE)
+
+In order to enable them, you need add
+ QT4_OPTIONS= CUPS NAS QGTKSTYLE
+to your /etc/make.conf and compile devel/qt4-corelib and
+x11-toolkits/qt4-gui ports.
+
+Attention! Whenever you change the QT4_OPTIONS both
+devel/qt4-corelib and x11-toolkits/qt4-gui ports must be rebuilt!
+
+=====================================================================
diff --git a/devel/qt4-corelib/pkg-plist b/devel/qt4-corelib/pkg-plist
index 6d0f8697965d..60ae94ef4c3b 100644
--- a/devel/qt4-corelib/pkg-plist
+++ b/devel/qt4-corelib/pkg-plist
@@ -7,6 +7,7 @@ include/qt4/Qt/qatomic.h
include/qt4/Qt/qatomic_alpha.h
include/qt4/Qt/qatomic_arch.h
include/qt4/Qt/qatomic_arm.h
+include/qt4/Qt/qatomic_armv6.h
include/qt4/Qt/qatomic_avr32.h
include/qt4/Qt/qatomic_bfin.h
include/qt4/Qt/qatomic_bootstrap.h
@@ -17,6 +18,8 @@ include/qt4/Qt/qatomic_mips.h
include/qt4/Qt/qatomic_parisc.h
include/qt4/Qt/qatomic_powerpc.h
include/qt4/Qt/qatomic_s390.h
+include/qt4/Qt/qatomic_sh.h
+include/qt4/Qt/qatomic_sh4a.h
include/qt4/Qt/qatomic_sparc.h
include/qt4/Qt/qatomic_x86_64.h
include/qt4/Qt/qbasicatomic.h
@@ -92,6 +95,8 @@ include/qt4/Qt/qset.h
include/qt4/Qt/qsettings.h
include/qt4/Qt/qshareddata.h
include/qt4/Qt/qsharedmemory.h
+include/qt4/Qt/qsharedpointer.h
+include/qt4/Qt/qsharedpointer_impl.h
include/qt4/Qt/qsignalmapper.h
include/qt4/Qt/qsize.h
include/qt4/Qt/qsocketnotifier.h
@@ -201,6 +206,7 @@ include/qt4/QtCore/QHashDummyValue
include/qt4/QtCore/QHashIterator
include/qt4/QtCore/QHashNode
include/qt4/QtCore/QIODevice
+include/qt4/QtCore/QIncompatibleFlag
include/qt4/QtCore/QIntForSize
include/qt4/QtCore/QIntForType
include/qt4/QtCore/QInternal
@@ -221,10 +227,13 @@ include/qt4/QtCore/QLocale
include/qt4/QtCore/QMap
include/qt4/QtCore/QMapData
include/qt4/QtCore/QMapIterator
+include/qt4/QtCore/QMapNode
+include/qt4/QtCore/QMapPayloadNode
include/qt4/QtCore/QMetaClassInfo
include/qt4/QtCore/QMetaEnum
include/qt4/QtCore/QMetaMethod
include/qt4/QtCore/QMetaObject
+include/qt4/QtCore/QMetaObjectExtraData
include/qt4/QtCore/QMetaProperty
include/qt4/QtCore/QMetaType
include/qt4/QtCore/QMetaTypeId
@@ -274,6 +283,7 @@ include/qt4/QtCore/QSettings
include/qt4/QtCore/QSharedData
include/qt4/QtCore/QSharedDataPointer
include/qt4/QtCore/QSharedMemory
+include/qt4/QtCore/QSharedPointer
include/qt4/QtCore/QSignalMapper
include/qt4/QtCore/QSize
include/qt4/QtCore/QSizeF
@@ -318,6 +328,7 @@ include/qt4/QtCore/QUuid
include/qt4/QtCore/QVarLengthArray
include/qt4/QtCore/QVariant
include/qt4/QtCore/QVariantComparisonHelper
+include/qt4/QtCore/QVariantHash
include/qt4/QtCore/QVariantList
include/qt4/QtCore/QVariantMap
include/qt4/QtCore/QVector
@@ -325,6 +336,7 @@ include/qt4/QtCore/QVectorData
include/qt4/QtCore/QVectorIterator
include/qt4/QtCore/QVectorTypedData
include/qt4/QtCore/QWaitCondition
+include/qt4/QtCore/QWeakPointer
include/qt4/QtCore/QWriteLocker
include/qt4/QtCore/QXmlStreamAttribute
include/qt4/QtCore/QXmlStreamAttributes
@@ -373,6 +385,7 @@ include/qt4/QtCore/qatomic.h
include/qt4/QtCore/qatomic_alpha.h
include/qt4/QtCore/qatomic_arch.h
include/qt4/QtCore/qatomic_arm.h
+include/qt4/QtCore/qatomic_armv6.h
include/qt4/QtCore/qatomic_avr32.h
include/qt4/QtCore/qatomic_bfin.h
include/qt4/QtCore/qatomic_bootstrap.h
@@ -383,6 +396,8 @@ include/qt4/QtCore/qatomic_mips.h
include/qt4/QtCore/qatomic_parisc.h
include/qt4/QtCore/qatomic_powerpc.h
include/qt4/QtCore/qatomic_s390.h
+include/qt4/QtCore/qatomic_sh.h
+include/qt4/QtCore/qatomic_sh4a.h
include/qt4/QtCore/qatomic_sparc.h
include/qt4/QtCore/qatomic_x86_64.h
include/qt4/QtCore/qbasicatomic.h
@@ -458,6 +473,8 @@ include/qt4/QtCore/qset.h
include/qt4/QtCore/qsettings.h
include/qt4/QtCore/qshareddata.h
include/qt4/QtCore/qsharedmemory.h
+include/qt4/QtCore/qsharedpointer.h
+include/qt4/QtCore/qsharedpointer_impl.h
include/qt4/QtCore/qsignalmapper.h
include/qt4/QtCore/qsize.h
include/qt4/QtCore/qsocketnotifier.h
@@ -503,9 +520,9 @@ lib/qt4/libQtCore.la
lib/qt4/libQtCore.prl
lib/qt4/libQtCore.so
lib/qt4/libQtCore.so.4
-lib/qt4/libQtCore.so.4.4
-%%DEBUG%%lib/qt4/libQtCore.so.4.4.3.debug
-lib/qt4/libQtCore.so.4.4.3
+lib/qt4/libQtCore.so.4.5
+lib/qt4/libQtCore.so.4.5.2
+%%DEBUG%%lib/qt4/libQtCore.so.4.5.2.debug
lib/qt4/plugins/.keep_me
libdata/pkgconfig/QtCore.pc
share/qt4/mkspecs/qconfig.pri
diff --git a/devel/qt4-designer/Makefile b/devel/qt4-designer/Makefile
index e6b38e04e12a..7cff683f867b 100644
--- a/devel/qt4-designer/Makefile
+++ b/devel/qt4-designer/Makefile
@@ -23,6 +23,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build assistant_run \
qt3support corelib gui network script sql xml webkit
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
@@ -32,7 +33,7 @@ CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
- src/dbus src/opengl src/phonon \
+ src/dbus src/opengl \
src/sql src/svg src/testlib \
src/xmlpatterns src/3rdparty/clucene \
src/3rdparty/kdebase src/3rdparty/kdelibs
diff --git a/devel/qt4-designer/distinfo b/devel/qt4-designer/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-designer/distinfo
+++ b/devel/qt4-designer/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-designer/pkg-plist b/devel/qt4-designer/pkg-plist
index 595394706758..dd780a44e740 100644
--- a/devel/qt4-designer/pkg-plist
+++ b/devel/qt4-designer/pkg-plist
@@ -85,17 +85,18 @@ include/qt4/QtUiTools/quiloader.h
lib/qt4/libQtDesigner.prl
lib/qt4/libQtDesigner.so
lib/qt4/libQtDesigner.so.4
-lib/qt4/libQtDesigner.so.4.4
-lib/qt4/libQtDesigner.so.4.4.3
-%%DEBUG%%lib/qt4/libQtDesigner.so.4.4.3.debug
+lib/qt4/libQtDesigner.so.4.5
+lib/qt4/libQtDesigner.so.4.5.2
+%%DEBUG%%lib/qt4/libQtDesigner.so.4.5.2.debug
lib/qt4/libQtDesignerComponents.prl
lib/qt4/libQtDesignerComponents.so
lib/qt4/libQtDesignerComponents.so.4
-lib/qt4/libQtDesignerComponents.so.4.4
-lib/qt4/libQtDesignerComponents.so.4.4.3
-%%DEBUG%%lib/qt4/libQtDesignerComponents.so.4.4.3.debug
+lib/qt4/libQtDesignerComponents.so.4.5
+lib/qt4/libQtDesignerComponents.so.4.5.2
+%%DEBUG%%lib/qt4/libQtDesignerComponents.so.4.5.2.debug
lib/qt4/libQtUiTools.a
lib/qt4/libQtUiTools.prl
+lib/qt4/plugins/designer/libphononwidgets.so
lib/qt4/plugins/designer/libqt3supportwidgets.so
%%DEBUG%%lib/qt4/plugins/designer/libqt3supportwidgets.so.debug
lib/qt4/plugins/designer/libqwebview.so
diff --git a/devel/qt4-help-tools/Makefile b/devel/qt4-help-tools/Makefile
index b7da49f05cc4..0670c45d26ed 100644
--- a/devel/qt4-help-tools/Makefile
+++ b/devel/qt4-help-tools/Makefile
@@ -22,6 +22,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib \
gui sql xml doc help
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/devel/qt4-help-tools/distinfo b/devel/qt4-help-tools/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-help-tools/distinfo
+++ b/devel/qt4-help-tools/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-help/Makefile b/devel/qt4-help/Makefile
index 11ee4f9c5e58..9ab4e6d2e54b 100644
--- a/devel/qt4-help/Makefile
+++ b/devel/qt4-help/Makefile
@@ -20,6 +20,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build corelib clucene gui sql xml network
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin
diff --git a/devel/qt4-help/distinfo b/devel/qt4-help/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-help/distinfo
+++ b/devel/qt4-help/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-help/pkg-plist b/devel/qt4-help/pkg-plist
index d239d1bef055..b99df3fe03b9 100644
--- a/devel/qt4-help/pkg-plist
+++ b/devel/qt4-help/pkg-plist
@@ -32,9 +32,9 @@ lib/qt4/libQtHelp.la
lib/qt4/libQtHelp.prl
lib/qt4/libQtHelp.so
lib/qt4/libQtHelp.so.4
-lib/qt4/libQtHelp.so.4.4
-lib/qt4/libQtHelp.so.4.4.3
-%%DEBUG%%lib/qt4/libQtHelp.so.4.4.3.debug
+lib/qt4/libQtHelp.so.4.5
+lib/qt4/libQtHelp.so.4.5.2
+%%DEBUG%%lib/qt4/libQtHelp.so.4.5.2.debug
libdata/pkgconfig/QtHelp.pc
@dirrm include/qt4/QtHelp
@dirrmtry include/qt4/Qt
diff --git a/devel/qt4-libqtassistantclient/Makefile b/devel/qt4-libqtassistantclient/Makefile
index 53956275d204..a8af9a0ae92d 100644
--- a/devel/qt4-libqtassistantclient/Makefile
+++ b/devel/qt4-libqtassistantclient/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui network
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/devel/qt4-libqtassistantclient/distinfo b/devel/qt4-libqtassistantclient/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-libqtassistantclient/distinfo
+++ b/devel/qt4-libqtassistantclient/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-libqtassistantclient/pkg-plist b/devel/qt4-libqtassistantclient/pkg-plist
index beef7b55f9bb..eaeab429c967 100644
--- a/devel/qt4-libqtassistantclient/pkg-plist
+++ b/devel/qt4-libqtassistantclient/pkg-plist
@@ -5,8 +5,8 @@ include/qt4/QtAssistant/qassistantclient_global.h
lib/qt4/libQtAssistantClient.prl
lib/qt4/libQtAssistantClient.so
lib/qt4/libQtAssistantClient.so.4
-lib/qt4/libQtAssistantClient.so.4.4
-lib/qt4/libQtAssistantClient.so.4.4.3
-%%DEBUG%%lib/qt4/libQtAssistantClient.so.4.4.3.debug
+lib/qt4/libQtAssistantClient.so.4.5
+lib/qt4/libQtAssistantClient.so.4.5.2
+%%DEBUG%%lib/qt4/libQtAssistantClient.so.4.5.2.debug
libdata/pkgconfig/QtAssistantClient.pc
@dirrm include/qt4/QtAssistant
diff --git a/devel/qt4-linguist/Makefile b/devel/qt4-linguist/Makefile
index 863946643ceb..014d954be5d4 100644
--- a/devel/qt4-linguist/Makefile
+++ b/devel/qt4-linguist/Makefile
@@ -23,6 +23,7 @@ QT_COMPONENTS= qmake_build designer_build moc_build rcc_build uic_build \
assistant_run gui network xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/devel/qt4-linguist/distinfo b/devel/qt4-linguist/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-linguist/distinfo
+++ b/devel/qt4-linguist/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff b/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff
deleted file mode 100644
index ac6f68210fe1..000000000000
--- a/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- tools/linguist/shared/profileevaluator.h.orig 2008-04-28 09:11:21.000000000 -0400
-+++ tools/linguist/shared/profileevaluator.h 2008-05-09 10:50:40.000000000 -0400
-@@ -112,7 +112,12 @@
- private:
- QStringList expandPattern(const QString &pattern);
- void logMessage(const QString &msg, MessageType mt = MT_DebugLevel2);
-- void logMessage(MessageType mt, const char *msg, ...);
-+ void logMessage(MessageType mt, const char *msg, ...)
-+#if defined(Q_CC_GNU) && !defined(__INSURE__)
-+ __attribute__ ((format (printf, 3, 4)))
-+#endif
-+ ;
-+
- QStringList expandVariableReferences(const QString &value);
- QStringList evaluateExpandFunction(const QByteArray &func, const QString &arguments);
-
diff --git a/devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp b/devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp
deleted file mode 100644
index 7535c1c2633b..000000000000
--- a/devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./tools/linguist/linguist/trwindow.cpp.orig 2008-04-28 17:11:21.000000000 +0400
-+++ ./tools/linguist/linguist/trwindow.cpp 2008-06-17 01:02:02.000000000 +0400
-@@ -939,7 +939,7 @@
- if (m_assistantProcess->state() != QProcess::Running) {
- QString app = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator();
- #if !defined(Q_OS_MAC)
-- app += QLatin1String("assistant");
-+ app += QLatin1String("assistant-qt4");
- #else
- app += QLatin1String("Assistant.app/Contents/MacOS/Assistant");
- #endif
diff --git a/devel/qt4-linguist/pkg-plist b/devel/qt4-linguist/pkg-plist
index f638e7cc76d4..72b61be39f1d 100644
--- a/devel/qt4-linguist/pkg-plist
+++ b/devel/qt4-linguist/pkg-plist
@@ -1,3 +1,5 @@
+bin/lconvert
+%%DEBUG%%bin/lconvert.debug
bin/linguist-qt4
%%DEBUG%%bin/linguist-qt4.debug
bin/lrelease-qt4
diff --git a/devel/qt4-makeqpf/Makefile b/devel/qt4-makeqpf/Makefile
index 01b0e79317f8..f4c8af520910 100644
--- a/devel/qt4-makeqpf/Makefile
+++ b/devel/qt4-makeqpf/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib gui
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/devel/qt4-makeqpf/distinfo b/devel/qt4-makeqpf/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-makeqpf/distinfo
+++ b/devel/qt4-makeqpf/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-moc/Makefile b/devel/qt4-moc/Makefile
index b1f2cb433509..233166c11165 100644
--- a/devel/qt4-moc/Makefile
+++ b/devel/qt4-moc/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
@@ -33,7 +34,7 @@ MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
src/dbus src/gui src/network src/opengl \
src/phonon src/qt3support src/script src/sql src/svg \
- src/testlib src/xml src/xmlpatterns src/3rdparty/clucene \
+ src/testlib src/xmlpatterns src/3rdparty/clucene \
src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
@@ -51,4 +52,7 @@ pre-configure:
${MKDIR} ${WRKSRC}/../../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+do-build:
+ cd ${CONFIGURE_WRKSRC}/src/tools/bootstrap/ && make
+
.include <bsd.port.mk>
diff --git a/devel/qt4-moc/distinfo b/devel/qt4-moc/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-moc/distinfo
+++ b/devel/qt4-moc/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-porting/Makefile b/devel/qt4-porting/Makefile
index 2f530db60987..43cbc4669a61 100644
--- a/devel/qt4-porting/Makefile
+++ b/devel/qt4-porting/Makefile
@@ -21,6 +21,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build corelib xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/devel/qt4-porting/distinfo b/devel/qt4-porting/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-porting/distinfo
+++ b/devel/qt4-porting/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-qdbusviewer/Makefile b/devel/qt4-qdbusviewer/Makefile
index 637f879d8873..2b3222ddccb2 100644
--- a/devel/qt4-qdbusviewer/Makefile
+++ b/devel/qt4-qdbusviewer/Makefile
@@ -21,9 +21,11 @@ COMMENT= Qt4 D-BUS viewer
LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus
USE_QT_VER= 4
-QT_COMPONENTS= qmake_build moc_build rcc_build corelib dbus gui xml
+QT_COMPONENTS= qmake_build moc_build rcc_build corelib dbus gui xml \
+ clucene
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
@@ -35,8 +37,8 @@ MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
src/network src/opengl src/phonon \
src/qt3support src/script src/sql src/svg src/testlib \
- src/tools src/xmlpatterns src/3rdparty/clucene \
- src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+ src/tools src/xmlpatterns src/3rdparty/kdebase \
+ src/3rdparty/kdelibs src/3rdparty/webkit
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
diff --git a/devel/qt4-qdbusviewer/distinfo b/devel/qt4-qdbusviewer/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-qdbusviewer/distinfo
+++ b/devel/qt4-qdbusviewer/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-qt3support/Makefile b/devel/qt4-qt3support/Makefile
index d70d210872f3..aacd34bb7def 100644
--- a/devel/qt4-qt3support/Makefile
+++ b/devel/qt4-qt3support/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib gui network sql xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/devel/qt4-qt3support/distinfo b/devel/qt4-qt3support/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-qt3support/distinfo
+++ b/devel/qt4-qt3support/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-qt3support/pkg-plist b/devel/qt4-qt3support/pkg-plist
index 03571e2b578c..9aa5b8446ca2 100644
--- a/devel/qt4-qt3support/pkg-plist
+++ b/devel/qt4-qt3support/pkg-plist
@@ -405,9 +405,9 @@ lib/qt4/libQt3Support.la
lib/qt4/libQt3Support.prl
lib/qt4/libQt3Support.so
lib/qt4/libQt3Support.so.4
-lib/qt4/libQt3Support.so.4.4
-lib/qt4/libQt3Support.so.4.4.3
-%%DEBUG%%lib/qt4/libQt3Support.so.4.4.3.debug
+lib/qt4/libQt3Support.so.4.5
+lib/qt4/libQt3Support.so.4.5.2
+@comment %%DEBUG%%lib/qt4/libQt3Support.so.4.5.2.debug
libdata/pkgconfig/Qt3Support.pc
@dirrm include/qt4/Qt3Support
@dirrmtry include/qt4/Qt
diff --git a/devel/qt4-qtestlib/Makefile b/devel/qt4-qtestlib/Makefile
index b7f834bfc854..62069134b386 100644
--- a/devel/qt4-qtestlib/Makefile
+++ b/devel/qt4-qtestlib/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/devel/qt4-qtestlib/distinfo b/devel/qt4-qtestlib/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-qtestlib/distinfo
+++ b/devel/qt4-qtestlib/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-qtestlib/pkg-plist b/devel/qt4-qtestlib/pkg-plist
index 8ef2d46a6c74..e2ae50f136fe 100644
--- a/devel/qt4-qtestlib/pkg-plist
+++ b/devel/qt4-qtestlib/pkg-plist
@@ -11,6 +11,7 @@ include/qt4/Qt/qtestevent.h
include/qt4/Qt/qtesteventloop.h
include/qt4/Qt/qtestkeyboard.h
include/qt4/Qt/qtestmouse.h
+include/qt4/Qt/qbenchmark.h
include/qt4/Qt/qtestspontaneevent.h
include/qt4/Qt/qtestsystem.h
include/qt4/QtTest/QEventSizeOfChecker
@@ -28,6 +29,7 @@ include/qt4/QtTest/QTestKeyClicksEvent
include/qt4/QtTest/QTestKeyEvent
include/qt4/QtTest/QTestMouseEvent
include/qt4/QtTest/QtTest
+include/qt4/QtTest/qbenchmark.h
include/qt4/QtTest/qsignalspy.h
include/qt4/QtTest/qtest.h
include/qt4/QtTest/qtest_global.h
@@ -46,9 +48,9 @@ lib/qt4/libQtTest.la
lib/qt4/libQtTest.prl
lib/qt4/libQtTest.so
lib/qt4/libQtTest.so.4
-lib/qt4/libQtTest.so.4.4
-lib/qt4/libQtTest.so.4.4.3
-%%DEBUG%%lib/qt4/libQtTest.so.4.4.3.debug
+lib/qt4/libQtTest.so.4.5
+lib/qt4/libQtTest.so.4.5.2
+%%DEBUG%%lib/qt4/libQtTest.so.4.5.2.debug
libdata/pkgconfig/QtTest.pc
@dirrm include/qt4/QtTest
@dirrmtry include/qt4/Qt
diff --git a/devel/qt4-qvfb/Makefile b/devel/qt4-qvfb/Makefile
index c9af06021cdf..14f4a354dc05 100644
--- a/devel/qt4-qvfb/Makefile
+++ b/devel/qt4-qvfb/Makefile
@@ -8,7 +8,7 @@
PORTNAME= qvfb
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 0
+PORTREVISION=0
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -23,6 +23,7 @@ QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib gui opengl
QT_NONSTANDARD= yes
QT_DIST= yes
USE_XORG= xtst
+MAKE_JOBS_SAVE= yes
HAS_CONFIGURE= yes
@@ -44,6 +45,8 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../
+CONFIGURE_ARGS+= -I../../include/Qt -I../../include
+
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/../../mkspecs
diff --git a/devel/qt4-qvfb/distinfo b/devel/qt4-qvfb/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-qvfb/distinfo
+++ b/devel/qt4-qvfb/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-rcc/Makefile b/devel/qt4-rcc/Makefile
index 3b503b92ea79..3978b22d547c 100644
--- a/devel/qt4-rcc/Makefile
+++ b/devel/qt4-rcc/Makefile
@@ -21,6 +21,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
@@ -49,4 +50,7 @@ pre-configure:
${MKDIR} ${WRKSRC}/../../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+do-build:
+ cd ${CONFIGURE_WRKSRC}/src/tools/bootstrap/ && make
+
.include <bsd.port.mk>
diff --git a/devel/qt4-rcc/distinfo b/devel/qt4-rcc/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-rcc/distinfo
+++ b/devel/qt4-rcc/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-script/Makefile b/devel/qt4-script/Makefile
index 831b9a7a2c0b..971f0c7096fb 100644
--- a/devel/qt4-script/Makefile
+++ b/devel/qt4-script/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/devel/qt4-script/distinfo b/devel/qt4-script/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-script/distinfo
+++ b/devel/qt4-script/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-script/pkg-plist b/devel/qt4-script/pkg-plist
index 4f129d024ae8..d1fa8f361aae 100644
--- a/devel/qt4-script/pkg-plist
+++ b/devel/qt4-script/pkg-plist
@@ -21,6 +21,7 @@ include/qt4/QtScript/QScriptEngineAgent
include/qt4/QtScript/QScriptExtensionInterface
include/qt4/QtScript/QScriptExtensionPlugin
include/qt4/QtScript/QScriptString
+include/qt4/QtScript/QScriptSyntaxCheckResult
include/qt4/QtScript/QScriptValue
include/qt4/QtScript/QScriptValueIterator
include/qt4/QtScript/QScriptValueList
@@ -42,9 +43,9 @@ lib/qt4/libQtScript.la
lib/qt4/libQtScript.prl
lib/qt4/libQtScript.so
lib/qt4/libQtScript.so.4
-lib/qt4/libQtScript.so.4.4
-lib/qt4/libQtScript.so.4.4.3
-%%DEBUG%%lib/qt4/libQtScript.so.4.4.3.debug
+lib/qt4/libQtScript.so.4.5
+lib/qt4/libQtScript.so.4.5.2
+%%DEBUG%%lib/qt4/libQtScript.so.4.5.2.debug
libdata/pkgconfig/QtScript.pc
@dirrm include/qt4/QtScript
@dirrmtry include/qt4/Qt
diff --git a/devel/qt4-scripttools/Makefile b/devel/qt4-scripttools/Makefile
new file mode 100644
index 000000000000..19d2bf4fdd2a
--- /dev/null
+++ b/devel/qt4-scripttools/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: qt4-scripttools
+# Date created: 2009-04-28
+# Whom: Max Brazhnikov <makc@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scripttools
+PORTVERSION= ${QT4_VERSION}
+PORTREVISION=0
+CATEGORIES?= devel
+MASTER_SITES= ${MASTER_SITE_QT}
+PKGNAMEPREFIX= qt4-
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt script
+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build rcc_build gui script
+QT_NONSTANDARD= yes
+QT_DIST= yes
+MAKE_JOBS_SAFE= yes
+
+HAS_CONFIGURE= yes
+USE_LDCONFIG= ${PREFIX}/lib/qt4
+
+ALL_TARGET= first
+CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
+MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
+ PATH=${WRKSRC}/bin:$$PATH
+
+DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
+ src/dbus src/network src/opengl src/phonon \
+ src/qt3support src/sql src/svg src/testlib \
+ src/tools src/xml src/xmlpatterns src/3rdparty/clucene \
+ src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS= | ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
+.endfor
+
+BUILD_WRKSRC=${WRKSRC}/src/${PORTNAME}
+INSTALL_WRKSRC=${BUILD_WRKSRC}
+
+pre-configure:
+ ${CP} ${.CURDIR}/../../devel/qt4/files/configure ${WRKSRC}
+ ${MKDIR} ${WRKSRC}/mkspecs
+ ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
+ ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
+ ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
+
+post-configure:
+ ${REINPLACE_CMD} -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ -e 's|.*$$(QMAKE).*||g' ${BUILD_WRKSRC}/Makefile
+ ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
+ -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
+ ${WRKSRC}/lib/pkgconfig/QtScriptTools.pc
+
+.include <bsd.port.mk>
diff --git a/devel/qt4-scripttools/distinfo b/devel/qt4-scripttools/distinfo
new file mode 100644
index 000000000000..27b0949354e8
--- /dev/null
+++ b/devel/qt4-scripttools/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-scripttools/pkg-descr b/devel/qt4-scripttools/pkg-descr
new file mode 100644
index 000000000000..efc79b9aaf24
--- /dev/null
+++ b/devel/qt4-scripttools/pkg-descr
@@ -0,0 +1,12 @@
+Qt is a C++ toolkit for application development. It lets application
+developers target all major operating systems with a single application
+source code.
+
+Qt provides a platform-independent API to all central platform functionality:
+GUI, database access, networking, file handling, etc. The Qt library
+encapsulates the different APIs of different operating systems, providing
+the application programmer with a single, common API for all operating systems.
+The native C APIs are encapsulated in a set of well-designed, fully
+object-oriented C++ classes.
+
+WWW: http://www.trolltech.com/products/qt/index.html
diff --git a/devel/qt4-scripttools/pkg-plist b/devel/qt4-scripttools/pkg-plist
new file mode 100644
index 000000000000..f1516693d4d5
--- /dev/null
+++ b/devel/qt4-scripttools/pkg-plist
@@ -0,0 +1,14 @@
+include/qt4/Qt/QtScriptTools
+include/qt4/Qt/qscriptenginedebugger.h
+include/qt4/QtScriptTools/QScriptEngineDebugger
+include/qt4/QtScriptTools/QtScriptTools
+include/qt4/QtScriptTools/qscriptenginedebugger.h
+lib/qt4/libQtScriptTools.la
+lib/qt4/libQtScriptTools.prl
+lib/qt4/libQtScriptTools.so
+lib/qt4/libQtScriptTools.so.4
+lib/qt4/libQtScriptTools.so.4.5
+lib/qt4/libQtScriptTools.so.4.5.2
+%%DEBUG%%lib/qt4/libQtScriptTools.so.4.5.2.debug
+libdata/pkgconfig/QtScriptTools.pc
+@dirrm include/qt4/QtScriptTools
diff --git a/devel/qt4-uic/Makefile b/devel/qt4-uic/Makefile
index daeb1448cdcd..f806fc6c344c 100644
--- a/devel/qt4-uic/Makefile
+++ b/devel/qt4-uic/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
@@ -51,4 +52,7 @@ pre-configure:
${MKDIR} ${WRKSRC}/../../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+do-build:
+ cd ${CONFIGURE_WRKSRC}/src/tools/bootstrap/ && make
+
.include <bsd.port.mk>
diff --git a/devel/qt4-uic/distinfo b/devel/qt4-uic/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-uic/distinfo
+++ b/devel/qt4-uic/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4-uic3/Makefile b/devel/qt4-uic3/Makefile
index 2677b6dcf74b..c6e14de4be4f 100644
--- a/devel/qt4-uic3/Makefile
+++ b/devel/qt4-uic3/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build qt3support corelib gui network sql xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/devel/qt4-uic3/distinfo b/devel/qt4-uic3/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/devel/qt4-uic3/distinfo
+++ b/devel/qt4-uic3/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/devel/qt4/Makefile b/devel/qt4/Makefile
index 10c777ccc03c..5e3d576f22b3 100644
--- a/devel/qt4/Makefile
+++ b/devel/qt4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qt4
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
+PORTREVISION=0
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # none
@@ -26,8 +26,8 @@ USE_QT_VER= 4
QT_COMPONENTS= accessible assistant assistant-adp assistantclient \
clucene corelib dbus designer doc help gui iconengines \
imageformats inputmethods network opengl qdbusviewer \
- qt3support qtestlib qvfb script sql svg webkit xml \
- xmlpatterns xmlpatterns-tool
+ qt3support qtestlib qvfb script scripttools sql svg webkit \
+ xml xmlpatterns xmlpatterns-tool
NO_BUILD= yes
diff --git a/devel/qt4/files/Makefile.options b/devel/qt4/files/Makefile.options
new file mode 100644
index 000000000000..732d16072bba
--- /dev/null
+++ b/devel/qt4/files/Makefile.options
@@ -0,0 +1,15 @@
+#qt4-corelib and qt4-gui must recompiled both when changing options
+QT4_OPTIONS_ALL=CUPS QGTKSTYLE NAS
+QT4_OPTIONS?=
+.if defined(PACKAGE_BUILDING)
+QT4_OPTIONS+= CUPS
+.endif
+
+.for opt in ${QT4_OPTIONS_ALL}
+${opt}_REPLACE=\#
+QT4_OPTIONS_REPLACE+= s,%%${opt}%%,${${opt}_REPLACE},g;
+.endfor
+
+.for opt in ${QT4_OPTIONS}
+${opt}_REPLACE=
+.endfor
diff --git a/devel/qt4/files/configure b/devel/qt4/files/configure
index 8fc340ed7963..71197f82cac3 100644
--- a/devel/qt4/files/configure
+++ b/devel/qt4/files/configure
@@ -2,8 +2,8 @@
#
# Configures to build the Qt library
#
-# Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-# Contact: Qt Software Information (qt-info@nokia.com)
+# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+# Contact: Nokia Corporation (qt-info@nokia.com)
#
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
@@ -108,7 +108,7 @@ PLATFORM_X11=no
PLATFORM_MAC=no
PLATFORM_QWS=no
-if [ -f "$relpath"/src/gui/kernel/qapplication_mac.cpp ] && [ -d /System/Library/Frameworks/Carbon.framework ]; then
+if [ -f "$relpath"/src/gui/kernel/qapplication_mac.mm ] && [ -d /System/Library/Frameworks/Carbon.framework ]; then
# Qt/Mac
# ~ the Carbon SDK exists
# ~ src/gui/base/qapplication_mac.cpp is present
@@ -119,7 +119,13 @@ elif [ -f "$relpath"/src/gui/kernel/qapplication_qws.cpp ]; then
# ~ src/gui/base/qapplication_qws.cpp is present
# ~ this is the free or commercial edition
# ~ this is the internal edition and Qt Embedded is explicitly enabled
- PLATFORM_QWS=maybe
+ if [ -f "$relpath"/src/gui/kernel/qapplication_mac.mm ]; then
+ # This is a depot build, or an all-platforms package
+ PLATFORM_QWS=maybe
+ else
+ # This must be the embedded package, since the Qt/Mac source files are not present
+ PLATFORM_QWS=yes
+ fi
fi
#-----------------------------------------------------------------------------
@@ -130,7 +136,7 @@ QT_MAJOR_VERSION=
QT_MINOR_VERSION=0
QT_PATCH_VERSION=0
if [ -n "$QT_VERSION" ]; then
- QT_VERSION=`echo $QT_VERSION | sed 's,^# *define *QT_VERSION_STR "*\([^ ]*\)"$,\1,'`
+ QT_VERSION=`echo $QT_VERSION | sed 's,^# *define *QT_VERSION_STR *"*\([^ ]*\)"$,\1,'`
MAJOR=`echo $QT_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*,\1,'`
if [ -n "$MAJOR" ]; then
MINOR=`echo $QT_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*,\2,'`
@@ -156,35 +162,144 @@ fi
#-------------------------------------------------------------------------------
# check the license
#-------------------------------------------------------------------------------
+COMMERCIAL_USER=no
+CFG_DEV=no
+CFG_NOKIA=no
+CFG_EMBEDDED=no
+EditionString=Commercial
-if [ -f "$relpath"/LICENSE.Qtopia ]; then
- # Qtopia Edition
- [ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
- Licensee="Qtopia"
- Edition="Qtopia"
- QT_EDITION="QT_EDITION_DESKTOP"
-elif [ -f "$relpath"/LICENSE.GPL2 -o -f "$relpath"/LICENSE.GPL3 ]; then
- # Open Source edition - may only be used under the terms of the GPL.
- [ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
- [ "$PLATFORM_QWS" = "maybe" ] && PLATFORM_QWS=yes
- Licensee="Open Source"
- Edition="OpenSource"
- EditionString="Open Source"
+earlyArgParse()
+{
+ # parse the arguments, setting things to "yes" or "no"
+ while [ "$#" -gt 0 ]; do
+ CURRENT_OPT="$1"
+ UNKNOWN_ARG=no
+ case "$1" in
+ #Autoconf style options
+ --enable-*)
+ VAR=`echo $1 | sed "s,^--enable-\(.*\),\1,"`
+ VAL=yes
+ ;;
+ --disable-*)
+ VAR=`echo $1 | sed "s,^--disable-\(.*\),\1,"`
+ VAL=no
+ ;;
+ --*=*)
+ VAR=`echo $1 | sed "s,^--\(.*\)=.*,\1,"`
+ VAL=`echo $1 | sed "s,^--.*=\(.*\),\1,"`
+ ;;
+ --no-*)
+ VAR=`echo $1 | sed "s,^--no-\(.*\),\1,"`
+ VAL=no
+ ;;
+ -embedded)
+ VAR=embedded
+ # this option may or may not be followed by an argument
+ if [ -z "$2" ] || echo "$2" | grep '^-' >/dev/null 2>&1; then
+ VAL=auto
+ else
+ shift;
+ VAL=$1
+ fi
+ ;;
+ -h|help|--help|-help)
+ if [ "$VAL" = "yes" ]; then
+ OPT_HELP="$VAL"
+ COMMERCIAL_USER="no" #doesn't matter we will display the help
+ else
+ UNKNOWN_OPT=yes
+ COMMERCIAL_USER="no" #doesn't matter we will display the help
+ fi
+ ;;
+ --*)
+ VAR=`echo $1 | sed "s,^--\(.*\),\1,"`
+ VAL=yes
+ ;;
+ -*)
+ VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
+ VAL="unknown"
+ ;;
+ *)
+ UNKNOWN_ARG=yes
+ ;;
+ esac
+ if [ "$UNKNOWN_ARG" = "yes" ]; then
+ shift
+ continue
+ fi
+ shift
+
+ UNKNOWN_OPT=no
+ case "$VAR" in
+ embedded)
+ CFG_EMBEDDED="$VAL"
+ if [ "$PLATFORM_QWS" != "no" ]; then
+ if [ "$PLATFORM_QWS" = "maybe" ]; then
+ PLATFORM_X11=no
+ PLATFORM_MAC=no
+ PLATFORM_QWS=yes
+ fi
+ else
+ echo "No license exists to enable Qt for Embedded Linux. Disabling."
+ CFG_EMBEDDED=no
+ fi
+ ;;
+ developer-build)
+ CFG_DEV="yes"
+ ;;
+ nokia-developer)
+ CFG_DEV="yes"
+ CFG_NOKIA="yes"
+ COMMERCIAL_USER="no"
+ ;;
+ commercial)
+ COMMERCIAL_USER="yes"
+ ;;
+ opensource)
+ COMMERCIAL_USER="no"
+ ;;
+ *)
+ UNKNOWN_OPT=yes
+ ;;
+ esac
+ done
+}
+
+earlyArgParse "$@"
+
+if [ "$COMMERCIAL_USER" = "ask" ]; then
+ while true; do
+ echo "Which edition of Qt do you want to use ?"
+ echo
+ echo "Type 'c' if you want to use the Commercial Edition."
+ echo "Type 'o' if you want to use the Open Source Edition."
+ echo
+ read commercial
+ echo
+ if [ "$commercial" = "c" ]; then
+ COMMERCIAL_USER="yes"
+ break
+ elif [ "$commercial" = "o" ]; then
+ COMMERCIAL_USER="no"
+ break
+ fi
+ done
+fi
+
+if [ "$CFG_NOKIA" = "yes" ]; then
+ Licensee="Nokia"
+ Edition="NokiaInternalBuild"
+ EditionString="Nokia Internal Build"
QT_EDITION="QT_EDITION_OPENSOURCE"
-elif [ -f "$relpath"/.LICENSE ]; then
- # Generic, non final license
[ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
- [ "$PLATFORM_QWS" = "maybe" ] && PLATFORM_QWS=yes
- Edition=`sed 's/ LICENSE AGREEMENT//;q' .LICENSE`
- Licensee="$Edition"
- QT_EDITION="QT_EDITION_DESKTOP"
-elif [ -f "$relpath"/LICENSE.TROLL ]; then
- # internal Trolltech edition
+elif [ -f "$relpath"/LICENSE.PREVIEW.COMMERCIAL ] && [ $COMMERCIAL_USER = "yes" ]; then
+ # Commercial preview release
[ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
- Licensee="Trolltech"
- Edition="Trolltech"
+ Licensee="Preview"
+ Edition="Preview"
QT_EDITION="QT_EDITION_DESKTOP"
-else
+ LicenseType="Technology Preview"
+elif [ $COMMERCIAL_USER = "yes" ]; then
# one of commercial editions
[ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
[ "$PLATFORM_QWS" = "maybe" ] && PLATFORM_QWS=yes
@@ -196,7 +311,7 @@ else
echo
echo "You are using an old license file."
echo
- echo "Please install the license file supplied by Trolltech,"
+ echo "Please install the license file supplied by Nokia,"
echo "or install the Qt Open Source Edition if you intend to"
echo "develop free software."
exit 1
@@ -331,6 +446,31 @@ else
;;
esac
fi
+
+ if test -r "$relpath/.LICENSE"; then
+ # Generic, non-final license
+ LICENSE_EXTENSION=""
+ line=`sed 'y/a-z/A-Z/;q' "$relpath"/.LICENSE`
+ case "$line" in
+ *BETA*)
+ Edition=Beta
+ ;;
+ *TECHNOLOGY?PREVIEW*)
+ Edition=Preview
+ ;;
+ *EVALUATION*)
+ Edition=Evaluation
+ ;;
+ *)
+ echo >&2 "Invalid license files; cannot continue"
+ exit 1
+ ;;
+ esac
+ Licensee="$Edition"
+ EditionString="$Edition"
+ QT_EDITION="QT_EDITION_DESKTOP"
+ fi
+
case "$LicenseFeatureCode" in
G|L)
# US
@@ -360,27 +500,8 @@ else
exit 1
;;
esac
- case "$LicenseFeatureCode" in
- G|2)
- # delete qtusagereporter for non-metered licenses
- rm -f "$relpath/bin/qtusagereporter"
- ;;
- L|5)
- # copy qtusagereporter for metered licenses
- if [ '!' -f "$outpath/bin/qtusagereporter" ]; then
- mkdir -p "$outpath/bin"
- cp -f "$relpath/bin/qtusagereporter" "$outpath/bin/qtusagereporter"
- fi
- QT_CONFIG="$QT_CONFIG qtusagereporter"
- ;;
- *)
- echo
- echo "Invalid license key. Please check the license key."
- exit 1
- ;;
- esac
if [ '!' -f "$outpath/LICENSE" ]; then
- echo "The LICENSE, LICENSE.GPL2, or LICENSE.GPL3 file shipped with"
+ echo "The LICENSE, LICENSE.GPL3 LICENSE.LGPL file shipped with"
echo "this software has disappeared."
echo
echo "Sorry, you are not licensed to use this software."
@@ -388,30 +509,29 @@ else
echo
exit 1
fi
+elif [ $COMMERCIAL_USER = "no" ]; then
+ # Open Source edition - may only be used under the terms of the GPL or LGPL.
+ [ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
+ Licensee="Open Source"
+ Edition="OpenSource"
+ EditionString="Open Source"
+ QT_EDITION="QT_EDITION_OPENSOURCE"
fi
-if [ "$PLATFORM_QWS" = "yes" ]; then
- Platform="Qt for Embedded Linux"
-elif [ "$PLATFORM_MAC" = "yes" ]; then
- Platform="Qt/Mac"
-else
- PLATFORM_X11=yes
- Platform="Qt/X11"
-fi
-
-echo
-echo "This is the $Platform ${EditionString-$Edition} Edition."
-echo
-
#-------------------------------------------------------------------------------
# initalize variables
#-------------------------------------------------------------------------------
SYSTEM_VARIABLES="CC CXX CFLAGS CXXFLAGS LDFLAGS"
for varname in $SYSTEM_VARIABLES; do
+ qmakevarname="${varname}"
+ # use LDFLAGS for autoconf compat, but qmake uses QMAKE_LFLAGS
+ if [ "${varname}" = "LDFLAGS" ]; then
+ qmakevarname="LFLAGS"
+ fi
cmd=`echo \
'if [ -n "\$'${varname}'" ]; then
- QMakeVar set QMAKE_'${varname}' "\$'${varname}'"
+ QMakeVar set QMAKE_'${qmakevarname}' "\$'${varname}'"
fi'`
eval "$cmd"
done
@@ -426,7 +546,7 @@ QMakeVar add gfx-drivers "linuxfb"
QMakeVar add kbd-drivers "tty"
QMakeVar add mouse-drivers "pc linuxtp"
-if [ "$Edition" = "Trolltech" ]; then
+if [ "$CFG_DEV" = "yes" ]; then
QMakeVar add kbd-drivers "um"
fi
@@ -440,10 +560,10 @@ MIN_DBUS_1_VERSION=0.62
CFG_CONFIGURE_EXIT_ON_ERROR=yes
CFG_PROFILE=no
CFG_EXCEPTIONS=unspecified
+CFG_SCRIPTTOOLS=auto # (yes|no|auto)
CFG_XMLPATTERNS=auto # (yes|no|auto)
CFG_INCREMENTAL=auto
CFG_QCONFIG=full
-CFG_EMBEDDED=no
CFG_DEBUG=auto
CFG_MYSQL_CONFIG=
CFG_DEBUG_RELEASE=no
@@ -464,8 +584,9 @@ CFG_LIBJPEG=auto
CFG_MNG=auto
CFG_LIBMNG=auto
CFG_XCURSOR=runtime
-CFG_XRANDR=auto
+CFG_XRANDR=runtime
CFG_XRENDER=auto
+CFG_MITSHM=auto
CFG_OPENGL=auto
CFG_SSE=auto
CFG_FONTCONFIG=auto
@@ -480,7 +601,6 @@ CFG_PHONON=auto
CFG_PHONON_BACKEND=yes
CFG_SVG=yes
CFG_WEBKIT=auto # (yes|no|auto)
-CFG_ASSISTANT_WEBKIT=no
CFG_GFX_AVAILABLE="linuxfb transformed qvfb vnc multiscreen"
CFG_GFX_ON="linuxfb multiscreen"
@@ -492,11 +612,6 @@ CFG_KBD_ON="tty" #default, see QMakeVar above
CFG_MOUSE_AVAILABLE="pc bus linuxtp yopy vr41xx tslib qvfb"
CFG_MOUSE_ON="pc linuxtp" #default, see QMakeVar above
-if [ "$Edition" = "Trolltech" ]; then
- CFG_KBD_AVAILABLE="${CFG_KBD_AVAILABLE} um"
- CFG_KBD_ON="${CFG_KBD_ON} um"
-fi
-
CFG_ARCH=
CFG_HOST_ARCH=
CFG_KBD_PLUGIN_AVAILABLE=
@@ -511,7 +626,7 @@ CFG_DECORATION_AVAILABLE="styled windows default"
CFG_DECORATION_ON="${CFG_DECORATION_AVAILABLE}" # all on by default
CFG_DECORATION_PLUGIN_AVAILABLE=
CFG_DECORATION_PLUGIN=
-CFG_TABLET=auto
+CFG_XINPUT=runtime
CFG_XKB=auto
CFG_NIS=auto
CFG_CUPS=auto
@@ -519,8 +634,10 @@ CFG_ICONV=auto
CFG_DBUS=auto
CFG_GLIB=auto
CFG_GSTREAMER=auto
+CFG_QGTKSTYLE=auto
CFG_LARGEFILE=auto
CFG_OPENSSL=auto
+CFG_PTMALLOC=no
CFG_STL=auto
CFG_PRECOMPILE=auto
CFG_SEPARATE_DEBUG_INFO=auto
@@ -551,7 +668,12 @@ CFG_INOTIFY=auto
CFG_RPATH=yes
CFG_FRAMEWORK=auto
CFG_MAC_ARCHS=
-CFG_MAC_DWARF2=no
+MAC_ARCHS_COMMANDLINE=
+CFG_MAC_DWARF2=auto
+CFG_MAC_XARCH=auto
+CFG_MAC_CARBON=yes
+CFG_MAC_COCOA=auto
+COMMANDLINE_MAC_COCOA=no
CFG_SXE=no
CFG_PREFIX_INSTALL=yes
CFG_SDK=
@@ -570,6 +692,7 @@ OPT_FAST=auto
OPT_VERBOSE=no
OPT_HELP=
CFG_SILENT=no
+CFG_GRAPHICS_SYSTEM=default
# initalize variables used for installation
QT_INSTALL_PREFIX=
@@ -708,13 +831,10 @@ while [ "$#" -gt 0 ]; do
VAL=no
;;
#Qt style yes options
- -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-tablet|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-opengl|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-xmlpatterns|-phonon|-phonon-backend|-svg|-webkit|-assistant-webkit)
+ -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xinput|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-svg|-webkit|-scripttools|-rpath|-force-pkg-config)
VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
VAL=yes
;;
- -force-pkg-config)
- QT_FORCE_PKGCONFIG=yes
- ;;
#Qt style options that pass an argument
-qconfig)
if [ "$PLATFORM_QWS" = "yes" ]; then
@@ -756,6 +876,16 @@ while [ "$#" -gt 0 ]; do
VAL=$1
fi
;;
+ -opengl)
+ VAR=opengl
+ # this option may or may not be followed by an argument
+ if [ -z "$2" ] || echo "$2" | grep '^-' >/dev/null 2>&1; then
+ VAL=yes
+ else
+ shift;
+ VAL=$1
+ fi
+ ;;
-hostprefix)
VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
# this option may or may not be followed by an argument
@@ -779,6 +909,11 @@ while [ "$#" -gt 0 ]; do
shift
VAL="$1"
;;
+ -graphicssystem)
+ VAR="graphicssystem"
+ shift
+ VAL=$1
+ ;;
-qtlibinfix)
VAR="qtlibinfix"
shift
@@ -890,6 +1025,9 @@ while [ "$#" -gt 0 ]; do
hostprefix)
QT_HOST_PREFIX="$VAL"
;;
+ force-pkg-config)
+ QT_FORCE_PKGCONFIG=yes
+ ;;
docdir)
QT_INSTALL_DOCS="$VAL"
;;
@@ -984,12 +1122,32 @@ while [ "$#" -gt 0 ]; do
CFG_QWS_DEPTHS="$VAL"
;;
opengl)
- if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ if [ "$VAL" = "auto" ] || [ "$VAL" = "desktop" ] ||
+ [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] ||
+ [ "$VAL" = "es1cl" ] || [ "$VAL" = "es1" ] || [ "$VAL" = "es2" ]; then
CFG_OPENGL="$VAL"
else
UNKNOWN_OPT=yes
fi
;;
+ graphicssystem)
+ if [ "$PLATFORM_QWS" = "yes" ]; then
+ echo "Error: Graphics System plugins are not supported on QWS."
+ echo " On QWS, the graphics system API is part of the QScreen plugin architecture "
+ echo " rather than existing as a separate plugin."
+ echo ""
+ UNKNOWN_OPT=yes
+ else
+ if [ "$VAL" = "opengl" ]; then
+ CFG_GRAPHICS_SYSTEM="opengl"
+ elif [ "$VAL" = "raster" ]; then
+ CFG_GRAPHICS_SYSTEM="raster"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
+
qvfb) # left for commandline compatibility, not documented
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
if [ "$VAL" = "yes" ]; then
@@ -1052,6 +1210,14 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ cocoa)
+ if [ "$PLATFORM_MAC" = "yes" ] && [ "$VAL" = "yes" ]; then
+ CFG_MAC_COCOA="$VAL"
+ COMMANDLINE_MAC_COCOA="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
framework)
if [ "$PLATFORM_MAC" = "yes" ]; then
CFG_FRAMEWORK="$VAL"
@@ -1176,6 +1342,9 @@ while [ "$#" -gt 0 ]; do
debug)
CFG_DEBUG="$VAL"
;;
+ developer-build|commercial|opensource|nokia-developer)
+ # These switches have been dealt with already
+ ;;
static)
if [ "$VAL" = "yes" ]; then
CFG_SHARED=no
@@ -1250,9 +1419,9 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
- tablet)
- if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
- CFG_TABLET="$VAL"
+ xinput)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "runtime" ]; then
+ CFG_XINPUT="$VAL"
else
UNKNOWN_OPT=yes
fi
@@ -1402,7 +1571,7 @@ while [ "$#" -gt 0 ]; do
fi
;;
xrandr)
- if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "runtime" ]; then
CFG_XRANDR="$VAL"
else
UNKNOWN_OPT=yes
@@ -1415,6 +1584,13 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ mitshm)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_MITSHM="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
fontconfig)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_FONTCONFIG="$VAL"
@@ -1457,6 +1633,13 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ gtkstyle)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_QGTKSTYLE="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
qdbus|dbus)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "linked" ]; then
CFG_DBUS="$VAL"
@@ -1501,6 +1684,14 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ ptmalloc)
+ if [ "$VAL" = "yes" ]; then
+ CFG_PTMALLOC="yes"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
+
xmlpatterns)
if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
CFG_XMLPATTERNS="yes"
@@ -1512,6 +1703,17 @@ while [ "$#" -gt 0 ]; do
fi
fi
;;
+ scripttools)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
+ CFG_SCRIPTTOOLS="yes"
+ else
+ if [ "$VAL" = "no" ]; then
+ CFG_SCRIPTTOOLS="no"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
svg)
if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
CFG_SVG="yes"
@@ -1534,17 +1736,6 @@ while [ "$#" -gt 0 ]; do
fi
fi
;;
- assistant-webkit)
- if [ "$VAL" = "yes" ]; then
- CFG_ASSISTANT_WEBKIT="yes"
- else
- if [ "$VAL" = "no" ]; then
- CFG_ASSISTANT_WEBKIT="no"
- else
- UNKNOWN_OPT=yes
- fi
- fi
- ;;
confirm-license)
if [ "$VAL" = "yes" ]; then
OPT_CONFIRM_LICENSE="$VAL"
@@ -1757,11 +1948,23 @@ if [ "$CFG_QCONFIG" != "full" ] && [ "$CFG_QT3SUPPORT" = "yes" ]; then
CFG_QT3SUPPORT="no"
fi
-if [ "$CFG_ASSISTANT_WEBKIT" = "yes" ] && [ "$CFG_WEBKIT" = "no" ]; then
- echo "Warning: WebKit cannot be used in Qt Assistant, since the Qt WebKit module"
- echo "won't be built with the current configuration."
- CFG_ASSISTANT_WEBKIT="no"
-fi
+# update QT_CONFIG to show our current predefined configuration
+case "$CFG_QCONFIG" in
+minimal|small|medium|large|full)
+ # these are a sequence of increasing functionality
+ for c in minimal small medium large full; do
+ QT_CONFIG="$QT_CONFIG $c-config"
+ [ "$CFG_QCONFIG" = $c ] && break
+ done
+ ;;
+*)
+ # not known to be sufficient for anything
+ if [ '!' -f "$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h" ]; then
+ echo >&2 "Error: configuration file not found:"
+ echo >&2 " $relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h"
+ OPT_HELP=yes
+ fi
+esac
#-------------------------------------------------------------------------------
# build tree initialization
@@ -1772,7 +1975,7 @@ unixtests="$relpath/config.tests/unix"
mactests="$relpath/config.tests/mac"
WHICH="$unixtests/which.test"
-PKG_CONFIG=`$WHICH pkg-config 2>/dev/null`
+PERL=`$WHICH perl 2>/dev/null`
# find out which awk we want to use, prefer gawk, then nawk, then regular awk
AWK=
@@ -1819,7 +2022,7 @@ if [ "$CFG_DEBUG" = "auto" ]; then
if [ "$PLATFORM_MAC" = "yes" ]; then
CFG_DEBUG_RELEASE=yes
CFG_DEBUG=yes
- elif [ "$Edition" = "Trolltech" ]; then
+ elif [ "$CFG_DEV" = "yes" ]; then
CFG_DEBUG_RELEASE=no
CFG_DEBUG=yes
else
@@ -1839,6 +2042,14 @@ fi
# symlink or copy part of the sources
if [ "$OPT_SHADOW" = "yes" ]; then
echo "Preparing build tree..."
+
+ if [ -z "$PERL" ]; then
+ echo
+ echo "You need perl in your PATH to make a shadow build."
+ echo "Cannot proceed."
+ exit 1
+ fi
+
[ -d "$outpath/bin" ] || mkdir -p "$outpath/bin"
# symlink the qmake directory
@@ -1866,12 +2077,11 @@ if [ "$OPT_SHADOW" = "yes" ]; then
# make a syncqt script that can be used in the shadow
rm -f "$outpath/bin/syncqt"
- if [ -x "/usr/bin/perl" ] && [ -x "$relpath/bin/syncqt" ]; then
+ if [ -x "$relpath/bin/syncqt" ]; then
mkdir -p "$outpath/bin"
echo "#!/bin/sh" >"$outpath/bin/syncqt"
echo "QTDIR=\"$relpath\"; export QTDIR" >>"$outpath/bin/syncqt"
- [ "$Edition" = "Trolltech" ] && echo "perl \"$relpath/bin/syncqt\" -outdir \"$relpath\" \$*" >>"$outpath/bin/syncqt"
- echo "perl \"$relpath/bin/syncqt\" -outdir \"$outpath\"" >>"$outpath/bin/syncqt"
+ echo "perl \"$relpath/bin/syncqt\" -outdir \"$outpath\" $*" >>"$outpath/bin/syncqt"
chmod 755 "$outpath/bin/syncqt"
fi
@@ -1886,7 +2096,7 @@ if [ "$OPT_SHADOW" = "yes" ]; then
fi
# symlink files from src/gui/embedded neccessary to build qvfb
-if [ "$Edition" = "Trolltech" -o "$Edition" = "Qtopia" ]; then
+if [ "$CFG_DEV" = "yes" ]; then
for f in qvfbhdr.h qlock_p.h qlock.cpp qwssignalhandler_p.h qwssignalhandler.cpp; do
dest="${relpath}/tools/qvfb/${f}"
rm -f "$dest"
@@ -1898,12 +2108,12 @@ fi
if [ "$PLATFORM_QWS" = "yes" ] && [ ! -e "${outpath}/lib/fonts" ]; then
if [ "$PLATFORM" = "$XPLATFORM" ]; then
mkdir -p "${outpath}/lib"
- ln -s "${relpath}/dist/embedded-linux/lib/fonts" "${outpath}/lib/fonts"
+ ln -s "${relpath}/lib/fonts" "${outpath}/lib/fonts"
fi
fi
if [ "$OPT_FAST" = "auto" ]; then
- if [ '!' -z "$AWK" ] && [ "$Edition" = "Trolltech" ]; then
+ if [ '!' -z "$AWK" ] && [ "$CFG_DEV" = "yes" ]; then
OPT_FAST=yes
else
OPT_FAST=no
@@ -1965,6 +2175,9 @@ if [ "$CFG_EMBEDDED" != "no" ]; then
*86_64)
PLATFORM=qws/linux-x86_64-g++
;;
+ *ppc)
+ PLATFORM=qws/linux-ppc-g++
+ ;;
*)
PLATFORM=qws/linux-generic-g++
;;
@@ -1982,6 +2195,9 @@ if [ "$CFG_EMBEDDED" != "no" ]; then
*86_64)
CFG_EMBEDDED=x86_64
;;
+ *ppc)
+ CFG_EMBEDDED=ppc
+ ;;
*)
CFG_EMBEDDED=generic
;;
@@ -2086,7 +2302,7 @@ if [ -z "$PLATFORM" ]; then
;;
Linux:*)
case "$UNAME_MACHINE" in
- x86_64|s390x)
+ x86_64|s390x|ppc64)
PLATFORM=linux-g++-64
;;
*)
@@ -2391,6 +2607,15 @@ if [ "$PLATFORM" != "$XPLATFORM" -a "$CFG_EMBEDDED" != "no" ]; then
ipaq|sharp)
CFG_ARCH=arm
;;
+ dm7000)
+ CFG_ARCH=powerpc
+ ;;
+ dm800)
+ CFG_ARCH=mips
+ ;;
+ sh4al)
+ CFG_ARCH=sh4a
+ ;;
*)
CFG_ARCH="$CFG_EMBEDDED"
;;
@@ -2433,9 +2658,17 @@ fi
# tests that don't need qmake (must be run before displaying help)
#-------------------------------------------------------------------------------
+if [ -z "$PKG_CONFIG" ]; then
+ # See if PKG_CONFIG is set in the mkspec:
+ PKG_CONFIG=`getQMakeConf "$XQMAKESPEC" | sed -n -e 's%PKG_CONFIG[^_].*=%%p' | tr '\n' ' '`
+fi
+if [ -z "$PKG_CONFIG" ]; then
+ PKG_CONFIG=`$WHICH pkg-config 2>/dev/null`
+fi
+
# Work out if we can use pkg-config
if [ "$QT_CROSS_COMPILE" = "yes" ]; then
- if [ -n "$QT_FORCE_PKGCONFIG" ]; then
+ if [ "$QT_FORCE_PKGCONFIG" = "yes" ]; then
echo >&2 ""
echo >&2 "You have asked to use pkg-config and are cross-compiling."
echo >&2 "Please make sure you have a correctly set-up pkg-config"
@@ -2447,12 +2680,12 @@ if [ "$QT_CROSS_COMPILE" = "yes" ]; then
echo >&2 "the host compiler's .pc files will be used. This is probably"
echo >&2 "not what you want."
echo >&2 ""
- elif [ -z "$PKG_CONFIG_SYSROOT" ]; then
+ elif [ -z "$PKG_CONFIG_SYSROOT" ] && [ -z "$PKG_CONFIG_SYSROOT_DIR" ]; then
echo >&2 ""
- echo >&2 "Warning: PKG_CONFIG_SYSROOT has not been set. This means"
- echo >&2 "your toolchain's .pc files must contain the paths to the"
- echo >&2 "toolchain's libraries & headers. If configure tests are"
- echo >&2 "failing, please check these files."
+ echo >&2 "Warning: PKG_CONFIG_SYSROOT/PKG_CONFIG_SYSROOT_DIR has not"
+ echo >&2 "been set. This means your toolchain's .pc files must contain"
+ echo >&2 "the paths to the toolchain's libraries & headers. If configure"
+ echo >&2 "tests are failing, please check these files."
echo >&2 ""
fi
else
@@ -2460,6 +2693,31 @@ if [ "$QT_CROSS_COMPILE" = "yes" ]; then
fi
fi
+# process CFG_MAC_ARCHS
+if [ "$PLATFORM_MAC" = "yes" ]; then
+# check -arch arguments for validity.
+ ALLOWED="x86 ppc x86_64 ppc64 i386"
+ # Save the list so we can re-write it using only valid values
+ CFG_MAC_ARCHS_IN="$CFG_MAC_ARCHS"
+ CFG_MAC_ARCHS=
+ for i in $CFG_MAC_ARCHS_IN
+ do
+ if echo "$ALLOWED" | grep -w -v "$i" > /dev/null 2>&1; then
+ echo "Unknown architecture: \"$i\". Supported architectures: x86[i386] ppc x86_64 ppc64";
+ exit 2;
+ fi
+ if [ "$i" = "i386" -o "$i" = "x86" ]; then
+ # These are synonymous values
+ # CFG_MAC_ARCHS requires x86 while GCC requires i386
+ CFG_MAC_ARCHS="$CFG_MAC_ARCHS x86"
+ MAC_ARCHS_COMMANDLINE="$MAC_ARCHS_COMMANDLINE -arch i386"
+ else
+ CFG_MAC_ARCHS="$CFG_MAC_ARCHS $i"
+ MAC_ARCHS_COMMANDLINE="$MAC_ARCHS_COMMANDLINE -arch $i"
+ fi
+ done
+fi
+
# find the default framework value
if [ "$PLATFORM_MAC" = "yes" ] && [ "$PLATFORM" != "macx-xlc" ]; then
if [ "$CFG_FRAMEWORK" = "auto" ]; then
@@ -2495,14 +2753,23 @@ elif [ "$CFG_PRECOMPILE" = "yes" ] && [ `echo "$CFG_MAC_ARCHS" | wc -w` -gt 1 ];
fi
#auto-detect DWARF2 on the mac
-if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_DWARF2" != "no" ]; then
- if "$mactests/dwarf2.test" "$TEST_COMPILER" "$OPT_VERBOSE"; then
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_DWARF2" == "auto" ]; then
+ if "$mactests/dwarf2.test" "$TEST_COMPILER" "$OPT_VERBOSE" "$mactests" ; then
CFG_MAC_DWARF2=no
else
CFG_MAC_DWARF2=yes
fi
fi
+# auto-detect support for -Xarch on the mac
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_XARCH" == "auto" ]; then
+ if "$mactests/xarch.test" "$TEST_COMPILER" "$OPT_VERBOSE" "$mactests" ; then
+ CFG_MAC_XARCH=no
+ else
+ CFG_MAC_XARCH=yes
+ fi
+fi
+
# don't autodetect support for separate debug info on objcopy when
# cross-compiling as lots of toolchains seems to have problems with this
if [ "$QT_CROSS_COMPILE" = "yes" ] && [ "$CFG_SEPARATE_DEBUG_INFO" = "auto" ]; then
@@ -2554,10 +2821,15 @@ if [ "$CFG_USE_GNUMAKE" = "auto" ] && "$MAKE" -v | grep "GNU Make" >/dev/null 2>
CFG_USE_GNUMAKE=yes
fi
+# If -opengl wasn't specified, don't try to auto-detect
+if [ "$PLATFORM_QWS" = "yes" ] && [ "$CFG_OPENGL" = "auto" ]; then
+ CFG_OPENGL=no
+fi
+
# mac
if [ "$PLATFORM_MAC" = "yes" ]; then
- if [ "$CFG_OPENGL" = "auto" ]; then
- CFG_OPENGL=yes
+ if [ "$CFG_OPENGL" = "auto" ] || [ "$CFG_OPENGL" = "yes" ]; then
+ CFG_OPENGL=desktop
fi
fi
@@ -2577,15 +2849,6 @@ fi
# x11 tests are done after qmake is built
-# embedded
-if [ "$PLATFORM_QWS" = "yes" ]; then
-
- # No OpenGL by default for Qt Embedded
- if [ "$CFG_OPENGL" = "auto" ]; then
- CFG_OPENGL=no
- fi
-
-fi # QWS
#setup the build parts
if [ -z "$CFG_BUILD_PARTS" ]; then
@@ -2612,7 +2875,7 @@ fi
#prefix
if [ -z "$QT_INSTALL_PREFIX" ]; then
- if [ "$Edition" = "Trolltech" ]; then
+ if [ "$CFG_DEV" = "yes" ]; then
QT_INSTALL_PREFIX="$outpath" # At Trolltech, we use sandboxed builds by default
elif [ "$PLATFORM_QWS" = "yes" ]; then
QT_INSTALL_PREFIX="/usr/local/Trolltech/QtEmbedded-${QT_VERSION}"
@@ -2786,26 +3049,28 @@ if [ "$OPT_HELP" = "yes" ]; then
fi
cat <<EOF
-Usage: $relconf [-prefix <dir>] [-prefix-install] [-bindir <dir>] [-libdir <dir>]
+Usage: $relconf [-h] [-prefix <dir>] [-prefix-install] [-bindir <dir>] [-libdir <dir>]
[-docdir <dir>] [-headerdir <dir>] [-plugindir <dir> ] [-datadir <dir>]
[-translationdir <dir>] [-sysconfdir <dir>] [-examplesdir <dir>]
[-demosdir <dir>] [-buildkey <key>] [-release] [-debug]
- [-debug-and-release] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]
+ [-debug-and-release] [-developer-build] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]
[-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
[-accessibility] [-no-stl] [-stl] [-no-sql-<driver>] [-sql-<driver>]
[-plugin-sql-<driver>] [-system-sqlite] [-no-qt3support] [-qt3support]
[-platform] [-D <string>] [-I <string>] [-L <string>] [-help]
- [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-system-libtiff]
+ [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-qt-libtiff] [-system-libtiff]
[-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
[-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make <part>]
[-no-make <part>] [-R <string>] [-l <string>] [-no-rpath] [-rpath] [-continue]
[-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] [-no-iconv]
[-iconv] [-no-pch] [-pch] [-no-dbus] [-dbus] [-dbus-linked]
[-no-separate-debug-info] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
- [-qtnamespace <namespace>] [-separate-debug-info] [-armfpa]
+ [-qtnamespace <namespace>] [-qtlibinfix <infix>] [-separate-debug-info] [-armfpa]
[-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns] [-xmlpatterns]
- [-no-phonon] [-phonon-backend] [-no-phonon-backend] [-phonon-backend] [-no-svg]
- [-svg] [-no-webkit] [-webkit] [-no-assistant-webkit] [-assistant-webkit]
+ [-no-phonon] [-phonon] [-no-phonon-backend] [-phonon-backend]
+ [-no-openssl] [-openssl] [-openssl-linked]
+ [-no-gtkstyle] [-gtkstyle] [-no-svg] [-svg] [-no-webkit] [-webkit]
+ [-no-scripttools] [-scripttools]
[additional platform specific options (see below)]
@@ -2875,6 +3140,12 @@ Configure options:
-debug-and-release . Compile and link two versions of Qt, with and without
debugging turned on (Mac only).
+ -developer-build.... Compile and link Qt with Qt developer options (including auto-tests exporting)
+
+ -opensource......... Compile and link the Open-Source Edition of Qt.
+ -commercial......... Compile and link the Commercial Edition of Qt.
+
+
* -shared ............ Create and use shared Qt libraries.
-static ............ Create and use static Qt libraries.
@@ -2927,8 +3198,8 @@ fi
-no-qt3support ..... Disables the Qt 3 support functionality.
* -qt3support ........ Enables the Qt 3 support functionality.
- -no-xmlpatterns..... Do not build the QtXmlPatterns module.
- + -xmlpatterns........ Build the QtXmlPatterns module.
+ -no-xmlpatterns .... Do not build the QtXmlPatterns module.
+ + -xmlpatterns ....... Build the QtXmlPatterns module.
QtXmlPatterns is built if a decent C++ compiler
is used and exceptions are enabled.
@@ -2944,17 +3215,24 @@ fi
-no-webkit ......... Do not build the WebKit module.
+ -webkit ............ Build the WebKit module.
WebKit is built if a decent C++ compiler is used.
-
- * -no-assistant-webkit Do not use WebKit as the html rendering engine in
- Assistant.
- -assistant-webkit Use WebKit as html rendering engine in Assistant.
- This is only available if the WebKit module is built.
+
+ -no-scripttools .... Do not build the QtScriptTools module.
+ + -scripttools ....... Build the QtScriptTools module.
-platform target ... The operating system and compiler you are building
on ($PLATFORM).
See the README file for a list of supported
operating systems and compilers.
+EOF
+if [ "${PLATFORM_QWS}" != "yes" ]; then
+cat << EOF
+ -graphicssystem <sys> Sets an alternate graphics system. Available options are:
+ raster - Software rasterizer
+ opengl - Rendering via OpenGL, Experimental!
+EOF
+fi
+cat << EOF
-no-mmx ............ Do not compile with use of MMX instructions.
-no-3dnow .......... Do not compile with use of 3DNOW instructions.
@@ -3004,6 +3282,9 @@ Third Party Libraries:
+ -openssl ........... Enable run-time OpenSSL support.
-openssl-linked .... Enabled linked OpenSSL support.
+ -ptmalloc .......... Override the system memory allocator with ptmalloc.
+ (Experimental.)
+
Additional options:
-make <part> ....... Add part to the list of parts to be built at make time.
@@ -3036,6 +3317,7 @@ Additional options:
$CUN -no-cups ........... Do not compile CUPS support.
$CUY -cups .............. Compile CUPS support.
+ Requires cups/cups.h and libcups.so.2.
$CIN -no-iconv .......... Do not compile support for iconv(3).
$CIY -iconv ............. Compile support for iconv(3).
@@ -3045,7 +3327,7 @@ Additional options:
$DBN -no-dbus ........... Do not compile the QtDBus module.
$DBY -dbus .............. Compile the QtDBus module and dynamically load libdbus-1.
- -dbus-linked........ Compile the QtDBus module and link to libdbus-1.
+ -dbus-linked ....... Compile the QtDBus module and link to libdbus-1.
-reduce-relocations ..... Reduce relocations in the libraries through extra
linker optimizations (Qt/X11 and Qt for Embedded Linux only;
@@ -3095,11 +3377,11 @@ if [ "$PLATFORM_X11" = "yes" ]; then
SHN=" "
fi
if [ "$CFG_XINERAMA" = "no" ]; then
- XRY=" "
- XRN="*"
+ XAY=" "
+ XAN="*"
else
- XRY="*"
- XRN=" "
+ XAY="*"
+ XAN=" "
fi
if [ "$CFG_FONTCONFIG" = "no" ]; then
FCGY=" "
@@ -3115,6 +3397,13 @@ if [ "$PLATFORM_X11" = "yes" ]; then
XCY="*"
XCN=" "
fi
+ if [ "$CFG_XFIXES" = "no" ]; then
+ XFY=" "
+ XFN="*"
+ else
+ XFY="*"
+ XFN=" "
+ fi
if [ "$CFG_XRANDR" = "no" ]; then
XZY=" "
XZN="*"
@@ -3129,7 +3418,14 @@ if [ "$PLATFORM_X11" = "yes" ]; then
XRY="*"
XRN=" "
fi
- if [ "$CFG_TABLET" = "no" ]; then
+ if [ "$CFG_MITSHM" = "no" ]; then
+ XMY=" "
+ XMN="*"
+ else
+ XMY="*"
+ XMN=" "
+ fi
+ if [ "$CFG_XINPUT" = "no" ]; then
XIY=" "
XIN="*"
else
@@ -3154,12 +3450,22 @@ if [ "$PLATFORM_X11" = "yes" ]; then
Qt/X11 only:
+ -no-gtkstyle ....... Do not build the GTK theme integration.
+ + -gtkstyle .......... Build the GTK theme integration.
+
* -no-nas-sound ...... Do not compile in NAS sound support.
-system-nas-sound .. Use NAS libaudio from the operating system.
See http://radscan.com/nas.html
-no-opengl ......... Do not support OpenGL.
- + -opengl ............ Enable OpenGL support.
+ + -opengl <api> ...... Enable OpenGL support.
+ With no parameter, this will auto-detect the "best"
+ OpenGL API to use. If desktop OpenGL is avaliable, it
+ will be used. Use desktop, es1, es1cl or es2 for <api>
+ to force the use of the Desktop (OpenGL 1.x or 2.x),
+ OpenGL ES 1.x Common profile, 1.x Common Lite profile
+ or 2.x APIs instead. On X11, the EGL API will be used
+ to manage GL contexts in the case of OpenGL ES.
$SMN -no-sm ............. Do not support X Session Management.
$SMY -sm ................ Support X Session Management, links in -lSM -lICE.
@@ -3168,8 +3474,8 @@ Qt/X11 only:
$SHY -xshape ............ Compile XShape support.
Requires X11/extensions/shape.h.
- $XRN -no-xinerama ....... Do not compile Xinerama (multihead) support.
- $XRY -xinerama .......... Compile Xinerama support.
+ $XAN -no-xinerama ....... Do not compile Xinerama (multihead) support.
+ $XAY -xinerama .......... Compile Xinerama support.
Requires X11/extensions/Xinerama.h and libXinerama.
By default, Xinerama support will be compiled if
available and the shared libraries are dynamically
@@ -3182,8 +3488,8 @@ Qt/X11 only:
available and the shared libraries are dynamically
loaded at runtime.
- $XCN -no-xfixes ......... Do not compile Xfixes support.
- $XCY -xfixes ............ Compile Xfixes support.
+ $XFN -no-xfixes ......... Do not compile Xfixes support.
+ $XFY -xfixes ............ Compile Xfixes support.
Requires X11/extensions/Xfixes.h and libXfixes.
By default, Xfixes support will be compiled if
available and the shared libraries are dynamically
@@ -3195,16 +3501,20 @@ Qt/X11 only:
$XRN -no-xrender ........ Do not compile Xrender support.
$XRY -xrender ........... Compile Xrender support.
- Requires X11/extensions/Xrender.h and libXrender
+ Requires X11/extensions/Xrender.h and libXrender.
+
+ $XMN -no-mitshm ......... Do not compile MIT-SHM support.
+ $XMY -mitshm ............ Compile MIT-SHM support.
+ Requires sys/ipc.h, sys/shm.h and X11/extensions/XShm.h
$FCGN -no-fontconfig ..... Do not compile FontConfig (anti-aliased font) support.
$FCGY -fontconfig ........ Compile FontConfig support.
Requires fontconfig/fontconfig.h, libfontconfig,
freetype.h and libfreetype.
- $XIN -no-tablet ......... Do not compile Tablet support.
- $XIY -tablet ............ Compile Tablet support.
- Requires IRIX with wacom.h and libXi or
+ $XIN -no-xinput.......... Do not compile Xinput support.
+ $XIY -xinput ............ Compile Xinput support. This also enabled tablet support
+ which requires IRIX with wacom.h and libXi or
XFree86 with X11/extensions/XInput.h and libXi.
$XKN -no-xkb ............ Do not compile XKB (X KeyBoard extension) support.
@@ -3221,17 +3531,24 @@ Qt/Mac only:
-Fstring ........... Add an explicit framework path.
-fw string ......... Add an explicit framework.
+ -cocoa ............. Build the Cocoa version of Qt. Note that -no-framework
+ and -static is not supported with -cocoa. Specifying
+ this option creates Qt binaries that requires Mac OS X
+ 10.5 or higher.
+
* -framework ......... Build Qt as a series of frameworks and
link tools against those frameworks.
-no-framework ...... Do not build Qt as a series of frameworks.
- -dwarf2 ............ Enable dwarf2 debugging symbols.
- * -no-dwarf2 ......... Disable dwarf2 debugging symbols.
+ * -dwarf2 ............ Enable dwarf2 debugging symbols.
+ -no-dwarf2 ......... Disable dwarf2 debugging symbols.
-universal ......... Equivalent to -arch "ppc x86"
-arch <arch> ....... Build Qt for <arch>
Example values for <arch>: x86 ppc x86_64 ppc64
+ Multiple -arch arguments can be specified, 64-bit archs
+ will be built with the Cocoa framework.
-sdk <sdk> ......... Build Qt using Apple provided SDK <sdk>. This option requires gcc 4.
To use a different SDK with gcc 3.3, set the SDKROOT environment variable.
@@ -3272,7 +3589,7 @@ Qt for Embedded Linux only:
-no-freetype ........ Do not compile in Freetype2 support.
-qt-freetype ........ Use the libfreetype bundled with Qt.
- * -system-libfreetype. Use libfreetype from the operating system.
+ * -system-freetype .... Use libfreetype from the operating system.
See http://www.freetype.org/
-qconfig local ...... Use src/corelib/global/qconfig-local.h rather than the
@@ -3290,6 +3607,14 @@ Qt for Embedded Linux only:
-no-decoration-<style> ....Disable decoration <style> entirely.
Possible values for <style>: [ $CFG_DECORATION_AVAILABLE ]
+ -no-opengl .......... Do not support OpenGL.
+ -opengl <api> ....... Enable OpenGL ES support
+ With no parameter, this will attempt to auto-detect OpenGL ES 1.x
+ or 2.x. Use es1, es1cl or es2 for <api> to override auto-detection.
+
+ NOTE: A QGLScreen driver for the hardware is required to support
+ OpenGL ES on Qt for Embedded Linux.
+
-qt-gfx-<driver> ... Enable a graphics <driver> in the QtGui library.
Possible values for <driver>: [ $CFG_GFX_AVAILABLE ]
-plugin-gfx-<driver> Enable graphics <driver> as a plugin to be
@@ -3301,7 +3626,7 @@ Qt for Embedded Linux only:
-qt-kbd-<driver> ... Enable a keyboard <driver> in the QtGui library.
Possible values for <driver>: [ $CFG_KBD_AVAILABLE ]
- -plugin-kbd-<driver> Enable keyboard <driver> as a plugin to be linked to
+ -plugin-kbd-<driver> Enable keyboard <driver> as a plugin to be linked to
at runtime.
Possible values for <driver>: [ $CFG_KBD_PLUGIN_AVAILABLE ]
@@ -3310,7 +3635,7 @@ Qt for Embedded Linux only:
-qt-mouse-<driver> ... Enable a mouse <driver> in the QtGui library.
Possible values for <driver>: [ $CFG_MOUSE_AVAILABLE ]
- -plugin-mouse-<driver> Enable mouse <driver> as a plugin to be linked to
+ -plugin-mouse-<driver> Enable mouse <driver> as a plugin to be linked to
at runtime.
Possible values for <driver>: [ $CFG_MOUSE_PLUGIN_AVAILABLE ]
-no-mouse-<driver> ... Disable mouse <driver> entirely.
@@ -3347,62 +3672,37 @@ fi # Help
# LICENSING, INTERACTIVE PART
# -----------------------------------------------------------------------------
-if [ "$Edition" = "Qtopia" ]; then
- TheLicense=`head -n 1 "$relpath/LICENSE.Qtopia"`
- while true; do
- if [ "$OPT_CONFIRM_LICENSE" = "yes" ]; then
- echo "You have already accepted the terms of the $TheLicense license."
- acceptance=yes
- else
- echo "You are licensed to use this software under the terms of"
- echo "the $TheLicense"
- echo
- echo "Type '?' to read the $TheLicense"
- echo "Type 'yes' to accept this license offer."
- echo "Type 'no' to decline this license offer."
- echo
- if echo '\c' | grep '\c' >/dev/null; then
- echo -n "Do you accept the terms of the license? "
- else
- echo "Do you accept the terms of the license? \c"
- fi
- read acceptance
- fi
- echo
- if [ "$acceptance" = "yes" ]; then
- break
- elif [ "$acceptance" = "no" ] ;then
- echo "You are not licensed to use this software."
- echo
- exit 0
- elif [ "$acceptance" = "?" ]; then
- more "$relpath/LICENSE.Qtopia"
- fi
- done
+if [ "$PLATFORM_QWS" = "yes" ]; then
+ Platform="Qt for Embedded Linux"
+elif [ "$PLATFORM_MAC" = "yes" ]; then
+ Platform="Qt/Mac"
+else
+ PLATFORM_X11=yes
+ Platform="Qt/X11"
+fi
+
+echo
+echo "This is the $Platform ${EditionString} Edition."
+echo
+
+if [ "$Edition" = "NokiaInternalBuild" ]; then
+ echo "Detected -nokia-developer option"
+ echo "Nokia employees and agents are allowed to use this software under"
+ echo "the authority of Nokia Corporation and/or its subsidiary(-ies)"
elif [ "$Edition" = "OpenSource" ]; then
while true; do
- if [ "$PLATFORM_QWS" = "yes" ]; then
- echo "You are licensed to use this software under the terms of"
- echo "the GNU General Public License (GPL) versions 2 or 3."
- echo
- affix="either"
- elif [ "$PLATFORM_MAC" = "yes" ]; then
- echo "You are licensed to use this software under the terms of"
- echo "the GNU General Public License (GPL) versions 2 or 3."
- echo
- affix="either"
- elif [ "$PLATFORM_X11" = "yes" ]; then
- echo "You are licensed to use this software under the terms of"
- echo "the GNU General Public License (GPL) versions 2 or 3."
- echo
- affix="either"
- fi
+ echo "You are licensed to use this software under the terms of"
+ echo "the GNU General Public License (GPL) versions 3."
+ echo "You are also licensed to use this software under the terms of"
+ echo "the Lesser GNU General Public License (LGPL) versions 2.1."
+ echo
+ affix="either"
if [ "$OPT_CONFIRM_LICENSE" = "yes" ]; then
echo "You have already accepted the terms of the $LicenseType license."
acceptance=yes
else
- echo "Type '2' to view the GNU General Public License version 2."
echo "Type '3' to view the GNU General Public License version 3."
+ echo "Type 'L' to view the Lesser GNU General Public License version 2.1."
echo "Type 'yes' to accept this license offer."
echo "Type 'no' to decline this license offer."
echo
@@ -3420,21 +3720,15 @@ elif [ "$Edition" = "OpenSource" ]; then
echo "You are not licensed to use this software."
echo
exit 1
- elif [ "$acceptance" = "2" ]; then
- more "$relpath/LICENSE.GPL2"
elif [ "$acceptance" = "3" ]; then
more "$relpath/LICENSE.GPL3"
+ elif [ "$acceptance" = "L" ]; then
+ more "$relpath/LICENSE.LGPL"
fi
done
elif [ "$Edition" = "Preview" ]; then
+ TheLicense=`head -n 1 "$relpath/LICENSE.PREVIEW.COMMERCIAL"`
while true; do
- if [ "$QT_EDITION" = "QT_EDITION_OPENSOURCE" ]; then
- TheLicense=`head -n 1 "$relpath/LICENSE.PREVIEW.OPENSOURCE"`
- else
- TheLicense=`head -n 1 "$relpath/LICENSE.PREVIEW.COMMERCIAL"`
- fi
-
- TheLicense=`echo $TheLicense | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
if [ "$OPT_CONFIRM_LICENSE" = "yes" ]; then
echo "You have already accepted the terms of the $LicenseType license."
@@ -3462,59 +3756,10 @@ elif [ "$Edition" = "Preview" ]; then
echo
exit 0
elif [ "$acceptance" = "?" ]; then
- if [ "$QT_EDITION" = "QT_EDITION_OPENSOURCE" ]; then
- more "$relpath/LICENSE.PREVIEW.OPENSOURCE"
- else
- more "$relpath/LICENSE.PREVIEW.COMMERCIAL"
- fi
- fi
- done
-elif [ "$Edition" = "Snapshot" ]; then
- while true; do
- if [ "$QT_EDITION" = "QT_EDITION_OPENSOURCE" ]; then
- TheLicense=`head -n 1 "$relpath/LICENSE.SNAPSHOT.OPENSOURCE.GPL2"`
- else
- TheLicense=`head -n 1 "$relpath/LICENSE.SNAPSHOT.COMMERCIAL"`
- fi
-
- TheLicense=`echo $TheLicense | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
-
- if [ "$OPT_CONFIRM_LICENSE" = "yes" ]; then
- echo "You have already accepted the terms of the $LicenseType license."
- acceptance=yes
- else
- echo "You are licensed to use this software under the terms of"
- echo "the $TheLicense"
- echo
- test -f "$relpath/LICENSE.SNAPSHOT.COMMERCIAL" && echo "Type '?' to read the Snapshot License."
- test -f "$relpath/LICENSE.SNAPSHOT.OPENSOURCE.GPL2" && echo "Type '2' to view the GNU General Public License version 2."
- test -f "$relpath/LICENSE.SNAPSHOT.OPENSOURCE.GPL2" && echo "Type '3' to view the GNU General Public License version 3."
- echo "Type 'yes' to accept this license offer."
- echo "Type 'no' to decline this license offer."
- echo
- if echo '\c' | grep '\c' >/dev/null; then
- echo -n "Do you accept the terms of the license? "
- else
- echo "Do you accept the terms of the license? \c"
- fi
- read acceptance
- fi
- echo
- if [ "$acceptance" = "yes" ]; then
- break
- elif [ "$acceptance" = "no" ] ;then
- echo "You are not licensed to use this software."
- echo
- exit 0
- elif [ "$acceptance" = "?" ]; then
- more "$relpath/LICENSE.SNAPSHOT.COMMERCIAL"
- elif [ "$acceptance" = "2" ]; then
- more "$relpath/LICENSE.SNAPSHOT.OPENSOURCE.GPL2"
- elif [ "$acceptance" = "3" ]; then
- more "$relpath/LICENSE.SNAPSHOT.OPENSOURCE.GPL3"
+ more "$relpath/LICENSE.PREVIEW.COMMERCIAL"
fi
done
-elif [ "$Edition" != "Trolltech" ]; then
+elif [ "$Edition" != "OpenSource" ]; then
if [ -n "$ExpiryDate" ]; then
ExpiryDate=`echo $ExpiryDate | sed -e "s,-,,g" | tr -d "\n\r"`
[ -z "$ExpiryDate" ] && ExpiryDate="0"
@@ -3728,22 +3973,16 @@ fi
# -----------------------------------------------------------------------------
# symlink includes
-if [ -x "/usr/bin/perl" ] && [ -x "$relpath/bin/syncqt" ]; then
+if [ -n "$PERL" ] && [ -x "$relpath/bin/syncqt" ]; then
SYNCQT_OPTS=
- [ "$Edition" = "Trolltech" ] && SYNCQT_OPTS="$SYNCQT_OPTS -check-includes"
+ [ "$CFG_DEV" = "yes" ] && SYNCQT_OPTS="$SYNCQT_OPTS -check-includes"
if [ "$OPT_SHADOW" = "yes" ]; then
- "$outpath/bin/syncqt" $SYNCQT_OPTS
- elif [ "$Edition" = "Trolltech" ]; then
- QTDIR="$relpath" perl "$outpath/bin/syncqt" $SYNCQT_OPTS
+ "$outpath/bin/syncqt" $SYNCQT_OPTS
+ elif [ "$CFG_DEV" = "yes" ] || [ ! -d $relpath/include ]; then
+ QTDIR="$relpath" perl "$outpath/bin/syncqt" $SYNCQT_OPTS
fi
fi
-if [ "$OPT_SHADOW" = "yes" ]; then
- # we are doing a shadow build, so we need to use the includes from
- # $outpath/include as well
- QMakeVar add INCLUDEPATH "\"${outpath}/include\""
-fi
-
# $1: variable name
# $2: optional transformation
# relies on $QMAKESPEC, $COMPILER_CONF and $mkfile being set correctly, as the latter
@@ -3819,7 +4058,7 @@ if false; then ###[ '!' -f "$outpath/bin/qmake" ];
in_mkfile="$relpath/qmake/$in_mkfile"
mkfile="$outpath/qmake/$mkfile"
if [ -f "$mkfile" ]; then
- [ "$Edition" = "Trolltech" ] && "$WHICH" chflags >/dev/null 2>&1 && chflags nouchg "$mkfile"
+ [ "$CFG_DEV" = "yes" ] && "$WHICH" chflags >/dev/null 2>&1 && chflags nouchg "$mkfile"
rm -f "$mkfile"
fi
[ -f "$in_mkfile" ] || continue
@@ -3885,16 +4124,16 @@ if false; then ###[ '!' -f "$outpath/bin/qmake" ];
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(CARBON_CFLAGS)"
EXTRA_OBJS="qsettings_mac.o qcore_mac.o"
EXTRA_SRCS="\"$relpath/src/corelib/io/qsettings_mac.cpp\" \"$relpath/src/corelib/kernel/qcore_mac.cpp\""
- if echo "$CFG_MAC_ARCHS" | grep x86 > /dev/null 2>&1; then
- X86_CFLAGS=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CFLAGS_X86[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1,"`
- X86_LFLAGS=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_LFLAGS_X86[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1,"`
+ if echo "$CFG_MAC_ARCHS" | grep x86 > /dev/null 2>&1; then # matches both x86 and x86_64
+ X86_CFLAGS="-arch i386"
+ X86_LFLAGS="-arch i386"
EXTRA_CFLAGS="$X86_CFLAGS $EXTRA_CFLAGS"
EXTRA_CXXFLAGS="$X86_CFLAGS $EXTRA_CXXFLAGS"
EXTRA_LFLAGS="$EXTRA_LFLAGS $X86_LFLAGS"
fi
- if echo "$CFG_MAC_ARCHS" | grep ppc > /dev/null 2>&1; then
- PPC_CFLAGS=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CFLAGS_PPC[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1,"`
- PPC_LFLAGS=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_LFLAGS_PPC[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1,"`
+ if echo "$CFG_MAC_ARCHS" | grep ppc > /dev/null 2>&1; then # matches both ppc and ppc64
+ PPC_CFLAGS="-arch ppc"
+ PPC_LFLAGS="-arch ppc"
EXTRA_CFLAGS="$PPC_CFLAGS $EXTRA_CFLAGS"
EXTRA_CXXFLAGS="$PPC_CFLAGS $EXTRA_CXXFLAGS"
EXTRA_LFLAGS="$EXTRA_LFLAGS $PPC_LFLAGS"
@@ -4013,7 +4252,7 @@ if [ "$CFG_ZLIB" = "no" ]; then
ZLIB_FORCED=yes
fi
if [ "$CFG_ZLIB" = "auto" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/zlib "zlib" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/zlib "zlib" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_ZLIB=system
else
CFG_ZLIB=yes
@@ -4030,7 +4269,7 @@ if [ "$CFG_JPEG" = "auto" ]; then
fi
# detect jpeg
if [ "$CFG_LIBJPEG" = "auto" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libjpeg "libjpeg" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libjpeg "libjpeg" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_LIBJPEG=system
else
CFG_LIBJPEG=qt
@@ -4057,7 +4296,7 @@ fi
# detect tiff
if [ "$CFG_LIBTIFF" = "auto" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libtiff "libtiff" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libtiff "libtiff" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_LIBTIFF=system
else
CFG_LIBTIFF=qt
@@ -4074,7 +4313,7 @@ if [ "$CFG_MNG" = "auto" ]; then
fi
# detect mng
if [ "$CFG_LIBMNG" = "auto" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libmng "libmng" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libmng "libmng" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_LIBMNG=system
else
CFG_LIBMNG=qt
@@ -4083,7 +4322,7 @@ fi
# detect png
if [ "$CFG_LIBPNG" = "auto" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libpng "libpng" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/libpng "libpng" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_LIBPNG=system
else
CFG_LIBPNG=qt
@@ -4122,13 +4361,13 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
QT_CFLAGS_MYSQL=""
fi
else
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/mysql_r "MySQL (thread-safe)" $QT_LFLAGS_MYSQL_R $L_FLAGS $QT_CFLAGS_MYSQL $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/mysql_r "MySQL (thread-safe)" $QT_LFLAGS_MYSQL_R $L_FLAGS $QT_CFLAGS_MYSQL $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
QMakeVar add CONFIG use_libmysqlclient_r
if [ "$CFG_SQL_mysql" = "auto" ]; then
CFG_SQL_mysql=plugin
fi
QT_LFLAGS_MYSQL="$QT_LFLAGS_MYSQL_R"
- elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/mysql "MySQL (thread-unsafe)" $QT_LFLAGS_MYSQL $L_FLAGS $QT_CFLAGS_MYSQL $I_FLAGS $l_FLAGS; then
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/mysql "MySQL (thread-unsafe)" $QT_LFLAGS_MYSQL $L_FLAGS $QT_CFLAGS_MYSQL $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_mysql" = "auto" ]; then
CFG_SQL_mysql=plugin
fi
@@ -4154,11 +4393,10 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
if "$WHICH" pg_config >/dev/null 2>&1; then
QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null`
QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null`
- QT_LIBS_PSQL=`pg_config --libs 2>/dev/null`
fi
[ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL"
- [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL $QT_LIBS_PSQL"
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/psql "PostgreSQL" $QT_LFLAGS_PSQL $L_FLAGS $QT_CFLAGS_PSQL $I_FLAGS $l_FLAGS; then
+ [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL"
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/psql "PostgreSQL" $QT_LFLAGS_PSQL $L_FLAGS $QT_CFLAGS_PSQL $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_psql" = "auto" ]; then
CFG_SQL_psql=plugin
fi
@@ -4179,7 +4417,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
;;
odbc)
if [ "$CFG_SQL_odbc" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/odbc "ODBC" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/odbc "ODBC" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_odbc" = "auto" ]; then
CFG_SQL_odbc=plugin
fi
@@ -4198,7 +4436,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
;;
oci)
if [ "$CFG_SQL_oci" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/oci "OCI" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/oci "OCI" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_oci" = "auto" ]; then
CFG_SQL_oci=plugin
fi
@@ -4217,7 +4455,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
;;
tds)
if [ "$CFG_SQL_tds" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/tds "TDS" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/tds "TDS" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_tds" = "auto" ]; then
CFG_SQL_tds=plugin
fi
@@ -4236,7 +4474,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
;;
db2)
if [ "$CFG_SQL_db2" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/db2 "DB2" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/db2 "DB2" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_db2" = "auto" ]; then
CFG_SQL_db2=plugin
fi
@@ -4255,7 +4493,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
;;
ibase)
if [ "$CFG_SQL_ibase" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ibase "InterBase" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ibase "InterBase" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_ibase" = "auto" ]; then
CFG_SQL_ibase=plugin
fi
@@ -4274,7 +4512,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
;;
sqlite2)
if [ "$CFG_SQL_sqlite2" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sqlite2 "SQLite2" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sqlite2 "SQLite2" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_sqlite2" = "auto" ]; then
CFG_SQL_sqlite2=plugin
fi
@@ -4299,7 +4537,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
QT_CFLAGS_SQLITE=`$PKG_CONFIG --cflags sqlite3 2>/dev/null`
QT_LFLAGS_SQLITE=`$PKG_CONFIG --libs sqlite3 2>/dev/null`
fi
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sqlite "SQLite" $QT_LFLAGS_SQLITE $L_FLAGS $QT_CFLAGS_SQLITE $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sqlite "SQLite" $QT_LFLAGS_SQLITE $L_FLAGS $QT_CFLAGS_SQLITE $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_SQL_sqlite" = "auto" ]; then
CFG_SQL_sqlite=plugin
fi
@@ -4336,7 +4574,7 @@ done
# auto-detect NIS support
if [ "$CFG_NIS" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/nis "NIS" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/nis "NIS" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_NIS=yes
else
if [ "$CFG_NIS" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
@@ -4353,7 +4591,7 @@ fi
# auto-detect CUPS support
if [ "$CFG_CUPS" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/cups "Cups" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/cups "Cups" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_CUPS=yes
else
if [ "$CFG_CUPS" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
@@ -4372,9 +4610,9 @@ fi
if [ "$CFG_ICONV" != "no" ]; then
if [ "$PLATFORM_QWS" = "yes" ]; then
CFG_ICONV=no
- elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/iconv" "POSIX iconv" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/iconv" "POSIX iconv" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_ICONV=yes
- elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/gnu-libiconv" "GNU libiconv" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/gnu-libiconv" "GNU libiconv" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_ICONV=gnu
else
if [ "$CFG_ICONV" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
@@ -4395,7 +4633,7 @@ if [ "$CFG_DBUS" != "no" ]; then
QT_CFLAGS_DBUS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
QT_LIBS_DBUS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
fi
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/dbus "D-Bus" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_DBUS $QT_LIBS_DBUS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/dbus "D-Bus" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_DBUS $QT_LIBS_DBUS $MAC_ARCHS_COMMANDLINE; then
[ "$CFG_DBUS" = "auto" ] && CFG_DBUS=yes
QMakeVar set QT_CFLAGS_DBUS "$QT_CFLAGS_DBUS"
QMakeVar set QT_LIBS_DBUS "$QT_LIBS_DBUS"
@@ -4414,6 +4652,82 @@ if [ "$CFG_DBUS" != "no" ]; then
fi
fi
+# Generate a CRC of the namespace for using in constants for the Carbon port.
+# This should mean that you really *can* load two Qt's and have our custom
+# Carbon events work.
+if [ "$PLATFORM_MAC" = "yes" -a ! -z "$QT_NAMESPACE" ]; then
+ QT_NAMESPACE_MAC_CRC=`"$mactests/crc.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/mac/crc $QT_NAMESPACE $L_FLAGS $I_FLAGS $l_FLAGS`
+fi
+
+if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ]; then
+ # auto-detect Glib support
+ if [ "$CFG_GLIB" != "no" ]; then
+ if [ -n "$PKG_CONFIG" ]; then
+ QT_CFLAGS_GLIB=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0 2>/dev/null`
+ QT_LIBS_GLIB=`$PKG_CONFIG --libs glib-2.0 gthread-2.0 2>/dev/null`
+ fi
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/glib "Glib" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_GLIB $QT_LIBS_GLIB $X11TESTS_FLAGS ; then
+ CFG_GLIB=yes
+ QMakeVar set QT_CFLAGS_GLIB "$QT_CFLAGS_GLIB"
+ QMakeVar set QT_LIBS_GLIB "$QT_LIBS_GLIB"
+ else
+ if [ "$CFG_GLIB" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Glib support cannot be enabled due to functionality tests!"
+ echo " Turn on verbose messaging (-v) to $0 to see the final report."
+ echo " If you believe this message is in error you may use the continue"
+ echo " switch (-continue) to $0 to continue."
+ exit 101
+ else
+ CFG_GLIB=no
+ fi
+ fi
+ fi
+
+ if [ "$CFG_PHONON" != "no" ]; then
+ if [ "$CFG_PHONON_BACKEND" != "no" ]; then
+ if [ "$CFG_GLIB" = "yes" -a "$CFG_GSTREAMER" != "no" ]; then
+ if [ -n "$PKG_CONFIG" ]; then
+ QT_CFLAGS_GSTREAMER=`$PKG_CONFIG --cflags gstreamer-0.10 gstreamer-plugins-base-0.10 2>/dev/null`
+ QT_LIBS_GSTREAMER=`$PKG_CONFIG --libs gstreamer-0.10 gstreamer-plugins-base-0.10 2>/dev/null`
+ fi
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/gstreamer "GStreamer" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_GSTREAMER $QT_LIBS_GSTREAMER $X11TESTS_FLAGS; then
+ CFG_GSTREAMER=yes
+ QMakeVar set QT_CFLAGS_GSTREAMER "$QT_CFLAGS_GSTREAMER"
+ QMakeVar set QT_LIBS_GSTREAMER "$QT_LIBS_GSTREAMER"
+ else
+ if [ "$CFG_GSTREAMER" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Gstreamer support cannot be enabled due to functionality tests!"
+ echo " Turn on verbose messaging (-v) to $0 to see the final report."
+ echo " If you believe this message is in error you may use the continue"
+ echo " switch (-continue) to $0 to continue."
+ exit 101
+ else
+ CFG_GSTREAMER=no
+ fi
+ fi
+ elif [ "$CFG_GLIB" = "no" ]; then
+ CFG_GSTREAMER=no
+ fi
+
+ if [ "$CFG_GSTREAMER" = "yes" ]; then
+ CFG_PHONON=yes
+ else
+ if [ "$CFG_PHONON" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Phonon support cannot be enabled due to functionality tests!"
+ echo " Turn on verbose messaging (-v) to $0 to see the final report."
+ echo " If you believe this message is in error you may use the continue"
+ echo " switch (-continue) to $0 to continue."
+ exit 101
+ else
+ CFG_PHONON=no
+ fi
+ fi
+ else
+ CFG_PHONON=yes
+ fi
+ fi
+fi # X11/QWS
+
# x11
if [ "$PLATFORM_X11" = "yes" ]; then
x11tests="$relpath/config.tests/x11"
@@ -4427,13 +4741,99 @@ if [ "$PLATFORM_X11" = "yes" ]; then
X11TESTS_FLAGS="$X11TESTS_FLAGS -fpermissive"
fi
- # auto-detect OpenGL support
- if [ "$CFG_OPENGL" = "auto" ]; then
+ # Check we actually have X11 :-)
+# Requires X11 environment, disable test
+# if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xlib "XLib" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+# echo "Basic XLib functionality test failed!"
+# echo " You might need to modify the include and library search paths by editing"
+# echo " QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in ${XQMAKESPEC}."
+# exit 1
+# fi
+
+ # auto-detect OpenGL support (es1 = OpenGL ES 1.x Common, es1cl = ES 1.x common lite, es2 = OpenGL ES 2.x)
+ if [ "$CFG_OPENGL" = "auto" ] || [ "$CFG_OPENGL" = "yes" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/opengl "OpenGL" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
- CFG_OPENGL=yes
+ CFG_OPENGL=desktop
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles2 "OpenGL ES 2.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_OPENGL=es2
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1 "OpenGL ES 1.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_OPENGL=es1
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1cl "OpenGL ES 1.x Lite" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_OPENGL=es1cl
else
+ if [ "$CFG_OPENGL" = "yes" ]; then
+ echo "All the OpenGL functionality tests failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
CFG_OPENGL=no
fi
+ case "$PLATFORM" in
+ hpux*)
+ # HP-UX have buggy glx headers; check if we really need to define the GLXFBConfig struct.
+ if [ "$CFG_OPENGL" = "desktop" ]; then
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/glxfbconfig "OpenGL" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ QMakeVar add DEFINES QT_DEFINE_GLXFBCONFIG_STRUCT
+ fi
+ fi
+ ;;
+ *)
+ ;;
+ esac
+ elif [ "$CFG_OPENGL" = "es1cl" ]; then
+ # OpenGL ES 1.x common lite
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1cl "OpenGL ES 1.x Lite" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The OpenGL ES 1.x Common Lite Profile functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ elif [ "$CFG_OPENGL" = "es1" ]; then
+ # OpenGL ES 1.x
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1 "OpenGL ES 1.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The OpenGL ES 1.x functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ elif [ "$CFG_OPENGL" = "es2" ]; then
+ #OpenGL ES 2.x
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles2 "OpenGL ES 2.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The OpenGL ES 2.0 functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ elif [ "$CFG_OPENGL" = "desktop" ]; then
+ # Desktop OpenGL support
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/opengl "OpenGL" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ echo "The OpenGL functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ case "$PLATFORM" in
+ hpux*)
+ # HP-UX have buggy glx headers; check if we really need to define the GLXFBConfig struct.
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/glxfbconfig "OpenGL" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ QMakeVar add DEFINES QT_DEFINE_GLXFBCONFIG_STRUCT
+ fi
+ ;;
+ *)
+ ;;
+ esac
+ fi
+
+ # if opengl is disabled and the user specified graphicssystem gl, disable it...
+ if [ "$CFG_GRAPHICS_SYSTEM" = "opengl" ] && [ "$CFG_OPENGL" = "no" ]; then
+ echo "OpenGL Graphics System is disabled due to missing OpenGL support..."
+ CFG_GRAPHICS_SYSTEM=default
fi
# auto-detect Xcursor support
@@ -4477,7 +4877,9 @@ if [ "$PLATFORM_X11" = "yes" ]; then
# auto-detect Xrandr support (resize and rotate extension)
if [ "$CFG_XRANDR" != "no" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xrandr "Xrandr" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ if [ "$CFG_XRANDR" != "runtime" ]; then
CFG_XRANDR=yes
+ fi
else
if [ "$CFG_XRANDR" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
echo "Xrandr support cannot be enabled due to functionality tests!"
@@ -4508,11 +4910,36 @@ if [ "$PLATFORM_X11" = "yes" ]; then
fi
fi
+ # auto-detect MIT-SHM support
+ if [ "$CFG_MITSHM" != "no" ]; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/mitshm "mitshm" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ CFG_MITSHM=yes
+ else
+ if [ "$CFG_MITSHM" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "MITSHM support cannot be enabled due to functionality tests!"
+ echo " Turn on verbose messaging (-v) to $0 to see the final report."
+ echo " If you believe this message is in error you may use the continue"
+ echo " switch (-continue) to $0 to continue."
+ exit 101
+ else
+ CFG_MITSHM=no
+ fi
+ fi
+ fi
+
# auto-detect FontConfig support
if [ "$CFG_FONTCONFIG" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/fontconfig "FontConfig" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists fontconfig 2>/dev/null; then
+ QT_CFLAGS_FONTCONFIG=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
+ QT_LIBS_FONTCONFIG=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
+ else
+ QT_CFLAGS_FONTCONFIG=
+ QT_LIBS_FONTCONFIG="-lfreetype -lfontconfig"
+ fi
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/fontconfig "FontConfig" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS $QT_CFLAGS_FONTCONFIG $QT_LIBS_FONTCONFIG; then
CFG_FONTCONFIG=yes
- QMakeVar set QMAKE_LIBS_X11 '-lfreetype -lfontconfig $$QMAKE_LIBS_X11'
+ QMakeVar set QMAKE_CFLAGS_X11 "$QT_CFLAGS_FONTCONFIG \$\$QMAKE_CFLAGS_X11"
+ QMakeVar set QMAKE_LIBS_X11 "$QT_LIBS_FONTCONFIG \$\$QMAKE_LIBS_X11"
CFG_LIBFREETYPE=system
else
if [ "$CFG_FONTCONFIG" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
@@ -4580,19 +5007,21 @@ if [ "$PLATFORM_X11" = "yes" ]; then
fi
fi
- # auto-detect tablet support (currenlty only in IRIX)
- if [ "$CFG_TABLET" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xinput "Tablet (XInput)" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
- CFG_TABLET=yes
+ # auto-detect Xinput support
+ if [ "$CFG_XINPUT" != "no" ]; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xinput "XInput" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+ if [ "$CFG_XINPUT" != "runtime" ]; then
+ CFG_XINPUT=yes
+ fi
else
- if [ "$CFG_TABLET" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
- echo "Tablet support cannot be enabled due to functionality tests!"
+ if [ "$CFG_XINPUT" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Tablet and Xinput support cannot be enabled due to functionality tests!"
echo " Turn on verbose messaging (-v) to $0 to see the final report."
echo " If you believe this message is in error you may use the continue"
echo " switch (-continue) to $0 to continue."
exit 101
else
- CFG_TABLET=no
+ CFG_XINPUT=no
fi
fi
fi
@@ -4613,77 +5042,32 @@ if [ "$PLATFORM_X11" = "yes" ]; then
fi
fi
fi
-fi # X11
-
-if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ]; then
- # auto-detect Glib support
- if [ "$CFG_GLIB" != "no" ]; then
+ if [ "$CFG_GLIB" = "yes" -a "$CFG_QGTKSTYLE" != "no" ]; then
if [ -n "$PKG_CONFIG" ]; then
- QT_CFLAGS_GLIB=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0 2>/dev/null`
- QT_LIBS_GLIB=`$PKG_CONFIG --libs glib-2.0 gthread-2.0 2>/dev/null`
+ QT_CFLAGS_QGTKSTYLE=`$PKG_CONFIG --cflags gtk+-2.0 ">=" 2.10 atk 2>/dev/null`
+ QT_LIBS_QGTKSTYLE=`$PKG_CONFIG --libs gobject-2.0 2>/dev/null`
fi
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/glib "Glib" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_GLIB $QT_LIBS_GLIB $X11TESTS_FLAGS; then
- CFG_GLIB=yes
- QMakeVar set QT_CFLAGS_GLIB "$QT_CFLAGS_GLIB"
- QMakeVar set QT_LIBS_GLIB "$QT_LIBS_GLIB"
+ if [ -n "$QT_CFLAGS_QGTKSTYLE" ] ; then
+ CFG_QGTKSTYLE=yes
+ QMakeVar set QT_CFLAGS_QGTKSTYLE "$QT_CFLAGS_QGTKSTYLE"
+ QMakeVar set QT_LIBS_QGTKSTYLE "$QT_LIBS_QGTKSTYLE"
else
- if [ "$CFG_GLIB" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
- echo "Glib support cannot be enabled due to functionality tests!"
+ if [ "$CFG_QGTKSTYLE" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Gtk theme support cannot be enabled due to functionality tests!"
echo " Turn on verbose messaging (-v) to $0 to see the final report."
echo " If you believe this message is in error you may use the continue"
echo " switch (-continue) to $0 to continue."
exit 101
else
- CFG_GLIB=no
+ CFG_QGTKSTYLE=no
fi
fi
+ elif [ "$CFG_GLIB" = "no" ]; then
+ CFG_QGTKSTYLE=no
fi
+fi # X11
- if [ "$CFG_PHONON" != "no" ]; then
- if [ "$CFG_PHONON_BACKEND" != "no" ]; then
- if [ "$CFG_GLIB" = "yes" -a "$CFG_GSTREAMER" != "no" ]; then
- if [ -n "$PKG_CONFIG" ]; then
- QT_CFLAGS_GSTREAMER=`$PKG_CONFIG --cflags gstreamer-0.10 gstreamer-plugins-base-0.10 2>/dev/null`
- QT_LIBS_GSTREAMER=`$PKG_CONFIG --libs gstreamer-0.10 gstreamer-plugins-base-0.10 2>/dev/null`
- fi
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/gstreamer "GStreamer" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_GSTREAMER $QT_LIBS_GSTREAMER $X11TESTS_FLAGS; then
- CFG_GSTREAMER=yes
- QMakeVar set QT_CFLAGS_GSTREAMER "$QT_CFLAGS_GSTREAMER"
- QMakeVar set QT_LIBS_GSTREAMER "$QT_LIBS_GSTREAMER"
- else
- if [ "$CFG_GSTREAMER" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
- echo "Gstreamer support cannot be enabled due to functionality tests!"
- echo " Turn on verbose messaging (-v) to $0 to see the final report."
- echo " If you believe this message is in error you may use the continue"
- echo " switch (-continue) to $0 to continue."
- exit 101
- else
- CFG_GSTREAMER=no
- fi
- fi
- elif [ "$CFG_GLIB" = "no" ]; then
- CFG_GSTREAMER=no
- fi
-
- if [ "$CFG_GSTREAMER" = "yes" ]; then
- CFG_PHONON=yes
- else
- if [ "$CFG_PHONON" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
- echo "Phonon support cannot be enabled due to functionality tests!"
- echo " Turn on verbose messaging (-v) to $0 to see the final report."
- echo " If you believe this message is in error you may use the continue"
- echo " switch (-continue) to $0 to continue."
- exit 101
- else
- CFG_PHONON=no
- fi
- fi
- else
- CFG_PHONON=yes
- fi
- fi
-fi # X11/QWS
if [ "$PLATFORM_MAC" = "yes" ]; then
if [ "$CFG_PHONON" != "no" ]; then
@@ -4695,16 +5079,43 @@ fi
# QWS
if [ "$PLATFORM_QWS" = "yes" ]; then
- # OpenGL ES
+ # auto-detect OpenGL support (es1 = OpenGL ES 1.x Common, es1cl = ES 1.x common lite, es2 = OpenGL ES 2.x)
if [ "$CFG_OPENGL" = "yes" ]; then
- if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/opengles "OpenGL ES" $L_FLAGS $I_FLAGS $l_FLAGS; then
- echo "The OpenGL ES functionality test failed!"
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles2 "OpenGL ES 2.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_OPENGL=es2
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1 "OpenGL ES 1.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_OPENGL=es1
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1cl "OpenGL ES 1.x Lite" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_OPENGL=es1cl
+ else
+ echo "All the OpenGL ES functionality tests failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ elif [ "$CFG_OPENGL" = "es1" ]; then
+ # OpenGL ES 1.x
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles1 "OpenGL ES 1.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The OpenGL ES 1.x functionality test failed!"
echo " You might need to modify the include and library search paths by editing"
echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
echo " ${XQMAKESPEC}."
exit 1
fi
-
+ elif [ "$CFG_OPENGL" = "es2" ]; then
+ #OpenGL ES 2.x
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/opengles2 "OpenGL ES 2.x" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The OpenGL ES 2.0 functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ elif [ "$CFG_OPENGL" = "desktop" ]; then
+ # Desktop OpenGL support
+ echo "Desktop OpenGL support is not avaliable on Qt for Embedded Linux"
+ exit 1
fi
# screen drivers
@@ -4730,14 +5141,34 @@ if [ "$PLATFORM_QWS" = "yes" ]; then
fi
if [ "${screen}" = "directfb" ] && [ "${CFG_CONFIGURE_EXIT_ON_ERROR}" = "yes" ]; then
- if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/directfb "DirectFB" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if [ -n "$PKG_CONFIG" ]; then
+ if $PKG_CONFIG --exists directfb 2>/dev/null; then
+ QT_CFLAGS_DIRECTFB=`$PKG_CONFIG --cflags directfb 2>/dev/null`
+ QT_LIBS_DIRECTFB=`$PKG_CONFIG --libs directfb 2>/dev/null`
+ elif directfb-config --version >/dev/null 2>&1; then
+ QT_CFLAGS_DIRECTFB=`directfb-config --cflags 2>/dev/null`
+ QT_LIBS_DIRECTFB=`directfb-config --libs 2>/dev/null`
+ fi
+ fi
+
+ # QMake variables set here override those in the mkspec. Therefore we only set the variables here if they are not zero.
+ if [ -n "$QT_CFLAGS_DIRECTFB" ] || [ -n "$QT_LIBS_DIRECTFB" ]; then
+ QMakeVar set QT_CFLAGS_DIRECTFB "$QT_CFLAGS_DIRECTFB"
+ QMakeVar set QT_LIBS_DIRECTFB "$QT_LIBS_DIRECTFB"
+ fi
+ if [ "$CFG_QT3SUPPORT" = "yes" ]; then
+ QMakeVar set QT_DEFINES_DIRECTFB "QT3_SUPPORT"
+ fi
+
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/directfb "DirectFB" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_DIRECTFB $QT_LIBS_DIRECTFB; then
echo "The DirectFB screen driver functionality test failed!"
echo " You might need to modify the include and library search paths by editing"
- echo " QMAKE_INCDIR and QMAKE_LIBDIR in"
+ echo " QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB in"
echo " ${XQMAKESPEC}."
exit 1
fi
fi
+
done
# mouse drivers
@@ -4753,6 +5184,8 @@ if [ "$PLATFORM_QWS" = "yes" ]; then
fi
done
+ CFG_QGTKSTYLE=no
+
# sound
if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/sound "sound" $L_FLAGS $I_FLAGS $l_FLAGS; then
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SOUND"
@@ -4764,7 +5197,7 @@ fi # QWS
[ "x$CFG_EMBEDDED" != "xno" ] && CFG_LIBFREETYPE="$CFG_QWS_FREETYPE"
[ "x$PLATFORM_MAC" = "xyes" ] && CFG_LIBFREETYPE=no
if [ "$CFG_LIBFREETYPE" = "auto" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/freetype "FreeType" $L_FLAGS $I_FLAGS $l_FLAGS ; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/freetype "FreeType" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_LIBFREETYPE=system
else
CFG_LIBFREETYPE=yes
@@ -4881,7 +5314,7 @@ fi
# find if the platform supports IPv6
if [ "$CFG_IPV6" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ipv6 "IPv6" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/ipv6 "IPv6" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
CFG_IPV6=yes
else
if [ "$CFG_IPV6" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
@@ -5012,7 +5445,7 @@ fi
# detect OpenSSL
if [ "$CFG_OPENSSL" != "no" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/openssl "OpenSSL" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/openssl "OpenSSL" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
if [ "$CFG_OPENSSL" = "auto" ]; then
CFG_OPENSSL=yes
fi
@@ -5029,6 +5462,15 @@ if [ "$CFG_OPENSSL" != "no" ]; then
fi
fi
+if [ "$CFG_PTMALLOC" != "no" ]; then
+ # build ptmalloc, copy .a file to lib/
+ echo "Building ptmalloc. Please wait..."
+ (cd "$relpath/src/3rdparty/ptmalloc/"; "$MAKE" "clean" ; "$MAKE" "posix"
+ mkdir "$outpath/lib/" ; cp "libptmalloc3.a" "$outpath/lib/")
+
+ QMakeVar add QMAKE_LFLAGS "$outpath/lib/libptmalloc3.a"
+fi
+
#-------------------------------------------------------------------------------
# ask for all that hasn't been auto-detected or specified in the arguments
#-------------------------------------------------------------------------------
@@ -5072,6 +5514,61 @@ if [ "$CFG_MAC_DWARF2" = "yes" ]; then
QT_CONFIG="$QT_CONFIG dwarf2"
fi
+# Set the default arch. Select 32-bit/carbon if nothing else has
+# been specified on the configure line.
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_ARCHS" == "" ]; then
+ source "$mactests/defaultarch.test" "$TEST_COMPILER" "$OPT_VERBOSE" "$mactests"
+
+ if [ "$QT_MAC_DEFUALT_ARCH" == "x86_64" ]; then
+ CFG_MAC_ARCHS=" x86"
+ elif [ "$QT_MAC_DEFUALT_ARCH" == "ppc64" ]; then
+ CFG_MAC_ARCHS=" ppc"
+ else
+ CFG_MAC_ARCHS=" $QT_MAC_DEFUALT_ARCH"
+ fi
+
+ [ "$OPT_VERBOSE" == "yes" ] && echo "Setting Mac architechture to$CFG_MAC_ARCHS."
+fi
+
+# enable cocoa and/or carbon on Mac
+if [ "$CFG_MAC_COCOA" = "yes" ]; then
+# -cocoa on the command line disables carbon completely (i.e. use cocoa for 32-bit as well)
+ CFG_MAC_CARBON="no"
+else
+# check which archs are in use, enable cocoa if we find a 64-bit one
+ if echo "$CFG_MAC_ARCHS" | grep 64 > /dev/null 2>&1; then
+ CFG_MAC_COCOA="yes";
+ CFG_MAC_CARBON="no";
+ if echo "$CFG_MAC_ARCHS" | grep -w ppc > /dev/null 2>&1; then
+ CFG_MAC_CARBON="yes";
+ fi
+ if echo "$CFG_MAC_ARCHS" | grep -w x86 > /dev/null 2>&1; then
+ CFG_MAC_CARBON="yes";
+ fi
+ else
+# no 64-bit archs found.
+ CFG_MAC_COCOA="no"
+ fi
+fi;
+
+# set the global Mac deployment target. This is overridden on an arch-by-arch basis
+# in some cases, see code further down
+case "$PLATFORM,$CFG_MAC_COCOA" in
+ macx*,yes)
+ # Cocoa
+ QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET 10.5
+ CFG_QT3SUPPORT="no"
+ ;;
+ macx-icc,*)
+ # Intel CC, Carbon
+ QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET 10.4
+ ;;
+ macx*,no)
+ # gcc, Carbon
+ QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET 10.3
+ ;;
+esac
+
# enable Qt 3 support functionality
if [ "$CFG_QT3SUPPORT" = "yes" ]; then
QT_CONFIG="$QT_CONFIG qt3support"
@@ -5098,14 +5595,30 @@ fi
if [ "$CFG_OPENGL" = "no" ]; then
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_OPENGL"
else
+ QT_CONFIG="$QT_CONFIG opengl"
+fi
+
+if [ "$CFG_OPENGL" = "es1" ] || [ "$CFG_OPENGL" = "es1cl" ] || [ "$CFG_OPENGL" = "es2" ]; then
if [ "$PLATFORM_QWS" = "yes" ]; then
QCONFIG_FLAGS="$QCONFIG_FLAGS Q_BACKINGSTORE_SUBSURFACES"
QCONFIG_FLAGS="$QCONFIG_FLAGS Q_USE_EGLWINDOWSURFACE"
-
- # The examples and demos currently don't compile with OpenGL ES
- CFG_NOBUILD_PARTS="$CFG_NOBUILD_PARTS examples demos"
fi
- QT_CONFIG="$QT_CONFIG opengl"
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_OPENGL_ES"
+fi
+
+if [ "$CFG_OPENGL" = "es1" ]; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_OPENGL_ES_1"
+ QT_CONFIG="$QT_CONFIG opengles1"
+fi
+
+if [ "$CFG_OPENGL" = "es1cl" ]; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_OPENGL_ES_1_CL"
+ QT_CONFIG="$QT_CONFIG opengles1cl"
+fi
+
+if [ "$CFG_OPENGL" = "es2" ]; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_OPENGL_ES_2"
+ QT_CONFIG="$QT_CONFIG opengles2"
fi
# safe execution environment
@@ -5113,23 +5626,6 @@ if [ "$CFG_SXE" != "no" ]; then
QT_CONFIG="$QT_CONFIG sxe"
fi
-# update QT_CONFIG to show our current predefined configuration
-case "$CFG_QCONFIG" in
-minimal|small|medium|large|full)
- # these are a sequence of increasing functionality
- for c in minimal small medium large full; do
- QT_CONFIG="$QT_CONFIG $c-config"
- [ "$CFG_QCONFIG" = $c ] && break
- done
- ;;
-*)
- # not known to be sufficient for anything
- if [ '!' -f "$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h" ]; then
- echo >&2 "No such configuration: $CFG_QCONFIG"
- OPT_HELP=yes
- fi
-esac
-
# build up the variables for output
if [ "$CFG_DEBUG" = "yes" ]; then
QMAKE_OUTDIR="${QMAKE_OUTDIR}debug"
@@ -5309,21 +5805,21 @@ if [ "$PLATFORM_X11" = "yes" ]; then
QT_CONFIG="$QT_CONFIG xrender"
QMakeVar set QMAKE_LIBS_X11 '-lXrender $$QMAKE_LIBS_X11'
fi
+ if [ "$CFG_MITSHM" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG mitshm"
+ fi
if [ "$CFG_FONTCONFIG" = "yes" ]; then
QT_CONFIG="$QT_CONFIG fontconfig"
fi
- if [ "$CFG_TABLET" = "yes" ]; then
- QT_CONFIG="$QT_CONFIG tablet"
+ if [ "$CFG_XINPUT" = "yes" ]; then
QMakeVar set QMAKE_LIBS_X11 '-lXi $$QMAKE_LIBS_X11'
fi
+ if [ "$CFG_XINPUT" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG xinput tablet"
+ fi
if [ "$CFG_XKB" = "yes" ]; then
QT_CONFIG="$QT_CONFIG xkb"
fi
-
-elif [ "$PLATFORM_MAC" = "yes" ]; then
- if [ "$CFG_TABLET" = "yes" ]; then
- QT_CONFIG="$QT_CONFIG tablet"
- fi
fi
[ '!' -z "$D_FLAGS" ] && QMakeVar add DEFINES "$D_FLAGS"
@@ -5383,15 +5879,34 @@ fi
# See Qt documentation for more information on which features are
# supported and on which compilers.
#
-canBuildPatternist="yes"
+canBuildQtXmlPatterns="yes"
canBuildWebKit="$HAVE_STL"
# WebKit requires stdint.h
-if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/stdint "Stdint" $L_FLAGS $I_FLAGS $l_FLAGS; then
+"$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/stdint "Stdint" $L_FLAGS $I_FLAGS $l_FLAGS
+if [ $? != "0" ]; then
canBuildWebKit="no"
fi
case "$XPLATFORM" in
+ hpux-g++*)
+ # PA-RISC's assembly is too limited
+ # gcc 3.4 on that platform can't build QtXmlPatterns
+ # the assembly it generates cannot be compiled
+
+ # Check gcc's version
+ case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
+ 4*)
+ ;;
+ 3.4*)
+ canBuildQtXmlPatterns="no"
+ ;;
+ *)
+ canBuildWebKit="no"
+ canBuildQtXmlPatterns="no"
+ ;;
+ esac
+ ;;
*-g++*)
# Check gcc's version
case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
@@ -5402,32 +5917,29 @@ case "$XPLATFORM" in
;;
*)
canBuildWebKit="no"
- canBuildPatternist="no"
+ canBuildQtXmlPatterns="no"
;;
esac
;;
solaris-cc*)
# Check the compiler version
case `${QMAKE_CONF_COMPILER} -V 2>&1 | awk '{print $4}'` in
- 5.[0123456])
- canBuildWebKit="no"
- canBuildPatternist="no"
- ;;
- 5.[78])
+ *)
canBuildWebKit="no"
+ canBuildQtXmlPatterns="no"
;;
esac
;;
hpux-acc*)
canBuildWebKit="no"
- canBuildPatternist="no"
+ canBuildQtXmlPatterns="no"
;;
hpuxi-acc*)
canBuildWebKit="no"
;;
aix-xlc*)
canBuildWebKit="no"
- canBuildPatternist="no"
+ canBuildQtXmlPatterns="no"
;;
irix-cc*)
canBuildWebKit="no"
@@ -5439,7 +5951,7 @@ if [ "$CFG_XMLPATTERNS" = "yes" -a "$CFG_EXCEPTIONS" = "no" ]; then
exit 1
fi
if [ "$CFG_XMLPATTERNS" = "auto" -a "$CFG_EXCEPTIONS" != "no" ]; then
- CFG_XMLPATTERNS="$canBuildPatternist"
+ CFG_XMLPATTERNS="$canBuildQtXmlPatterns"
elif [ "$CFG_EXCEPTIONS" = "no" ]; then
CFG_XMLPATTERNS="no"
fi
@@ -5468,8 +5980,15 @@ else
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_WEBKIT"
fi
-if [ "$CFG_ASSISTANT_WEBKIT" = "yes" ]; then
- QT_CONFIG="$QT_CONFIG assistant_webkit"
+if [ "$CFG_SCRIPTTOOLS" = "auto" ]; then
+ CFG_SCRIPTTOOLS="yes"
+fi
+
+if [ "$CFG_SCRIPTTOOLS" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG scripttools"
+ CFG_SCRIPTTOOLS="yes"
+else
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SCRIPTTOOLS"
fi
if [ "$CFG_EXCEPTIONS" = "no" ]; then
@@ -5494,6 +6013,38 @@ if [ "$CFG_EXCEPTIONS" = "no" ]; then
QMAKE_CONFIG="$QMAKE_CONFIG exceptions_off"
fi
+# On Mac, set the minimum deployment target for the different architechtures
+# using the Xarch compiler option when supported (10.5 and up). On 10.4 the
+# deployment version is set to 10.3 globally using the QMAKE_MACOSX_DEPLOYMENT_TARGET
+# env. variable. "-cocoa" on the command line means Cocoa is used in 32-bit mode also,
+# in this case fall back on QMAKE_MACOSX_DEPLOYMENT_TARGET which will be set to 10.5.
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_XARCH" != "no" ] && [ "$COMMANDLINE_MAC_COCOA" != "yes" ]; then
+ if echo "$CFG_MAC_ARCHS" | grep '\<x86\>' > /dev/null 2>&1; then
+ QMakeVar add QMAKE_CFLAGS "-Xarch_i386 -mmacosx-version-min=10.4"
+ QMakeVar add QMAKE_CXXFLAGS "-Xarch_i386 -mmacosx-version-min=10.4"
+ QMakeVar add QMAKE_LFLAGS "-Xarch_i386 -mmacosx-version-min=10.4"
+ QMakeVar add QMAKE_OBJECTIVE_CFLAGS_X86 "-arch i386 -Xarch_i386 -mmacosx-version-min=10.4"
+ fi
+ if echo "$CFG_MAC_ARCHS" | grep '\<ppc\>' > /dev/null 2>&1; then
+ QMakeVar add QMAKE_CFLAGS "-Xarch_ppc -mmacosx-version-min=10.3"
+ QMakeVar add QMAKE_CXXFLAGS "-Xarch_ppc -mmacosx-version-min=10.3"
+ QMakeVar add QMAKE_LFLAGS "-Xarch_ppc -mmacosx-version-min=10.3"
+ QMakeVar add QMAKE_OBJECTIVE_CFLAGS_PPC "-arch ppc -Xarch_ppc -mmacosx-version-min=10.3"
+ fi
+ if echo "$CFG_MAC_ARCHS" | grep '\<x86_64\>' > /dev/null 2>&1; then
+ QMakeVar add QMAKE_CFLAGS "-Xarch_x86_64 -mmacosx-version-min=10.5"
+ QMakeVar add QMAKE_CXXFLAGS "-Xarch_x86_64 -mmacosx-version-min=10.5"
+ QMakeVar add QMAKE_LFLAGS "-Xarch_x86_64 -mmacosx-version-min=10.5"
+ QMakeVar add QMAKE_OBJECTIVE_CFLAGS_X86_64 "-arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5"
+ fi
+ if echo "$CFG_MAC_ARCHS" | grep '\<ppc64\>' > /dev/null 2>&1; then
+ QMakeVar add QMAKE_CFLAGS "-Xarch_ppc64 -mmacosx-version-min=10.5"
+ QMakeVar add QMAKE_CXXFLAGS "-Xarch_ppc64 -mmacosx-version-min=10.5"
+ QMakeVar add QMAKE_LFLAGS "-Xarch_ppc64 -mmacosx-version-min=10.5"
+ QMakeVar add QMAKE_OBJECTIVE_CFLAGS_PPC_64 "-arch ppc64 -Xarch_ppc64 -mmacosx-version-min=10.5"
+ fi
+fi
+
#-------------------------------------------------------------------------------
# generate QT_BUILD_KEY
#-------------------------------------------------------------------------------
@@ -5504,6 +6055,20 @@ case "$COMPILER" in
g++*)
# GNU C++
COMPILER_VERSION=`${QMAKE_CONF_COMPILER} -dumpversion 2>/dev/null`
+
+ case "$COMPILER_VERSION" in
+ *.*.*)
+ QT_GCC_MAJOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*,\1,'`
+ QT_GCC_MINOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*,\2,'`
+ QT_GCC_PATCH_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*,\3,'`
+ ;;
+ *.*)
+ QT_GCC_MAJOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\).*,\1,'`
+ QT_GCC_MINOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\).*,\2,'`
+ QT_GCC_PATCH_VERSION=0
+ ;;
+ esac
+
case "$COMPILER_VERSION" in
2.95.*)
COMPILER_VERSION="2.95.*"
@@ -5556,7 +6121,7 @@ esac
# tablet
# ipv6
#
-# X11 : x11sm xinerama xcursor xfixes xrandr xrender fontconfig xkb
+# X11 : x11sm xinerama xcursor xfixes xrandr xrender mitshm fontconfig xkb
# Embedded: embedded freetype
#
ALL_OPTIONS="stl"
@@ -5634,16 +6199,37 @@ fi
rm -f .options
BUILD_OPTIONS="$BUILD_CONFIG $BUILD_OPTIONS"
-if [ "$QT_CROSS_COMPILE" = "yes" ]; then
- # extract the operating system from the XPLATFORM
- TARGET_OPERATING_SYSTEM=`echo $XPLATFORM | cut -f 2- -d/ | cut -f -1 -d-`
- # when cross-compiling, don't include build-host information (build key is target specific)
- QT_BUILD_KEY="$CFG_USER_BUILD_KEY $CFG_ARCH $TARGET_OPERATING_SYSTEM $COMPILER $BUILD_OPTIONS"
-else
- QT_BUILD_KEY="$CFG_USER_BUILD_KEY $UNAME_MACHINE $UNAME_SYSTEM $COMPILER $BUILD_OPTIONS"
+# extract the operating system from the XPLATFORM
+TARGET_OPERATING_SYSTEM=`echo $XPLATFORM | cut -f 2- -d/ | cut -f -1 -d-`
+
+# when cross-compiling, don't include build-host information (build key is target specific)
+QT_BUILD_KEY="$CFG_USER_BUILD_KEY $CFG_ARCH $TARGET_OPERATING_SYSTEM $COMPILER $BUILD_OPTIONS"
+if [ -n "$QT_NAMESPACE" ]; then
+ QT_BUILD_KEY="$QT_BUILD_KEY $QT_NAMESPACE"
+fi
+MAC_NEED_TWO_BUILD_KEYS="no"
+if [ "$PLATFORM_MAC" = "yes" -a "$CFG_MAC_COCOA" = "yes" ]; then
+ QT_BUILD_KEY_CARBON=$QT_BUILD_KEY
+ TARGET_OPERATING_SYSTEM="$TARGET_OPERATING_SYSTEM-cocoa"
+ QT_BUILD_KEY_COCOA="$CFG_USER_BUILD_KEY $CFG_ARCH $TARGET_OPERATING_SYSTEM $COMPILER $BUILD_OPTIONS"
+ if [ "$CFG_MAC_CARBON" = "no" ]; then
+ QT_BUILD_KEY=$QT_BUILD_KEY_COCOA
+ else
+ MAC_NEED_TWO_BUILD_KEYS="yes"
+ fi
+fi
+# don't break loading plugins build with an older version of Qt
+QT_BUILD_KEY_COMPAT=
+if [ "$QT_CROSS_COMPILE" = "no" ]; then
+ # previous versions of Qt used a build key built from the uname
+ QT_BUILD_KEY_COMPAT="$CFG_USER_BUILD_KEY $UNAME_MACHINE $UNAME_SYSTEM $COMPILER $BUILD_OPTIONS"
+ if [ -n "$QT_NAMESPACE" ]; then
+ QT_BUILD_KEY_COMPAT="$QT_BUILD_KEY_COMPAT $QT_NAMESPACE"
+ fi
fi
# strip out leading/trailing/extra whitespace
QT_BUILD_KEY=`echo $QT_BUILD_KEY | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
+QT_BUILD_KEY_COMPAT=`echo $QT_BUILD_KEY_COMPAT | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
#-------------------------------------------------------------------------------
# part of configuration information goes into qconfig.h
@@ -5660,6 +6246,7 @@ full)
echo "#endif" >>"$tmpconfig"
;;
esac
+
cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
/* Qt Edition */
@@ -5667,13 +6254,27 @@ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
# define QT_EDITION $QT_EDITION
#endif
-#define QT_BUILD_KEY "$QT_BUILD_KEY"
-
/* Machine byte-order */
#define Q_BIG_ENDIAN 4321
#define Q_LITTLE_ENDIAN 1234
+EOF
+
+if [ "$MAC_NEED_TWO_BUILD_KEYS" = "no" ]; then
+ echo "#define QT_BUILD_KEY \"$QT_BUILD_KEY\"" \
+ >> "$outpath/src/corelib/global/qconfig.h.new"
+else
+ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
+#define QT_BUILD_KEY_CARBON "$QT_BUILD_KEY_CARBON"
+#define QT_BUILD_KEY_COCOA "$QT_BUILD_KEY_COCOA"
EOF
+fi
+
+if [ -n "$QT_BUILD_KEY_COMPAT" ]; then
+ echo "#define QT_BUILD_KEY_COMPAT \"$QT_BUILD_KEY_COMPAT\"" \
+ >> "$outpath/src/corelib/global/qconfig.h.new"
+fi
+echo "" >>"$outpath/src/corelib/global/qconfig.h.new"
echo "#ifdef QT_BOOTSTRAPPED" >>"$outpath/src/corelib/global/qconfig.h.new"
if [ "$CFG_HOST_ENDIAN" = "auto" ]; then
@@ -5745,6 +6346,13 @@ if [ "$CFG_LARGEFILE" = "yes" ]; then
echo "#define QT_LARGEFILE_SUPPORT 64" >>"$outpath/src/corelib/global/qconfig.h.new"
fi
+# if both carbon and cocoa are specified, enable the autodetection code.
+if [ "$CFG_MAC_COCOA" = "yes" -a "$CFG_MAC_CARBON" = "yes" ]; then
+ echo "#define AUTODETECT_COCOA 1" >>"$outpath/src/corelib/global/qconfig.h.new"
+elif [ "$CFG_MAC_COCOA" = "yes" ]; then
+ echo "#define QT_MAC_USE_COCOA 1" >>"$outpath/src/corelib/global/qconfig.h.new"
+fi
+
if [ "$CFG_FRAMEWORK" = "yes" ]; then
echo "#define QT_MAC_FRAMEWORK_BUILD" >>"$outpath/src/corelib/global/qconfig.h.new"
fi
@@ -5765,7 +6373,7 @@ fi
echo "" >>"$outpath/src/corelib/global/qconfig.h.new"
-if [ "$Edition" = "Trolltech" ]; then
+if [ "$CFG_DEV" = "yes" ]; then
echo "#define QT_BUILD_INTERNAL" >>"$outpath/src/corelib/global/qconfig.h.new"
fi
@@ -5789,7 +6397,7 @@ if [ "$PLATFORM_QWS" = "yes" ]; then
CFG_KBD_OFF="$CFG_KBD_AVAILABLE"
# the um driver is currently not in the available list for external builds
- if [ "$Edition" != "Trolltech" ]; then
+ if [ "$CFG_DEV" = "no" ]; then
CFG_KBD_OFF="$CFG_KBD_OFF um"
fi
for ADRIVER in $CFG_KBD_ON; do
@@ -5836,6 +6444,7 @@ for DRIVER in $CFG_SQL_AVAILABLE; do
esac
done
+
QMakeVar set sql-drivers "$SQL_DRIVERS"
QMakeVar set sql-plugins "$SQL_PLUGINS"
@@ -5847,16 +6456,21 @@ QMakeVar set sql-plugins "$SQL_PLUGINS"
[ "$CFG_MNG" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IMAGEFORMAT_MNG"
[ "$CFG_ZLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ZLIB"
[ "$CFG_EXCEPTIONS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_EXCEPTIONS"
-[ "$CFG_TABLET" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_TABLET"
[ "$CFG_IPV6" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6"
[ "$CFG_SXE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SXE"
[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS"
+if [ "$PLATFORM_QWS" != "yes" ]; then
+ [ "$CFG_GRAPHICS_SYSTEM" = "raster" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_GRAPHICSSYSTEM_RASTER"
+ [ "$CFG_GRAPHICS_SYSTEM" = "opengl" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_GRAPHICSSYSTEM_OPENGL"
+fi
+
# X11/Unix/Mac only configs
[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
[ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
[ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
[ "$CFG_GSTREAMER" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GSTREAMER"
+[ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"
[ "$CFG_CLOCK_MONOTONIC" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CLOCK_MONOTONIC"
[ "$CFG_MREMAP" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MREMAP"
[ "$CFG_GETADDRINFO" = "no" ]&& QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GETADDRINFO"
@@ -5876,11 +6490,15 @@ QMakeVar set sql-plugins "$SQL_PLUGINS"
[ "$CFG_XKB" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XKB"
[ "$CFG_XRANDR" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRANDR"
[ "$CFG_XRENDER" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRENDER"
+[ "$CFG_MITSHM" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MITSHM"
[ "$CFG_XSHAPE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SHAPE"
+[ "$CFG_XINPUT" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XINPUT QT_NO_TABLET"
[ "$CFG_XCURSOR" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XCURSOR"
[ "$CFG_XINERAMA" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XINERAMA"
[ "$CFG_XFIXES" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XFIXES"
+[ "$CFG_XRANDR" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XRANDR"
+[ "$CFG_XINPUT" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XINPUT"
# sort QCONFIG_FLAGS for neatness if we can
[ '!' -z "$AWK" ] && QCONFIG_FLAGS=`echo $QCONFIG_FLAGS | $AWK '{ gsub(" ", "\n"); print }' | sort | uniq`
@@ -5974,6 +6592,13 @@ fi
if [ "$PLATFORM_MAC" = "yes" ]; then
QT_CONFIG="$QT_CONFIG $CFG_MAC_ARCHS"
fi
+
+# Make the application arch follow the Qt arch for single arch builds.
+# (for multiple-arch builds, set CONFIG manually in the application .pro file)
+if [ `echo "$CFG_MAC_ARCHS" | wc -w` -eq 1 ]; then
+ QTCONFIG_CONFIG="$QTCONFIG_CONFIG $CFG_MAC_ARCHS"
+fi
+
cat >>"$QTCONFIG.tmp" <<EOF
#configuration
CONFIG += $QTCONFIG_CONFIG
@@ -5990,11 +6615,17 @@ QT_PATCH_VERSION = $QT_PATCH_VERSION
#namespaces
QT_LIBINFIX = $QT_LIBINFIX
QT_NAMESPACE = $QT_NAMESPACE
+QT_NAMESPACE_MAC_CRC = $QT_NAMESPACE_MAC_CRC
EOF
if [ "$CFG_RPATH" = "yes" ]; then
echo "QMAKE_RPATHDIR += \"$QT_INSTALL_LIBS\"" >> "$QTCONFIG.tmp"
fi
+if [ -n "$QT_GCC_MAJOR_VERSION" ]; then
+ echo "QT_GCC_MAJOR_VERSION = $QT_GCC_MAJOR_VERSION" >> "$QTCONFIG.tmp"
+ echo "QT_GCC_MINOR_VERSION = $QT_GCC_MINOR_VERSION" >> "$QTCONFIG.tmp"
+ echo "QT_GCC_PATCH_VERSION = $QT_GCC_PATCH_VERSION" >> "$QTCONFIG.tmp"
+fi
# replace qconfig.pri if it differs from the newly created temp file
if cmp -s "$QTCONFIG.tmp" "$QTCONFIG"; then
rm -f "$QTCONFIG.tmp"
@@ -6062,6 +6693,11 @@ if [ '!' -z "$CFG_SDK" ]; then
echo "QMAKE_MAC_SDK = $CFG_SDK" >> "$CACHEFILE.tmp"
fi
+# mac gcc -Xarch support
+if [ "$CFG_MAC_XARCH" = "no" ]; then
+ echo "QMAKE_MAC_XARCH = no" >> "$CACHEFILE.tmp"
+fi
+
#dump the qmake spec
if [ -d "$outpath/mkspecs/$XPLATFORM" ]; then
echo "QMAKESPEC = \$\$QT_BUILD_TREE/mkspecs/$XPLATFORM" >> "$CACHEFILE.tmp"
@@ -6075,7 +6711,7 @@ rm -f "$QMAKE_VARS_FILE" 2>/dev/null
# incrementals
INCREMENTAL=""
-[ "$CFG_INCREMENTAL" = "auto" ] && "$WHICH" p4 >/dev/null 2>&1 && [ "$Edition" = "Trolltech" ] && CFG_INCREMENTAL="yes"
+[ "$CFG_INCREMENTAL" = "auto" ] && "$WHICH" p4 >/dev/null 2>&1 && [ "$CFG_DEV" = "yes" ] && CFG_INCREMENTAL="yes"
if [ "$CFG_INCREMENTAL" = "yes" ]; then
find "$relpath" -perm u+w -mtime -3 | grep 'cpp$' | while read f; do
# don't need to worry about generated files
@@ -6139,6 +6775,15 @@ EOF
*) ;;
esac
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_DWARF2" == "no" ] && [ "$CFG_WEBKIT" = "yes" ] && [ "$CFG_DEBUG_RELEASE" == "yes" ]; then
+ cat <<EOF
+ WARNING: DWARF2 debug symbols are not enabled. Linking webkit
+ in debug mode will run out of memory on systems with 2GB or less.
+ Install Xcode 2.4.1 or higher to enable DWARF2, or configure with
+ -no-webkit or -release to skip webkit debug.
+EOF
+fi
+
echo
if [ "$XPLATFORM" = "$PLATFORM" ]; then
echo "Build type: $PLATFORM"
@@ -6146,11 +6791,29 @@ else
echo "Building on: $PLATFORM"
echo "Building for: $XPLATFORM"
fi
-echo "Architecture: $CFG_ARCH"
+
+if [ "$PLATFORM_MAC" = "yes" ]; then
+ echo "Architecture: $CFG_ARCH ($CFG_MAC_ARCHS )"
+else
+ echo "Architecture: $CFG_ARCH"
+fi
+
if [ "$PLATFORM_QWS" = "yes" ]; then
echo "Host architecture: $CFG_HOST_ARCH"
fi
+if [ "$PLATFORM_MAC" = "yes" ]; then
+ if [ "$CFG_MAC_COCOA" = "yes" ]; then
+ if [ "$CFG_MAC_CARBON" = "yes" ]; then
+ echo "Using framework: Carbon for 32-bit, Cocoa for 64-bit"
+ else
+ echo "Using framework: Cocoa"
+ fi
+ else
+ echo "Using framework: Carbon"
+ fi
+fi
+
if [ -n "$PLATFORM_NOTES" ]; then
echo "Platform notes:"
echo "$PLATFORM_NOTES"
@@ -6185,17 +6848,18 @@ echo "Qt 3 compatibility .. $CFG_QT3SUPPORT"
[ "$CFG_DBUS" = "no" ] && echo "QtDBus module ....... no"
[ "$CFG_DBUS" = "yes" ] && echo "QtDBus module ....... yes (run-time)"
[ "$CFG_DBUS" = "linked" ] && echo "QtDBus module ....... yes (linked)"
+echo "QtScriptTools module $CFG_SCRIPTTOOLS"
echo "QtXmlPatterns module $CFG_XMLPATTERNS"
echo "Phonon module ....... $CFG_PHONON"
echo "SVG module .......... $CFG_SVG"
echo "WebKit module ....... $CFG_WEBKIT"
-echo "WebKit in Assistant $CFG_ASSISTANT_WEBKIT"
echo "STL support ......... $CFG_STL"
echo "PCH support ......... $CFG_PRECOMPILE"
echo "MMX/3DNOW/SSE/SSE2.. ${CFG_MMX}/${CFG_3DNOW}/${CFG_SSE}/${CFG_SSE2}"
if [ "${CFG_ARCH}" = "arm" ]; then
echo "iWMMXt support ...... ${CFG_IWMMXT}"
fi
+[ "${PLATFORM_QWS}" != "yes" ] && echo "Graphics System ..... $CFG_GRAPHICS_SYSTEM"
echo "IPv6 support ........ $CFG_IPV6"
echo "IPv6 ifname support . $CFG_IPV6IFNAME"
echo "getaddrinfo support . $CFG_GETADDRINFO"
@@ -6229,6 +6893,7 @@ else
echo "MNG support ......... $CFG_MNG ($CFG_LIBMNG)"
fi
echo "zlib support ........ $CFG_ZLIB"
+echo "Session management .. $CFG_SM"
if [ "$PLATFORM_QWS" = "yes" ]; then
echo "Embedded support .... $CFG_EMBEDDED"
if [ "$CFG_QWS_FREETYPE" = "auto" ]; then
@@ -6254,19 +6919,31 @@ if [ "$PLATFORM_QWS" = "yes" ]; then
echo "Mouse driver (qt) ... $CFG_MOUSE_ON"
echo "Mouse driver (plugin) $CFG_MOUSE_PLUGIN"
fi
- echo "OpenGL support ...... $CFG_OPENGL"
+if [ "$CFG_OPENGL" = "desktop" ]; then
+ echo "OpenGL support ...... yes (Desktop OpenGL)"
+elif [ "$CFG_OPENGL" = "es1" ]; then
+ echo "OpenGL support ...... yes (OpenGL ES 1.x Common profile)"
+elif [ "$CFG_OPENGL" = "es1cl" ]; then
+ echo "OpenGL support ...... yes (OpenGL ES 1.x Common Lite profile)"
+elif [ "$CFG_OPENGL" = "es2" ]; then
+ echo "OpenGL support ...... yes (OpenGL ES 2.x)"
+else
+ echo "OpenGL support ...... no"
+fi
if [ "$PLATFORM_X11" = "yes" ]; then
echo "NAS sound support ... $CFG_NAS"
- echo "Session management .. $CFG_SM"
echo "XShape support ...... $CFG_XSHAPE"
echo "Xinerama support .... $CFG_XINERAMA"
echo "Xcursor support ..... $CFG_XCURSOR"
echo "Xfixes support ...... $CFG_XFIXES"
echo "Xrandr support ...... $CFG_XRANDR"
echo "Xrender support ..... $CFG_XRENDER"
+ echo "Xi support .......... $CFG_XINPUT"
+ echo "MIT-SHM support ..... $CFG_MITSHM"
echo "FontConfig support .. $CFG_FONTCONFIG"
echo "XKB Support ......... $CFG_XKB"
echo "immodule support .... $CFG_IM"
+ echo "GTK theme support ... $CFG_QGTKSTYLE"
fi
[ "$CFG_SQL_mysql" != "no" ] && echo "MySQL support ....... $CFG_SQL_mysql"
[ "$CFG_SQL_psql" != "no" ] && echo "PostgreSQL support .. $CFG_SQL_psql"
@@ -6286,6 +6963,8 @@ elif [ "$CFG_OPENSSL" = "linked" ]; then
fi
echo "OpenSSL support ..... $CFG_OPENSSL $OPENSSL_LINKAGE"
+[ "$CFG_PTMALLOC" != "no" ] && echo "Use ptmalloc ........ $CFG_PTMALLOC"
+
# complain about not being able to use dynamic plugins if we are using a static build
if [ "$CFG_SHARED" = "no" ]; then
echo
@@ -6455,7 +7134,7 @@ for part in $CFG_BUILD_PARTS; do
esac
done
-if [ "$Edition" = "Trolltech" ]; then
+if [ "$CFG_DEV" = "yes" ]; then
PART_ROOTS="$PART_ROOTS tests"
fi
@@ -6475,7 +7154,7 @@ for file in .projects .projects.3; do
case $a in
*winmain/winmain.pro) continue ;;
*/qmake/qmake.pro) continue ;;
- *tools/moc*|*tools/rcc*|*tools/uic*) SPEC=$QMAKESPEC ;;
+ *tools/bootstrap*|*tools/moc*|*tools/rcc*|*tools/uic*) SPEC=$QMAKESPEC ;;
*) SPEC=$XQMAKESPEC ;;
esac
dir=`dirname $a | sed -e "s;$sepath;.;g"`
diff --git a/devel/qt4/files/extrapatch-configure b/devel/qt4/files/extrapatch-configure
index 07f050b0e14c..5d8e9a1806a4 100644
--- a/devel/qt4/files/extrapatch-configure
+++ b/devel/qt4/files/extrapatch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2008-04-28 17:11:12.000000000 +0400
-+++ configure 2008-06-15 11:00:20.000000000 +0400
-@@ -1887,12 +1887,6 @@
+--- ./configure.orig 2009-04-22 03:57:35.000000000 +0400
++++ ./configure 2009-05-21 02:46:31.000000000 +0400
+@@ -2084,12 +2084,6 @@
chmod 755 "$outpath/bin/syncqt"
fi
@@ -13,7 +13,7 @@
# symlink the doc directory
rm -rf "$outpath/doc"
ln -s "$relpath/doc" "$outpath/doc"
-@@ -1931,7 +1925,7 @@
+@@ -2128,7 +2122,7 @@
# find a make command
if [ -z "$MAKE" ]; then
MAKE=
@@ -22,7 +22,7 @@
if "$WHICH" $mk >/dev/null 2>&1; then
MAKE=`$WHICH $mk`
break
-@@ -3791,7 +3785,7 @@
+@@ -4006,7 +4000,7 @@
}
# build qmake
@@ -31,7 +31,116 @@
echo "Creating qmake. Please wait..."
OLD_QCONFIG_H=
-@@ -6309,7 +6303,7 @@
+@@ -4734,12 +4728,13 @@
+ fi
+
+ # Check we actually have X11 :-)
+- if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xlib "XLib" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
+- echo "Basic XLib functionality test failed!"
+- echo " You might need to modify the include and library search paths by editing"
+- echo " QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in ${XQMAKESPEC}."
+- exit 1
+- fi
++# Requires X11 environment, disable test
++# if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xlib "XLib" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
++# echo "Basic XLib functionality test failed!"
++# echo " You might need to modify the include and library search paths by editing"
++# echo " QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in ${XQMAKESPEC}."
++# exit 1
++# fi
+
+ # auto-detect OpenGL support (es1 = OpenGL ES 1.x Common, es1cl = ES 1.x common lite, es2 = OpenGL ES 2.x)
+ if [ "$CFG_OPENGL" = "auto" ] || [ "$CFG_OPENGL" = "yes" ]; then
+@@ -5569,7 +5564,7 @@
+ QT_CONFIG="$QT_CONFIG phonon-backend"
+ fi
+ else
+- QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_PHONON"
++# QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_PHONON"
+ fi
+
+ # disable accessibility
+@@ -5581,7 +5576,7 @@
+
+ # enable opengl
+ if [ "$CFG_OPENGL" = "no" ]; then
+- QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_OPENGL"
++# QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_OPENGL"
+ else
+ QT_CONFIG="$QT_CONFIG opengl"
+ fi
+@@ -5946,7 +5941,7 @@
+ if [ "$CFG_XMLPATTERNS" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG xmlpatterns"
+ else
+- QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XMLPATTERNS"
++# QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XMLPATTERNS"
+ fi
+
+ if [ "$CFG_SVG" = "yes" ]; then
+@@ -6442,10 +6437,10 @@
+ [ "$CFG_JPEG" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IMAGEFORMAT_JPEG"
+ [ "$CFG_MNG" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IMAGEFORMAT_MNG"
+ [ "$CFG_ZLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ZLIB"
+-[ "$CFG_EXCEPTIONS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_EXCEPTIONS"
++# [ "$CFG_EXCEPTIONS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_EXCEPTIONS"
+ [ "$CFG_IPV6" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6"
+ [ "$CFG_SXE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SXE"
+-[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS"
++# [ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS"
+
+ if [ "$PLATFORM_QWS" != "yes" ]; then
+ [ "$CFG_GRAPHICS_SYSTEM" = "raster" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_GRAPHICSSYSTEM_RASTER"
+@@ -6453,33 +6448,33 @@
+ fi
+
+ # X11/Unix/Mac only configs
+-[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
++%%CUPS%%[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
+ [ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
+ [ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
+-[ "$CFG_GSTREAMER" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GSTREAMER"
+-[ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"
++# [ "$CFG_GSTREAMER" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GSTREAMER"
++%%QGTKSTYLE%%[ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"
+ [ "$CFG_CLOCK_MONOTONIC" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CLOCK_MONOTONIC"
+ [ "$CFG_MREMAP" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MREMAP"
+ [ "$CFG_GETADDRINFO" = "no" ]&& QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GETADDRINFO"
+ [ "$CFG_IPV6IFNAME" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6IFNAME"
+ [ "$CFG_GETIFADDRS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GETIFADDRS"
+ [ "$CFG_INOTIFY" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_INOTIFY"
+-[ "$CFG_NAS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_NAS"
++%%NAS%%[ "$CFG_NAS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_NAS"
+ [ "$CFG_NIS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_NIS"
+ [ "$CFG_OPENSSL" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_OPENSSL"
+ [ "$CFG_OPENSSL" = "linked" ]&& QCONFIG_FLAGS="$QCONFIG_FLAGS QT_LINKED_OPENSSL"
+
+-[ "$CFG_SM" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SESSIONMANAGER"
+-[ "$CFG_XCURSOR" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XCURSOR"
+-[ "$CFG_XFIXES" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XFIXES"
+-[ "$CFG_FONTCONFIG" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_FONTCONFIG"
+-[ "$CFG_XINERAMA" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XINERAMA"
+-[ "$CFG_XKB" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XKB"
+-[ "$CFG_XRANDR" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRANDR"
+-[ "$CFG_XRENDER" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRENDER"
+-[ "$CFG_MITSHM" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MITSHM"
+-[ "$CFG_XSHAPE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SHAPE"
+-[ "$CFG_XINPUT" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XINPUT QT_NO_TABLET"
++# [ "$CFG_SM" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SESSIONMANAGER"
++# [ "$CFG_XCURSOR" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XCURSOR"
++# [ "$CFG_XFIXES" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XFIXES"
++# [ "$CFG_FONTCONFIG" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_FONTCONFIG"
++# [ "$CFG_XINERAMA" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XINERAMA"
++# [ "$CFG_XKB" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XKB"
++# [ "$CFG_XRANDR" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRANDR"
++# [ "$CFG_XRENDER" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRENDER"
++# [ "$CFG_MITSHM" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MITSHM"
++# [ "$CFG_XSHAPE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SHAPE"
++# [ "$CFG_XINPUT" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XINPUT QT_NO_TABLET"
+
+ [ "$CFG_XCURSOR" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XCURSOR"
+ [ "$CFG_XINERAMA" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XINERAMA"
+@@ -6989,7 +6984,7 @@
if [ -f "${relpath}/projects.pro" ]; then
mkfile="${outpath}/Makefile"
[ -f "$mkfile" ] && chmod +w "$mkfile"
@@ -40,7 +149,7 @@
fi
# .projects -> projects to process
-@@ -6482,7 +6476,7 @@
+@@ -7162,7 +7157,7 @@
echo " for $a\c"
fi
diff --git a/graphics/qt4-iconengines/Makefile b/graphics/qt4-iconengines/Makefile
index cc1bb506cbd2..6c160ac672f7 100644
--- a/graphics/qt4-iconengines/Makefile
+++ b/graphics/qt4-iconengines/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-PORTNAME= iconengines
+PORTNAME= imageformats
PORTVERSION= ${QT4_VERSION}
PORTREVISION=0
CATEGORIES?= graphics
@@ -16,12 +16,18 @@ DISTNAME= qt-x11-opensource-src-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-COMMENT= Qt SVG icon engine plugin
+COMMENT= Qt imageformat plugins for GIF, JPEG, MNG and SVG
+
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ mng:${PORTSDIR}/graphics/libmng \
+ png:${PORTSDIR}/graphics/png \
+ tiff:${PORTSDIR}/graphics/tiff
USE_QT_VER= 4
-QT_COMPONENTS= qmake_build moc_build corelib gui svg xml
+QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui svg xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= true
HAS_CONFIGURE= yes
@@ -35,18 +41,19 @@ DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
src/qt3support src/script src/sql src/testlib \
src/tools src/xmlpatterns src/3rdparty/clucene \
src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
-EXTRACT_AFTER_ARGS= | ${TAR} -xf -
+EXTRACT_AFTER_ARGS= |${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
.endfor
-WRKSRC= ${WRKDIR}/${DISTNAME}/src/plugins/iconengines/svgiconengine
-CONFIGURE_WRKSRC=${WRKSRC}/../../../..
+WRKSRC= ${WRKDIR}/${DISTNAME}/src/plugins/${PORTNAME}
+CONFIGURE_WRKSRC=${WRKSRC}/../../..
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
- ${MKDIR} ${WRKSRC}/../../../../mkspecs
- ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../../bin/qmake
- ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../../bin/moc
+ ${MKDIR} ${WRKSRC}/../../../mkspecs
+ ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+ ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../bin/moc
+ ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../../bin/rcc
.include <bsd.port.mk>
diff --git a/graphics/qt4-iconengines/distinfo b/graphics/qt4-iconengines/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/graphics/qt4-iconengines/distinfo
+++ b/graphics/qt4-iconengines/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/graphics/qt4-iconengines/pkg-plist b/graphics/qt4-iconengines/pkg-plist
index e3eafa6f386f..1b01f5eb0bca 100644
--- a/graphics/qt4-iconengines/pkg-plist
+++ b/graphics/qt4-iconengines/pkg-plist
@@ -1,3 +1,13 @@
-lib/qt4/plugins/iconengines/libqsvgicon.so
-%%DEBUG%%lib/qt4/plugins/iconengines/libqsvgicon.so.debug
-@dirrmtry lib/qt4/plugins/iconengines
+lib/qt4/plugins/imageformats/libqgif.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqgif.so.debug
+lib/qt4/plugins/imageformats/libqjpeg.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqjpeg.so.debug
+lib/qt4/plugins/imageformats/libqmng.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqmng.so.debug
+lib/qt4/plugins/imageformats/libqsvg.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqsvg.so.debug
+lib/qt4/plugins/imageformats/libqtiff.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqtiff.so.debug
+lib/qt4/plugins/imageformats/libqico.so
+%%DEBUG%%lib/qt4/plugins/imageformats/libqico.so.debug
+@dirrmtry lib/qt4/plugins/imageformats
diff --git a/graphics/qt4-imageformats/Makefile b/graphics/qt4-imageformats/Makefile
index 1c63e8571fe9..6c160ac672f7 100644
--- a/graphics/qt4-imageformats/Makefile
+++ b/graphics/qt4-imageformats/Makefile
@@ -8,7 +8,7 @@
PORTNAME= imageformats
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
+PORTREVISION=0
CATEGORIES?= graphics
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -27,6 +27,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui svg xml
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= true
HAS_CONFIGURE= yes
diff --git a/graphics/qt4-imageformats/distinfo b/graphics/qt4-imageformats/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/graphics/qt4-imageformats/distinfo
+++ b/graphics/qt4-imageformats/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/graphics/qt4-pixeltool/Makefile b/graphics/qt4-pixeltool/Makefile
index 1f1e2a1e15b2..ebdb35f2f840 100644
--- a/graphics/qt4-pixeltool/Makefile
+++ b/graphics/qt4-pixeltool/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib gui network
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/graphics/qt4-pixeltool/distinfo b/graphics/qt4-pixeltool/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/graphics/qt4-pixeltool/distinfo
+++ b/graphics/qt4-pixeltool/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/graphics/qt4-svg/Makefile b/graphics/qt4-svg/Makefile
index c6a49a65a67f..2ac35bc34817 100644
--- a/graphics/qt4-svg/Makefile
+++ b/graphics/qt4-svg/Makefile
@@ -21,6 +21,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib gui
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/graphics/qt4-svg/distinfo b/graphics/qt4-svg/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/graphics/qt4-svg/distinfo
+++ b/graphics/qt4-svg/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/graphics/qt4-svg/pkg-plist b/graphics/qt4-svg/pkg-plist
index 5ae813825bc6..f2bd42e1b9e3 100644
--- a/graphics/qt4-svg/pkg-plist
+++ b/graphics/qt4-svg/pkg-plist
@@ -16,9 +16,9 @@ lib/qt4/libQtSvg.la
lib/qt4/libQtSvg.prl
lib/qt4/libQtSvg.so
lib/qt4/libQtSvg.so.4
-lib/qt4/libQtSvg.so.4.4
-lib/qt4/libQtSvg.so.4.4.3
-%%DEBUG%%lib/qt4/libQtSvg.so.4.4.3.debug
+lib/qt4/libQtSvg.so.4.5
+lib/qt4/libQtSvg.so.4.5.2
+%%DEBUG%%lib/qt4/libQtSvg.so.4.5.2.debug
libdata/pkgconfig/QtSvg.pc
@dirrm include/qt4/QtSvg
@dirrmtry include/qt4/Qt
diff --git a/japanese/qt4-codecs-jp/distinfo b/japanese/qt4-codecs-jp/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/japanese/qt4-codecs-jp/distinfo
+++ b/japanese/qt4-codecs-jp/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/korean/qt4-codecs-kr/Makefile b/korean/qt4-codecs-kr/Makefile
index 256c93f8fac7..c1aa8ae01b97 100644
--- a/korean/qt4-codecs-kr/Makefile
+++ b/korean/qt4-codecs-kr/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
-DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
+DO_NOT_EXTRACT= demos doc examples qmake tools translations \
src/dbus src/gui src/network src/opengl src/phonon \
src/qt3support src/script src/sql src/svg src/testlib \
src/tools src/xml src/xmlpatterns src/3rdparty/clucene \
diff --git a/korean/qt4-codecs-kr/distinfo b/korean/qt4-codecs-kr/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/korean/qt4-codecs-kr/distinfo
+++ b/korean/qt4-codecs-kr/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/misc/qt4-doc/distinfo b/misc/qt4-doc/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/misc/qt4-doc/distinfo
+++ b/misc/qt4-doc/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/misc/qt4-doc/pkg-plist b/misc/qt4-doc/pkg-plist
index 4b65fbcb701d..640bbee30c12 100644
--- a/misc/qt4-doc/pkg-plist
+++ b/misc/qt4-doc/pkg-plist
@@ -41,6 +41,7 @@
%%DOCSDIR%%/html/containers.html
%%DOCSDIR%%/html/coordsys.html
%%DOCSDIR%%/html/credits.html
+%%DOCSDIR%%/html/custom-types.html
%%DOCSDIR%%/html/database.html
%%DOCSDIR%%/html/datastreamformat.html
%%DOCSDIR%%/html/dbus-complexpingpong-complexping-cpp.html
@@ -66,6 +67,14 @@
%%DOCSDIR%%/html/dbus-listnames-listnames-cpp.html
%%DOCSDIR%%/html/dbus-listnames-listnames-pro.html
%%DOCSDIR%%/html/dbus-listnames.html
+%%DOCSDIR%%/html/dbus-pingpong-ping-common-h.html
+%%DOCSDIR%%/html/dbus-pingpong-ping-cpp.html
+%%DOCSDIR%%/html/dbus-pingpong-ping-pro.html
+%%DOCSDIR%%/html/dbus-pingpong-pingpong-pro.html
+%%DOCSDIR%%/html/dbus-pingpong-pong-cpp.html
+%%DOCSDIR%%/html/dbus-pingpong-pong-h.html
+%%DOCSDIR%%/html/dbus-pingpong-pong-pro.html
+%%DOCSDIR%%/html/dbus-pingpong.html
%%DOCSDIR%%/html/dbus-remotecontrolledcar-car-car-adaptor-cpp.html
%%DOCSDIR%%/html/dbus-remotecontrolledcar-car-car-adaptor-p-h.html
%%DOCSDIR%%/html/dbus-remotecontrolledcar-car-car-cpp.html
@@ -103,6 +112,27 @@
%%DOCSDIR%%/html/demos-books-initdb-h.html
%%DOCSDIR%%/html/demos-books-main-cpp.html
%%DOCSDIR%%/html/demos-books.html
+%%DOCSDIR%%/html/demos-boxes-3rdparty-fbm-h.html
+%%DOCSDIR%%/html/demos-boxes-boxes-pro.html
+%%DOCSDIR%%/html/demos-boxes-boxes-qrc.html
+%%DOCSDIR%%/html/demos-boxes-glbuffers-cpp.html
+%%DOCSDIR%%/html/demos-boxes-glbuffers-h.html
+%%DOCSDIR%%/html/demos-boxes-glextensions-cpp.html
+%%DOCSDIR%%/html/demos-boxes-glextensions-h.html
+%%DOCSDIR%%/html/demos-boxes-glshaders-cpp.html
+%%DOCSDIR%%/html/demos-boxes-glshaders-h.html
+%%DOCSDIR%%/html/demos-boxes-gltrianglemesh-h.html
+%%DOCSDIR%%/html/demos-boxes-main-cpp.html
+%%DOCSDIR%%/html/demos-boxes-qtbox-cpp.html
+%%DOCSDIR%%/html/demos-boxes-qtbox-h.html
+%%DOCSDIR%%/html/demos-boxes-roundedbox-cpp.html
+%%DOCSDIR%%/html/demos-boxes-roundedbox-h.html
+%%DOCSDIR%%/html/demos-boxes-scene-cpp.html
+%%DOCSDIR%%/html/demos-boxes-scene-h.html
+%%DOCSDIR%%/html/demos-boxes-trackball-cpp.html
+%%DOCSDIR%%/html/demos-boxes-trackball-h.html
+%%DOCSDIR%%/html/demos-boxes-vector-h.html
+%%DOCSDIR%%/html/demos-boxes.html
%%DOCSDIR%%/html/demos-browser.html
%%DOCSDIR%%/html/demos-chip-chip-cpp.html
%%DOCSDIR%%/html/demos-chip-chip-h.html
@@ -147,7 +177,6 @@
%%DOCSDIR%%/html/demos-interview-model-cpp.html
%%DOCSDIR%%/html/demos-interview-model-h.html
%%DOCSDIR%%/html/demos-interview.html
-%%DOCSDIR%%/html/demos-macmainwindow-macmainwindow-cpp.html
%%DOCSDIR%%/html/demos-macmainwindow-macmainwindow-h.html
%%DOCSDIR%%/html/demos-macmainwindow-macmainwindow-pro.html
%%DOCSDIR%%/html/demos-macmainwindow-main-cpp.html
@@ -176,8 +205,16 @@
%%DOCSDIR%%/html/demos-pathstroke-pathstroke-qrc.html
%%DOCSDIR%%/html/demos-pathstroke.html
%%DOCSDIR%%/html/demos-spreadsheet-main-cpp.html
+%%DOCSDIR%%/html/demos-spreadsheet-printview-cpp.html
+%%DOCSDIR%%/html/demos-spreadsheet-printview-h.html
+%%DOCSDIR%%/html/demos-spreadsheet-spreadsheet-cpp.html
+%%DOCSDIR%%/html/demos-spreadsheet-spreadsheet-h.html
%%DOCSDIR%%/html/demos-spreadsheet-spreadsheet-pro.html
%%DOCSDIR%%/html/demos-spreadsheet-spreadsheet-qrc.html
+%%DOCSDIR%%/html/demos-spreadsheet-spreadsheetdelegate-cpp.html
+%%DOCSDIR%%/html/demos-spreadsheet-spreadsheetdelegate-h.html
+%%DOCSDIR%%/html/demos-spreadsheet-spreadsheetitem-cpp.html
+%%DOCSDIR%%/html/demos-spreadsheet-spreadsheetitem-h.html
%%DOCSDIR%%/html/demos-spreadsheet.html
%%DOCSDIR%%/html/demos-sqlbrowser-browser-cpp.html
%%DOCSDIR%%/html/demos-sqlbrowser-browser-h.html
@@ -247,10 +284,11 @@
%%DOCSDIR%%/html/designer-customwidgetplugin-customwidgetplugin-h.html
%%DOCSDIR%%/html/designer-customwidgetplugin-customwidgetplugin-pro.html
%%DOCSDIR%%/html/designer-customwidgetplugin.html
-%%DOCSDIR%%/html/designer-designing-a-component.html
%%DOCSDIR%%/html/designer-editing-mode.html
-%%DOCSDIR%%/html/designer-getting-started.html
+%%DOCSDIR%%/html/designer-layouts.html
%%DOCSDIR%%/html/designer-manual.html
+%%DOCSDIR%%/html/designer-preview.html
+%%DOCSDIR%%/html/designer-quick-start.html
%%DOCSDIR%%/html/designer-recursive-shadow-casting.html
%%DOCSDIR%%/html/designer-resources.html
%%DOCSDIR%%/html/designer-stylesheet.html
@@ -265,10 +303,13 @@
%%DOCSDIR%%/html/designer-taskmenuextension-tictactoetaskmenu-cpp.html
%%DOCSDIR%%/html/designer-taskmenuextension-tictactoetaskmenu-h.html
%%DOCSDIR%%/html/designer-taskmenuextension.html
+%%DOCSDIR%%/html/designer-to-know.html
%%DOCSDIR%%/html/designer-ui-file-format.html
-%%DOCSDIR%%/html/designer-using-a-component.html
+%%DOCSDIR%%/html/designer-using-a-ui-file.html
%%DOCSDIR%%/html/designer-using-containers.html
%%DOCSDIR%%/html/designer-using-custom-widgets.html
+%%DOCSDIR%%/html/designer-whats-new.html
+%%DOCSDIR%%/html/designer-widget-mode.html
%%DOCSDIR%%/html/designer-worldtimeclockbuilder-form-ui.html
%%DOCSDIR%%/html/designer-worldtimeclockbuilder-main-cpp.html
%%DOCSDIR%%/html/designer-worldtimeclockbuilder-worldtimeclockbuilder-pro.html
@@ -297,6 +338,7 @@
%%DOCSDIR%%/html/desktop-systray-window-h.html
%%DOCSDIR%%/html/desktop-systray.html
%%DOCSDIR%%/html/desktop.html
+%%DOCSDIR%%/html/developing-on-mac.html
%%DOCSDIR%%/html/dialogs-classwizard-classwizard-cpp.html
%%DOCSDIR%%/html/dialogs-classwizard-classwizard-h.html
%%DOCSDIR%%/html/dialogs-classwizard-classwizard-pro.html
@@ -347,6 +389,15 @@
%%DOCSDIR%%/html/dialogs-trivialwizard.html
%%DOCSDIR%%/html/dialogs.html
%%DOCSDIR%%/html/dnd.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-delayedencoding-pro.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-delayedencoding-qrc.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-images-example-svg.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-main-cpp.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-mimedata-cpp.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-mimedata-h.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-sourcewidget-cpp.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding-sourcewidget-h.html
+%%DOCSDIR%%/html/draganddrop-delayedencoding.html
%%DOCSDIR%%/html/draganddrop-draggableicons-draggableicons-pro.html
%%DOCSDIR%%/html/draganddrop-draggableicons-draggableicons-qrc.html
%%DOCSDIR%%/html/draganddrop-draggableicons-dragwidget-cpp.html
@@ -396,11 +447,13 @@
%%DOCSDIR%%/html/examples.html
%%DOCSDIR%%/html/explicitly-shared.html
%%DOCSDIR%%/html/exportedfunctions.html
+%%DOCSDIR%%/html/fine-tuning-features.html
%%DOCSDIR%%/html/focus.html
%%DOCSDIR%%/html/full-framework-edition-classes.html
%%DOCSDIR%%/html/functions.html
%%DOCSDIR%%/html/gallery-cde.html
%%DOCSDIR%%/html/gallery-cleanlooks.html
+%%DOCSDIR%%/html/gallery-gtk.html
%%DOCSDIR%%/html/gallery-macintosh.html
%%DOCSDIR%%/html/gallery-motif.html
%%DOCSDIR%%/html/gallery-plastique.html
@@ -573,6 +626,7 @@
%%DOCSDIR%%/html/images/assistant-preferences-documentation.png
%%DOCSDIR%%/html/images/assistant-preferences-filters.png
%%DOCSDIR%%/html/images/assistant-preferences-fonts.png
+%%DOCSDIR%%/html/images/assistant-preferences-options.png
%%DOCSDIR%%/html/images/assistant-search.png
%%DOCSDIR%%/html/images/assistant-toolbar.png
%%DOCSDIR%%/html/images/basicdrawing-example.png
@@ -583,6 +637,7 @@
%%DOCSDIR%%/html/images/blockingfortuneclient-example.png
%%DOCSDIR%%/html/images/books-demo.png
%%DOCSDIR%%/html/images/borderlayout-example.png
+%%DOCSDIR%%/html/images/boxes-demo.png
%%DOCSDIR%%/html/images/branchindicatorimage.png
%%DOCSDIR%%/html/images/broadcastreceiver-example.png
%%DOCSDIR%%/html/images/broadcastsender-example.png
@@ -607,7 +662,6 @@
%%DOCSDIR%%/html/images/calculatorform-example.png
%%DOCSDIR%%/html/images/calendar-example.png
%%DOCSDIR%%/html/images/calendarwidgetexample.png
-%%DOCSDIR%%/html/images/cannon-tutorial.png
%%DOCSDIR%%/html/images/capabilitiesexample.png
%%DOCSDIR%%/html/images/cde-calendarwidget.png
%%DOCSDIR%%/html/images/cde-checkbox.png
@@ -672,8 +726,10 @@
%%DOCSDIR%%/html/images/cleanlooks-toolbutton.png
%%DOCSDIR%%/html/images/cleanlooks-treeview.png
%%DOCSDIR%%/html/images/codecs-example.png
+%%DOCSDIR%%/html/images/codeeditor-example.png
%%DOCSDIR%%/html/images/collidingmice-example.png
%%DOCSDIR%%/html/images/coloreditorfactoryimage.png
+%%DOCSDIR%%/html/images/combo-widget-mapper.png
%%DOCSDIR%%/html/images/combobox.png
%%DOCSDIR%%/html/images/comboboximage.png
%%DOCSDIR%%/html/images/completer-example-country.png
@@ -689,6 +745,7 @@
%%DOCSDIR%%/html/images/configdialog-example.png
%%DOCSDIR%%/html/images/conicalGradient.png
%%DOCSDIR%%/html/images/containerextension-example.png
+%%DOCSDIR%%/html/images/context2d-example-smileysmile.png
%%DOCSDIR%%/html/images/context2d-example.png
%%DOCSDIR%%/html/images/coordinatesystem-analogclock.png
%%DOCSDIR%%/html/images/coordinatesystem-line-antialias.png
@@ -719,15 +776,17 @@
%%DOCSDIR%%/html/images/customcompleter-example.png
%%DOCSDIR%%/html/images/customcompleter-insertcompletion.png
%%DOCSDIR%%/html/images/customsortfiltermodel-example.png
+%%DOCSDIR%%/html/images/customtypesending-example.png
%%DOCSDIR%%/html/images/customwidgetplugin-example.png
%%DOCSDIR%%/html/images/datetimewidgets.png
+%%DOCSDIR%%/html/images/dbus-chat-example.png
%%DOCSDIR%%/html/images/defaultprototypes-example.png
%%DOCSDIR%%/html/images/deform-demo.png
+%%DOCSDIR%%/html/images/delayedecoding-example.png
%%DOCSDIR%%/html/images/deployment-mac-application.png
%%DOCSDIR%%/html/images/deployment-mac-bundlestructure.png
%%DOCSDIR%%/html/images/deployment-windows-depends.png
%%DOCSDIR%%/html/images/designer-action-editor.png
-%%DOCSDIR%%/html/images/designer-add-custom-toolbar.png
%%DOCSDIR%%/html/images/designer-add-files-button.png
%%DOCSDIR%%/html/images/designer-add-resource-entry-button.png
%%DOCSDIR%%/html/images/designer-adding-dockwidget.png
@@ -760,12 +819,14 @@
%%DOCSDIR%%/html/images/designer-creating-menu2.png
%%DOCSDIR%%/html/images/designer-creating-menu3.png
%%DOCSDIR%%/html/images/designer-creating-menu4.png
-%%DOCSDIR%%/html/images/designer-customize-toolbar.png
%%DOCSDIR%%/html/images/designer-dialog-preview.png
+%%DOCSDIR%%/html/images/designer-disambiguation.png
%%DOCSDIR%%/html/images/designer-dragging-onto-form.png
%%DOCSDIR%%/html/images/designer-edit-resource.png
%%DOCSDIR%%/html/images/designer-edit-resources-button.png
%%DOCSDIR%%/html/images/designer-editing-mode.png
+%%DOCSDIR%%/html/images/designer-embedded-preview.png
+%%DOCSDIR%%/html/images/designer-english-dialog.png
%%DOCSDIR%%/html/images/designer-examples.png
%%DOCSDIR%%/html/images/designer-file-menu.png
%%DOCSDIR%%/html/images/designer-form-layout-cleanlooks.png
@@ -775,16 +836,15 @@
%%DOCSDIR%%/html/images/designer-form-layoutfunction.png
%%DOCSDIR%%/html/images/designer-form-settings.png
%%DOCSDIR%%/html/images/designer-form-viewcode.png
-%%DOCSDIR%%/html/images/designer-getting-started.png
+%%DOCSDIR%%/html/images/designer-french-dialog.png
%%DOCSDIR%%/html/images/designer-layout-inserting.png
%%DOCSDIR%%/html/images/designer-main-window.png
-%%DOCSDIR%%/html/images/designer-making-connection.png
%%DOCSDIR%%/html/images/designer-manual-containerextension.png
%%DOCSDIR%%/html/images/designer-manual-membersheetextension.png
%%DOCSDIR%%/html/images/designer-manual-propertysheetextension.png
%%DOCSDIR%%/html/images/designer-manual-taskmenuextension.png
+%%DOCSDIR%%/html/images/designer-multiple-screenshot.png
%%DOCSDIR%%/html/images/designer-object-inspector.png
-%%DOCSDIR%%/html/images/designer-preview-device-skin.png
%%DOCSDIR%%/html/images/designer-preview-deviceskin-selection.png
%%DOCSDIR%%/html/images/designer-preview-style-selection.png
%%DOCSDIR%%/html/images/designer-preview-style.png
@@ -792,17 +852,17 @@
%%DOCSDIR%%/html/images/designer-promoting-widgets.png
%%DOCSDIR%%/html/images/designer-property-editor-add-dynamic.png
%%DOCSDIR%%/html/images/designer-property-editor-configure.png
-%%DOCSDIR%%/html/images/designer-property-editor-link.png
%%DOCSDIR%%/html/images/designer-property-editor-remove-dynamic.png
%%DOCSDIR%%/html/images/designer-property-editor-toolbar.png
%%DOCSDIR%%/html/images/designer-property-editor.png
%%DOCSDIR%%/html/images/designer-reload-resources-button.png
-%%DOCSDIR%%/html/images/designer-remove-custom-toolbar.png
%%DOCSDIR%%/html/images/designer-remove-resource-entry-button.png
%%DOCSDIR%%/html/images/designer-resource-browser.png
%%DOCSDIR%%/html/images/designer-resource-selector.png
%%DOCSDIR%%/html/images/designer-resources-editing.png
%%DOCSDIR%%/html/images/designer-resources-using.png
+%%DOCSDIR%%/html/images/designer-screenshot-small.png
+%%DOCSDIR%%/html/images/designer-screenshot.png
%%DOCSDIR%%/html/images/designer-selecting-widget.png
%%DOCSDIR%%/html/images/designer-set-layout.png
%%DOCSDIR%%/html/images/designer-set-layout2.png
@@ -813,10 +873,8 @@
%%DOCSDIR%%/html/images/designer-tab-order-tool.png
%%DOCSDIR%%/html/images/designer-validator-highlighter.png
%%DOCSDIR%%/html/images/designer-widget-box.png
-%%DOCSDIR%%/html/images/designer-widget-final.png
-%%DOCSDIR%%/html/images/designer-widget-initial.png
-%%DOCSDIR%%/html/images/designer-widget-layout.png
-%%DOCSDIR%%/html/images/designer-widget-preview.png
+%%DOCSDIR%%/html/images/designer-widget-filter.png
+%%DOCSDIR%%/html/images/designer-widget-morph.png
%%DOCSDIR%%/html/images/designer-widget-tool.png
%%DOCSDIR%%/html/images/desktop-examples.png
%%DOCSDIR%%/html/images/diagonalGradient.png
@@ -840,10 +898,16 @@
%%DOCSDIR%%/html/images/echopluginexample.png
%%DOCSDIR%%/html/images/effectwidget.png
%%DOCSDIR%%/html/images/elasticnodes-example.png
-%%DOCSDIR%%/html/images/embedded-demo-launcher.png
+%%DOCSDIR%%/html/images/embedded-simpledecoration-example-styles.png
+%%DOCSDIR%%/html/images/embedded-simpledecoration-example.png
%%DOCSDIR%%/html/images/embeddeddialogs-demo.png
%%DOCSDIR%%/html/images/extension-example.png
%%DOCSDIR%%/html/images/extension_more.png
+%%DOCSDIR%%/html/images/fancybrowser-example.png
+%%DOCSDIR%%/html/images/fetchmore-example.png
+%%DOCSDIR%%/html/images/filedialogurls.png
+%%DOCSDIR%%/html/images/filetree_1-example.png
+%%DOCSDIR%%/html/images/filetree_2-example.png
%%DOCSDIR%%/html/images/findfiles-example.png
%%DOCSDIR%%/html/images/findfiles_progress_dialog.png
%%DOCSDIR%%/html/images/flowlayout-example.png
@@ -858,6 +922,8 @@
%%DOCSDIR%%/html/images/fridgemagnets-example.png
%%DOCSDIR%%/html/images/ftp-example.png
%%DOCSDIR%%/html/images/geometry.png
+%%DOCSDIR%%/html/images/googlechat-example.png
+%%DOCSDIR%%/html/images/googlesuggest-example.png
%%DOCSDIR%%/html/images/grabber-example.png
%%DOCSDIR%%/html/images/gradientText.png
%%DOCSDIR%%/html/images/gradients-demo.png
@@ -879,6 +945,34 @@
%%DOCSDIR%%/html/images/groupbox-example.png
%%DOCSDIR%%/html/images/groupbox.png
%%DOCSDIR%%/html/images/groupboximage.png
+%%DOCSDIR%%/html/images/gtk-calendarwidget.png
+%%DOCSDIR%%/html/images/gtk-checkbox.png
+%%DOCSDIR%%/html/images/gtk-combobox.png
+%%DOCSDIR%%/html/images/gtk-dateedit.png
+%%DOCSDIR%%/html/images/gtk-datetimeedit.png
+%%DOCSDIR%%/html/images/gtk-dial.png
+%%DOCSDIR%%/html/images/gtk-doublespinbox.png
+%%DOCSDIR%%/html/images/gtk-fontcombobox.png
+%%DOCSDIR%%/html/images/gtk-frame.png
+%%DOCSDIR%%/html/images/gtk-groupbox.png
+%%DOCSDIR%%/html/images/gtk-horizontalscrollbar.png
+%%DOCSDIR%%/html/images/gtk-label.png
+%%DOCSDIR%%/html/images/gtk-lcdnumber.png
+%%DOCSDIR%%/html/images/gtk-lineedit.png
+%%DOCSDIR%%/html/images/gtk-listview.png
+%%DOCSDIR%%/html/images/gtk-progressbar.png
+%%DOCSDIR%%/html/images/gtk-pushbutton.png
+%%DOCSDIR%%/html/images/gtk-radiobutton.png
+%%DOCSDIR%%/html/images/gtk-slider.png
+%%DOCSDIR%%/html/images/gtk-spinbox.png
+%%DOCSDIR%%/html/images/gtk-style-screenshot.png
+%%DOCSDIR%%/html/images/gtk-tableview.png
+%%DOCSDIR%%/html/images/gtk-tabwidget.png
+%%DOCSDIR%%/html/images/gtk-textedit.png
+%%DOCSDIR%%/html/images/gtk-timeedit.png
+%%DOCSDIR%%/html/images/gtk-toolbox.png
+%%DOCSDIR%%/html/images/gtk-toolbutton.png
+%%DOCSDIR%%/html/images/gtk-treeview.png
%%DOCSDIR%%/html/images/header.png
%%DOCSDIR%%/html/images/headerimage.png
%%DOCSDIR%%/html/images/hellogl-es-example.png
@@ -934,7 +1028,6 @@
%%DOCSDIR%%/html/images/linguist-arrowpad_en.png
%%DOCSDIR%%/html/images/linguist-arrowpad_fr.png
%%DOCSDIR%%/html/images/linguist-arrowpad_nl.png
-%%DOCSDIR%%/html/images/linguist-auxlanguages.png
%%DOCSDIR%%/html/images/linguist-batchtranslation.png
%%DOCSDIR%%/html/images/linguist-check-empty.png
%%DOCSDIR%%/html/images/linguist-check-obsolete.png
@@ -956,6 +1049,7 @@
%%DOCSDIR%%/html/images/linguist-hellotr_en.png
%%DOCSDIR%%/html/images/linguist-hellotr_la.png
%%DOCSDIR%%/html/images/linguist-linguist.png
+%%DOCSDIR%%/html/images/linguist-linguist_2.png
%%DOCSDIR%%/html/images/linguist-menubar.png
%%DOCSDIR%%/html/images/linguist-next.png
%%DOCSDIR%%/html/images/linguist-nextunfinished.png
@@ -978,6 +1072,7 @@
%%DOCSDIR%%/html/images/localfortuneclient-example.png
%%DOCSDIR%%/html/images/localfortuneserver-example.png
%%DOCSDIR%%/html/images/loopback-example.png
+%%DOCSDIR%%/html/images/mac-cocoa.png
%%DOCSDIR%%/html/images/macintosh-calendarwidget.png
%%DOCSDIR%%/html/images/macintosh-checkbox.png
%%DOCSDIR%%/html/images/macintosh-combobox.png
@@ -1182,6 +1277,7 @@
%%DOCSDIR%%/html/images/qformlayout-mac.png
%%DOCSDIR%%/html/images/qformlayout-qpe.png
%%DOCSDIR%%/html/images/qformlayout-win.png
+%%DOCSDIR%%/html/images/qformlayout-with-6-children.png
%%DOCSDIR%%/html/images/qgradient-conical.png
%%DOCSDIR%%/html/images/qgradient-linear.png
%%DOCSDIR%%/html/images/qgradient-radial.png
@@ -1254,6 +1350,7 @@
%%DOCSDIR%%/html/images/qpen-dash.png
%%DOCSDIR%%/html/images/qpen-dashdot.png
%%DOCSDIR%%/html/images/qpen-dashdotdot.png
+%%DOCSDIR%%/html/images/qpen-dashpattern.png
%%DOCSDIR%%/html/images/qpen-demo.png
%%DOCSDIR%%/html/images/qpen-dot.png
%%DOCSDIR%%/html/images/qpen-flat.png
@@ -1264,7 +1361,6 @@
%%DOCSDIR%%/html/images/qpen-solid.png
%%DOCSDIR%%/html/images/qpen-square.png
%%DOCSDIR%%/html/images/qplastiquestyle.png
-%%DOCSDIR%%/html/images/qprintpreviewdialog.png
%%DOCSDIR%%/html/images/qprogbar-m.png
%%DOCSDIR%%/html/images/qprogbar-w.png
%%DOCSDIR%%/html/images/qprogdlg-m.png
@@ -1328,7 +1424,6 @@
%%DOCSDIR%%/html/images/qt-embedded-vnc-screen.png
%%DOCSDIR%%/html/images/qt-fillrule-oddeven.png
%%DOCSDIR%%/html/images/qt-fillrule-winding.png
-%%DOCSDIR%%/html/images/qt-for-wince-landscape.png
%%DOCSDIR%%/html/images/qt-logo.png
%%DOCSDIR%%/html/images/qtableitems.png
%%DOCSDIR%%/html/images/qtabletevent-tilt.png
@@ -1345,8 +1440,11 @@
%%DOCSDIR%%/html/images/qtexttableformat-cell.png
%%DOCSDIR%%/html/images/qtransform-combinedtransformation.png
%%DOCSDIR%%/html/images/qtransform-combinedtransformation2.png
+%%DOCSDIR%%/html/images/qtransform-representation.png
%%DOCSDIR%%/html/images/qtransform-simpletransformation.png
%%DOCSDIR%%/html/images/qtscript-calculator-example.png
+%%DOCSDIR%%/html/images/qtscript-debugger-small.png
+%%DOCSDIR%%/html/images/qtscript-debugger.png
%%DOCSDIR%%/html/images/qtscript-examples.png
%%DOCSDIR%%/html/images/qtwizard-aero1.png
%%DOCSDIR%%/html/images/qtwizard-aero2.png
@@ -1359,6 +1457,7 @@
%%DOCSDIR%%/html/images/qtwizard-modern2.png
%%DOCSDIR%%/html/images/qtwizard-nonmacpage.png
%%DOCSDIR%%/html/images/querymodel-example.png
+%%DOCSDIR%%/html/images/queuedcustomtype-example.png
%%DOCSDIR%%/html/images/qundoview.png
%%DOCSDIR%%/html/images/qurl-authority.png
%%DOCSDIR%%/html/images/qurl-authority2.png
@@ -1381,6 +1480,16 @@
%%DOCSDIR%%/html/images/relationaltablemodel-example.png
%%DOCSDIR%%/html/images/remotecontrolledcar-car-example.png
%%DOCSDIR%%/html/images/resources.png
+%%DOCSDIR%%/html/images/rgbController-arrangement.png
+%%DOCSDIR%%/html/images/rgbController-configure-connection1.png
+%%DOCSDIR%%/html/images/rgbController-configure-connection2.png
+%%DOCSDIR%%/html/images/rgbController-final-layout.png
+%%DOCSDIR%%/html/images/rgbController-form-gridLayout.png
+%%DOCSDIR%%/html/images/rgbController-no-toplevel-layout.png
+%%DOCSDIR%%/html/images/rgbController-property-editing.png
+%%DOCSDIR%%/html/images/rgbController-screenshot.png
+%%DOCSDIR%%/html/images/rgbController-selectForLayout.png
+%%DOCSDIR%%/html/images/rgbController-signalsAndSlots.png
%%DOCSDIR%%/html/images/richtext-document.png
%%DOCSDIR%%/html/images/richtext-examples.png
%%DOCSDIR%%/html/images/rintersect.png
@@ -1434,6 +1543,7 @@
%%DOCSDIR%%/html/images/spinboximage.png
%%DOCSDIR%%/html/images/spreadsheet-demo.png
%%DOCSDIR%%/html/images/sql-examples.png
+%%DOCSDIR%%/html/images/sql-widget-mapper.png
%%DOCSDIR%%/html/images/sqlbrowser-demo.png
%%DOCSDIR%%/html/images/standard-views.png
%%DOCSDIR%%/html/images/standarddialogs-example.png
@@ -1454,8 +1564,10 @@
%%DOCSDIR%%/html/images/stylesheet-branch-end.png
%%DOCSDIR%%/html/images/stylesheet-branch-more.png
%%DOCSDIR%%/html/images/stylesheet-branch-open.png
+%%DOCSDIR%%/html/images/stylesheet-coffee-cleanlooks.png
%%DOCSDIR%%/html/images/stylesheet-coffee-plastique.png
%%DOCSDIR%%/html/images/stylesheet-coffee-xp.png
+%%DOCSDIR%%/html/images/stylesheet-pagefold-mac.png
%%DOCSDIR%%/html/images/stylesheet-pagefold.png
%%DOCSDIR%%/html/images/stylesheet-redbutton1.png
%%DOCSDIR%%/html/images/stylesheet-redbutton2.png
@@ -1465,27 +1577,12 @@
%%DOCSDIR%%/html/images/stylesheet-treeview.png
%%DOCSDIR%%/html/images/stylesheet-vline.png
%%DOCSDIR%%/html/images/svg-image.png
+%%DOCSDIR%%/html/images/svggenerator-example.png
%%DOCSDIR%%/html/images/svgviewer-example.png
%%DOCSDIR%%/html/images/syntaxhighlighter-example.png
%%DOCSDIR%%/html/images/system-tray.png
%%DOCSDIR%%/html/images/systemtray-editor.png
%%DOCSDIR%%/html/images/systemtray-example.png
-%%DOCSDIR%%/html/images/t1.png
-%%DOCSDIR%%/html/images/t10.png
-%%DOCSDIR%%/html/images/t11.png
-%%DOCSDIR%%/html/images/t12.png
-%%DOCSDIR%%/html/images/t13.png
-%%DOCSDIR%%/html/images/t14.png
-%%DOCSDIR%%/html/images/t2.png
-%%DOCSDIR%%/html/images/t3.png
-%%DOCSDIR%%/html/images/t4.png
-%%DOCSDIR%%/html/images/t5.png
-%%DOCSDIR%%/html/images/t6.png
-%%DOCSDIR%%/html/images/t7.png
-%%DOCSDIR%%/html/images/t8.png
-%%DOCSDIR%%/html/images/t9.png
-%%DOCSDIR%%/html/images/t9_1.png
-%%DOCSDIR%%/html/images/t9_2.png
%%DOCSDIR%%/html/images/tab.png
%%DOCSDIR%%/html/images/tabWidget-stylesheet1.png
%%DOCSDIR%%/html/images/tabWidget-stylesheet2.png
@@ -1505,6 +1602,7 @@
%%DOCSDIR%%/html/images/textfinder-example-find.png
%%DOCSDIR%%/html/images/textfinder-example-find2.png
%%DOCSDIR%%/html/images/textfinder-example-userinterface.png
+%%DOCSDIR%%/html/images/textobject-example.png
%%DOCSDIR%%/html/images/texttable-merge.png
%%DOCSDIR%%/html/images/texttable-split.png
%%DOCSDIR%%/html/images/textures-example.png
@@ -1522,6 +1620,7 @@
%%DOCSDIR%%/html/images/toolbuttonimage.png
%%DOCSDIR%%/html/images/tooltips-example.png
%%DOCSDIR%%/html/images/torrent-example.png
+%%DOCSDIR%%/html/images/trafficinfo-example.png
%%DOCSDIR%%/html/images/transformations-example.png
%%DOCSDIR%%/html/images/treemodel-structure.png
%%DOCSDIR%%/html/images/treemodelcompleter-example.png
@@ -1530,17 +1629,20 @@
%%DOCSDIR%%/html/images/trivialwizard-example-introduction.png
%%DOCSDIR%%/html/images/trivialwizard-example-registration.png
%%DOCSDIR%%/html/images/trolltech-logo.png
-%%DOCSDIR%%/html/images/tutorial8-layout.png
-%%DOCSDIR%%/html/images/tutorial8-reallayout.png
%%DOCSDIR%%/html/images/udppackets.png
%%DOCSDIR%%/html/images/uitools-examples.png
%%DOCSDIR%%/html/images/undodemo.png
%%DOCSDIR%%/html/images/undoframeworkexample.png
%%DOCSDIR%%/html/images/wVista-Cert-border-small.png
%%DOCSDIR%%/html/images/webkit-examples.png
+%%DOCSDIR%%/html/images/webkit-netscape-plugin.png
%%DOCSDIR%%/html/images/whatsthis.png
%%DOCSDIR%%/html/images/widget-examples.png
%%DOCSDIR%%/html/images/widgetdelegate.png
+%%DOCSDIR%%/html/images/widgetmapper-combo-mapping.png
+%%DOCSDIR%%/html/images/widgetmapper-simple-mapping.png
+%%DOCSDIR%%/html/images/widgetmapper-sql-mapping-table.png
+%%DOCSDIR%%/html/images/widgetmapper-sql-mapping.png
%%DOCSDIR%%/html/images/widgets-tutorial-childwidget.png
%%DOCSDIR%%/html/images/widgets-tutorial-nestedlayouts.png
%%DOCSDIR%%/html/images/widgets-tutorial-toplevel.png
@@ -1701,6 +1803,11 @@
%%DOCSDIR%%/html/itemviews-coloreditorfactory-window-cpp.html
%%DOCSDIR%%/html/itemviews-coloreditorfactory-window-h.html
%%DOCSDIR%%/html/itemviews-coloreditorfactory.html
+%%DOCSDIR%%/html/itemviews-combowidgetmapper-combowidgetmapper-pro.html
+%%DOCSDIR%%/html/itemviews-combowidgetmapper-main-cpp.html
+%%DOCSDIR%%/html/itemviews-combowidgetmapper-window-cpp.html
+%%DOCSDIR%%/html/itemviews-combowidgetmapper-window-h.html
+%%DOCSDIR%%/html/itemviews-combowidgetmapper.html
%%DOCSDIR%%/html/itemviews-customsortfiltermodel-customsortfiltermodel-pro.html
%%DOCSDIR%%/html/itemviews-customsortfiltermodel-main-cpp.html
%%DOCSDIR%%/html/itemviews-customsortfiltermodel-mysortfilterproxymodel-cpp.html
@@ -1722,6 +1829,13 @@
%%DOCSDIR%%/html/itemviews-editabletreemodel-treemodel-cpp.html
%%DOCSDIR%%/html/itemviews-editabletreemodel-treemodel-h.html
%%DOCSDIR%%/html/itemviews-editabletreemodel.html
+%%DOCSDIR%%/html/itemviews-fetchmore-fetchmore-pro.html
+%%DOCSDIR%%/html/itemviews-fetchmore-filelistmodel-cpp.html
+%%DOCSDIR%%/html/itemviews-fetchmore-filelistmodel-h.html
+%%DOCSDIR%%/html/itemviews-fetchmore-main-cpp.html
+%%DOCSDIR%%/html/itemviews-fetchmore-window-cpp.html
+%%DOCSDIR%%/html/itemviews-fetchmore-window-h.html
+%%DOCSDIR%%/html/itemviews-fetchmore.html
%%DOCSDIR%%/html/itemviews-pixelator-imagemodel-cpp.html
%%DOCSDIR%%/html/itemviews-pixelator-imagemodel-h.html
%%DOCSDIR%%/html/itemviews-pixelator-images-qrc.html
@@ -1804,9 +1918,8 @@
%%DOCSDIR%%/html/layouts-flowlayout-window-cpp.html
%%DOCSDIR%%/html/layouts-flowlayout-window-h.html
%%DOCSDIR%%/html/layouts-flowlayout.html
-%%DOCSDIR%%/html/license-gpl-exceptions.html
+%%DOCSDIR%%/html/lgpl.html
%%DOCSDIR%%/html/licenses-fonts.html
-%%DOCSDIR%%/html/licenses-gpl-exceptions-addendum.html
%%DOCSDIR%%/html/licenses.html
%%DOCSDIR%%/html/licensing.html
%%DOCSDIR%%/html/linguist-arrowpad-arrowpad-cpp.html
@@ -1922,6 +2035,13 @@
%%DOCSDIR%%/html/network-ftp-ftpwindow-h.html
%%DOCSDIR%%/html/network-ftp-main-cpp.html
%%DOCSDIR%%/html/network-ftp.html
+%%DOCSDIR%%/html/network-googlesuggest-googlesuggest-cpp.html
+%%DOCSDIR%%/html/network-googlesuggest-googlesuggest-h.html
+%%DOCSDIR%%/html/network-googlesuggest-googlesuggest-pro.html
+%%DOCSDIR%%/html/network-googlesuggest-main-cpp.html
+%%DOCSDIR%%/html/network-googlesuggest-searchbox-cpp.html
+%%DOCSDIR%%/html/network-googlesuggest-searchbox-h.html
+%%DOCSDIR%%/html/network-googlesuggest.html
%%DOCSDIR%%/html/network-http-authenticationdialog-ui.html
%%DOCSDIR%%/html/network-http-http-pro.html
%%DOCSDIR%%/html/network-http-httpwindow-cpp.html
@@ -1967,7 +2087,6 @@
%%DOCSDIR%%/html/network-threadedfortuneserver-main-cpp.html
%%DOCSDIR%%/html/network-threadedfortuneserver-threadedfortuneserver-pro.html
%%DOCSDIR%%/html/network-threadedfortuneserver.html
-%%DOCSDIR%%/html/network-torrent-3rdparty-sha1-h.html
%%DOCSDIR%%/html/network-torrent-addtorrentdialog-cpp.html
%%DOCSDIR%%/html/network-torrent-addtorrentdialog-h.html
%%DOCSDIR%%/html/network-torrent-bencodeparser-cpp.html
@@ -2117,6 +2236,15 @@
%%DOCSDIR%%/html/painting-painterpaths-window-cpp.html
%%DOCSDIR%%/html/painting-painterpaths-window-h.html
%%DOCSDIR%%/html/painting-painterpaths.html
+%%DOCSDIR%%/html/painting-svggenerator-displaywidget-cpp.html
+%%DOCSDIR%%/html/painting-svggenerator-displaywidget-h.html
+%%DOCSDIR%%/html/painting-svggenerator-forms-window-ui.html
+%%DOCSDIR%%/html/painting-svggenerator-main-cpp.html
+%%DOCSDIR%%/html/painting-svggenerator-svggenerator-pro.html
+%%DOCSDIR%%/html/painting-svggenerator-svggenerator-qrc.html
+%%DOCSDIR%%/html/painting-svggenerator-window-cpp.html
+%%DOCSDIR%%/html/painting-svggenerator-window-h.html
+%%DOCSDIR%%/html/painting-svggenerator.html
%%DOCSDIR%%/html/painting-svgviewer-files-bubbles-svg.html
%%DOCSDIR%%/html/painting-svgviewer-files-cubic-svg.html
%%DOCSDIR%%/html/painting-svgviewer-files-spheres-svg.html
@@ -2127,8 +2255,6 @@
%%DOCSDIR%%/html/painting-svgviewer-svgview-h.html
%%DOCSDIR%%/html/painting-svgviewer-svgviewer-pro.html
%%DOCSDIR%%/html/painting-svgviewer-svgviewer-qrc.html
-%%DOCSDIR%%/html/painting-svgviewer-svgwindow-cpp.html
-%%DOCSDIR%%/html/painting-svgviewer-svgwindow-h.html
%%DOCSDIR%%/html/painting-svgviewer.html
%%DOCSDIR%%/html/painting-transformations-main-cpp.html
%%DOCSDIR%%/html/painting-transformations-renderarea-cpp.html
@@ -2155,8 +2281,6 @@
%%DOCSDIR%%/html/phonon-effectparameter.html
%%DOCSDIR%%/html/phonon-effectwidget-members.html
%%DOCSDIR%%/html/phonon-effectwidget.html
-%%DOCSDIR%%/html/phonon-globalconfig-members.html
-%%DOCSDIR%%/html/phonon-globalconfig.html
%%DOCSDIR%%/html/phonon-mediacontroller-members.html
%%DOCSDIR%%/html/phonon-mediacontroller.html
%%DOCSDIR%%/html/phonon-medianode-members.html
@@ -2556,7 +2680,10 @@
%%DOCSDIR%%/html/qabstractlistmodel.html
%%DOCSDIR%%/html/qabstractmessagehandler-members.html
%%DOCSDIR%%/html/qabstractmessagehandler.html
+%%DOCSDIR%%/html/qabstractnetworkcache-members.html
+%%DOCSDIR%%/html/qabstractnetworkcache.html
%%DOCSDIR%%/html/qabstractprintdialog-members.html
+%%DOCSDIR%%/html/qabstractprintdialog-obsolete.html
%%DOCSDIR%%/html/qabstractprintdialog.html
%%DOCSDIR%%/html/qabstractproxymodel-members.html
%%DOCSDIR%%/html/qabstractproxymodel.html
@@ -2673,6 +2800,7 @@
%%DOCSDIR%%/html/qcolor-qt3.html
%%DOCSDIR%%/html/qcolor.html
%%DOCSDIR%%/html/qcolordialog-members.html
+%%DOCSDIR%%/html/qcolordialog-obsolete.html
%%DOCSDIR%%/html/qcolordialog-qt3.html
%%DOCSDIR%%/html/qcolordialog.html
%%DOCSDIR%%/html/qcolorgroup-members.html
@@ -2753,6 +2881,12 @@
%%DOCSDIR%%/html/qdbusmessage.html
%%DOCSDIR%%/html/qdbusobjectpath-members.html
%%DOCSDIR%%/html/qdbusobjectpath.html
+%%DOCSDIR%%/html/qdbuspendingcall-members.html
+%%DOCSDIR%%/html/qdbuspendingcall.html
+%%DOCSDIR%%/html/qdbuspendingcallwatcher-members.html
+%%DOCSDIR%%/html/qdbuspendingcallwatcher.html
+%%DOCSDIR%%/html/qdbuspendingreply-members.html
+%%DOCSDIR%%/html/qdbuspendingreply.html
%%DOCSDIR%%/html/qdbusreply-members.html
%%DOCSDIR%%/html/qdbusreply.html
%%DOCSDIR%%/html/qdbusserver-members.html
@@ -2764,6 +2898,8 @@
%%DOCSDIR%%/html/qdbusvariant.html
%%DOCSDIR%%/html/qdbusviewer.html
%%DOCSDIR%%/html/qdbusxml2cpp.html
+%%DOCSDIR%%/html/qdebug-members.html
+%%DOCSDIR%%/html/qdebug.html
%%DOCSDIR%%/html/qdesigneractioneditorinterface-members.html
%%DOCSDIR%%/html/qdesigneractioneditorinterface.html
%%DOCSDIR%%/html/qdesignercontainerextension-members.html
@@ -2889,6 +3025,7 @@
%%DOCSDIR%%/html/qfile-qt3.html
%%DOCSDIR%%/html/qfile.html
%%DOCSDIR%%/html/qfiledialog-members.html
+%%DOCSDIR%%/html/qfiledialog-obsolete.html
%%DOCSDIR%%/html/qfiledialog-qt3.html
%%DOCSDIR%%/html/qfiledialog.html
%%DOCSDIR%%/html/qfileiconprovider-members.html
@@ -3040,6 +3177,8 @@
%%DOCSDIR%%/html/qgroupbox-members.html
%%DOCSDIR%%/html/qgroupbox-qt3.html
%%DOCSDIR%%/html/qgroupbox.html
+%%DOCSDIR%%/html/qgtkstyle-members.html
+%%DOCSDIR%%/html/qgtkstyle.html
%%DOCSDIR%%/html/qhash-const-iterator-members.html
%%DOCSDIR%%/html/qhash-const-iterator.html
%%DOCSDIR%%/html/qhash-iterator-members.html
@@ -3108,6 +3247,8 @@
%%DOCSDIR%%/html/qiconengineplugin.html
%%DOCSDIR%%/html/qiconenginepluginv2-members.html
%%DOCSDIR%%/html/qiconenginepluginv2.html
+%%DOCSDIR%%/html/qiconenginev2-availablesizesargument-members.html
+%%DOCSDIR%%/html/qiconenginev2-availablesizesargument.html
%%DOCSDIR%%/html/qiconenginev2-members.html
%%DOCSDIR%%/html/qiconenginev2.html
%%DOCSDIR%%/html/qimage-members.html
@@ -3131,6 +3272,7 @@
%%DOCSDIR%%/html/qinputcontextplugin-members.html
%%DOCSDIR%%/html/qinputcontextplugin.html
%%DOCSDIR%%/html/qinputdialog-members.html
+%%DOCSDIR%%/html/qinputdialog-obsolete.html
%%DOCSDIR%%/html/qinputdialog-qt3.html
%%DOCSDIR%%/html/qinputdialog.html
%%DOCSDIR%%/html/qinputevent-members.html
@@ -3333,14 +3475,22 @@
%%DOCSDIR%%/html/qnetworkaccessmanager.html
%%DOCSDIR%%/html/qnetworkaddressentry-members.html
%%DOCSDIR%%/html/qnetworkaddressentry.html
+%%DOCSDIR%%/html/qnetworkcachemetadata-members.html
+%%DOCSDIR%%/html/qnetworkcachemetadata.html
%%DOCSDIR%%/html/qnetworkcookie-members.html
%%DOCSDIR%%/html/qnetworkcookie.html
%%DOCSDIR%%/html/qnetworkcookiejar-members.html
%%DOCSDIR%%/html/qnetworkcookiejar.html
+%%DOCSDIR%%/html/qnetworkdiskcache-members.html
+%%DOCSDIR%%/html/qnetworkdiskcache.html
%%DOCSDIR%%/html/qnetworkinterface-members.html
%%DOCSDIR%%/html/qnetworkinterface.html
%%DOCSDIR%%/html/qnetworkproxy-members.html
%%DOCSDIR%%/html/qnetworkproxy.html
+%%DOCSDIR%%/html/qnetworkproxyfactory-members.html
+%%DOCSDIR%%/html/qnetworkproxyfactory.html
+%%DOCSDIR%%/html/qnetworkproxyquery-members.html
+%%DOCSDIR%%/html/qnetworkproxyquery.html
%%DOCSDIR%%/html/qnetworkreply-members.html
%%DOCSDIR%%/html/qnetworkreply.html
%%DOCSDIR%%/html/qnetworkrequest-members.html
@@ -3351,6 +3501,7 @@
%%DOCSDIR%%/html/qobjectcleanuphandler-members.html
%%DOCSDIR%%/html/qobjectcleanuphandler.html
%%DOCSDIR%%/html/qpagesetupdialog-members.html
+%%DOCSDIR%%/html/qpagesetupdialog-obsolete.html
%%DOCSDIR%%/html/qpagesetupdialog.html
%%DOCSDIR%%/html/qpaintdevice-members.html
%%DOCSDIR%%/html/qpaintdevice-qt3.html
@@ -3492,14 +3643,20 @@
%%DOCSDIR%%/html/qscriptcontextinfo-members.html
%%DOCSDIR%%/html/qscriptcontextinfo.html
%%DOCSDIR%%/html/qscriptengine-members.html
+%%DOCSDIR%%/html/qscriptengine-obsolete.html
%%DOCSDIR%%/html/qscriptengine.html
%%DOCSDIR%%/html/qscriptengineagent-members.html
%%DOCSDIR%%/html/qscriptengineagent.html
+%%DOCSDIR%%/html/qscriptenginedebugger-members.html
+%%DOCSDIR%%/html/qscriptenginedebugger.html
%%DOCSDIR%%/html/qscriptextensionplugin-members.html
%%DOCSDIR%%/html/qscriptextensionplugin.html
%%DOCSDIR%%/html/qscriptstring-members.html
%%DOCSDIR%%/html/qscriptstring.html
+%%DOCSDIR%%/html/qscriptsyntaxcheckresult-members.html
+%%DOCSDIR%%/html/qscriptsyntaxcheckresult.html
%%DOCSDIR%%/html/qscriptvalue-members.html
+%%DOCSDIR%%/html/qscriptvalue-obsolete.html
%%DOCSDIR%%/html/qscriptvalue.html
%%DOCSDIR%%/html/qscriptvalueiterator-members.html
%%DOCSDIR%%/html/qscriptvalueiterator.html
@@ -3530,6 +3687,8 @@
%%DOCSDIR%%/html/qshareddatapointer.html
%%DOCSDIR%%/html/qsharedmemory-members.html
%%DOCSDIR%%/html/qsharedmemory.html
+%%DOCSDIR%%/html/qsharedpointer-members.html
+%%DOCSDIR%%/html/qsharedpointer.html
%%DOCSDIR%%/html/qshortcut-members.html
%%DOCSDIR%%/html/qshortcut.html
%%DOCSDIR%%/html/qshortcutevent-members.html
@@ -3694,6 +3853,8 @@
%%DOCSDIR%%/html/qstyleoptionframe.html
%%DOCSDIR%%/html/qstyleoptionframev2-members.html
%%DOCSDIR%%/html/qstyleoptionframev2.html
+%%DOCSDIR%%/html/qstyleoptionframev3-members.html
+%%DOCSDIR%%/html/qstyleoptionframev3.html
%%DOCSDIR%%/html/qstyleoptiongraphicsitem-members.html
%%DOCSDIR%%/html/qstyleoptiongraphicsitem.html
%%DOCSDIR%%/html/qstyleoptiongroupbox-members.html
@@ -3724,8 +3885,12 @@
%%DOCSDIR%%/html/qstyleoptiontab.html
%%DOCSDIR%%/html/qstyleoptiontabbarbase-members.html
%%DOCSDIR%%/html/qstyleoptiontabbarbase.html
+%%DOCSDIR%%/html/qstyleoptiontabbarbasev2-members.html
+%%DOCSDIR%%/html/qstyleoptiontabbarbasev2.html
%%DOCSDIR%%/html/qstyleoptiontabv2-members.html
%%DOCSDIR%%/html/qstyleoptiontabv2.html
+%%DOCSDIR%%/html/qstyleoptiontabv3-members.html
+%%DOCSDIR%%/html/qstyleoptiontabv3.html
%%DOCSDIR%%/html/qstyleoptiontabwidgetframe-members.html
%%DOCSDIR%%/html/qstyleoptiontabwidgetframe.html
%%DOCSDIR%%/html/qstyleoptiontitlebar-members.html
@@ -3742,6 +3907,8 @@
%%DOCSDIR%%/html/qstyleoptionviewitem.html
%%DOCSDIR%%/html/qstyleoptionviewitemv2-members.html
%%DOCSDIR%%/html/qstyleoptionviewitemv2.html
+%%DOCSDIR%%/html/qstyleoptionviewitemv3-members.html
+%%DOCSDIR%%/html/qstyleoptionviewitemv3.html
%%DOCSDIR%%/html/qstyleoptionviewitemv4-members.html
%%DOCSDIR%%/html/qstyleoptionviewitemv4.html
%%DOCSDIR%%/html/qstylepainter-members.html
@@ -3773,12 +3940,11 @@
%%DOCSDIR%%/html/qt-embedded-differences.html
%%DOCSDIR%%/html/qt-embedded-displaymanagement.html
%%DOCSDIR%%/html/qt-embedded-envvars.html
-%%DOCSDIR%%/html/qt-embedded-features.html
%%DOCSDIR%%/html/qt-embedded-fonts.html
%%DOCSDIR%%/html/qt-embedded-install.html
+%%DOCSDIR%%/html/qt-embedded-linux.html
%%DOCSDIR%%/html/qt-embedded-makeqpf.html
%%DOCSDIR%%/html/qt-embedded-opengl.html
-%%DOCSDIR%%/html/qt-embedded-performance.html
%%DOCSDIR%%/html/qt-embedded-pointer.html
%%DOCSDIR%%/html/qt-embedded-porting-device.html
%%DOCSDIR%%/html/qt-embedded-porting-operatingsystem.html
@@ -3786,6 +3952,8 @@
%%DOCSDIR%%/html/qt-embedded-testingframebuffer.html
%%DOCSDIR%%/html/qt-embedded-vnc.html
%%DOCSDIR%%/html/qt-embedded.html
+%%DOCSDIR%%/html/qt-mac-cocoa-licensing.html
+%%DOCSDIR%%/html/qt-performance.html
%%DOCSDIR%%/html/qt-qt3.html
%%DOCSDIR%%/html/qt.dcf
%%DOCSDIR%%/html/qt.html
@@ -3793,7 +3961,7 @@
%%DOCSDIR%%/html/qt3support.html
%%DOCSDIR%%/html/qt3to4-treewalker.html
%%DOCSDIR%%/html/qt3to4.html
-%%DOCSDIR%%/html/qt4-4-intro.html
+%%DOCSDIR%%/html/qt4-5-intro.html
%%DOCSDIR%%/html/qt4-accessibility.html
%%DOCSDIR%%/html/qt4-arthur.html
%%DOCSDIR%%/html/qt4-designer.html
@@ -3864,6 +4032,9 @@
%%DOCSDIR%%/html/qtdesigner.html
%%DOCSDIR%%/html/qtemporaryfile-members.html
%%DOCSDIR%%/html/qtemporaryfile.html
+%%DOCSDIR%%/html/qtendian.html
+%%DOCSDIR%%/html/qtest-qbenchmarkiterationcontroller-members.html
+%%DOCSDIR%%/html/qtest-qbenchmarkiterationcontroller.html
%%DOCSDIR%%/html/qtest.html
%%DOCSDIR%%/html/qtesteventlist-members.html
%%DOCSDIR%%/html/qtesteventlist.html
@@ -3881,6 +4052,9 @@
%%DOCSDIR%%/html/qtestlib-tutorial4-testgui-cpp.html
%%DOCSDIR%%/html/qtestlib-tutorial4-tutorial4-pro.html
%%DOCSDIR%%/html/qtestlib-tutorial4.html
+%%DOCSDIR%%/html/qtestlib-tutorial5-benchmarking-cpp.html
+%%DOCSDIR%%/html/qtestlib-tutorial5-tutorial5-pro.html
+%%DOCSDIR%%/html/qtestlib-tutorial5.html
%%DOCSDIR%%/html/qtextblock-iterator-members.html
%%DOCSDIR%%/html/qtextblock-iterator.html
%%DOCSDIR%%/html/qtextblock-members.html
@@ -3914,6 +4088,8 @@
%%DOCSDIR%%/html/qtextdocument.html
%%DOCSDIR%%/html/qtextdocumentfragment-members.html
%%DOCSDIR%%/html/qtextdocumentfragment.html
+%%DOCSDIR%%/html/qtextdocumentwriter-members.html
+%%DOCSDIR%%/html/qtextdocumentwriter.html
%%DOCSDIR%%/html/qtextedit-extraselection-members.html
%%DOCSDIR%%/html/qtextedit-extraselection.html
%%DOCSDIR%%/html/qtextedit-members.html
@@ -3954,6 +4130,8 @@
%%DOCSDIR%%/html/qtextlistformat.html
%%DOCSDIR%%/html/qtextobject-members.html
%%DOCSDIR%%/html/qtextobject.html
+%%DOCSDIR%%/html/qtextobjectinterface-members.html
+%%DOCSDIR%%/html/qtextobjectinterface.html
%%DOCSDIR%%/html/qtextoption-members.html
%%DOCSDIR%%/html/qtextoption-tab-members.html
%%DOCSDIR%%/html/qtextoption-tab.html
@@ -3997,6 +4175,7 @@
%%DOCSDIR%%/html/qtimerevent-members.html
%%DOCSDIR%%/html/qtimerevent.html
%%DOCSDIR%%/html/qtmac-as-native.html
+%%DOCSDIR%%/html/qtmain.html
%%DOCSDIR%%/html/qtnetwork.html
%%DOCSDIR%%/html/qtoolbar-members.html
%%DOCSDIR%%/html/qtoolbar-qt3.html
@@ -4030,7 +4209,9 @@
%%DOCSDIR%%/html/qtreewidgetitemiterator-members.html
%%DOCSDIR%%/html/qtreewidgetitemiterator.html
%%DOCSDIR%%/html/qtscript.html
+%%DOCSDIR%%/html/qtscriptdebugger-manual.html
%%DOCSDIR%%/html/qtscriptextensions.html
+%%DOCSDIR%%/html/qtscripttools.html
%%DOCSDIR%%/html/qtsql.html
%%DOCSDIR%%/html/qtsvg.html
%%DOCSDIR%%/html/qttest.html
@@ -4078,7 +4259,12 @@
%%DOCSDIR%%/html/qvfb.html
%%DOCSDIR%%/html/qwaitcondition-members.html
%%DOCSDIR%%/html/qwaitcondition.html
+%%DOCSDIR%%/html/qweakpointer-members.html
+%%DOCSDIR%%/html/qweakpointer.html
+%%DOCSDIR%%/html/qwebdatabase-members.html
+%%DOCSDIR%%/html/qwebdatabase.html
%%DOCSDIR%%/html/qwebframe-members.html
+%%DOCSDIR%%/html/qwebframe-obsolete.html
%%DOCSDIR%%/html/qwebframe.html
%%DOCSDIR%%/html/qwebhistory-members.html
%%DOCSDIR%%/html/qwebhistory.html
@@ -4088,6 +4274,10 @@
%%DOCSDIR%%/html/qwebhistoryitem.html
%%DOCSDIR%%/html/qwebhittestresult-members.html
%%DOCSDIR%%/html/qwebhittestresult.html
+%%DOCSDIR%%/html/qwebpage-choosemultiplefilesextensionoption-members.html
+%%DOCSDIR%%/html/qwebpage-choosemultiplefilesextensionoption.html
+%%DOCSDIR%%/html/qwebpage-choosemultiplefilesextensionreturn-members.html
+%%DOCSDIR%%/html/qwebpage-choosemultiplefilesextensionreturn.html
%%DOCSDIR%%/html/qwebpage-extensionoption.html
%%DOCSDIR%%/html/qwebpage-extensionreturn.html
%%DOCSDIR%%/html/qwebpage-members.html
@@ -4100,9 +4290,12 @@
%%DOCSDIR%%/html/qwebpluginfactory-plugin-members.html
%%DOCSDIR%%/html/qwebpluginfactory-plugin.html
%%DOCSDIR%%/html/qwebpluginfactory.html
+%%DOCSDIR%%/html/qwebsecurityorigin-members.html
+%%DOCSDIR%%/html/qwebsecurityorigin.html
%%DOCSDIR%%/html/qwebsettings-members.html
%%DOCSDIR%%/html/qwebsettings.html
%%DOCSDIR%%/html/qwebview-members.html
+%%DOCSDIR%%/html/qwebview-obsolete.html
%%DOCSDIR%%/html/qwebview.html
%%DOCSDIR%%/html/qwhatsthis-members.html
%%DOCSDIR%%/html/qwhatsthis-qt3.html
@@ -4140,6 +4333,7 @@
%%DOCSDIR%%/html/qws-ahigl.html
%%DOCSDIR%%/html/qws-dbscreen.html
%%DOCSDIR%%/html/qws-mousecalibration.html
+%%DOCSDIR%%/html/qws-simpledecoration.html
%%DOCSDIR%%/html/qws-svgalib.html
%%DOCSDIR%%/html/qws.html
%%DOCSDIR%%/html/qx11embedcontainer-members.html
@@ -4242,6 +4436,14 @@
%%DOCSDIR%%/html/richtext-syntaxhighlighter-mainwindow-h.html
%%DOCSDIR%%/html/richtext-syntaxhighlighter-syntaxhighlighter-pro.html
%%DOCSDIR%%/html/richtext-syntaxhighlighter.html
+%%DOCSDIR%%/html/richtext-textobject-files-heart-svg.html
+%%DOCSDIR%%/html/richtext-textobject-main-cpp.html
+%%DOCSDIR%%/html/richtext-textobject-svgtextobject-cpp.html
+%%DOCSDIR%%/html/richtext-textobject-svgtextobject-h.html
+%%DOCSDIR%%/html/richtext-textobject-textobject-pro.html
+%%DOCSDIR%%/html/richtext-textobject-window-cpp.html
+%%DOCSDIR%%/html/richtext-textobject-window-h.html
+%%DOCSDIR%%/html/richtext-textobject.html
%%DOCSDIR%%/html/richtext.html
%%DOCSDIR%%/html/script-calculator-calculator-js.html
%%DOCSDIR%%/html/script-calculator-calculator-pro.html
@@ -4255,6 +4457,8 @@
%%DOCSDIR%%/html/script-context2d-context2d-qrc.html
%%DOCSDIR%%/html/script-context2d-domimage-cpp.html
%%DOCSDIR%%/html/script-context2d-domimage-h.html
+%%DOCSDIR%%/html/script-context2d-environment-cpp.html
+%%DOCSDIR%%/html/script-context2d-environment-h.html
%%DOCSDIR%%/html/script-context2d-main-cpp.html
%%DOCSDIR%%/html/script-context2d-qcontext2dcanvas-cpp.html
%%DOCSDIR%%/html/script-context2d-qcontext2dcanvas-h.html
@@ -4295,23 +4499,26 @@
%%DOCSDIR%%/html/script-defaultprototypes-prototypes-h.html
%%DOCSDIR%%/html/script-defaultprototypes.html
%%DOCSDIR%%/html/script-helloscript-helloscript-pro.html
+%%DOCSDIR%%/html/script-helloscript-helloscript-qrc.html
%%DOCSDIR%%/html/script-helloscript-main-cpp.html
%%DOCSDIR%%/html/script-helloscript.html
-%%DOCSDIR%%/html/script-tetrix-main-cpp.html
-%%DOCSDIR%%/html/script-tetrix-tetrix-pro.html
-%%DOCSDIR%%/html/script-tetrix-tetrix-qrc.html
-%%DOCSDIR%%/html/script-tetrix-tetrixboard-cpp.html
-%%DOCSDIR%%/html/script-tetrix-tetrixboard-h.html
-%%DOCSDIR%%/html/script-tetrix-tetrixboard-js.html
-%%DOCSDIR%%/html/script-tetrix-tetrixpiece-js.html
-%%DOCSDIR%%/html/script-tetrix-tetrixwindow-js.html
-%%DOCSDIR%%/html/script-tetrix-tetrixwindow-ui.html
-%%DOCSDIR%%/html/script-tetrix.html
+%%DOCSDIR%%/html/script-qstetrix-main-cpp.html
+%%DOCSDIR%%/html/script-qstetrix-qstetrix-pro.html
+%%DOCSDIR%%/html/script-qstetrix-tetrix-qrc.html
+%%DOCSDIR%%/html/script-qstetrix-tetrixboard-cpp.html
+%%DOCSDIR%%/html/script-qstetrix-tetrixboard-h.html
+%%DOCSDIR%%/html/script-qstetrix-tetrixboard-js.html
+%%DOCSDIR%%/html/script-qstetrix-tetrixpiece-js.html
+%%DOCSDIR%%/html/script-qstetrix-tetrixwindow-js.html
+%%DOCSDIR%%/html/script-qstetrix-tetrixwindow-ui.html
+%%DOCSDIR%%/html/script-qstetrix.html
%%DOCSDIR%%/html/script.html
%%DOCSDIR%%/html/scripting.html
+%%DOCSDIR%%/html/scripttools.html
%%DOCSDIR%%/html/session.html
%%DOCSDIR%%/html/shadow-builds-wince.html
%%DOCSDIR%%/html/shared.html
+%%DOCSDIR%%/html/sharedlibrary.html
%%DOCSDIR%%/html/signalsandslots.html
%%DOCSDIR%%/html/sql-cachedtable-cachedtable-pro.html
%%DOCSDIR%%/html/sql-cachedtable-main-cpp.html
@@ -4349,6 +4556,11 @@
%%DOCSDIR%%/html/sql-relationaltablemodel-relationaltablemodel-cpp.html
%%DOCSDIR%%/html/sql-relationaltablemodel-relationaltablemodel-pro.html
%%DOCSDIR%%/html/sql-relationaltablemodel.html
+%%DOCSDIR%%/html/sql-sqlwidgetmapper-main-cpp.html
+%%DOCSDIR%%/html/sql-sqlwidgetmapper-sqlwidgetmapper-pro.html
+%%DOCSDIR%%/html/sql-sqlwidgetmapper-window-cpp.html
+%%DOCSDIR%%/html/sql-sqlwidgetmapper-window-h.html
+%%DOCSDIR%%/html/sql-sqlwidgetmapper.html
%%DOCSDIR%%/html/sql-tablemodel-tablemodel-cpp.html
%%DOCSDIR%%/html/sql-tablemodel-tablemodel-pro.html
%%DOCSDIR%%/html/sql-tablemodel.html
@@ -4373,6 +4585,15 @@
%%DOCSDIR%%/html/threads-mandelbrot-renderthread-cpp.html
%%DOCSDIR%%/html/threads-mandelbrot-renderthread-h.html
%%DOCSDIR%%/html/threads-mandelbrot.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-block-cpp.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-block-h.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-main-cpp.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-queuedcustomtype-pro.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-renderthread-cpp.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-renderthread-h.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-window-cpp.html
+%%DOCSDIR%%/html/threads-queuedcustomtype-window-h.html
+%%DOCSDIR%%/html/threads-queuedcustomtype.html
%%DOCSDIR%%/html/threads-semaphores-semaphores-cpp.html
%%DOCSDIR%%/html/threads-semaphores-semaphores-pro.html
%%DOCSDIR%%/html/threads-semaphores.html
@@ -4405,6 +4626,18 @@
%%DOCSDIR%%/html/tools-customcompleter-textedit-cpp.html
%%DOCSDIR%%/html/tools-customcompleter-textedit-h.html
%%DOCSDIR%%/html/tools-customcompleter.html
+%%DOCSDIR%%/html/tools-customtype-customtype-pro.html
+%%DOCSDIR%%/html/tools-customtype-main-cpp.html
+%%DOCSDIR%%/html/tools-customtype-message-cpp.html
+%%DOCSDIR%%/html/tools-customtype-message-h.html
+%%DOCSDIR%%/html/tools-customtype.html
+%%DOCSDIR%%/html/tools-customtypesending-customtypesending-pro.html
+%%DOCSDIR%%/html/tools-customtypesending-main-cpp.html
+%%DOCSDIR%%/html/tools-customtypesending-message-cpp.html
+%%DOCSDIR%%/html/tools-customtypesending-message-h.html
+%%DOCSDIR%%/html/tools-customtypesending-window-cpp.html
+%%DOCSDIR%%/html/tools-customtypesending-window-h.html
+%%DOCSDIR%%/html/tools-customtypesending.html
%%DOCSDIR%%/html/tools-echoplugin-echoplugin-pro.html
%%DOCSDIR%%/html/tools-echoplugin-echowindow-echointerface-h.html
%%DOCSDIR%%/html/tools-echoplugin-echowindow-echowindow-cpp.html
@@ -4491,6 +4724,48 @@
%%DOCSDIR%%/html/tools.html
%%DOCSDIR%%/html/topics.html
%%DOCSDIR%%/html/trademarks.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part1-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part1-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part1-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part1-part1-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part1.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part2-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part2-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part2-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part2-part2-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part2.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part3-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part3-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part3-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part3-part3-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part3.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part4-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part4-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part4-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part4-part4-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part4.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5-finddialog-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5-finddialog-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5-part5-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part5.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6-finddialog-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6-finddialog-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6-part6-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part6.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7-addressbook-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7-addressbook-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7-finddialog-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7-finddialog-h.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7-main-cpp.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7-part7-pro.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr-part7.html
+%%DOCSDIR%%/html/tutorials-addressbook-fr.html
%%DOCSDIR%%/html/tutorials-addressbook-part1-addressbook-cpp.html
%%DOCSDIR%%/html/tutorials-addressbook-part1-addressbook-h.html
%%DOCSDIR%%/html/tutorials-addressbook-part1-main-cpp.html
@@ -4533,83 +4808,6 @@
%%DOCSDIR%%/html/tutorials-addressbook-part7-part7-pro.html
%%DOCSDIR%%/html/tutorials-addressbook-part7.html
%%DOCSDIR%%/html/tutorials-addressbook.html
-%%DOCSDIR%%/html/tutorials-tutorial-t1-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t1-t1-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t1.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10-t10-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t10.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11-t11-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t11.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12-t12-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t12.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-gameboard-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-gameboard-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13-t13-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t13.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-gameboard-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-gameboard-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14-t14-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t14.html
-%%DOCSDIR%%/html/tutorials-tutorial-t2-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t2-t2-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t2.html
-%%DOCSDIR%%/html/tutorials-tutorial-t3-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t3-t3-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t3.html
-%%DOCSDIR%%/html/tutorials-tutorial-t4-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t4-t4-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t4.html
-%%DOCSDIR%%/html/tutorials-tutorial-t5-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t5-t5-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t5.html
-%%DOCSDIR%%/html/tutorials-tutorial-t6-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t6-t6-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t6.html
-%%DOCSDIR%%/html/tutorials-tutorial-t7-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t7-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t7-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t7-t7-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t7.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8-t8-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t8.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9-cannonfield-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9-cannonfield-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9-lcdrange-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9-lcdrange-h.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9-main-cpp.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9-t9-pro.html
-%%DOCSDIR%%/html/tutorials-tutorial-t9.html
-%%DOCSDIR%%/html/tutorials-tutorial.html
%%DOCSDIR%%/html/tutorials.html
%%DOCSDIR%%/html/uic.html
%%DOCSDIR%%/html/uitools-multipleinheritance-calculatorform-cpp.html
@@ -4628,6 +4826,13 @@
%%DOCSDIR%%/html/unicode.html
%%DOCSDIR%%/html/unix-signals.html
%%DOCSDIR%%/html/usingadaptors.html
+%%DOCSDIR%%/html/webkit-fancybrowser-fancybrowser-pro.html
+%%DOCSDIR%%/html/webkit-fancybrowser-jquery-min-js.html
+%%DOCSDIR%%/html/webkit-fancybrowser-jquery-qrc.html
+%%DOCSDIR%%/html/webkit-fancybrowser-main-cpp.html
+%%DOCSDIR%%/html/webkit-fancybrowser-mainwindow-cpp.html
+%%DOCSDIR%%/html/webkit-fancybrowser-mainwindow-h.html
+%%DOCSDIR%%/html/webkit-fancybrowser.html
%%DOCSDIR%%/html/webkit-formextractor-formextractor-cpp.html
%%DOCSDIR%%/html/webkit-formextractor-formextractor-h.html
%%DOCSDIR%%/html/webkit-formextractor-formextractor-pro.html
@@ -4637,6 +4842,12 @@
%%DOCSDIR%%/html/webkit-formextractor-mainwindow-cpp.html
%%DOCSDIR%%/html/webkit-formextractor-mainwindow-h.html
%%DOCSDIR%%/html/webkit-formextractor.html
+%%DOCSDIR%%/html/webkit-googlechat-form-ui.html
+%%DOCSDIR%%/html/webkit-googlechat-googlechat-cpp.html
+%%DOCSDIR%%/html/webkit-googlechat-googlechat-h.html
+%%DOCSDIR%%/html/webkit-googlechat-googlechat-pro.html
+%%DOCSDIR%%/html/webkit-googlechat-main-cpp.html
+%%DOCSDIR%%/html/webkit-googlechat.html
%%DOCSDIR%%/html/webkit-previewer-main-cpp.html
%%DOCSDIR%%/html/webkit-previewer-mainwindow-cpp.html
%%DOCSDIR%%/html/webkit-previewer-mainwindow-h.html
@@ -4669,6 +4880,11 @@
%%DOCSDIR%%/html/widgets-charactermap-mainwindow-cpp.html
%%DOCSDIR%%/html/widgets-charactermap-mainwindow-h.html
%%DOCSDIR%%/html/widgets-charactermap.html
+%%DOCSDIR%%/html/widgets-codeeditor-codeeditor-cpp.html
+%%DOCSDIR%%/html/widgets-codeeditor-codeeditor-h.html
+%%DOCSDIR%%/html/widgets-codeeditor-codeeditor-pro.html
+%%DOCSDIR%%/html/widgets-codeeditor-main-cpp.html
+%%DOCSDIR%%/html/widgets-codeeditor.html
%%DOCSDIR%%/html/widgets-digitalclock-digitalclock-cpp.html
%%DOCSDIR%%/html/widgets-digitalclock-digitalclock-h.html
%%DOCSDIR%%/html/widgets-digitalclock-digitalclock-pro.html
@@ -4702,7 +4918,6 @@
%%DOCSDIR%%/html/widgets-lineedits.html
%%DOCSDIR%%/html/widgets-movie-main-cpp.html
%%DOCSDIR%%/html/widgets-movie-movie-pro.html
-%%DOCSDIR%%/html/widgets-movie-movie-qrc.html
%%DOCSDIR%%/html/widgets-movie-movieplayer-cpp.html
%%DOCSDIR%%/html/widgets-movie-movieplayer-h.html
%%DOCSDIR%%/html/widgets-movie.html
@@ -4864,6 +5079,18 @@
%%DOCSDIR%%/html/xmlpatterns-recipes-recipes-pro.html
%%DOCSDIR%%/html/xmlpatterns-recipes-recipes-qrc.html
%%DOCSDIR%%/html/xmlpatterns-recipes.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-main-cpp.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-mainwindow-cpp.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-mainwindow-h.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-stationdialog-cpp.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-stationdialog-h.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-stationdialog-ui.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-stationquery-cpp.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-stationquery-h.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-timequery-cpp.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-timequery-h.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo-trafficinfo-pro.html
+%%DOCSDIR%%/html/xmlpatterns-trafficinfo.html
%%DOCSDIR%%/html/xmlpatterns-xquery-globalvariables-globals-cpp.html
%%DOCSDIR%%/html/xmlpatterns-xquery-globalvariables-globalvariables-pro.html
%%DOCSDIR%%/html/xmlpatterns-xquery-globalvariables-reportglobals-xq.html
diff --git a/misc/qt4-l10n/distinfo b/misc/qt4-l10n/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/misc/qt4-l10n/distinfo
+++ b/misc/qt4-l10n/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/misc/qt4-l10n/pkg-plist b/misc/qt4-l10n/pkg-plist
index 095a930cade9..22f8f7ec65bb 100644
--- a/misc/qt4-l10n/pkg-plist
+++ b/misc/qt4-l10n/pkg-plist
@@ -1,20 +1,26 @@
share/qt4/translations/assistant_adp_de.qm
share/qt4/translations/assistant_adp_ja.qm
share/qt4/translations/assistant_adp_pl.qm
+share/qt4/translations/assistant_adp_untranslated.qm
share/qt4/translations/assistant_adp_zh_CN.qm
share/qt4/translations/assistant_adp_zh_TW.qm
share/qt4/translations/assistant_de.qm
+share/qt4/translations/assistant_ja.qm
share/qt4/translations/assistant_pl.qm
+share/qt4/translations/assistant_untranslated.qm
share/qt4/translations/assistant_zh_CN.qm
share/qt4/translations/assistant_zh_TW.qm
share/qt4/translations/designer_de.qm
share/qt4/translations/designer_ja.qm
share/qt4/translations/designer_pl.qm
+share/qt4/translations/designer_untranslated.qm
share/qt4/translations/designer_zh_CN.qm
share/qt4/translations/designer_zh_TW.qm
share/qt4/translations/linguist_de.qm
+share/qt4/translations/linguist_fr.qm
share/qt4/translations/linguist_ja.qm
share/qt4/translations/linguist_pl.qm
+share/qt4/translations/linguist_untranslated.qm
share/qt4/translations/linguist_zh_CN.qm
share/qt4/translations/linguist_zh_TW.qm
share/qt4/translations/qt_ar.qm
@@ -22,23 +28,28 @@ share/qt4/translations/qt_de.qm
share/qt4/translations/qt_es.qm
share/qt4/translations/qt_fr.qm
share/qt4/translations/qt_help_de.qm
+share/qt4/translations/qt_help_ja.qm
share/qt4/translations/qt_help_pl.qm
+share/qt4/translations/qt_help_untranslated.qm
share/qt4/translations/qt_help_zh_CN.qm
share/qt4/translations/qt_help_zh_TW.qm
share/qt4/translations/qt_iw.qm
-share/qt4/translations/qt_ja_jp.qm
+share/qt4/translations/qt_ja_JP.qm
share/qt4/translations/qt_pl.qm
share/qt4/translations/qt_pt.qm
share/qt4/translations/qt_ru.qm
share/qt4/translations/qt_sk.qm
share/qt4/translations/qt_sv.qm
share/qt4/translations/qt_uk.qm
+share/qt4/translations/qt_untranslated.qm
share/qt4/translations/qt_zh_CN.qm
share/qt4/translations/qt_zh_TW.qm
share/qt4/translations/qtconfig_pl.qm
+share/qt4/translations/qtconfig_untranslated.qm
share/qt4/translations/qtconfig_zh_CN.qm
share/qt4/translations/qtconfig_zh_TW.qm
share/qt4/translations/qvfb_pl.qm
+share/qt4/translations/qvfb_untranslated.qm
share/qt4/translations/qvfb_zh_CN.qm
share/qt4/translations/qvfb_zh_TW.qm
@dirrmtry share/qt4/translations
diff --git a/misc/qt4-qtconfig/distinfo b/misc/qt4-qtconfig/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/misc/qt4-qtconfig/distinfo
+++ b/misc/qt4-qtconfig/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/misc/qt4-qtdemo/Makefile b/misc/qt4-qtdemo/Makefile
index 256c8914c19a..628f7e365f16 100644
--- a/misc/qt4-qtdemo/Makefile
+++ b/misc/qt4-qtdemo/Makefile
@@ -22,7 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build assistantclient \
corelib designer gui network opengl sql svg qtestlib xml \
imageformats_run dbus script webkit phonon help assistant_run \
- phonon-gst
+ phonon-gst scripttools xmlpatterns
QT_NONSTANDARD= yes
QT_DIST= yes
diff --git a/misc/qt4-qtdemo/distinfo b/misc/qt4-qtdemo/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/misc/qt4-qtdemo/distinfo
+++ b/misc/qt4-qtdemo/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/misc/qt4-qtdemo/pkg-plist b/misc/qt4-qtdemo/pkg-plist
index a14c2dea1ba2..e3fcf8beb7dc 100644
--- a/misc/qt4-qtdemo/pkg-plist
+++ b/misc/qt4-qtdemo/pkg-plist
@@ -48,6 +48,50 @@ share/examples/qt4/demos/books/bookwindow.ui
share/examples/qt4/demos/books/images/star.png
share/examples/qt4/demos/books/initdb.h
share/examples/qt4/demos/books/main.cpp
+share/examples/qt4/demos/boxes/3rdparty/fbm.c
+share/examples/qt4/demos/boxes/3rdparty/fbm.h
+share/examples/qt4/demos/boxes/basic.fsh
+share/examples/qt4/demos/boxes/basic.vsh
+share/examples/qt4/demos/boxes/boxes
+%%DEBUG%%share/examples/qt4/demos/boxes/boxes.debug
+share/examples/qt4/demos/boxes/boxes.pro
+share/examples/qt4/demos/boxes/boxes.qrc
+share/examples/qt4/demos/boxes/cubemap_negx.jpg
+share/examples/qt4/demos/boxes/cubemap_negy.jpg
+share/examples/qt4/demos/boxes/cubemap_negz.jpg
+share/examples/qt4/demos/boxes/cubemap_posx.jpg
+share/examples/qt4/demos/boxes/cubemap_posy.jpg
+share/examples/qt4/demos/boxes/cubemap_posz.jpg
+share/examples/qt4/demos/boxes/dotted.fsh
+share/examples/qt4/demos/boxes/fresnel.fsh
+share/examples/qt4/demos/boxes/glass.fsh
+share/examples/qt4/demos/boxes/glbuffers.cpp
+share/examples/qt4/demos/boxes/glbuffers.h
+share/examples/qt4/demos/boxes/glextensions.cpp
+share/examples/qt4/demos/boxes/glextensions.h
+share/examples/qt4/demos/boxes/glshaders.cpp
+share/examples/qt4/demos/boxes/glshaders.h
+share/examples/qt4/demos/boxes/gltrianglemesh.h
+share/examples/qt4/demos/boxes/granite.fsh
+share/examples/qt4/demos/boxes/main.cpp
+share/examples/qt4/demos/boxes/marble.fsh
+share/examples/qt4/demos/boxes/parameters.par
+share/examples/qt4/demos/boxes/qt-logo.jpg
+share/examples/qt4/demos/boxes/qt-logo.png
+share/examples/qt4/demos/boxes/qtbox.cpp
+share/examples/qt4/demos/boxes/qtbox.h
+share/examples/qt4/demos/boxes/reflection.fsh
+share/examples/qt4/demos/boxes/refraction.fsh
+share/examples/qt4/demos/boxes/roundedbox.cpp
+share/examples/qt4/demos/boxes/roundedbox.h
+share/examples/qt4/demos/boxes/scene.cpp
+share/examples/qt4/demos/boxes/scene.h
+share/examples/qt4/demos/boxes/smiley.png
+share/examples/qt4/demos/boxes/square.jpg
+share/examples/qt4/demos/boxes/trackball.cpp
+share/examples/qt4/demos/boxes/trackball.h
+share/examples/qt4/demos/boxes/vector.h
+share/examples/qt4/demos/boxes/wood.fsh
share/examples/qt4/demos/browser/addbookmarkdialog.ui
share/examples/qt4/demos/browser/autosaver.cpp
share/examples/qt4/demos/browser/autosaver.h
@@ -71,6 +115,14 @@ share/examples/qt4/demos/browser/cookiejar.h
share/examples/qt4/demos/browser/cookies.ui
share/examples/qt4/demos/browser/cookiesexceptions.ui
share/examples/qt4/demos/browser/data.qrc
+share/examples/qt4/demos/browser/data/addtab.png
+share/examples/qt4/demos/browser/data/browser.svg
+share/examples/qt4/demos/browser/data/closetab.png
+share/examples/qt4/demos/browser/data/data.qrc
+share/examples/qt4/demos/browser/data/defaultbookmarks.xbel
+share/examples/qt4/demos/browser/data/defaulticon.png
+share/examples/qt4/demos/browser/data/history.png
+share/examples/qt4/demos/browser/data/loading.gif
share/examples/qt4/demos/browser/downloaditem.ui
share/examples/qt4/demos/browser/downloadmanager.cpp
share/examples/qt4/demos/browser/downloadmanager.h
@@ -190,15 +242,15 @@ share/examples/qt4/demos/mainwindow/titlebarLeft.png
share/examples/qt4/demos/mainwindow/titlebarRight.png
share/examples/qt4/demos/mainwindow/toolbar.cpp
share/examples/qt4/demos/mainwindow/toolbar.h
-share/examples/qt4/demos/mediaplayer/mediaplayer
-%%DEBUG%%share/examples/qt4/demos/mediaplayer/mediaplayer.debug
+share/examples/qt4/demos/mediaplayer/images/screen.png
share/examples/qt4/demos/mediaplayer/main.cpp
+share/examples/qt4/demos/mediaplayer/mediaplayer
share/examples/qt4/demos/mediaplayer/mediaplayer.cpp
+%%DEBUG%%share/examples/qt4/demos/mediaplayer/mediaplayer.debug
share/examples/qt4/demos/mediaplayer/mediaplayer.h
-share/examples/qt4/demos/mediaplayer/settings.ui
-share/examples/qt4/demos/mediaplayer/mediaplayer.qrc
share/examples/qt4/demos/mediaplayer/mediaplayer.pro
-share/examples/qt4/demos/mediaplayer/images/screen.png
+share/examples/qt4/demos/mediaplayer/mediaplayer.qrc
+share/examples/qt4/demos/mediaplayer/settings.ui
share/examples/qt4/demos/pathstroke/main.cpp
share/examples/qt4/demos/pathstroke/pathstroke
share/examples/qt4/demos/pathstroke/pathstroke.cpp
@@ -309,10 +361,18 @@ share/examples/qt4/demos/shared/shared.pro
share/examples/qt4/demos/shared/shared.qrc
share/examples/qt4/demos/spreadsheet/images/interview.png
share/examples/qt4/demos/spreadsheet/main.cpp
+share/examples/qt4/demos/spreadsheet/printview.cpp
+share/examples/qt4/demos/spreadsheet/printview.h
share/examples/qt4/demos/spreadsheet/spreadsheet
+share/examples/qt4/demos/spreadsheet/spreadsheet.cpp
%%DEBUG%%share/examples/qt4/demos/spreadsheet/spreadsheet.debug
+share/examples/qt4/demos/spreadsheet/spreadsheet.h
share/examples/qt4/demos/spreadsheet/spreadsheet.pro
share/examples/qt4/demos/spreadsheet/spreadsheet.qrc
+share/examples/qt4/demos/spreadsheet/spreadsheetdelegate.cpp
+share/examples/qt4/demos/spreadsheet/spreadsheetdelegate.h
+share/examples/qt4/demos/spreadsheet/spreadsheetitem.cpp
+share/examples/qt4/demos/spreadsheet/spreadsheetitem.h
share/examples/qt4/demos/sqlbrowser/browser.cpp
share/examples/qt4/demos/sqlbrowser/browser.h
share/examples/qt4/demos/sqlbrowser/browserwidget.ui
@@ -623,6 +683,8 @@ share/examples/qt4/examples/dialogs/trivialwizard/trivialwizard.cpp
%%DEBUG%%share/examples/qt4/examples/dialogs/trivialwizard/trivialwizard.debug
share/examples/qt4/examples/dialogs/trivialwizard/trivialwizard.pro
share/examples/qt4/examples/draganddrop/README
+share/examples/qt4/examples/draganddrop/delayedencoding/delayedencoding
+%%DEBUG%%share/examples/qt4/examples/draganddrop/delayedencoding/delayedencoding.debug
share/examples/qt4/examples/draganddrop/draganddrop.pro
share/examples/qt4/examples/draganddrop/draggableicons/draggableicons
%%DEBUG%%share/examples/qt4/examples/draganddrop/draggableicons/draggableicons.debug
@@ -676,6 +738,15 @@ share/examples/qt4/examples/draganddrop/puzzle/puzzlewidget.cpp
share/examples/qt4/examples/draganddrop/puzzle/puzzlewidget.h
share/examples/qt4/examples/examples.pro
share/examples/qt4/examples/graphicsview/README
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/basicgraphicslayouts
+%%DEBUG%%share/examples/qt4/examples/graphicsview/basicgraphicslayouts/basicgraphicslayouts.debug
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/basicgraphicslayouts.qrc
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/layoutitem.cpp
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/layoutitem.h
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/main.cpp
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/window.cpp
+share/examples/qt4/examples/graphicsview/basicgraphicslayouts/window.h
share/examples/qt4/examples/graphicsview/collidingmice/collidingmice
%%DEBUG%%share/examples/qt4/examples/graphicsview/collidingmice/collidingmice.debug
share/examples/qt4/examples/graphicsview/collidingmice/collidingmice.pro
@@ -1077,6 +1148,12 @@ share/examples/qt4/examples/itemviews/coloreditorfactory/colorlisteditor.h
share/examples/qt4/examples/itemviews/coloreditorfactory/main.cpp
share/examples/qt4/examples/itemviews/coloreditorfactory/window.cpp
share/examples/qt4/examples/itemviews/coloreditorfactory/window.h
+share/examples/qt4/examples/itemviews/combowidgetmapper/combowidgetmapper
+%%DEBUG%%share/examples/qt4/examples/itemviews/combowidgetmapper/combowidgetmapper.debug
+share/examples/qt4/examples/itemviews/combowidgetmapper/combowidgetmapper.pro
+share/examples/qt4/examples/itemviews/combowidgetmapper/main.cpp
+share/examples/qt4/examples/itemviews/combowidgetmapper/window.cpp
+share/examples/qt4/examples/itemviews/combowidgetmapper/window.h
share/examples/qt4/examples/itemviews/customsortfiltermodel/customsortfiltermodel
%%DEBUG%%share/examples/qt4/examples/itemviews/customsortfiltermodel/customsortfiltermodel.debug
share/examples/qt4/examples/itemviews/customsortfiltermodel/customsortfiltermodel.pro
@@ -1085,6 +1162,12 @@ share/examples/qt4/examples/itemviews/customsortfiltermodel/mysortfilterproxymod
share/examples/qt4/examples/itemviews/customsortfiltermodel/mysortfilterproxymodel.h
share/examples/qt4/examples/itemviews/customsortfiltermodel/window.cpp
share/examples/qt4/examples/itemviews/customsortfiltermodel/window.h
+share/examples/qt4/examples/itemviews/delayedencoding/delayedencoding.pro
+share/examples/qt4/examples/itemviews/delayedencoding/main.cpp
+share/examples/qt4/examples/itemviews/delayedencoding/mimedata.cpp
+share/examples/qt4/examples/itemviews/delayedencoding/mimedata.h
+share/examples/qt4/examples/itemviews/delayedencoding/sourcewidget.cpp
+share/examples/qt4/examples/itemviews/delayedencoding/sourcewidget.h
share/examples/qt4/examples/itemviews/dirview/dirview
%%DEBUG%%share/examples/qt4/examples/itemviews/dirview/dirview.debug
share/examples/qt4/examples/itemviews/dirview/dirview.pro
@@ -1102,6 +1185,14 @@ share/examples/qt4/examples/itemviews/editabletreemodel/treeitem.cpp
share/examples/qt4/examples/itemviews/editabletreemodel/treeitem.h
share/examples/qt4/examples/itemviews/editabletreemodel/treemodel.cpp
share/examples/qt4/examples/itemviews/editabletreemodel/treemodel.h
+share/examples/qt4/examples/itemviews/fetchmore/fetchmore
+%%DEBUG%%share/examples/qt4/examples/itemviews/fetchmore/fetchmore.debug
+share/examples/qt4/examples/itemviews/fetchmore/fetchmore.pro
+share/examples/qt4/examples/itemviews/fetchmore/filelistmodel.cpp
+share/examples/qt4/examples/itemviews/fetchmore/filelistmodel.h
+share/examples/qt4/examples/itemviews/fetchmore/main.cpp
+share/examples/qt4/examples/itemviews/fetchmore/window.cpp
+share/examples/qt4/examples/itemviews/fetchmore/window.h
share/examples/qt4/examples/itemviews/itemviews.pro
share/examples/qt4/examples/itemviews/pixelator/imagemodel.cpp
share/examples/qt4/examples/itemviews/pixelator/imagemodel.h
@@ -1309,21 +1400,6 @@ share/examples/qt4/examples/network/broadcastsender/broadcastsender.pro
share/examples/qt4/examples/network/broadcastsender/main.cpp
share/examples/qt4/examples/network/broadcastsender/sender.cpp
share/examples/qt4/examples/network/broadcastsender/sender.h
-share/examples/qt4/examples/network/chat/chatdialog.cpp
-share/examples/qt4/examples/network/chat/chatdialog.h
-share/examples/qt4/examples/network/chat/chatdialog.ui
-share/examples/qt4/examples/network/chat/client.cpp
-share/examples/qt4/examples/network/chat/client.h
-share/examples/qt4/examples/network/chat/connection.cpp
-share/examples/qt4/examples/network/chat/connection.h
-share/examples/qt4/examples/network/chat/main.cpp
-share/examples/qt4/examples/network/chat/network-chat
-%%DEBUG%%share/examples/qt4/examples/network/chat/network-chat.debug
-share/examples/qt4/examples/network/chat/network-chat.pro
-share/examples/qt4/examples/network/chat/peermanager.cpp
-share/examples/qt4/examples/network/chat/peermanager.h
-share/examples/qt4/examples/network/chat/server.cpp
-share/examples/qt4/examples/network/chat/server.h
share/examples/qt4/examples/network/download/download
%%DEBUG%%share/examples/qt4/examples/network/download/download.debug
share/examples/qt4/examples/network/download/download.pro
@@ -1358,6 +1434,14 @@ share/examples/qt4/examples/network/ftp/images/cdtoparent.png
share/examples/qt4/examples/network/ftp/images/dir.png
share/examples/qt4/examples/network/ftp/images/file.png
share/examples/qt4/examples/network/ftp/main.cpp
+share/examples/qt4/examples/network/googlesuggest/googlesuggest
+share/examples/qt4/examples/network/googlesuggest/googlesuggest.cpp
+%%DEBUG%%share/examples/qt4/examples/network/googlesuggest/googlesuggest.debug
+share/examples/qt4/examples/network/googlesuggest/googlesuggest.h
+share/examples/qt4/examples/network/googlesuggest/googlesuggest.pro
+share/examples/qt4/examples/network/googlesuggest/main.cpp
+share/examples/qt4/examples/network/googlesuggest/searchbox.cpp
+share/examples/qt4/examples/network/googlesuggest/searchbox.h
share/examples/qt4/examples/network/http/authenticationdialog.ui
share/examples/qt4/examples/network/http/http
%%DEBUG%%share/examples/qt4/examples/network/http/http.debug
@@ -1371,6 +1455,21 @@ share/examples/qt4/examples/network/loopback/loopback
%%DEBUG%%share/examples/qt4/examples/network/loopback/loopback.debug
share/examples/qt4/examples/network/loopback/loopback.pro
share/examples/qt4/examples/network/loopback/main.cpp
+share/examples/qt4/examples/network/network-chat/chatdialog.cpp
+share/examples/qt4/examples/network/network-chat/chatdialog.h
+share/examples/qt4/examples/network/network-chat/chatdialog.ui
+share/examples/qt4/examples/network/network-chat/client.cpp
+share/examples/qt4/examples/network/network-chat/client.h
+share/examples/qt4/examples/network/network-chat/connection.cpp
+share/examples/qt4/examples/network/network-chat/connection.h
+share/examples/qt4/examples/network/network-chat/main.cpp
+share/examples/qt4/examples/network/network-chat/network-chat
+%%DEBUG%%share/examples/qt4/examples/network/network-chat/network-chat.debug
+share/examples/qt4/examples/network/network-chat/network-chat.pro
+share/examples/qt4/examples/network/network-chat/peermanager.cpp
+share/examples/qt4/examples/network/network-chat/peermanager.h
+share/examples/qt4/examples/network/network-chat/server.cpp
+share/examples/qt4/examples/network/network-chat/server.h
share/examples/qt4/examples/network/network.pro
share/examples/qt4/examples/network/securesocketclient/certificateinfo.cpp
share/examples/qt4/examples/network/securesocketclient/certificateinfo.h
@@ -1395,8 +1494,6 @@ share/examples/qt4/examples/network/threadedfortuneserver/main.cpp
share/examples/qt4/examples/network/threadedfortuneserver/threadedfortuneserver
%%DEBUG%%share/examples/qt4/examples/network/threadedfortuneserver/threadedfortuneserver.debug
share/examples/qt4/examples/network/threadedfortuneserver/threadedfortuneserver.pro
-share/examples/qt4/examples/network/torrent/3rdparty/sha1.c
-share/examples/qt4/examples/network/torrent/3rdparty/sha1.h
share/examples/qt4/examples/network/torrent/addtorrentdialog.cpp
share/examples/qt4/examples/network/torrent/addtorrentdialog.h
share/examples/qt4/examples/network/torrent/bencodeparser.cpp
@@ -1452,7 +1549,6 @@ share/examples/qt4/examples/opengl/README
share/examples/qt4/examples/opengl/framebufferobject/bubbles.svg
share/examples/qt4/examples/opengl/framebufferobject/designer.png
share/examples/qt4/examples/opengl/framebufferobject/framebufferobject
-share/examples/qt4/examples/opengl/pbuffers2/designer.png
%%DEBUG%%share/examples/qt4/examples/opengl/framebufferobject/framebufferobject.debug
share/examples/qt4/examples/opengl/framebufferobject/framebufferobject.pro
share/examples/qt4/examples/opengl/framebufferobject/framebufferobject.qrc
@@ -1501,6 +1597,7 @@ share/examples/qt4/examples/opengl/pbuffers/pbuffers
share/examples/qt4/examples/opengl/pbuffers/pbuffers.pro
share/examples/qt4/examples/opengl/pbuffers/pbuffers.qrc
share/examples/qt4/examples/opengl/pbuffers2/bubbles.svg
+share/examples/qt4/examples/opengl/pbuffers2/designer.png
share/examples/qt4/examples/opengl/pbuffers2/glwidget.cpp
share/examples/qt4/examples/opengl/pbuffers2/glwidget.h
share/examples/qt4/examples/opengl/pbuffers2/main.cpp
@@ -1576,6 +1673,16 @@ share/examples/qt4/examples/painting/painterpaths/renderarea.h
share/examples/qt4/examples/painting/painterpaths/window.cpp
share/examples/qt4/examples/painting/painterpaths/window.h
share/examples/qt4/examples/painting/painting.pro
+share/examples/qt4/examples/painting/svggenerator/displaywidget.cpp
+share/examples/qt4/examples/painting/svggenerator/displaywidget.h
+share/examples/qt4/examples/painting/svggenerator/main.cpp
+share/examples/qt4/examples/painting/svggenerator/svggenerator
+%%DEBUG%%share/examples/qt4/examples/painting/svggenerator/svggenerator.debug
+share/examples/qt4/examples/painting/svggenerator/svggenerator.pro
+share/examples/qt4/examples/painting/svggenerator/svggenerator.qrc
+share/examples/qt4/examples/painting/svggenerator/window.cpp
+share/examples/qt4/examples/painting/svggenerator/window.h
+share/examples/qt4/examples/painting/svggenerator/window.ui
share/examples/qt4/examples/painting/svgviewer/files/bubbles.svg
share/examples/qt4/examples/painting/svgviewer/files/cubic.svg
share/examples/qt4/examples/painting/svgviewer/files/spheres.svg
@@ -1588,8 +1695,6 @@ share/examples/qt4/examples/painting/svgviewer/svgviewer
%%DEBUG%%share/examples/qt4/examples/painting/svgviewer/svgviewer.debug
share/examples/qt4/examples/painting/svgviewer/svgviewer.pro
share/examples/qt4/examples/painting/svgviewer/svgviewer.qrc
-share/examples/qt4/examples/painting/svgviewer/svgwindow.cpp
-share/examples/qt4/examples/painting/svgviewer/svgwindow.h
share/examples/qt4/examples/painting/transformations/main.cpp
share/examples/qt4/examples/painting/transformations/renderarea.cpp
share/examples/qt4/examples/painting/transformations/renderarea.h
@@ -1654,6 +1759,10 @@ share/examples/qt4/examples/qtestlib/tutorial4/testgui.cpp
share/examples/qt4/examples/qtestlib/tutorial4/tutorial4
%%DEBUG%%share/examples/qt4/examples/qtestlib/tutorial4/tutorial4.debug
share/examples/qt4/examples/qtestlib/tutorial4/tutorial4.pro
+share/examples/qt4/examples/qtestlib/tutorial5/benchmarking.cpp
+share/examples/qt4/examples/qtestlib/tutorial5/tutorial5
+%%DEBUG%%share/examples/qt4/examples/qtestlib/tutorial5/tutorial5.debug
+share/examples/qt4/examples/qtestlib/tutorial5/tutorial5.pro
share/examples/qt4/examples/richtext/README
share/examples/qt4/examples/richtext/calendar/calendar
%%DEBUG%%share/examples/qt4/examples/richtext/calendar/calendar.debug
@@ -1678,6 +1787,14 @@ share/examples/qt4/examples/richtext/syntaxhighlighter/mainwindow.h
share/examples/qt4/examples/richtext/syntaxhighlighter/syntaxhighlighter
%%DEBUG%%share/examples/qt4/examples/richtext/syntaxhighlighter/syntaxhighlighter.debug
share/examples/qt4/examples/richtext/syntaxhighlighter/syntaxhighlighter.pro
+share/examples/qt4/examples/richtext/textobject/main.cpp
+share/examples/qt4/examples/richtext/textobject/svgtextobject.cpp
+share/examples/qt4/examples/richtext/textobject/svgtextobject.h
+share/examples/qt4/examples/richtext/textobject/textobject
+%%DEBUG%%share/examples/qt4/examples/richtext/textobject/textobject.debug
+share/examples/qt4/examples/richtext/textobject/textobject.pro
+share/examples/qt4/examples/richtext/textobject/window.cpp
+share/examples/qt4/examples/richtext/textobject/window.h
share/examples/qt4/examples/script/README
share/examples/qt4/examples/script/calculator/calculator
%%DEBUG%%share/examples/qt4/examples/script/calculator/calculator.debug
@@ -1694,6 +1811,8 @@ share/examples/qt4/examples/script/context2d/context2d.pro
share/examples/qt4/examples/script/context2d/context2d.qrc
share/examples/qt4/examples/script/context2d/domimage.cpp
share/examples/qt4/examples/script/context2d/domimage.h
+share/examples/qt4/examples/script/context2d/environment.cpp
+share/examples/qt4/examples/script/context2d/environment.h
share/examples/qt4/examples/script/context2d/main.cpp
share/examples/qt4/examples/script/context2d/qcontext2dcanvas.cpp
share/examples/qt4/examples/script/context2d/qcontext2dcanvas.h
@@ -1738,6 +1857,7 @@ share/examples/qt4/examples/script/defaultprototypes/prototypes.h
share/examples/qt4/examples/script/helloscript/helloscript
%%DEBUG%%share/examples/qt4/examples/script/helloscript/helloscript.debug
share/examples/qt4/examples/script/helloscript/helloscript.pro
+share/examples/qt4/examples/script/helloscript/helloscript.qrc
share/examples/qt4/examples/script/helloscript/main.cpp
share/examples/qt4/examples/script/marshal/main.cpp
share/examples/qt4/examples/script/marshal/marshal
@@ -1747,18 +1867,18 @@ share/examples/qt4/examples/script/qscript/main.cpp
share/examples/qt4/examples/script/qscript/qscript
%%DEBUG%%share/examples/qt4/examples/script/qscript/qscript.debug
share/examples/qt4/examples/script/qscript/qscript.pro
+share/examples/qt4/examples/script/qstetrix/main.cpp
+share/examples/qt4/examples/script/qstetrix/qstetrix
+%%DEBUG%%share/examples/qt4/examples/script/qstetrix/qstetrix.debug
+share/examples/qt4/examples/script/qstetrix/qstetrix.pro
+share/examples/qt4/examples/script/qstetrix/tetrix.qrc
+share/examples/qt4/examples/script/qstetrix/tetrixboard.cpp
+share/examples/qt4/examples/script/qstetrix/tetrixboard.h
+share/examples/qt4/examples/script/qstetrix/tetrixboard.js
+share/examples/qt4/examples/script/qstetrix/tetrixpiece.js
+share/examples/qt4/examples/script/qstetrix/tetrixwindow.js
+share/examples/qt4/examples/script/qstetrix/tetrixwindow.ui
share/examples/qt4/examples/script/script.pro
-share/examples/qt4/examples/script/tetrix/main.cpp
-share/examples/qt4/examples/script/tetrix/tetrix
-%%DEBUG%%share/examples/qt4/examples/script/tetrix/tetrix.debug
-share/examples/qt4/examples/script/tetrix/tetrix.pro
-share/examples/qt4/examples/script/tetrix/tetrix.qrc
-share/examples/qt4/examples/script/tetrix/tetrixboard.cpp
-share/examples/qt4/examples/script/tetrix/tetrixboard.h
-share/examples/qt4/examples/script/tetrix/tetrixboard.js
-share/examples/qt4/examples/script/tetrix/tetrixpiece.js
-share/examples/qt4/examples/script/tetrix/tetrixwindow.js
-share/examples/qt4/examples/script/tetrix/tetrixwindow.ui
share/examples/qt4/examples/sql/README
share/examples/qt4/examples/sql/cachedtable/cachedtable
%%DEBUG%%share/examples/qt4/examples/sql/cachedtable/cachedtable.debug
@@ -1811,6 +1931,12 @@ share/examples/qt4/examples/sql/relationaltablemodel/relationaltablemodel.cpp
%%DEBUG%%share/examples/qt4/examples/sql/relationaltablemodel/relationaltablemodel.debug
share/examples/qt4/examples/sql/relationaltablemodel/relationaltablemodel.pro
share/examples/qt4/examples/sql/sql.pro
+share/examples/qt4/examples/sql/sqlwidgetmapper/main.cpp
+share/examples/qt4/examples/sql/sqlwidgetmapper/sqlwidgetmapper
+%%DEBUG%%share/examples/qt4/examples/sql/sqlwidgetmapper/sqlwidgetmapper.debug
+share/examples/qt4/examples/sql/sqlwidgetmapper/sqlwidgetmapper.pro
+share/examples/qt4/examples/sql/sqlwidgetmapper/window.cpp
+share/examples/qt4/examples/sql/sqlwidgetmapper/window.h
share/examples/qt4/examples/sql/tablemodel/tablemodel
share/examples/qt4/examples/sql/tablemodel/tablemodel.cpp
%%DEBUG%%share/examples/qt4/examples/sql/tablemodel/tablemodel.debug
@@ -1999,8 +2125,9 @@ share/examples/qt4/examples/tools/undoframework/undoframework
%%DEBUG%%share/examples/qt4/examples/tools/undoframework/undoframework.debug
share/examples/qt4/examples/tools/undoframework/undoframework.pro
share/examples/qt4/examples/tools/undoframework/undoframework.qrc
-share/examples/qt4/examples/tutorial/addressbook/README
share/examples/qt4/examples/tutorials/README
+share/examples/qt4/examples/tutorials/addressbook/README
+share/examples/qt4/examples/tutorials/addressbook/addressbook.pro
share/examples/qt4/examples/tutorials/addressbook/part1/addressbook.cpp
share/examples/qt4/examples/tutorials/addressbook/part1/addressbook.h
share/examples/qt4/examples/tutorials/addressbook/part1/main.cpp
@@ -2049,98 +2176,6 @@ share/examples/qt4/examples/tutorials/addressbook/part7/main.cpp
share/examples/qt4/examples/tutorials/addressbook/part7/part7
%%DEBUG%%share/examples/qt4/examples/tutorials/addressbook/part7/part7.debug
share/examples/qt4/examples/tutorials/addressbook/part7/part7.pro
-share/examples/qt4/examples/tutorials/tutorial/README
-share/examples/qt4/examples/tutorials/tutorial/t1/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t1/t1
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t1/t1.debug
-share/examples/qt4/examples/tutorials/tutorial/t1/t1.pro
-share/examples/qt4/examples/tutorials/tutorial/t10/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t10/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t10/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t10/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t10/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t10/t10
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t10/t10.debug
-share/examples/qt4/examples/tutorials/tutorial/t10/t10.pro
-share/examples/qt4/examples/tutorials/tutorial/t11/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t11/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t11/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t11/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t11/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t11/t11
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t11/t11.debug
-share/examples/qt4/examples/tutorials/tutorial/t11/t11.pro
-share/examples/qt4/examples/tutorials/tutorial/t12/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t12/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t12/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t12/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t12/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t12/t12
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t12/t12.debug
-share/examples/qt4/examples/tutorials/tutorial/t12/t12.pro
-share/examples/qt4/examples/tutorials/tutorial/t13/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t13/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t13/gameboard.cpp
-share/examples/qt4/examples/tutorials/tutorial/t13/gameboard.h
-share/examples/qt4/examples/tutorials/tutorial/t13/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t13/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t13/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t13/t13
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t13/t13.debug
-share/examples/qt4/examples/tutorials/tutorial/t13/t13.pro
-share/examples/qt4/examples/tutorials/tutorial/t14/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t14/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t14/gameboard.cpp
-share/examples/qt4/examples/tutorials/tutorial/t14/gameboard.h
-share/examples/qt4/examples/tutorials/tutorial/t14/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t14/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t14/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t14/t14
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t14/t14.debug
-share/examples/qt4/examples/tutorials/tutorial/t14/t14.pro
-share/examples/qt4/examples/tutorials/tutorial/t2/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t2/t2
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t2/t2.debug
-share/examples/qt4/examples/tutorials/tutorial/t2/t2.pro
-share/examples/qt4/examples/tutorials/tutorial/t3/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t3/t3
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t3/t3.debug
-share/examples/qt4/examples/tutorials/tutorial/t3/t3.pro
-share/examples/qt4/examples/tutorials/tutorial/t4/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t4/t4
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t4/t4.debug
-share/examples/qt4/examples/tutorials/tutorial/t4/t4.pro
-share/examples/qt4/examples/tutorials/tutorial/t5/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t5/t5
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t5/t5.debug
-share/examples/qt4/examples/tutorials/tutorial/t5/t5.pro
-share/examples/qt4/examples/tutorials/tutorial/t6/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t6/t6
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t6/t6.debug
-share/examples/qt4/examples/tutorials/tutorial/t6/t6.pro
-share/examples/qt4/examples/tutorials/tutorial/t7/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t7/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t7/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t7/t7
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t7/t7.debug
-share/examples/qt4/examples/tutorials/tutorial/t7/t7.pro
-share/examples/qt4/examples/tutorials/tutorial/t8/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t8/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t8/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t8/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t8/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t8/t8
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t8/t8.debug
-share/examples/qt4/examples/tutorials/tutorial/t8/t8.pro
-share/examples/qt4/examples/tutorials/tutorial/t9/cannonfield.cpp
-share/examples/qt4/examples/tutorials/tutorial/t9/cannonfield.h
-share/examples/qt4/examples/tutorials/tutorial/t9/lcdrange.cpp
-share/examples/qt4/examples/tutorials/tutorial/t9/lcdrange.h
-share/examples/qt4/examples/tutorials/tutorial/t9/main.cpp
-share/examples/qt4/examples/tutorials/tutorial/t9/t9
-%%DEBUG%%share/examples/qt4/examples/tutorials/tutorial/t9/t9.debug
-share/examples/qt4/examples/tutorials/tutorial/t9/t9.pro
-share/examples/qt4/examples/tutorials/tutorial/tutorial.pro
share/examples/qt4/examples/tutorials/tutorials.pro
share/examples/qt4/examples/uitools/multipleinheritance/calculatorform.cpp
share/examples/qt4/examples/uitools/multipleinheritance/calculatorform.h
@@ -2159,6 +2194,14 @@ share/examples/qt4/examples/uitools/textfinder/textfinder.h
share/examples/qt4/examples/uitools/textfinder/textfinder.pro
share/examples/qt4/examples/uitools/textfinder/textfinder.qrc
share/examples/qt4/examples/uitools/uitools.pro
+share/examples/qt4/examples/webkit/fancybrowser/fancybrowser
+%%DEBUG%%share/examples/qt4/examples/webkit/fancybrowser/fancybrowser.debug
+share/examples/qt4/examples/webkit/fancybrowser/fancybrowser.pro
+share/examples/qt4/examples/webkit/fancybrowser/jquery.qrc
+share/examples/qt4/examples/webkit/fancybrowser/main.cpp
+share/examples/qt4/examples/webkit/fancybrowser/mainwindow.cpp
+share/examples/qt4/examples/webkit/fancybrowser/mainwindow.h
+share/examples/qt4/examples/webkit/formextractor/form.html
share/examples/qt4/examples/webkit/formextractor/formExtractor
%%DEBUG%%share/examples/qt4/examples/webkit/formextractor/formExtractor.debug
share/examples/qt4/examples/webkit/formextractor/formextractor.cpp
@@ -2169,6 +2212,13 @@ share/examples/qt4/examples/webkit/formextractor/formextractor.ui
share/examples/qt4/examples/webkit/formextractor/main.cpp
share/examples/qt4/examples/webkit/formextractor/mainwindow.cpp
share/examples/qt4/examples/webkit/formextractor/mainwindow.h
+share/examples/qt4/examples/webkit/googlechat/form.ui
+share/examples/qt4/examples/webkit/googlechat/googlechat
+share/examples/qt4/examples/webkit/googlechat/googlechat.cpp
+%%DEBUG%%share/examples/qt4/examples/webkit/googlechat/googlechat.debug
+share/examples/qt4/examples/webkit/googlechat/googlechat.h
+share/examples/qt4/examples/webkit/googlechat/googlechat.pro
+share/examples/qt4/examples/webkit/googlechat/main.cpp
share/examples/qt4/examples/webkit/previewer/main.cpp
share/examples/qt4/examples/webkit/previewer/mainwindow.cpp
share/examples/qt4/examples/webkit/previewer/mainwindow.h
@@ -2208,6 +2258,12 @@ share/examples/qt4/examples/widgets/charactermap/characterwidget.h
share/examples/qt4/examples/widgets/charactermap/main.cpp
share/examples/qt4/examples/widgets/charactermap/mainwindow.cpp
share/examples/qt4/examples/widgets/charactermap/mainwindow.h
+share/examples/qt4/examples/widgets/codeeditor/codeeditor
+share/examples/qt4/examples/widgets/codeeditor/codeeditor.cpp
+%%DEBUG%%share/examples/qt4/examples/widgets/codeeditor/codeeditor.debug
+share/examples/qt4/examples/widgets/codeeditor/codeeditor.h
+share/examples/qt4/examples/widgets/codeeditor/codeeditor.pro
+share/examples/qt4/examples/widgets/codeeditor/main.cpp
share/examples/qt4/examples/widgets/digitalclock/digitalclock
share/examples/qt4/examples/widgets/digitalclock/digitalclock.cpp
%%DEBUG%%share/examples/qt4/examples/widgets/digitalclock/digitalclock.debug
@@ -2258,16 +2314,11 @@ share/examples/qt4/examples/widgets/lineedits/lineedits.pro
share/examples/qt4/examples/widgets/lineedits/main.cpp
share/examples/qt4/examples/widgets/lineedits/window.cpp
share/examples/qt4/examples/widgets/lineedits/window.h
-share/examples/qt4/examples/widgets/movie/images/open.png
-share/examples/qt4/examples/widgets/movie/images/pause.png
-share/examples/qt4/examples/widgets/movie/images/play.png
-share/examples/qt4/examples/widgets/movie/images/quit.png
-share/examples/qt4/examples/widgets/movie/images/stop.png
+share/examples/qt4/examples/widgets/movie/animation.mng
share/examples/qt4/examples/widgets/movie/main.cpp
share/examples/qt4/examples/widgets/movie/movie
%%DEBUG%%share/examples/qt4/examples/widgets/movie/movie.debug
share/examples/qt4/examples/widgets/movie/movie.pro
-share/examples/qt4/examples/widgets/movie/movie.qrc
share/examples/qt4/examples/widgets/movie/movieplayer.cpp
share/examples/qt4/examples/widgets/movie/movieplayer.h
share/examples/qt4/examples/widgets/scribble/main.cpp
@@ -2462,6 +2513,75 @@ share/examples/qt4/examples/xml/xmlstreamlint/main.cpp
share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint
%%DEBUG%%share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.debug
share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
+share/examples/qt4/examples/xmlpatterns/README
+share/examples/qt4/examples/xmlpatterns/filetree/filetree
+share/examples/qt4/examples/xmlpatterns/filetree/filetree.cpp
+%%DEBUG%%share/examples/qt4/examples/xmlpatterns/filetree/filetree.debug
+share/examples/qt4/examples/xmlpatterns/filetree/filetree.h
+share/examples/qt4/examples/xmlpatterns/filetree/filetree.pro
+share/examples/qt4/examples/xmlpatterns/filetree/main.cpp
+share/examples/qt4/examples/xmlpatterns/filetree/mainwindow.cpp
+share/examples/qt4/examples/xmlpatterns/filetree/mainwindow.h
+share/examples/qt4/examples/xmlpatterns/filetree/mainwindow.ui
+share/examples/qt4/examples/xmlpatterns/filetree/queries.qrc
+share/examples/qt4/examples/xmlpatterns/filetree/xmlsyntaxhighlighter.cpp
+share/examples/qt4/examples/xmlpatterns/filetree/xmlsyntaxhighlighter.h
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/main.cpp
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/mainwindow.cpp
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/mainwindow.h
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/mainwindow.ui
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel.cpp
+%%DEBUG%%share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel.debug
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel.h
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/qobjectxmlmodel.pro
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/queries.qrc
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/xmlsyntaxhighlighter.cpp
+share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel/xmlsyntaxhighlighter.h
+share/examples/qt4/examples/xmlpatterns/recipes/files/allRecipes.xq
+share/examples/qt4/examples/xmlpatterns/recipes/files/cookbook.xml
+share/examples/qt4/examples/xmlpatterns/recipes/files/liquidIngredientsInSoup.xq
+share/examples/qt4/examples/xmlpatterns/recipes/files/mushroomSoup.xq
+share/examples/qt4/examples/xmlpatterns/recipes/files/preparationLessThan30.xq
+share/examples/qt4/examples/xmlpatterns/recipes/files/preparationTimes.xq
+share/examples/qt4/examples/xmlpatterns/recipes/forms/querywidget.ui
+share/examples/qt4/examples/xmlpatterns/recipes/main.cpp
+share/examples/qt4/examples/xmlpatterns/recipes/querymainwindow.cpp
+share/examples/qt4/examples/xmlpatterns/recipes/querymainwindow.h
+share/examples/qt4/examples/xmlpatterns/recipes/recipes
+%%DEBUG%%share/examples/qt4/examples/xmlpatterns/recipes/recipes.debug
+share/examples/qt4/examples/xmlpatterns/recipes/recipes.pro
+share/examples/qt4/examples/xmlpatterns/recipes/recipes.qrc
+share/examples/qt4/examples/xmlpatterns/recipes/xmlsyntaxhighlighter.cpp
+share/examples/qt4/examples/xmlpatterns/recipes/xmlsyntaxhighlighter.h
+share/examples/qt4/examples/xmlpatterns/trafficinfo/main.cpp
+share/examples/qt4/examples/xmlpatterns/trafficinfo/mainwindow.cpp
+share/examples/qt4/examples/xmlpatterns/trafficinfo/mainwindow.h
+share/examples/qt4/examples/xmlpatterns/trafficinfo/stationdialog.cpp
+share/examples/qt4/examples/xmlpatterns/trafficinfo/stationdialog.h
+share/examples/qt4/examples/xmlpatterns/trafficinfo/stationquery.cpp
+share/examples/qt4/examples/xmlpatterns/trafficinfo/stationquery.h
+share/examples/qt4/examples/xmlpatterns/trafficinfo/timequery.cpp
+share/examples/qt4/examples/xmlpatterns/trafficinfo/timequery.h
+share/examples/qt4/examples/xmlpatterns/trafficinfo/trafficinfo
+%%DEBUG%%share/examples/qt4/examples/xmlpatterns/trafficinfo/trafficinfo.debug
+share/examples/qt4/examples/xmlpatterns/trafficinfo/trafficinfo.pro
+share/examples/qt4/examples/xmlpatterns/xmlpatterns.pro
+share/examples/qt4/examples/xmlpatterns/xquery/globalVariables/globalVariables.pro
+share/examples/qt4/examples/xmlpatterns/xquery/globalVariables/globals.cpp
+share/examples/qt4/examples/xmlpatterns/xquery/globalVariables/globals.gccxml
+share/examples/qt4/examples/xmlpatterns/xquery/globalVariables/globals.html
+share/examples/qt4/examples/xmlpatterns/xquery/globalVariables/reportGlobals.xq
+share/examples/qt4/examples/xmlpatterns/xquery/xquery.pro
+@dirrm share/examples/qt4/examples/xmlpatterns/xquery/globalVariables
+@dirrm share/examples/qt4/examples/xmlpatterns/xquery
+@dirrm share/examples/qt4/examples/xmlpatterns/trafficinfo
+@dirrm share/examples/qt4/examples/xmlpatterns/recipes/forms
+@dirrm share/examples/qt4/examples/xmlpatterns/recipes/files
+@dirrm share/examples/qt4/examples/xmlpatterns/recipes
+@dirrm share/examples/qt4/examples/xmlpatterns/qobjectxmlmodel
+@dirrm share/examples/qt4/examples/xmlpatterns/filetree
+@dirrm share/examples/qt4/examples/xmlpatterns
@dirrm share/examples/qt4/examples/xml/xmlstreamlint
@dirrm share/examples/qt4/examples/xml/streambookmarks
@dirrm share/examples/qt4/examples/xml/saxbookmarks
@@ -2485,7 +2605,6 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/widgets/sliders
@dirrm share/examples/qt4/examples/widgets/shapedclock
@dirrm share/examples/qt4/examples/widgets/scribble
-@dirrm share/examples/qt4/examples/widgets/movie/images
@dirrm share/examples/qt4/examples/widgets/movie
@dirrm share/examples/qt4/examples/widgets/lineedits
@dirrm share/examples/qt4/examples/widgets/imageviewer
@@ -2493,33 +2612,21 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/widgets/icons
@dirrm share/examples/qt4/examples/widgets/groupbox
@dirrm share/examples/qt4/examples/widgets/digitalclock
+@dirrm share/examples/qt4/examples/widgets/codeeditor
@dirrm share/examples/qt4/examples/widgets/charactermap
@dirrm share/examples/qt4/examples/widgets/calendarwidget
@dirrm share/examples/qt4/examples/widgets/calculator
@dirrm share/examples/qt4/examples/widgets/analogclock
@dirrm share/examples/qt4/examples/widgets
@dirrm share/examples/qt4/examples/webkit/previewer
+@dirrm share/examples/qt4/examples/webkit/googlechat
@dirrm share/examples/qt4/examples/webkit/formextractor
+@dirrm share/examples/qt4/examples/webkit/fancybrowser
@dirrm share/examples/qt4/examples/webkit
@dirrm share/examples/qt4/examples/uitools/textfinder/forms
@dirrm share/examples/qt4/examples/uitools/textfinder
@dirrm share/examples/qt4/examples/uitools/multipleinheritance
@dirrm share/examples/qt4/examples/uitools
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t9
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t8
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t7
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t6
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t5
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t4
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t3
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t2
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t14
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t13
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t12
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t11
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t10
-@dirrm share/examples/qt4/examples/tutorials/tutorial/t1
-@dirrm share/examples/qt4/examples/tutorials/tutorial
@dirrm share/examples/qt4/examples/tutorials/addressbook/part7
@dirrm share/examples/qt4/examples/tutorials/addressbook/part6
@dirrm share/examples/qt4/examples/tutorials/addressbook/part5
@@ -2529,8 +2636,6 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/tutorials/addressbook/part1
@dirrm share/examples/qt4/examples/tutorials/addressbook
@dirrm share/examples/qt4/examples/tutorials
-@dirrm share/examples/qt4/examples/tutorial/addressbook
-@dirrm share/examples/qt4/examples/tutorial
@dirrm share/examples/qt4/examples/tools/undoframework/images
@dirrm share/examples/qt4/examples/tools/undoframework
@dirrm share/examples/qt4/examples/tools/treemodelcompleter/resources
@@ -2564,6 +2669,7 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/threads/mandelbrot
@dirrm share/examples/qt4/examples/threads
@dirrm share/examples/qt4/examples/sql/tablemodel
+@dirrm share/examples/qt4/examples/sql/sqlwidgetmapper
@dirrm share/examples/qt4/examples/sql/relationaltablemodel
@dirrm share/examples/qt4/examples/sql/querymodel
@dirrm share/examples/qt4/examples/sql/masterdetail/images
@@ -2572,7 +2678,7 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/sql/drilldown
@dirrm share/examples/qt4/examples/sql/cachedtable
@dirrm share/examples/qt4/examples/sql
-@dirrm share/examples/qt4/examples/script/tetrix
+@dirrm share/examples/qt4/examples/script/qstetrix
@dirrm share/examples/qt4/examples/script/qscript
@dirrm share/examples/qt4/examples/script/marshal
@dirrm share/examples/qt4/examples/script/helloscript
@@ -2582,10 +2688,12 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/script/context2d
@dirrm share/examples/qt4/examples/script/calculator
@dirrm share/examples/qt4/examples/script
+@dirrm share/examples/qt4/examples/richtext/textobject
@dirrm share/examples/qt4/examples/richtext/syntaxhighlighter
@dirrm share/examples/qt4/examples/richtext/orderform
@dirrm share/examples/qt4/examples/richtext/calendar
@dirrm share/examples/qt4/examples/richtext
+@dirrm share/examples/qt4/examples/qtestlib/tutorial5
@dirrm share/examples/qt4/examples/qtestlib/tutorial4
@dirrm share/examples/qt4/examples/qtestlib/tutorial3
@dirrm share/examples/qt4/examples/qtestlib/tutorial2
@@ -2603,6 +2711,7 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/painting/transformations
@dirrm share/examples/qt4/examples/painting/svgviewer/files
@dirrm share/examples/qt4/examples/painting/svgviewer
+@dirrm share/examples/qt4/examples/painting/svggenerator
@dirrm share/examples/qt4/examples/painting/painterpaths
@dirrm share/examples/qt4/examples/painting/imagecomposition/images
@dirrm share/examples/qt4/examples/painting/imagecomposition
@@ -2625,19 +2734,19 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/opengl
@dirrm share/examples/qt4/examples/network/torrent/icons
@dirrm share/examples/qt4/examples/network/torrent/forms
-@dirrm share/examples/qt4/examples/network/torrent/3rdparty
@dirrm share/examples/qt4/examples/network/torrent
@dirrm share/examples/qt4/examples/network/threadedfortuneserver
@dirrm share/examples/qt4/examples/network/securesocketclient
+@dirrm share/examples/qt4/examples/network/network-chat
@dirrm share/examples/qt4/examples/network/loopback
@dirrm share/examples/qt4/examples/network/http
+@dirrm share/examples/qt4/examples/network/googlesuggest
@dirrm share/examples/qt4/examples/network/ftp/images
@dirrm share/examples/qt4/examples/network/ftp
@dirrm share/examples/qt4/examples/network/fortuneserver
@dirrm share/examples/qt4/examples/network/fortuneclient
@dirrm share/examples/qt4/examples/network/downloadmanager
@dirrm share/examples/qt4/examples/network/download
-@dirrm share/examples/qt4/examples/network/chat
@dirrm share/examples/qt4/examples/network/broadcastsender
@dirrm share/examples/qt4/examples/network/broadcastreceiver
@dirrm share/examples/qt4/examples/network/blockingfortuneclient
@@ -2670,9 +2779,12 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/itemviews/puzzle
@dirrm share/examples/qt4/examples/itemviews/pixelator/images
@dirrm share/examples/qt4/examples/itemviews/pixelator
+@dirrm share/examples/qt4/examples/itemviews/fetchmore
@dirrm share/examples/qt4/examples/itemviews/editabletreemodel
@dirrm share/examples/qt4/examples/itemviews/dirview
+@dirrm share/examples/qt4/examples/itemviews/delayedencoding
@dirrm share/examples/qt4/examples/itemviews/customsortfiltermodel
+@dirrm share/examples/qt4/examples/itemviews/combowidgetmapper
@dirrm share/examples/qt4/examples/itemviews/coloreditorfactory
@dirrm share/examples/qt4/examples/itemviews/chart
@dirrm share/examples/qt4/examples/itemviews/basicsortfiltermodel
@@ -2711,6 +2823,7 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/graphicsview/diagramscene
@dirrm share/examples/qt4/examples/graphicsview/collidingmice/images
@dirrm share/examples/qt4/examples/graphicsview/collidingmice
+@dirrm share/examples/qt4/examples/graphicsview/basicgraphicslayouts
@dirrm share/examples/qt4/examples/graphicsview
@dirrm share/examples/qt4/examples/draganddrop/puzzle
@dirrm share/examples/qt4/examples/draganddrop/fridgemagnets
@@ -2718,6 +2831,7 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/examples/draganddrop/draggabletext
@dirrm share/examples/qt4/examples/draganddrop/draggableicons/images
@dirrm share/examples/qt4/examples/draganddrop/draggableicons
+@dirrm share/examples/qt4/examples/draganddrop/delayedencoding
@dirrm share/examples/qt4/examples/draganddrop
@dirrm share/examples/qt4/examples/dialogs/trivialwizard
@dirrm share/examples/qt4/examples/dialogs/tabdialog
@@ -2782,7 +2896,10 @@ share/examples/qt4/examples/xml/xmlstreamlint/xmlstreamlint.pro
@dirrm share/examples/qt4/demos/composition
@dirrm share/examples/qt4/demos/chip
@dirrm share/examples/qt4/demos/browser/htmls
+@dirrm share/examples/qt4/demos/browser/data
@dirrm share/examples/qt4/demos/browser
+@dirrm share/examples/qt4/demos/boxes/3rdparty
+@dirrm share/examples/qt4/demos/boxes
@dirrm share/examples/qt4/demos/books/images
@dirrm share/examples/qt4/demos/books
@dirrm share/examples/qt4/demos/arthurplugin
diff --git a/multimedia/qt4-phonon-gst/distinfo b/multimedia/qt4-phonon-gst/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/multimedia/qt4-phonon-gst/distinfo
+++ b/multimedia/qt4-phonon-gst/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/multimedia/qt4-phonon-gst/pkg-plist b/multimedia/qt4-phonon-gst/pkg-plist
index 2f07df745675..d96b9a932b09 100644
--- a/multimedia/qt4-phonon-gst/pkg-plist
+++ b/multimedia/qt4-phonon-gst/pkg-plist
@@ -1,2 +1,3 @@
lib/qt4/plugins/phonon_backend/libphonon_gstreamer.so
+%%DEBUG%%lib/qt4/plugins/phonon_backend/libphonon_gstreamer.so.debug
@dirrmtry lib/qt4/plugins/phonon_backend
diff --git a/multimedia/qt4-phonon/Makefile b/multimedia/qt4-phonon/Makefile
index 9db8753a9fd6..1687fbd1817e 100644
--- a/multimedia/qt4-phonon/Makefile
+++ b/multimedia/qt4-phonon/Makefile
@@ -42,8 +42,8 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf -
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
.endfor
-WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME}
-CONFIGURE_WRKSRC=${WRKSRC}/../../
+BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
.include <bsd.port.pre.mk>
@@ -53,20 +53,21 @@ IGNORE= conflicts with KDE4 phonon. Please, deinstall multimedia/phonon
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
- ${MKDIR} ${WRKSRC}/../../mkspecs
- ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
- ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
+ ${MKDIR} ${WRKSRC}/mkspecs
+ ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
+ ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
-post-configure:
+pre-install:
${REINPLACE_CMD} \
-e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
- -e 's|.*$$(QMAKE).*||g' \
- ${WRKSRC}/Makefile
+ ${BUILD_WRKSRC}/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
- ${WRKSRC}/../../lib/pkgconfig/phonon.pc
+ ${WRKSRC}/lib/pkgconfig/phonon.pc
post-install:
- ${MKDIR} ${PREFIX}/lib/qt4/plugins/phonon_backend
+ ${MKDIR} ${QT_PLUGINDIR}/phonon_backend
+ ${LN} -sf ${LOCALBASE}/include/qt4/phonon ${LOCALBASE}/include/qt4/Phonon
+ ${LN} -sf ${LOCALBASE}/include/qt4/Phonon/phononnamespace.h ${LOCALBASE}/include/qt4/Phonon/Global
.include <bsd.port.post.mk>
diff --git a/multimedia/qt4-phonon/distinfo b/multimedia/qt4-phonon/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/multimedia/qt4-phonon/distinfo
+++ b/multimedia/qt4-phonon/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/multimedia/qt4-phonon/pkg-plist b/multimedia/qt4-phonon/pkg-plist
index 924ecf38c08f..6f138fe7c417 100644
--- a/multimedia/qt4-phonon/pkg-plist
+++ b/multimedia/qt4-phonon/pkg-plist
@@ -31,6 +31,50 @@ include/qt4/Qt/videowidgetinterface.h
include/qt4/Qt/volumefadereffect.h
include/qt4/Qt/volumefaderinterface.h
include/qt4/Qt/volumeslider.h
+include/qt4/phonon/AbstractAudioOutput
+include/qt4/phonon/AbstractMediaStream
+include/qt4/phonon/AbstractVideoOutput
+include/qt4/phonon/AddonInterface
+include/qt4/phonon/AudioCaptureDevice
+include/qt4/phonon/AudioCaptureDeviceModel
+include/qt4/phonon/AudioChannelDescription
+include/qt4/phonon/AudioChannelDescriptionModel
+include/qt4/phonon/AudioOutput
+include/qt4/phonon/AudioOutputDevice
+include/qt4/phonon/AudioOutputDeviceModel
+include/qt4/phonon/AudioOutputInterface
+include/qt4/phonon/AudioOutputInterface40
+include/qt4/phonon/AudioOutputInterface42
+include/qt4/phonon/BackendCapabilities
+include/qt4/phonon/BackendInterface
+include/qt4/phonon/Effect
+include/qt4/phonon/EffectDescription
+include/qt4/phonon/EffectDescriptionModel
+include/qt4/phonon/EffectInterface
+include/qt4/phonon/EffectParameter
+include/qt4/phonon/EffectWidget
+include/qt4/phonon/Global
+include/qt4/phonon/MediaController
+include/qt4/phonon/MediaNode
+include/qt4/phonon/MediaObject
+include/qt4/phonon/MediaObjectInterface
+include/qt4/phonon/MediaSource
+include/qt4/phonon/ObjectDescription
+include/qt4/phonon/ObjectDescriptionData
+include/qt4/phonon/ObjectDescriptionModel
+include/qt4/phonon/ObjectDescriptionModelData
+include/qt4/phonon/Path
+include/qt4/phonon/PlatformPlugin
+include/qt4/phonon/SeekSlider
+include/qt4/phonon/StreamInterface
+include/qt4/phonon/SubtitleDescription
+include/qt4/phonon/SubtitleDescriptionModel
+include/qt4/phonon/VideoPlayer
+include/qt4/phonon/VideoWidget
+include/qt4/phonon/VideoWidgetInterface
+include/qt4/phonon/VolumeFaderEffect
+include/qt4/phonon/VolumeFaderInterface
+include/qt4/phonon/VolumeSlider
include/qt4/phonon/abstractaudiooutput.h
include/qt4/phonon/abstractmediastream.h
include/qt4/phonon/abstractvideooutput.h
@@ -64,15 +108,16 @@ include/qt4/phonon/videowidgetinterface.h
include/qt4/phonon/volumefadereffect.h
include/qt4/phonon/volumefaderinterface.h
include/qt4/phonon/volumeslider.h
+include/qt4/Phonon
lib/qt4/libphonon.la
lib/qt4/libphonon.prl
lib/qt4/libphonon.so
lib/qt4/libphonon.so.4
-lib/qt4/libphonon.so.4.1
-lib/qt4/libphonon.so.4.1.3
-%%DEBUG%%lib/qt4/libphonon.so.4.1.3.debug
+lib/qt4/libphonon.so.4.3
+lib/qt4/libphonon.so.4.3.1
+%%DEBUG%%lib/qt4/libphonon.so.4.3.1.debug
libdata/pkgconfig/phonon.pc
@dirrm include/qt4/phonon
@dirrmtry include/qt4/Qt
@dirrmtry include/qt4
-@dirrmtry lib/qt4/plugins/phonon_backend
+@dirrmtry %%QT_PLUGINDIR_REL%%/phonon_backend
diff --git a/net/qt4-network/Makefile b/net/qt4-network/Makefile
index 3787d59404ab..cc441c55c574 100644
--- a/net/qt4-network/Makefile
+++ b/net/qt4-network/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/net/qt4-network/distinfo b/net/qt4-network/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/net/qt4-network/distinfo
+++ b/net/qt4-network/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/net/qt4-network/pkg-plist b/net/qt4-network/pkg-plist
index 50cdbadc8bb2..322d9b827b46 100644
--- a/net/qt4-network/pkg-plist
+++ b/net/qt4-network/pkg-plist
@@ -1,5 +1,6 @@
include/qt4/Qt/QtNetwork
include/qt4/Qt/qabstractsocket.h
+include/qt4/Qt/qabstractnetworkcache.h
include/qt4/Qt/qauthenticator.h
include/qt4/Qt/qftp.h
include/qt4/Qt/qhostaddress.h
@@ -9,6 +10,7 @@ include/qt4/Qt/qlocalserver.h
include/qt4/Qt/qlocalsocket.h
include/qt4/Qt/qnetworkaccessmanager.h
include/qt4/Qt/qnetworkcookie.h
+include/qt4/Qt/qnetworkdiskcache.h
include/qt4/Qt/qnetworkinterface.h
include/qt4/Qt/qnetworkproxy.h
include/qt4/Qt/qnetworkreply.h
@@ -25,6 +27,7 @@ include/qt4/Qt/qtcpsocket.h
include/qt4/Qt/qudpsocket.h
include/qt4/Qt/qurlinfo.h
include/qt4/QtNetwork/QAbstractSocket
+include/qt4/QtNetwork/QAbstractNetworkCache
include/qt4/QtNetwork/QAuthenticator
include/qt4/QtNetwork/QFtp
include/qt4/QtNetwork/QHostAddress
@@ -43,6 +46,10 @@ include/qt4/QtNetwork/QNetworkCookieJar
include/qt4/QtNetwork/QNetworkInterface
include/qt4/QtNetwork/QNetworkProxy
include/qt4/QtNetwork/QNetworkReply
+include/qt4/QtNetwork/QNetworkDiskCache
+include/qt4/QtNetwork/QNetworkProxyQuery
+include/qt4/QtNetwork/QNetworkProxyFactory
+include/qt4/QtNetwork/QNetworkCacheMetaData
include/qt4/QtNetwork/QNetworkRequest
include/qt4/QtNetwork/QSsl
include/qt4/QtNetwork/QSslCertificate
@@ -58,6 +65,7 @@ include/qt4/QtNetwork/QUrlInfo
include/qt4/QtNetwork/Q_IPV6ADDR
include/qt4/QtNetwork/QtNetwork
include/qt4/QtNetwork/qabstractsocket.h
+include/qt4/QtNetwork/qabstractnetworkcache.h
include/qt4/QtNetwork/qauthenticator.h
include/qt4/QtNetwork/qftp.h
include/qt4/QtNetwork/qhostaddress.h
@@ -67,6 +75,7 @@ include/qt4/QtNetwork/qlocalserver.h
include/qt4/QtNetwork/qlocalsocket.h
include/qt4/QtNetwork/qnetworkaccessmanager.h
include/qt4/QtNetwork/qnetworkcookie.h
+include/qt4/QtNetwork/qnetworkdiskcache.h
include/qt4/QtNetwork/qnetworkinterface.h
include/qt4/QtNetwork/qnetworkproxy.h
include/qt4/QtNetwork/qnetworkreply.h
@@ -85,10 +94,10 @@ include/qt4/QtNetwork/qurlinfo.h
lib/qt4/libQtNetwork.la
lib/qt4/libQtNetwork.prl
lib/qt4/libQtNetwork.so
-%%DEBUG%%lib/qt4/libQtNetwork.so.4.4.3.debug
+%%DEBUG%%lib/qt4/libQtNetwork.so.4.5.2.debug
lib/qt4/libQtNetwork.so.4
-lib/qt4/libQtNetwork.so.4.4
-lib/qt4/libQtNetwork.so.4.4.3
+lib/qt4/libQtNetwork.so.4.5
+lib/qt4/libQtNetwork.so.4.5.2
libdata/pkgconfig/QtNetwork.pc
@dirrm include/qt4/QtNetwork
@dirrmtry include/qt4/Qt
diff --git a/textproc/qt4-clucene/Makefile b/textproc/qt4-clucene/Makefile
index 6220560e9fbe..3d737748efe5 100644
--- a/textproc/qt4-clucene/Makefile
+++ b/textproc/qt4-clucene/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/textproc/qt4-clucene/distinfo b/textproc/qt4-clucene/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/textproc/qt4-clucene/distinfo
+++ b/textproc/qt4-clucene/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/textproc/qt4-clucene/pkg-plist b/textproc/qt4-clucene/pkg-plist
index d1e60e980484..faf7503b684e 100644
--- a/textproc/qt4-clucene/pkg-plist
+++ b/textproc/qt4-clucene/pkg-plist
@@ -2,7 +2,7 @@ lib/qt4/libQtCLucene.la
lib/qt4/libQtCLucene.prl
lib/qt4/libQtCLucene.so
lib/qt4/libQtCLucene.so.4
-lib/qt4/libQtCLucene.so.4.4
-lib/qt4/libQtCLucene.so.4.4.3
-%%DEBUG%%lib/qt4/libQtCLucene.so.4.4.3.debug
+lib/qt4/libQtCLucene.so.4.5
+lib/qt4/libQtCLucene.so.4.5.2
+%%DEBUG%%lib/qt4/libQtCLucene.so.4.5.2.debug
libdata/pkgconfig/QtCLucene.pc
diff --git a/textproc/qt4-xml/Makefile b/textproc/qt4-xml/Makefile
index 9646ca040cf6..6fee98944537 100644
--- a/textproc/qt4-xml/Makefile
+++ b/textproc/qt4-xml/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/textproc/qt4-xml/distinfo b/textproc/qt4-xml/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/textproc/qt4-xml/distinfo
+++ b/textproc/qt4-xml/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/textproc/qt4-xml/pkg-plist b/textproc/qt4-xml/pkg-plist
index 20140f6e59c2..98a4c52cc9a0 100644
--- a/textproc/qt4-xml/pkg-plist
+++ b/textproc/qt4-xml/pkg-plist
@@ -52,9 +52,9 @@ lib/qt4/libQtXml.la
lib/qt4/libQtXml.prl
lib/qt4/libQtXml.so
lib/qt4/libQtXml.so.4
-lib/qt4/libQtXml.so.4.4
-lib/qt4/libQtXml.so.4.4.3
-%%DEBUG%%lib/qt4/libQtXml.so.4.4.3.debug
+lib/qt4/libQtXml.so.4.5
+lib/qt4/libQtXml.so.4.5.2
+%%DEBUG%%lib/qt4/libQtXml.so.4.5.2.debug
libdata/pkgconfig/QtXml.pc
@dirrm include/qt4/QtXml
@dirrmtry include/qt4/Qt
diff --git a/textproc/qt4-xmlpatterns-tool/Makefile b/textproc/qt4-xmlpatterns-tool/Makefile
index 3a5a6c44a784..86c2e7a1e6d2 100644
--- a/textproc/qt4-xmlpatterns-tool/Makefile
+++ b/textproc/qt4-xmlpatterns-tool/Makefile
@@ -20,6 +20,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build xmlpatterns
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/textproc/qt4-xmlpatterns-tool/distinfo b/textproc/qt4-xmlpatterns-tool/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/textproc/qt4-xmlpatterns-tool/distinfo
+++ b/textproc/qt4-xmlpatterns-tool/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/textproc/qt4-xmlpatterns/Makefile b/textproc/qt4-xmlpatterns/Makefile
index cc82304fffc3..9488453ab537 100644
--- a/textproc/qt4-xmlpatterns/Makefile
+++ b/textproc/qt4-xmlpatterns/Makefile
@@ -20,6 +20,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib network
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAVE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
diff --git a/textproc/qt4-xmlpatterns/distinfo b/textproc/qt4-xmlpatterns/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/textproc/qt4-xmlpatterns/distinfo
+++ b/textproc/qt4-xmlpatterns/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/textproc/qt4-xmlpatterns/pkg-plist b/textproc/qt4-xmlpatterns/pkg-plist
index 709add5b3a4a..e20ff2899eda 100644
--- a/textproc/qt4-xmlpatterns/pkg-plist
+++ b/textproc/qt4-xmlpatterns/pkg-plist
@@ -42,9 +42,9 @@ lib/qt4/libQtXmlPatterns.la
lib/qt4/libQtXmlPatterns.prl
lib/qt4/libQtXmlPatterns.so
lib/qt4/libQtXmlPatterns.so.4
-lib/qt4/libQtXmlPatterns.so.4.4
-lib/qt4/libQtXmlPatterns.so.4.4.3
-%%DEBUG%%lib/qt4/libQtXmlPatterns.so.4.4.3.debug
+lib/qt4/libQtXmlPatterns.so.4.5
+lib/qt4/libQtXmlPatterns.so.4.5.2
+%%DEBUG%%lib/qt4/libQtXmlPatterns.so.4.5.2.debug
libdata/pkgconfig/QtXmlPatterns.pc
@dirrm include/qt4/QtXmlPatterns
@dirrmtry include/qt4/Qt
diff --git a/www/qt4-webkit/Makefile b/www/qt4-webkit/Makefile
index 1e8ac98dcb48..830d67c6e34e 100644
--- a/www/qt4-webkit/Makefile
+++ b/www/qt4-webkit/Makefile
@@ -17,9 +17,11 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Qt4 webkit engine
USE_QT_VER= 4
-QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui network xml
+QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui network xml \
+ dbus phonon phonon-gst
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
@@ -30,10 +32,9 @@ MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
- src/dbus src/opengl src/phonon \
- src/qt3support src/script src/sql src/svg src/testlib \
- src/tools src/xmlpatterns src/3rdparty/clucene \
- src/3rdparty/kdebase src/3rdparty/kdelibs
+ src/opengl \
+ src/qt3support src/sql src/svg src/testlib \
+ src/tools src/xmlpatterns src/3rdparty/clucene
EXTRACT_AFTER_ARGS= | ${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
@@ -42,6 +43,8 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
WRKSRC= ${WRKDIR}/${DISTNAME}/src/3rdparty/${PORTNAME}/WebCore
CONFIGURE_WRKSRC=${WRKSRC}/../../../../
+CONFIGURE_ARGS+= -I../../../../include/Qt -I../../../../include
+
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/../../../../mkspecs
diff --git a/www/qt4-webkit/distinfo b/www/qt4-webkit/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/www/qt4-webkit/distinfo
+++ b/www/qt4-webkit/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/www/qt4-webkit/files/patch-JavaScriptCore-wtf-Threading.h b/www/qt4-webkit/files/patch-JavaScriptCore-wtf-Threading.h
new file mode 100644
index 000000000000..53e2c5f1ec03
--- /dev/null
+++ b/www/qt4-webkit/files/patch-JavaScriptCore-wtf-Threading.h
@@ -0,0 +1,31 @@
+--- ../JavaScriptCore/wtf/Threading.h.orig 2009-05-07 07:06:48.000000000 +0000
++++ ../JavaScriptCore/wtf/Threading.h 2009-05-07 08:00:22.000000000 +0000
+@@ -196,8 +196,8 @@
+ #elif COMPILER(GCC)
+ #define WTF_USE_LOCKFREE_THREADSAFESHARED 1
+
+-inline void atomicIncrement(int volatile* addend) { __gnu_cxx::__atomic_add(addend, 1); }
+-inline int atomicDecrement(int volatile* addend) { return __gnu_cxx::__exchange_and_add(addend, -1) - 1; }
++inline void atomicIncrement(_Atomic_word volatile* addend) { __gnu_cxx::__atomic_add(addend, 1); }
++inline int atomicDecrement(_Atomic_word volatile* addend) { return __gnu_cxx::__exchange_and_add(addend, -1) - 1; }
+
+ #endif
+
+@@ -211,7 +211,7 @@
+ void ref()
+ {
+ #if USE(LOCKFREE_THREADSAFESHARED)
+- atomicIncrement(&m_refCount);
++ atomicIncrement((_Atomic_word *)&m_refCount);
+ #else
+ MutexLocker locker(m_mutex);
+ ++m_refCount;
+@@ -221,7 +221,7 @@
+ void deref()
+ {
+ #if USE(LOCKFREE_THREADSAFESHARED)
+- if (atomicDecrement(&m_refCount) <= 0)
++ if (atomicDecrement((_Atomic_word *)&m_refCount) <= 0)
+ #else
+ {
+ MutexLocker locker(m_mutex); \ No newline at end of file
diff --git a/www/qt4-webkit/pkg-plist b/www/qt4-webkit/pkg-plist
index f0d6fdcd90e7..f0e7548003bf 100644
--- a/www/qt4-webkit/pkg-plist
+++ b/www/qt4-webkit/pkg-plist
@@ -1,4 +1,6 @@
include/qt4/Qt/qwebframe.h
+include/qt4/Qt/qwebdatabase.h
+include/qt4/Qt/qwebsecurityorigin.h
include/qt4/Qt/qwebhistory.h
include/qt4/Qt/qwebhistoryinterface.h
include/qt4/Qt/qwebkitglobal.h
@@ -15,9 +17,13 @@ include/qt4/QtWebKit/QWebHitTestResult
include/qt4/QtWebKit/QWebPage
include/qt4/QtWebKit/QWebPluginFactory
include/qt4/QtWebKit/QWebSettings
+include/qt4/QtWebKit/QWebDatabase
include/qt4/QtWebKit/QWebView
include/qt4/QtWebKit/QtWebKit
+include/qt4/QtWebKit/QWebSecurityOrigin
include/qt4/QtWebKit/qwebframe.h
+include/qt4/QtWebKit/qwebdatabase.h
+include/qt4/QtWebKit/qwebsecurityorigin.h
include/qt4/QtWebKit/qwebhistory.h
include/qt4/QtWebKit/qwebhistoryinterface.h
include/qt4/QtWebKit/qwebkitglobal.h
@@ -29,9 +35,9 @@ lib/qt4/libQtWebKit.la
lib/qt4/libQtWebKit.prl
lib/qt4/libQtWebKit.so
lib/qt4/libQtWebKit.so.4
-lib/qt4/libQtWebKit.so.4.4
-lib/qt4/libQtWebKit.so.4.4.3
-%%DEBUG%%lib/qt4/libQtWebKit.so.4.4.3.debug
+lib/qt4/libQtWebKit.so.4.5
+lib/qt4/libQtWebKit.so.4.5.2
+@comment %%DEBUG%%lib/qt4/libQtWebKit.so.4.5.2.debug
libdata/pkgconfig/QtWebKit.pc
@dirrm include/qt4/QtWebKit
@dirrmtry include/qt4/Qt
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile
index beafdffe3425..c459f931cd30 100644
--- a/x11-toolkits/qt4-gui/Makefile
+++ b/x11-toolkits/qt4-gui/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gui
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 2
+PORTREVISION= 0
CATEGORIES?= x11-toolkits
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -21,6 +21,8 @@ COMMENT= Qt graphical user interface library
LIB_DEPENDS?= png:${PORTSDIR}/graphics/png \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
+MAKE_JOBS_SAFE= yes
+
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build corelib
QT_NONSTANDARD= yes
@@ -32,7 +34,7 @@ USE_XORG= xrender xrandr xinerama inputproto xfixes \
sm xcursor xext x11 ice xi xt
ALL_TARGET= first
-CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
+CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
@@ -50,22 +52,26 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../
PATCH_WRKSRC=${CONFIGURE_WRKSRC}
-OPTIONS= CUPS "Enable printing support (requires CUPS)" off \
- NAS "Enable sound support (requires NAS)" off
+CONFIGURE_ARGS+= -I../../include/Qt -I../../include
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../devel/qt4/files/Makefile.options"
-.if !defined(WITHOUT_CUPS) || defined(PACKAGE_BUILDING)
+.if ${QT4_OPTIONS:MCUPS}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcups.a:${PORTSDIR}/print/cups-client
-CUPS= -cups -L${LOCALBASE}/lib -I. -I../../include/Qt -I../../include -I${LOCALBASE}/include
-.elif defined(WITHOUT_CUPS)
-CUPS=
+CONFIGURE_ARGS+=-cups -L${LOCALBASE}/lib -I. -I${LOCALBASE}/include
+.endif
+
+.if ${QT4_OPTIONS:MQGTKSTYLE}
+USE_GNOME= gtk20
+CONFIGURE_ARGS+=-gtkstyle
+.else
+CONFIGURE_ARGS+=-no-gtkstyle
.endif
-.if !defined(WITHOUT_NAS)
+.if ${QT4_OPTIONS:MNAS}
LIB_DEPENDS+= audio:${PORTSDIR}/audio/nas
CONFIGURE_ARGS+=-system-nas-sound
-.elif defined(WITHOUT_NAS)
+.else
CONFIGURE_ARGS+=-no-nas-sound
.endif
@@ -85,4 +91,4 @@ post-configure:
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
${WRKSRC}/../../lib/pkgconfig/QtGui.pc
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/qt4-gui/distinfo b/x11-toolkits/qt4-gui/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/x11-toolkits/qt4-gui/distinfo
+++ b/x11-toolkits/qt4-gui/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/x11-toolkits/qt4-gui/files/patch-0256-fix-recursive-backingstore-sync-crash b/x11-toolkits/qt4-gui/files/patch-0256-fix-recursive-backingstore-sync-crash
deleted file mode 100644
index 409ae8f99850..000000000000
--- a/x11-toolkits/qt4-gui/files/patch-0256-fix-recursive-backingstore-sync-crash
+++ /dev/null
@@ -1,40 +0,0 @@
-qt-bugs@ issue : N227209
-Trolltech task ID : none yet
-bugs.kde.org number : 174065
-applied: yes
-author: Szymon Tomasz Stefanek <s.stefanek@gmail.com>
-
-This patch fixes a crash deep inside the qt painting engine.
-
-The toplevel shared painter is instantiated by the topmost window
-which "owns" the backingstore buffer. The topmost window then recursively
-asks the children to paint themselves with the shared painter.
-With certain widget hierarchies it turns out that the topmost window
-may be asked to paint itself deep inside the recursive painting stack:
-a sort of "hierarchy-looping recursion".
-The window will do the job and then happily destroy the shared
-painter leaving the outer stack frames with a dangling pointer.
-
-This patch stops the "looping recursion" when it's triggered
-with a shared painter already active. The bug doesn't seem to
-be present in qt 4.5 snapshots, but in the meantime we need this fix.
-
-
-Index: src/gui/painting/qbackingstore.cpp
-===================================================================
---- src/gui/painting/qbackingstore.cpp (revision 879741)
-+++ src/gui/painting/qbackingstore.cpp (working copy)
-@@ -987,8 +987,12 @@
- return;
- }
-
-- if (tlw->updatesEnabled()) {
-+ // With certain widget hierarchies we may end up being called recursively
-+ // on the same toplevel. This is likely to explode once the painter is released
-+ // in the code below (since there is no reference counting). Avoid it.
-+ bool alreadyPainting = tlwExtra->sharedPainter && tlwExtra->sharedPainter->isActive();
-
-+ if (tlw->updatesEnabled() && !alreadyPainting) {
- // hw: XXX the toClean region is not correct if !dirtyWidgets.isEmpty()
-
- // Pre render config
diff --git a/x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp b/x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp
deleted file mode 100644
index d115e1406e3f..000000000000
--- a/x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/gui/graphicsview/qgraphicsproxywidget.cpp
-+++ src/gui/graphicsview/qgraphicsproxywidget.cpp
-@@ -521,9 +521,8 @@
- {
- Q_D(QGraphicsProxyWidget);
- if (d->widget) {
-- QWidget *w = d->widget;
-- setWidget(0);
-- delete w;
-+ QObject::disconnect(d->widget, SIGNAL(destroyed()), this, SLOT(_q_removeWidgetSlot()));
-+ delete d->widget;
- }
- }
-
-
diff --git a/x11-toolkits/qt4-gui/pkg-plist b/x11-toolkits/qt4-gui/pkg-plist
index 8eb8005adb8d..d74d4279062f 100644
--- a/x11-toolkits/qt4-gui/pkg-plist
+++ b/x11-toolkits/qt4-gui/pkg-plist
@@ -74,6 +74,7 @@ include/qt4/Qt/qgraphicsview.h
include/qt4/Qt/qgraphicswidget.h
include/qt4/Qt/qgridlayout.h
include/qt4/Qt/qgroupbox.h
+include/qt4/Qt/qgtkstyle.h
include/qt4/Qt/qheaderview.h
include/qt4/Qt/qicon.h
include/qt4/Qt/qiconengine.h
@@ -169,6 +170,7 @@ include/qt4/Qt/qtextbrowser.h
include/qt4/Qt/qtextcursor.h
include/qt4/Qt/qtextdocument.h
include/qt4/Qt/qtextdocumentfragment.h
+include/qt4/Qt/qtextdocumentwriter.h
include/qt4/Qt/qtextedit.h
include/qt4/Qt/qtextformat.h
include/qt4/Qt/qtextlayout.h
@@ -330,6 +332,7 @@ include/qt4/QtGui/QGraphicsView
include/qt4/QtGui/QGraphicsWidget
include/qt4/QtGui/QGridLayout
include/qt4/QtGui/QGroupBox
+include/qt4/QtGui/QGtkStyle
include/qt4/QtGui/QHBoxLayout
include/qt4/QtGui/QHeaderView
include/qt4/QtGui/QHelpEvent
@@ -472,6 +475,7 @@ include/qt4/QtGui/QStyleOptionDockWidgetV2
include/qt4/QtGui/QStyleOptionFocusRect
include/qt4/QtGui/QStyleOptionFrame
include/qt4/QtGui/QStyleOptionFrameV2
+include/qt4/QtGui/QStyleOptionFrameV3
include/qt4/QtGui/QStyleOptionGraphicsItem
include/qt4/QtGui/QStyleOptionGroupBox
include/qt4/QtGui/QStyleOptionHeader
@@ -487,7 +491,9 @@ include/qt4/QtGui/QStyleOptionSlider
include/qt4/QtGui/QStyleOptionSpinBox
include/qt4/QtGui/QStyleOptionTab
include/qt4/QtGui/QStyleOptionTabBarBase
+include/qt4/QtGui/QStyleOptionTabBarBaseV2
include/qt4/QtGui/QStyleOptionTabV2
+include/qt4/QtGui/QStyleOptionTabV3
include/qt4/QtGui/QStyleOptionTabWidgetFrame
include/qt4/QtGui/QStyleOptionTitleBar
include/qt4/QtGui/QStyleOptionToolBar
@@ -519,6 +525,7 @@ include/qt4/QtGui/QTextCharFormat
include/qt4/QtGui/QTextCursor
include/qt4/QtGui/QTextDocument
include/qt4/QtGui/QTextDocumentFragment
+include/qt4/QtGui/QTextDocumentWriter
include/qt4/QtGui/QTextEdit
include/qt4/QtGui/QTextFormat
include/qt4/QtGui/QTextFragment
@@ -661,6 +668,7 @@ include/qt4/QtGui/qgraphicsview.h
include/qt4/QtGui/qgraphicswidget.h
include/qt4/QtGui/qgridlayout.h
include/qt4/QtGui/qgroupbox.h
+include/qt4/QtGui/qgtkstyle.h
include/qt4/QtGui/qheaderview.h
include/qt4/QtGui/qicon.h
include/qt4/QtGui/qiconengine.h
@@ -756,6 +764,7 @@ include/qt4/QtGui/qtextbrowser.h
include/qt4/QtGui/qtextcursor.h
include/qt4/QtGui/qtextdocument.h
include/qt4/QtGui/qtextdocumentfragment.h
+include/qt4/QtGui/qtextdocumentwriter.h
include/qt4/QtGui/qtextedit.h
include/qt4/QtGui/qtextformat.h
include/qt4/QtGui/qtextlayout.h
@@ -793,9 +802,9 @@ lib/qt4/libQtGui.la
lib/qt4/libQtGui.prl
lib/qt4/libQtGui.so
lib/qt4/libQtGui.so.4
-lib/qt4/libQtGui.so.4.4
-lib/qt4/libQtGui.so.4.4.3
-%%DEBUG%%lib/qt4/libQtGui.so.4.4.3.debug
+lib/qt4/libQtGui.so.4.5
+lib/qt4/libQtGui.so.4.5.2
+%%DEBUG%%lib/qt4/libQtGui.so.4.5.2.debug
libdata/pkgconfig/QtGui.pc
@dirrm include/qt4/QtGui
@dirrmtry include/qt4/Qt
diff --git a/x11/qt4-inputmethods/Makefile b/x11/qt4-inputmethods/Makefile
index bf080ba6cd91..8d1e80aaffbb 100644
--- a/x11/qt4-inputmethods/Makefile
+++ b/x11/qt4-inputmethods/Makefile
@@ -22,6 +22,7 @@ USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build corelib gui
QT_NONSTANDARD= yes
QT_DIST= yes
+MAKE_JOBS_SAFE= yes
HAS_CONFIGURE= yes
diff --git a/x11/qt4-inputmethods/distinfo b/x11/qt4-inputmethods/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/x11/qt4-inputmethods/distinfo
+++ b/x11/qt4-inputmethods/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/x11/qt4-opengl/Makefile b/x11/qt4-opengl/Makefile
index ab1fe269efac..0e5fd03abf36 100644
--- a/x11/qt4-opengl/Makefile
+++ b/x11/qt4-opengl/Makefile
@@ -8,6 +8,7 @@
PORTNAME= opengl
PORTVERSION= ${QT4_VERSION}
+PORTREVISION=0
CATEGORIES?= x11
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -26,6 +27,7 @@ HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/qt4
USE_GL= glu
USE_XORG= x11
+MAKE_JOBS_SAFE= yes
ALL_TARGET= first
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
@@ -45,6 +47,8 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../
+CONFIGURE_ARGS+= -I../../include/Qt -I../../include
+
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/../../mkspecs
diff --git a/x11/qt4-opengl/distinfo b/x11/qt4-opengl/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/x11/qt4-opengl/distinfo
+++ b/x11/qt4-opengl/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/x11/qt4-opengl/pkg-plist b/x11/qt4-opengl/pkg-plist
index 3e75ee660e2f..90b1da42fde6 100644
--- a/x11/qt4-opengl/pkg-plist
+++ b/x11/qt4-opengl/pkg-plist
@@ -3,6 +3,7 @@ include/qt4/Qt/qgl.h
include/qt4/Qt/qglcolormap.h
include/qt4/Qt/qglframebufferobject.h
include/qt4/Qt/qglpixelbuffer.h
+include/qt4/Qt/glgc_shader_source.h
include/qt4/QtOpenGL/QGLColormap
include/qt4/QtOpenGL/QGLContext
include/qt4/QtOpenGL/QGLFormat
@@ -18,13 +19,14 @@ include/qt4/QtOpenGL/qgl.h
include/qt4/QtOpenGL/qglcolormap.h
include/qt4/QtOpenGL/qglframebufferobject.h
include/qt4/QtOpenGL/qglpixelbuffer.h
+include/qt4/QtOpenGL/glgc_shader_source.h
lib/qt4/libQtOpenGL.la
lib/qt4/libQtOpenGL.prl
lib/qt4/libQtOpenGL.so
lib/qt4/libQtOpenGL.so.4
-lib/qt4/libQtOpenGL.so.4.4
-lib/qt4/libQtOpenGL.so.4.4.3
-%%DEBUG%%lib/qt4/libQtOpenGL.so.4.4.3.debug
+lib/qt4/libQtOpenGL.so.4.5
+lib/qt4/libQtOpenGL.so.4.5.2
+%%DEBUG%%lib/qt4/libQtOpenGL.so.4.5.2.debug
libdata/pkgconfig/QtOpenGL.pc
@dirrm include/qt4/QtOpenGL
@dirrmtry include/qt4/Qt