From 0df026de86a885a7b0acb9138edab14db31d63f7 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Sun, 2 Dec 2012 17:24:19 +0100 Subject: [PATCH 001/386] Stop using the name "Trolltech" in QSettings Also change Trolltech for QtProject in other places Task-number: QTBUG-23269 Change-Id: Ie4e344f23cab77c575562d18b481b3369ce30491 Reviewed-by: Thiago Macieira Reviewed-by: Lars Knoll --- mkspecs/devices/linux-imx6-g++/qmake.conf | 2 +- mkspecs/devices/linux-tegra2-g++/qmake.conf | 2 +- qmake/property.cpp | 2 +- src/gui/kernel/qplatformdialoghelper.cpp | 4 ++-- src/network/socket/qlocalserver_tcp.cpp | 6 +++--- src/network/socket/qlocalsocket_tcp.cpp | 2 +- src/widgets/dialogs/qfiledialog.cpp | 4 ++-- tests/auto/corelib/io/qsettings/tst_qsettings.cpp | 8 ++++---- .../tst_qabstractnetworkcache.cpp | 2 +- .../widgets/dialogs/qfiledialog/tst_qfiledialog.cpp | 4 ++-- .../widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp | 4 ++-- tests/benchmarks/corelib/tools/qstring/fromlatin1.cpp | 10 +++++----- tests/manual/lance/widgets.h | 4 ++-- 13 files changed, 27 insertions(+), 27 deletions(-) diff --git a/mkspecs/devices/linux-imx6-g++/qmake.conf b/mkspecs/devices/linux-imx6-g++/qmake.conf index 67e16f2d29..322a19d05b 100644 --- a/mkspecs/devices/linux-imx6-g++/qmake.conf +++ b/mkspecs/devices/linux-imx6-g++/qmake.conf @@ -8,7 +8,7 @@ # /home/tsenyk/qt5/qt5/configure -opensource -confirm-license -make libs -device imx6 \ # -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- \ # -sysroot /rootfs -no-gcc-sysroot \ -# -prefix /usr/local/Trolltech/Qt5-imx6-1 +# -prefix /usr/local/Qt-5.0.0/Qt5-imx6-1 # # NOTE: currently ltib doesn't produce a proper staging/sysroot-filessystem. # If gcc's --sysroot is used, the toolchain doesn't find basic binaries (e.g. crt1.o), diff --git a/mkspecs/devices/linux-tegra2-g++/qmake.conf b/mkspecs/devices/linux-tegra2-g++/qmake.conf index c480def19c..c846801a10 100644 --- a/mkspecs/devices/linux-tegra2-g++/qmake.conf +++ b/mkspecs/devices/linux-tegra2-g++/qmake.conf @@ -4,7 +4,7 @@ # This mkspec is based and tested on the TrimSlice using "Ubuntu Natty (11.04) - l4t.r15.01"-release. # It might work with other boards and releases as well. # A typical configure line looks like this: -# /configure -opensource -confirm-license -make libs -prefix /usr/local/Trolltech/Qt5-tegra2 +# /configure -opensource -confirm-license -make libs -prefix /usr/local/Qt-5.0.0/Qt5-tegra2 # -device tegra2 -device-option CROSS_COMPILE=/bin/arm-none-linux-gnueabi- \ # -sysroot -no-neon diff --git a/qmake/property.cpp b/qmake/property.cpp index d9e861c2e6..bbd4734622 100644 --- a/qmake/property.cpp +++ b/qmake/property.cpp @@ -105,7 +105,7 @@ QMakeProperty::~QMakeProperty() void QMakeProperty::initSettings() { if(!settings) { - settings = new QSettings(QSettings::UserScope, "Trolltech", "QMake"); + settings = new QSettings(QSettings::UserScope, "QtProject", "QMake"); settings->setFallbacksEnabled(false); } } diff --git a/src/gui/kernel/qplatformdialoghelper.cpp b/src/gui/kernel/qplatformdialoghelper.cpp index 79f1bd1b49..0ef08227a4 100644 --- a/src/gui/kernel/qplatformdialoghelper.cpp +++ b/src/gui/kernel/qplatformdialoghelper.cpp @@ -205,7 +205,7 @@ QColorDialogStaticData::QColorDialogStaticData() : customSet(false) void QColorDialogStaticData::readSettings() { #ifndef QT_NO_SETTINGS - const QSettings settings(QSettings::UserScope, QStringLiteral("Trolltech")); + const QSettings settings(QSettings::UserScope, QStringLiteral("QtProject")); for (int i = 0; i < int(CustomColorCount); ++i) { const QVariant v = settings.value(QStringLiteral("Qt/customColors/") + QString::number(i)); if (v.isValid()) @@ -218,7 +218,7 @@ void QColorDialogStaticData::writeSettings() const { #ifndef QT_NO_SETTINGS if (!customSet) { - QSettings settings(QSettings::UserScope, QStringLiteral("Trolltech")); + QSettings settings(QSettings::UserScope, QStringLiteral("QtProject")); for (int i = 0; i < int(CustomColorCount); ++i) settings.setValue(QStringLiteral("Qt/customColors/") + QString::number(i), customRgb[i]); } diff --git a/src/network/socket/qlocalserver_tcp.cpp b/src/network/socket/qlocalserver_tcp.cpp index cb727a9d2c..a705b18dc5 100644 --- a/src/network/socket/qlocalserver_tcp.cpp +++ b/src/network/socket/qlocalserver_tcp.cpp @@ -67,7 +67,7 @@ bool QLocalServerPrivate::listen(const QString &requestedServerName) else fullServerName = prefix + requestedServerName; - QSettings settings(QLatin1String("Trolltech"), QLatin1String("Qt")); + QSettings settings(QLatin1String("QtProject"), QLatin1String("Qt")); if (settings.contains(fullServerName)) { qWarning("QLocalServer::listen: server name is already in use."); tcpServer.close(); @@ -87,7 +87,7 @@ bool QLocalServerPrivate::listen(qintptr socketDescriptor) void QLocalServerPrivate::closeServer() { - QSettings settings(QLatin1String("Trolltech"), QLatin1String("Qt")); + QSettings settings(QLatin1String("QtProject"), QLatin1String("Qt")); if (fullServerName == QLatin1String("QLocalServer")) settings.setValue(fullServerName, QVariant()); else @@ -126,7 +126,7 @@ bool QLocalServerPrivate::removeServer(const QString &name) else serverName = prefix + name; - QSettings settings(QLatin1String("Trolltech"), QLatin1String("Qt")); + QSettings settings(QLatin1String("QtProject"), QLatin1String("Qt")); if (settings.contains(serverName)) settings.remove(serverName); diff --git a/src/network/socket/qlocalsocket_tcp.cpp b/src/network/socket/qlocalsocket_tcp.cpp index 5429d8dc36..913d10f50a 100644 --- a/src/network/socket/qlocalsocket_tcp.cpp +++ b/src/network/socket/qlocalsocket_tcp.cpp @@ -238,7 +238,7 @@ void QLocalSocket::connectToServer(const QString &name, OpenMode openMode) else d->fullServerName = prefix + name; - QSettings settings(QLatin1String("Trolltech"), QLatin1String("Qt")); + QSettings settings(QLatin1String("QtProject"), QLatin1String("Qt")); bool ok; const quint16 port = settings.value(d->fullServerName).toUInt(&ok); if (!ok) { diff --git a/src/widgets/dialogs/qfiledialog.cpp b/src/widgets/dialogs/qfiledialog.cpp index fc8b62d75e..88652271af 100644 --- a/src/widgets/dialogs/qfiledialog.cpp +++ b/src/widgets/dialogs/qfiledialog.cpp @@ -363,7 +363,7 @@ QFileDialog::QFileDialog(const QFileDialogArgs &args) QFileDialog::~QFileDialog() { #ifndef QT_NO_SETTINGS - QSettings settings(QSettings::UserScope, QLatin1String("Trolltech")); + QSettings settings(QSettings::UserScope, QLatin1String("QtProject")); settings.beginGroup(QLatin1String("Qt")); settings.setValue(QLatin1String("filedialog"), saveState()); #endif @@ -2229,7 +2229,7 @@ void QFileDialogPrivate::init(const QString &directory, const QString &nameFilte q->setFileMode(QFileDialog::AnyFile); #ifndef QT_NO_SETTINGS - QSettings settings(QSettings::UserScope, QLatin1String("Trolltech")); + QSettings settings(QSettings::UserScope, QLatin1String("QtProject")); settings.beginGroup(QLatin1String("Qt")); if (!directory.isEmpty()) setLastVisitedDirectory(workingDirectory(directory)); diff --git a/tests/auto/corelib/io/qsettings/tst_qsettings.cpp b/tests/auto/corelib/io/qsettings/tst_qsettings.cpp index b975474c8f..40208f6e6d 100644 --- a/tests/auto/corelib/io/qsettings/tst_qsettings.cpp +++ b/tests/auto/corelib/io/qsettings/tst_qsettings.cpp @@ -650,12 +650,12 @@ void tst_QSettings::testByteArray() // write { - QSettings settings("Trolltech", "tst_qsettings"); + QSettings settings("QtProject", "tst_qsettings"); settings.setValue("byteArray", data); } // read { - QSettings settings("Trolltech", "tst_qsettings"); + QSettings settings("QtProject", "tst_qsettings"); QByteArray ret = settings.value("byteArray", data).toByteArray(); QCOMPARE(ret, data); } @@ -1896,7 +1896,7 @@ void tst_QSettings::testEmptyData() } { - QSettings settings("Trolltech", "tst_qsettings"); + QSettings settings("QtProject", "tst_qsettings"); settings.setValue("nullString", nullString); settings.setValue("emptyString", emptyString); settings.setValue("emptyList", emptyList); @@ -1909,7 +1909,7 @@ void tst_QSettings::testEmptyData() QVERIFY(settings.status() == QSettings::NoError); } { - QSettings settings("Trolltech", "tst_qsettings"); + QSettings settings("QtProject", "tst_qsettings"); QCOMPARE(settings.value("nullString").toString(), nullString); QCOMPARE(settings.value("emptyString").toString(), emptyString); QCOMPARE(settings.value("emptyList").toStringList(), emptyList); diff --git a/tests/auto/network/access/qabstractnetworkcache/tst_qabstractnetworkcache.cpp b/tests/auto/network/access/qabstractnetworkcache/tst_qabstractnetworkcache.cpp index 76c047a076..1b53eabdde 100644 --- a/tests/auto/network/access/qabstractnetworkcache/tst_qabstractnetworkcache.cpp +++ b/tests/auto/network/access/qabstractnetworkcache/tst_qabstractnetworkcache.cpp @@ -121,7 +121,7 @@ public: tst_QAbstractNetworkCache::tst_QAbstractNetworkCache() { - QCoreApplication::setOrganizationName(QLatin1String("Trolltech")); + QCoreApplication::setOrganizationName(QLatin1String("QtProject")); QCoreApplication::setApplicationName(QLatin1String("autotest_qabstractnetworkcache")); QCoreApplication::setApplicationVersion(QLatin1String("1.0")); } diff --git a/tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp b/tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp index 8ce0742854..952f5eaeea 100644 --- a/tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp +++ b/tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp @@ -166,7 +166,7 @@ tst_QFiledialog::~tst_QFiledialog() void tst_QFiledialog::init() { // Save the developers settings so they don't get mad when their sidebar folders are gone. - QSettings settings(QSettings::UserScope, QLatin1String("Trolltech")); + QSettings settings(QSettings::UserScope, QLatin1String("QtProject")); settings.beginGroup(QLatin1String("Qt")); userSettings = settings.value(QLatin1String("filedialog")).toByteArray(); settings.remove(QLatin1String("filedialog")); @@ -180,7 +180,7 @@ void tst_QFiledialog::init() void tst_QFiledialog::cleanup() { - QSettings settings(QSettings::UserScope, QLatin1String("Trolltech")); + QSettings settings(QSettings::UserScope, QLatin1String("QtProject")); settings.beginGroup(QLatin1String("Qt")); settings.setValue(QLatin1String("filedialog"), userSettings); } diff --git a/tests/auto/widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp b/tests/auto/widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp index 6b0888f68a..b0c48a6558 100644 --- a/tests/auto/widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp +++ b/tests/auto/widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp @@ -165,7 +165,7 @@ void tst_QFileDialog2::init() QVERIFY(tempDir.isValid()); // Save the developers settings so they don't get mad when their sidebar folders are gone. - QSettings settings(QSettings::UserScope, QLatin1String("Trolltech")); + QSettings settings(QSettings::UserScope, QLatin1String("QtProject")); settings.beginGroup(QLatin1String("Qt")); userSettings = settings.value(QLatin1String("filedialog")).toByteArray(); settings.remove(QLatin1String("filedialog")); @@ -179,7 +179,7 @@ void tst_QFileDialog2::init() void tst_QFileDialog2::cleanup() { - QSettings settings(QSettings::UserScope, QLatin1String("Trolltech")); + QSettings settings(QSettings::UserScope, QLatin1String("QtProject")); settings.beginGroup(QLatin1String("Qt")); settings.setValue(QLatin1String("filedialog"), userSettings); } diff --git a/tests/benchmarks/corelib/tools/qstring/fromlatin1.cpp b/tests/benchmarks/corelib/tools/qstring/fromlatin1.cpp index 9a44b26505..660eb075b2 100644 --- a/tests/benchmarks/corelib/tools/qstring/fromlatin1.cpp +++ b/tests/benchmarks/corelib/tools/qstring/fromlatin1.cpp @@ -629,7 +629,7 @@ static const char charData[] __attribute__((aligned(64))) = { // #126 "\377\376" - "Trolltech" + "QtProject" "\377\376\375\374\373" // 3328 // #127 @@ -827,7 +827,7 @@ static const char charData[] __attribute__((aligned(64))) = { "\377\376\375\374\373\372\371\370\367\366\365\364\363\362\361\360" // 4544 // #166 - "Trolltech" + "QtProject" "\377\376\375\374\373\372\371" // 4560 // #167 @@ -980,7 +980,7 @@ static const char charData[] __attribute__((aligned(64))) = { "\377\376\375\374\373" // 5488 // #197 - "Trolltech" + "QtProject" "\377\376\375\374\373\372\371" // 5504 // #198 @@ -6955,7 +6955,7 @@ static const char charData[] __attribute__((aligned(64))) = { "\377\376\375" // 58688 // #1425 - "Trolltech" + "QtProject" "\377\376\375\374\373\372\371" // 58704 // #1426 @@ -28453,7 +28453,7 @@ static const char charData[] __attribute__((aligned(64))) = { "\377\376" // 268688 // #5853 - "Trolltech" + "QtProject" "\377\376\375\374\373\372\371" // 268704 // #5854 diff --git a/tests/manual/lance/widgets.h b/tests/manual/lance/widgets.h index e5e21f4b35..a95658d215 100644 --- a/tests/manual/lance/widgets.h +++ b/tests/manual/lance/widgets.h @@ -99,7 +99,7 @@ public: m_filename(file), m_view_mode(RenderView) { - QSettings settings("Trolltech", "lance"); + QSettings settings("QtProject", "lance"); for (int i=0; i<10; ++i) { QPointF suggestion(100 + i * 40, 100 + 100 * qSin(i * 3.1415 / 10.0)); m_controlPoints << settings.value("cp" + QString::number(i), suggestion).toPointF(); @@ -154,7 +154,7 @@ public: ~OnScreenWidget() { - QSettings settings("Trolltech", "lance"); + QSettings settings("QtProject", "lance"); for (int i=0; i<10; ++i) { settings.setValue("cp" + QString::number(i), m_controlPoints.at(i)); } From 72388121aa4b576277a7dfbc7cd18224bfaa6ad4 Mon Sep 17 00:00:00 2001 From: Andreas Holzammer Date: Fri, 30 Nov 2012 15:39:58 +0100 Subject: [PATCH 002/386] WINCE: Fix missing cosf cosf seems to be defined in the cmath header for Windows CE, so include it to fix the issue of not finding the symbol cosf. Change-Id: I7317668838912325d45be0d4087ae3055940d3cd Reviewed-by: Sean Harmer --- src/gui/math3d/qmatrix4x4.cpp | 2 ++ src/gui/math3d/qquaternion.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gui/math3d/qmatrix4x4.cpp b/src/gui/math3d/qmatrix4x4.cpp index 4e35d49118..d8c2116b0d 100644 --- a/src/gui/math3d/qmatrix4x4.cpp +++ b/src/gui/math3d/qmatrix4x4.cpp @@ -45,6 +45,8 @@ #include #include +#include + QT_BEGIN_NAMESPACE #ifndef QT_NO_MATRIX4X4 diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp index 3f39fa43c3..2ccdd315d3 100644 --- a/src/gui/math3d/qquaternion.cpp +++ b/src/gui/math3d/qquaternion.cpp @@ -45,6 +45,8 @@ #include #include +#include + QT_BEGIN_NAMESPACE #ifndef QT_NO_QUATERNION From ad4de55eb4186656bbe1b8c26f3f0d696b8f56b9 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 3 Dec 2012 11:09:42 +0100 Subject: [PATCH 003/386] Doc: Fixed online HTML template -missing a slash Change-Id: I866e7438fe67a7a78eefa57379a8d5cd99537a66 Reviewed-by: Geir Vattekar --- doc/global/qt-html-templates-online.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/global/qt-html-templates-online.qdocconf b/doc/global/qt-html-templates-online.qdocconf index d6c6b00e99..a484e00e17 100644 --- a/doc/global/qt-html-templates-online.qdocconf +++ b/doc/global/qt-html-templates-online.qdocconf @@ -38,7 +38,7 @@ HTML.headerstyles = \ HTML.endheader = \ "\n" \ "\n" \ - "
\n" + "
\n" \ "
\n" \ "
\n" \ " Qt Home\n" \ From babc6ec1433d3ccab956a1aff4d1feb50f7de9e2 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Fri, 30 Nov 2012 15:09:56 +0100 Subject: [PATCH 004/386] Compile with QT_NO_COLORDIALOG. Change-Id: I37e3fed497f3595942662efb22114de57ea4c9db Reviewed-by: Marc Mutz --- src/widgets/dialogs/qdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/dialogs/qdialog.cpp b/src/widgets/dialogs/qdialog.cpp index 7b47f4e135..290f0a7f65 100644 --- a/src/widgets/dialogs/qdialog.cpp +++ b/src/widgets/dialogs/qdialog.cpp @@ -67,8 +67,10 @@ static inline int themeDialogType(const QDialog *dialog) if (qobject_cast(dialog)) return QPlatformTheme::FileDialog; #endif +#ifndef QT_NO_COLORDIALOG if (qobject_cast(dialog)) return QPlatformTheme::ColorDialog; +#endif #ifndef QT_NO_FONTDIALOG if (qobject_cast(dialog)) return QPlatformTheme::FontDialog; From 168f32f3f42a2407858105aff10143eebabbd5a6 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 30 Nov 2012 10:59:07 +0100 Subject: [PATCH 005/386] Removed temporary backwards-compat properties and accessors in QWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I718b877e3b6c0b1191a932d934599d5c2f5aa958 Reviewed-by: Shawn Rutledge Reviewed-by: Samuel Rødal --- src/gui/kernel/qwindow.h | 36 -------------------- src/plugins/platforms/eglfs/qeglfswindow.cpp | 2 +- src/plugins/platforms/qnx/qqnxscreen.cpp | 2 +- src/plugins/platforms/qnx/qqnxwindow.cpp | 4 +-- 4 files changed, 4 insertions(+), 40 deletions(-) diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 229275d7c7..179db9964f 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -113,35 +113,6 @@ class Q_GUI_EXPORT QWindow : public QObject, public QSurface Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged) Q_PROPERTY(Qt::ScreenOrientation contentOrientation READ contentOrientation WRITE reportContentOrientationChange NOTIFY contentOrientationChanged) - // ------------------------------------------------------------------------ - // Temporary backwards-compatibility properties to be removed ASAP - Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle) - Q_PROPERTY(QString windowFilePath READ windowFilePath WRITE setWindowFilePath) - Q_PROPERTY(QIcon windowIcon READ windowIcon WRITE setWindowIcon) - Q_PROPERTY(Qt::WindowModality windowModality READ windowModality WRITE setWindowModality NOTIFY windowModalityChanged) - -public: - - Qt::WindowModality windowModality() const { return modality(); } - void setWindowModality(Qt::WindowModality wm) { setModality(wm); } - void setWindowFlags(Qt::WindowFlags f) { setFlags(f); } - Qt::WindowFlags windowFlags() const { return flags(); } - Qt::WindowType windowType() const { return type(); } - QString windowTitle() const { return title(); } - void requestActivateWindow() { requestActivate(); } - bool requestWindowOrientation(Qt::ScreenOrientation o) { return requestOrientation(o); } - Qt::ScreenOrientation windowOrientation() const { return orientation(); } - void setWindowFilePath(const QString &fp) { setFilePath(fp); } - QString windowFilePath() const { return filePath(); } - void setWindowIcon(const QIcon &i) { setIcon(i); } - QIcon windowIcon() const { return icon(); } - void setWindowTitle(const QString &t) { setTitle(t); } - -Q_SIGNALS: - void windowModalityChanged(Qt::WindowModality windowModality); - // End of temporary backwards-compatibility properties - // ------------------------------------------------------------------------ - public: explicit QWindow(QScreen *screen = 0); @@ -240,13 +211,6 @@ public: inline void setPosition(const QPoint &pt) { setGeometry(QRect(pt, size())); } inline void setPosition(int posx, int posy) { setPosition(QPoint(posx, posy)); } -// Temporary backwards-compatible accessors for the benefit of Declarative -// to be removed ASAP - inline void setFramePos(const QPoint &pt) { setFramePosition(pt); } - inline void setPos(const QPoint &pt) { setPosition(pt); } - inline void setPos(int posx, int posy) { setPosition(posx, posy); } -// end of temporary accessors - void resize(const QSize &newSize); inline void resize(int w, int h) { resize(QSize(w, h)); } diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp index 32d20e6aaa..df665cea84 100644 --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp @@ -75,7 +75,7 @@ void QEglFSWindow::create() if (m_window) return; - if (window()->windowType() == Qt::Desktop) { + if (window()->type() == Qt::Desktop) { QRect rect(QPoint(), hooks->screenSize()); QPlatformWindow::setGeometry(rect); QWindowSystemInterface::handleGeometryChange(window(), rect); diff --git a/src/plugins/platforms/qnx/qqnxscreen.cpp b/src/plugins/platforms/qnx/qqnxscreen.cpp index 593bec8458..8b413de4fb 100644 --- a/src/plugins/platforms/qnx/qqnxscreen.cpp +++ b/src/plugins/platforms/qnx/qqnxscreen.cpp @@ -425,7 +425,7 @@ void QQnxScreen::addWindow(QQnxWindow *window) // Such a situation would strangely break focus handling due to the // invisible desktop widget window being layered on top of normal // windows - if (window->window()->windowType() == Qt::Desktop) + if (window->window()->type() == Qt::Desktop) m_childWindows.push_front(window); else m_childWindows.push_back(window); diff --git a/src/plugins/platforms/qnx/qqnxwindow.cpp b/src/plugins/platforms/qnx/qqnxwindow.cpp index e4505c6c60..787f371ca6 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxwindow.cpp @@ -511,8 +511,8 @@ void QQnxWindow::setScreen(QQnxScreen *platformScreen) Q_FOREACH (QQnxWindow *childWindow, m_childWindows) { // Only subwindows and tooltips need necessarily be moved to another display with the window. - if ((window()->windowType() & Qt::WindowType_Mask) == Qt::SubWindow || - (window()->windowType() & Qt::WindowType_Mask) == Qt::ToolTip) + if ((window()->type() & Qt::WindowType_Mask) == Qt::SubWindow || + (window()->type() & Qt::WindowType_Mask) == Qt::ToolTip) childWindow->setScreen(platformScreen); } From 5021c1d977c7f29379c049e57316364236f91aab Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 12 Oct 2012 17:33:51 +0200 Subject: [PATCH 006/386] xcb: notify when the logical DPI changes; add Q_MM_PER_INCH constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I15696bf45ae99cc5b0fd95dab4884fc85cbfc6da Reviewed-by: Samuel Rødal --- src/gui/painting/qmath_p.h | 1 + src/plugins/platforms/xcb/qxcbscreen.cpp | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/gui/painting/qmath_p.h b/src/gui/painting/qmath_p.h index c710ee462a..bc7bb320b7 100644 --- a/src/gui/painting/qmath_p.h +++ b/src/gui/painting/qmath_p.h @@ -61,6 +61,7 @@ QT_BEGIN_NAMESPACE static const qreal Q_PI = qreal(3.14159265358979323846); // pi static const qreal Q_2PI = qreal(6.28318530717958647693); // 2*pi static const qreal Q_PI2 = qreal(1.57079632679489661923); // pi/2 +static const qreal Q_MM_PER_INCH = 25.4; inline int qIntSqrtInt(int v) { diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp index 6452186bbf..4f0c3ba6bb 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.cpp +++ b/src/plugins/platforms/xcb/qxcbscreen.cpp @@ -50,6 +50,7 @@ #include #include +#include QT_BEGIN_NAMESPACE @@ -242,8 +243,8 @@ QImage::Format QXcbScreen::format() const QDpi QXcbScreen::logicalDpi() const { - return QDpi(25.4 * m_virtualSize.width() / m_virtualSizeMillimeters.width(), - 25.4 * m_virtualSize.height() / m_virtualSizeMillimeters.height()); + return QDpi(Q_MM_PER_INCH * m_virtualSize.width() / m_virtualSizeMillimeters.width(), + Q_MM_PER_INCH * m_virtualSize.height() / m_virtualSizeMillimeters.height()); } QPlatformCursor *QXcbScreen::cursor() const @@ -315,6 +316,9 @@ void QXcbScreen::handleScreenChange(xcb_randr_screen_change_notify_event_t *chan QWindowSystemInterface::handleScreenGeometryChange(QPlatformScreen::screen(), geometry()); QWindowSystemInterface::handleScreenAvailableGeometryChange(QPlatformScreen::screen(), availableGeometry()); QWindowSystemInterface::handleScreenOrientationChange(QPlatformScreen::screen(), m_orientation); + QWindowSystemInterface::handleScreenLogicalDotsPerInchChange(QPlatformScreen::screen(), + Q_MM_PER_INCH * m_virtualSize.width() / m_virtualSizeMillimeters.width(), + Q_MM_PER_INCH * m_virtualSize.height() / m_virtualSizeMillimeters.height()); } void QXcbScreen::updateGeometry(xcb_timestamp_t timestamp) From 77fd2f8319d5fecdf9ad377ebade82e49c6f0569 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 27 Nov 2012 16:57:07 +0100 Subject: [PATCH 007/386] factor out testcase_targets.prf instead of letting *every* qmake-based project have recursive check target, let interested projects "subscribe" to it by adding CONFIG+=testcase_targets in a central place (.qmake.conf, which Qt itself does via qt_build_config.prf). Change-Id: Ib13fdd2d3a1adee0c5ad02b6b176a664c583bf9d Reviewed-by: Joerg Bornemann --- mkspecs/features/default_post.prf | 9 --------- mkspecs/features/qt_build_config.prf | 1 + mkspecs/features/testcase_targets.prf | 9 +++++++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 mkspecs/features/testcase_targets.prf diff --git a/mkspecs/features/default_post.prf b/mkspecs/features/default_post.prf index 6f3f318e0a..5359953d90 100644 --- a/mkspecs/features/default_post.prf +++ b/mkspecs/features/default_post.prf @@ -47,12 +47,3 @@ breakpad { QMAKE_INCDIR += $$QMAKE_INCDIR_POST QMAKE_LIBDIR += $$QMAKE_LIBDIR_POST - -# Let every project have a standard GNU `check' target -!contains(QMAKE_EXTRA_TARGETS, check) { - contains(TEMPLATE, subdirs): \ - prepareRecursiveTarget(check) - else: \ - check.depends = first # `make check' implies build - QMAKE_EXTRA_TARGETS += check -} diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf index 63d6b43c7c..e9d5367ee1 100644 --- a/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf @@ -27,6 +27,7 @@ mac { CONFIG += \ create_prl link_prl \ + testcase_targets \ prepare_docs qt_docs_targets \ qt_example_installs \ no_private_qt_headers_warning QTDIR_build \ diff --git a/mkspecs/features/testcase_targets.prf b/mkspecs/features/testcase_targets.prf new file mode 100644 index 0000000000..e9b107735a --- /dev/null +++ b/mkspecs/features/testcase_targets.prf @@ -0,0 +1,9 @@ + +# Let every project have a standard GNU `check' target +!contains(QMAKE_EXTRA_TARGETS, check) { + contains(TEMPLATE, subdirs): \ + prepareRecursiveTarget(check) + else: \ + check.depends = first # `make check' implies build + QMAKE_EXTRA_TARGETS += check +} From 25aa803af7446bb3ac6db28209bf7b2138f08715 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 30 Nov 2012 16:50:05 +0100 Subject: [PATCH 008/386] auto-collect qml-related sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia5b56227c2c1f18254d35f6105ac3a146f085e3b Reviewed-by: hjk Reviewed-by: Joerg Bornemann Reviewed-by: Tor Arne Vestbø --- mkspecs/features/qt_example_installs.prf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf index 72f0b141a7..281552acb6 100644 --- a/mkspecs/features/qt_example_installs.prf +++ b/mkspecs/features/qt_example_installs.prf @@ -21,6 +21,7 @@ probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples) extras = \ $$_PRO_FILE_PWD_/README \ $$files($$_PRO_FILE_PWD_/*.pri) \ + $$replace(_PRO_FILE_, \\.pro$, .qmlproject) \ $$replace(_PRO_FILE_, \\.pro$, .json) \ $$replace(_PRO_FILE_, \\.pro$, .inf) for(extra, extras): \ @@ -30,6 +31,10 @@ probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples) # Just for Qt Creator OTHER_FILES += $$sourcefiles + for(inst, INSTALLS): \ + !equals(inst, target):!contains($${inst}.CONFIG, no_check_exist): \ + for(file, $${inst}.files): \ + sourcefiles += $$files($$absolute_path($$file, $$_PRO_FILE_PWD_)) sourcefiles += \ $$_PRO_FILE_ $$RC_FILE $$DEF_FILE \ $$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \ From d902b3a4813804c045ec0d0929e6ec3a0d1c63c1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 30 Nov 2012 17:42:45 +0100 Subject: [PATCH 009/386] don't auto-install example sources by default for all modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit turns out that some modules need a lot of work, so make it opt-in for the time being. Change-Id: I16365e3d96adab98a1bc748907dbd67488dfad5f Reviewed-by: Joerg Bornemann Reviewed-by: Tor Arne Vestbø --- .qmake.conf | 1 + mkspecs/features/qt_build_config.prf | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.qmake.conf b/.qmake.conf index 42ba8e45fb..5de255cb69 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1 +1,2 @@ load(qt_build_config) +CONFIG += qt_example_installs diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf index e9d5367ee1..29dd354a31 100644 --- a/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf @@ -29,7 +29,6 @@ CONFIG += \ create_prl link_prl \ testcase_targets \ prepare_docs qt_docs_targets \ - qt_example_installs \ no_private_qt_headers_warning QTDIR_build \ # Qt modules get compiled without exceptions enabled by default. # However, testcases should be still built with exceptions. From 4315545f89b26a102bcbf68805e0360c731a9efd Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 30 Nov 2012 21:16:25 +0100 Subject: [PATCH 010/386] remove support for hand-written module pri files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit all modules have been migrated to auto-generation Change-Id: Ie7b3ebfd735a22f8e0b0339909b6385508d7a6b3 Reviewed-by: Joerg Bornemann Reviewed-by: Tor Arne Vestbø --- bin/syncqt | 15 +-------------- mkspecs/features/qt_module.prf | 10 ---------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/bin/syncqt b/bin/syncqt index a10117bf2e..896ee742c5 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -87,7 +87,7 @@ my $mkspecsdir = dirname(dirname($0)); normalizePath(\$mkspecsdir) if (defined $mkspecsdir); # will be defined based on the modules sync.profile -our (%modules, %moduleheaders, @allmoduleheadersprivate, %classnames, %modulepris, %explicitheaders, %deprecatedheaders); +our (%modules, %moduleheaders, @allmoduleheadersprivate, %classnames, %explicitheaders, %deprecatedheaders); our @qpa_headers = (); # global variables (modified by options) @@ -810,19 +810,6 @@ foreach my $lib (@modules_to_sync) { my $module_version = fileContents($project); $module_version = $qt_version unless ($module_version =~ s,.*^VERSION[ \t]*=[ \t]*(\S+).*,$1,sm); - # Backwards compatibility for modules with checked in .pri files. - if (defined $modulepris{$lib} and -e "$modulepris{$lib}") { - my $content = fileContents($modulepris{$lib}); - my @version_rows = grep(/QT\..*\.VERSION/, split('\n', $content)); - if(@version_rows) { - # We only pick the first one, since each module need a separate .pri file - $module_version = $version_rows[0]; - chomp $module_version; - $module_version =~ s/^\s*QT\..*\.VERSION\s*=\s*([^#]+).*$/$1/; - $module_version =~ s/\s+$//; - } - } - my $pathtoheaders = ""; $pathtoheaders = $moduleheaders{$lib} if ($moduleheaders{$lib}); diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index eb46481c70..0b6ad86ae1 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -35,14 +35,6 @@ else: \ MODULE_DEFINES = $$MODULE_DEFINE $$MODULE_DEFINES load(qt_build_paths) - -# This check will be removed soon. Weird indentation to avoid reindenting the code later. -!isEmpty(MODULE_PRI) { - !build_pass:warning("$$_PRO_FILE_ still sets MODULE_PRI. Not auto-generating module .pri file.") - MODULE_PRI = $$absolute_path($$MODULE_PRI, $$_PRO_FILE_PWD_) - exists($$MODULE_PRI)|error("Specified module pri file $$MODULE_PRI does not exist.") -} else { - MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules-inst/qt_lib_$${MODULE}.pri !build_pass { @@ -97,8 +89,6 @@ MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules-inst/qt_lib_$${MODULE}.pri } # !build_pass -} # isEmpty(MODULE_PRI) - load(qt_module_fwdpri) INCLUDEPATH *= $$eval(QT.$${MODULE}.includes) $$eval(QT.$${MODULE}.private_includes) From 9e9b98aeea11e75db5a93299d70439370398b553 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 1 Dec 2012 11:46:51 +0100 Subject: [PATCH 011/386] don't forget to export rpath_link{,_private} to the cache Change-Id: I1d204696ed0e4ef5e45dc1716b3d6a8224b3169b Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_module_fwdpri.prf | 1 + 1 file changed, 1 insertion(+) diff --git a/mkspecs/features/qt_module_fwdpri.prf b/mkspecs/features/qt_module_fwdpri.prf index b7270aea59..0b203b5a90 100644 --- a/mkspecs/features/qt_module_fwdpri.prf +++ b/mkspecs/features/qt_module_fwdpri.prf @@ -72,6 +72,7 @@ for(var, $$list(VERSION MAJOR_VERSION MINOR_VERSION PATCH_VERSION \ name depends private_depends module_config CONFIG DEFINES sources \ includes private_includes bins libs libexecs plugins imports qml \ + rpath_link rpath_link_private \ )):defined(QT.$${MODULE}.$$var, var):cache(QT.$${MODULE}.$$var, transient) cache(QT_CONFIG, transient) From d2179014f9f3be21873a4cf7d7bde5cbe7148daf Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 12:34:37 +0100 Subject: [PATCH 012/386] introduce QMAKE_RPATHLINKDIR (and QMAKE_LFLAGS_RPATHLINK) complementary to QMAKE_RPATHDIR. this avoids that we need to sprinkle linux/gcc specific code all over the place. Task-number: QTBUG-27427 Change-Id: Iebafd1749d1a0d803704902473df8c743f074ddc Reviewed-by: Joerg Bornemann --- mkspecs/common/gcc-base-unix.conf | 1 + mkspecs/features/qt_functions.prf | 7 ++++--- qmake/generators/unix/unixmake.cpp | 7 +++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/mkspecs/common/gcc-base-unix.conf b/mkspecs/common/gcc-base-unix.conf index dc8d7e42cd..dadaecaa29 100644 --- a/mkspecs/common/gcc-base-unix.conf +++ b/mkspecs/common/gcc-base-unix.conf @@ -15,6 +15,7 @@ QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB QMAKE_LFLAGS_SONAME += -Wl,-soname, QMAKE_LFLAGS_THREAD += QMAKE_LFLAGS_RPATH = -Wl,-rpath, +QMAKE_LFLAGS_RPATHLINK = -Wl,-rpath-link, # -Bsymbolic-functions (ld) support QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index d73d402b0c..ec5becbdde 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -115,12 +115,12 @@ defineTest(qtAddModule) { PRE_TARGETDEPS *= $$MODULE_LIBS/$${QMAKE_PREFIX_STATICLIB}$${lib}.$${QMAKE_EXTENSION_STATICLIB} # Make sure we can link to uninstalled libraries - unix:!mac:!isEmpty(QT.$${1}.libs) { # Use unmodified path, so /usr/lib also works + !isEmpty(QT.$${1}.libs) { # Use unmodified path, so /usr/lib also works for(rpl, QT.$${1}.rpath_link): \ - QMAKE_LFLAGS *= -Wl,-rpath-link,$$rpl + QMAKE_RPATHLINKDIR *= $$rpl !auto_use_privates:!isEqual(2, UsePrivate): \ for(rpl, QT.$${1}.rpath_link_private): \ - QMAKE_LFLAGS *= -Wl,-rpath-link,$$rpl + QMAKE_RPATHLINKDIR *= $$rpl } } # Only link to this module if a libs directory is set, else this is just a module @@ -139,6 +139,7 @@ defineTest(qtAddModule) { export(QMAKE_LFLAGS) export(QMAKE_LIBDIR) export(QMAKE_RPATHDIR) + export(QMAKE_RPATHLINKDIR) export(PRE_TARGETDEPS) return(true) } diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index 82fd47f2ec..8a1a29c2c7 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -170,6 +170,13 @@ UnixMakefileGenerator::init() project->values("QMAKE_LFLAGS") += var("QMAKE_LFLAGS_RPATH") + escapeFilePath(QFileInfo(rpathdirs[i].toQString()).absoluteFilePath()); } } + if (!project->isEmpty("QMAKE_RPATHLINKDIR")) { + const ProStringList &rpathdirs = project->values("QMAKE_RPATHLINKDIR"); + for (int i = 0; i < rpathdirs.size(); ++i) { + if (!project->isEmpty("QMAKE_LFLAGS_RPATHLINK")) + project->values("QMAKE_LFLAGS") += var("QMAKE_LFLAGS_RPATHLINK") + escapeFilePath(QFileInfo(rpathdirs[i].toQString()).absoluteFilePath()); + } + } if(project->isActiveConfig("GNUmake") && !project->isEmpty("QMAKE_CFLAGS_DEPS")) include_deps = true; //do not generate deps From b2cc13d95aa04a48e67c3bbe9639b379ee161230 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Mon, 3 Dec 2012 15:11:51 +0100 Subject: [PATCH 013/386] Tag dialog examples and create dialog examples group Change-Id: I0049b841dd5aee806e8aed36af069b0507e3c9f1 Reviewed-by: Eskil Abrahamsen Blomfeldt --- examples/widgets/doc/src/classwizard.qdoc | 1 + examples/widgets/doc/src/configdialog.qdoc | 1 + examples/widgets/doc/src/extension.qdoc | 1 + examples/widgets/doc/src/findfiles.qdoc | 1 + examples/widgets/doc/src/licensewizard.qdoc | 1 + examples/widgets/doc/src/standarddialogs.qdoc | 1 + examples/widgets/doc/src/tabdialog.qdoc | 1 + examples/widgets/doc/src/trivialwizard.qdoc | 1 + src/widgets/doc/images/dialog-examples.png | Bin 0 -> 7049 bytes src/widgets/doc/src/qtwidgets-examples.qdoc | 17 +++++++++++++++++ 10 files changed, 25 insertions(+) create mode 100644 src/widgets/doc/images/dialog-examples.png diff --git a/examples/widgets/doc/src/classwizard.qdoc b/examples/widgets/doc/src/classwizard.qdoc index 038f9e19b2..b4224a182f 100644 --- a/examples/widgets/doc/src/classwizard.qdoc +++ b/examples/widgets/doc/src/classwizard.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/classwizard \title Class Wizard Example + \ingroup examples-dialogs \brief The License Wizard example shows how to implement linear wizards using QWizard. diff --git a/examples/widgets/doc/src/configdialog.qdoc b/examples/widgets/doc/src/configdialog.qdoc index 0fdbc5ddd0..18c14b79e3 100644 --- a/examples/widgets/doc/src/configdialog.qdoc +++ b/examples/widgets/doc/src/configdialog.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/configdialog \title Config Dialog Example + \ingroup examples-dialogs \brief The Config Dialog examples shows how a configuration dialog can be created by using an icon view with a stacked widget. diff --git a/examples/widgets/doc/src/extension.qdoc b/examples/widgets/doc/src/extension.qdoc index 0ba1d0738e..423a829167 100644 --- a/examples/widgets/doc/src/extension.qdoc +++ b/examples/widgets/doc/src/extension.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/extension \title Extension Example + \ingroup examples-dialogs \brief The Extension example shows how to add an extension to a QDialog using the QAbstractButton::toggled() signal and the diff --git a/examples/widgets/doc/src/findfiles.qdoc b/examples/widgets/doc/src/findfiles.qdoc index 27d0cacade..61dbf05581 100644 --- a/examples/widgets/doc/src/findfiles.qdoc +++ b/examples/widgets/doc/src/findfiles.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/findfiles \title Find Files Example + \ingroup examples-dialogs \brief The Find Files example shows how to use QProgressDialog to provide feedback on the progress of a slow operation. The example also diff --git a/examples/widgets/doc/src/licensewizard.qdoc b/examples/widgets/doc/src/licensewizard.qdoc index aee60e11fe..e45c162f29 100644 --- a/examples/widgets/doc/src/licensewizard.qdoc +++ b/examples/widgets/doc/src/licensewizard.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/licensewizard \title License Wizard Example + \ingroup examples-dialogs \brief The License Wizard example shows how to implement complex wizards in Qt. diff --git a/examples/widgets/doc/src/standarddialogs.qdoc b/examples/widgets/doc/src/standarddialogs.qdoc index f9d9372a70..4b39ac64c5 100644 --- a/examples/widgets/doc/src/standarddialogs.qdoc +++ b/examples/widgets/doc/src/standarddialogs.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/standarddialogs \title Standard Dialogs Example + \ingroup examples-dialogs \brief The Standard Dialogs example shows the standard dialogs that are provided by Qt. diff --git a/examples/widgets/doc/src/tabdialog.qdoc b/examples/widgets/doc/src/tabdialog.qdoc index e2ac57550f..b3e74389af 100644 --- a/examples/widgets/doc/src/tabdialog.qdoc +++ b/examples/widgets/doc/src/tabdialog.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/tabdialog \title Tab Dialog Example + \ingroup examples-dialogs \brief The Tab Dialog example shows how to construct a tab dialog using the QTabWidget class. diff --git a/examples/widgets/doc/src/trivialwizard.qdoc b/examples/widgets/doc/src/trivialwizard.qdoc index c67bb09c0d..4ccee9a625 100644 --- a/examples/widgets/doc/src/trivialwizard.qdoc +++ b/examples/widgets/doc/src/trivialwizard.qdoc @@ -28,6 +28,7 @@ /*! \example dialogs/trivialwizard \title Trivial Wizard Example + \ingroup examples-dialogs \brief The Trivial Wizard example illustrates how to create a linear three-page registration wizard using three instances of QWizardPage and one instance diff --git a/src/widgets/doc/images/dialog-examples.png b/src/widgets/doc/images/dialog-examples.png new file mode 100644 index 0000000000000000000000000000000000000000..26537b5de383b09f6b10d12375c4f379987433d7 GIT binary patch literal 7049 zcmV;48+PQ0P)z0ssI2$9E)E00009a7bBm000cc z000cc0Rb?}TmS$YJ4r-ARCwC$omq5M*LlZD9!!>(o#i?!t1gKXd%2B6U8l7lnw7L^ z!ERR{nl=d~W(K&<^Up2dlzr$8V2-}#l-jkle9UprRz zhDF26d%{+K?74cI%VW`+gHUBi#9wQoDMy?WsC+EXpl5N>dZ+~*zhy=`Y7#O$Y^U;IzE z`0XB1FK)E`7D9^qJIktd|FZ6Vy9Uk=2kIOHGF{zV1A+qH+LOkWJ*mp4Daz(Jt^^+T4_=C6 zk>aUUoQl*F=Mu$DqkNH}I2SAX)79F1lBDcTRq4D=#h9Otg-U3h^2Zp(u0Tav0%j7z zcil$bJX!aOMb2LwO#i{>X{+}Fp*z65almKY?i1e*z6~}n{LVt0|Kv08cYgordTZbN zM&Yj=YTh|DNTHiui~ifW^xiYv?x;uiuVq_5A^Mr?S8E(PUbWS|YFqx=q0%26)vo^2 z`PDmI@4>e9%%iS_>;3NTk2Tt7j5|z`{fy&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6zzTy7C;kkvSoCgGj);F~WhJ?AepSQHK2?>wV z>1)q<`S=EeboBJk%+=o0Ct~`|1tIK7ZeDIfQ$w$z7n^ay1J*axU%hcvg|MOC&}U$P z&dOC-QhX1>%8FT)%*-h$C@!Nz#UvyLhD3Ot_YMk;ptd0qY7M=8{gcx(xl&cvI5Ssk zXU__Ru$PbpT$;&US zZ)l2&jxN)b>nikAtg^ByGb_8kz9~8;MqgFa(%LaIS4&&R3WSgj-qh8#aB6JtoCiWi z*tJ{Npy|z#N1=kEdk~iDbc<5S`j)m82w_RNrmm@N;Z#{uCt8O^uBD@+Z)jlQl$Db$ zAS@~?Ta-#__0{+rtuzSnexm6YPPk=>0@+H&hYOx%;ndoG?_1S4Pc2F%r}2}!GjfAX z(z1duR5Mc6W(3G7GJbPzG<9+8fs?t?kIj*6Y~J(_efnH=n5!I6tt nDunObxARZZGfIE?Y0>`!tT{L^(WBdL00000NkvXXu0mjfgK|$H literal 0 HcmV?d00001 diff --git a/src/widgets/doc/src/qtwidgets-examples.qdoc b/src/widgets/doc/src/qtwidgets-examples.qdoc index b321942a70..07e1eb135c 100644 --- a/src/widgets/doc/src/qtwidgets-examples.qdoc +++ b/src/widgets/doc/src/qtwidgets-examples.qdoc @@ -95,3 +95,20 @@ */ + +/*! + \group examples-dialogs + \ingroup all-examples + \title Dialog Examples + \brief Using Qt's standard dialogs and building and using custom dialogs. + + \image dialog-examples.png + + Qt includes standard dialogs for many common operations, such as file + selection, printing, and color selection. + + Custom dialogs can also be created for specialized modal or modeless + interactions with users. +*/ + + From 16aef5baa8ffeb8ad1c26727a12773ed2940e0de Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 3 Dec 2012 16:10:36 +0100 Subject: [PATCH 014/386] Doc: Edited Qt OpenGL configuration to output correct QCH titles. Task-number: QTBUG-28341 Change-Id: I7d990c66a9efe42719165564007fb3bdff2e1279 Reviewed-by: Kai Koehne --- src/opengl/doc/qtopengl.qdocconf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/opengl/doc/qtopengl.qdocconf b/src/opengl/doc/qtopengl.qdocconf index 2d8703a1dc..a605e8bd4c 100644 --- a/src/opengl/doc/qtopengl.qdocconf +++ b/src/opengl/doc/qtopengl.qdocconf @@ -41,11 +41,12 @@ qhp.qtopengl.namespace = org.qt-project.qtopengl.500 # Title for the package, will be the main title for the package in # Assistant/Creator. -qhp.qtopengl.indexTitle = Qt Script Documentation +qhp.qtopengl.indexTitle = Qt OpenGL # Only update the name of the project for the next variables. qhp.qtopengl.virtualFolder = qtopengl qhp.qtopengl.subprojects = classes -qhp.qtopengl.subprojects.classes.title = Qt D-Bus C++ Classes +qhp.qtopengl.subprojects.classes.title = C++ Classes +qhp.qtopengl.subprojects.classes.indexTitle = Qt OpenGL C++ Classes qhp.qtopengl.subprojects.classes.selectors = class fake:headerfile qhp.qtopengl.subprojects.classes.sortPages = true From f3b8b12306695a5c7996fedfb3bbc694057fef7b Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 3 Dec 2012 17:34:37 +0100 Subject: [PATCH 015/386] Qt D-Bus: Editing QCH titles. Task-number: QTBUG-28341 Change-Id: Icf0f87e8c108bc12575512b7e4ecac46779fc362 Reviewed-by: Sergio Ahumada --- src/dbus/doc/qtdbus.qdocconf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dbus/doc/qtdbus.qdocconf b/src/dbus/doc/qtdbus.qdocconf index 20b327f9fb..264bd12ff3 100644 --- a/src/dbus/doc/qtdbus.qdocconf +++ b/src/dbus/doc/qtdbus.qdocconf @@ -37,11 +37,12 @@ qhp.qtdbus.namespace = org.qt-project.qtdbus.500 # Title for the package, will be the main title for the package in # Assistant/Creator. -qhp.qtdbus.indexTitle = Qt Script Documentation +qhp.qtdbus.indexTitle = Qt D-Bus # Only update the name of the project for the next variables. qhp.qtdbus.virtualFolder = qtdbus qhp.qtdbus.subprojects = classes -qhp.qtdbus.subprojects.classes.title = Qt D-Bus C++ Classes +qhp.qtdbus.subprojects.classes.title = C++ Classes +qhp.qtdbus.subprojects.classes.indexTitle = Qt D-Bus C++ Classes qhp.qtdbus.subprojects.classes.selectors = class fake:headerfile qhp.qtdbus.subprojects.classes.sortPages = true From edb4e66f5f81f2b62ed0664bf9654c36ebbf315c Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Fri, 30 Nov 2012 11:27:34 +0100 Subject: [PATCH 016/386] Mac: fix regression to make dialog resizable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-28254 Change-Id: I8623a68d589bec17042935ad308f85ddc953540d Reviewed-by: Morten Johan Sørvig --- src/plugins/platforms/cocoa/qcocoawindow.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm index f786e6969f..8ef489e28e 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.mm +++ b/src/plugins/platforms/cocoa/qcocoawindow.mm @@ -372,9 +372,9 @@ NSUInteger QCocoaWindow::windowStyleMask(Qt::WindowFlags flags) if (flags == Qt::Window) { styleMask = (NSResizableWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSTitledWindowMask); } else if ((flags & Qt::Dialog) && (window()->modality() != Qt::NonModal)) { - styleMask = NSTitledWindowMask; + styleMask = NSResizableWindowMask | NSTitledWindowMask; } else if (!(flags & Qt::FramelessWindowHint)) { - if (flags & Qt::WindowMaximizeButtonHint) + if ((flags & Qt::Dialog) || (flags & Qt::WindowMaximizeButtonHint)) styleMask |= NSResizableWindowMask; if (flags & Qt::WindowTitleHint) styleMask |= NSTitledWindowMask; From 5ede8ee80d4dc637febe49e7a7a90d9fe5fc7e69 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Mon, 3 Dec 2012 13:17:55 +0100 Subject: [PATCH 017/386] Compile with QT_NO_GESTURES. Change-Id: I9f8f7c586ccb5de227ec42af44159af90b39d1dd Reviewed-by: Stephen Kelly --- src/widgets/itemviews/qabstractitemview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/itemviews/qabstractitemview.cpp b/src/widgets/itemviews/qabstractitemview.cpp index 57c3b44aaa..ccf3f929af 100644 --- a/src/widgets/itemviews/qabstractitemview.cpp +++ b/src/widgets/itemviews/qabstractitemview.cpp @@ -65,7 +65,7 @@ #include #include #endif -#ifndef QT_NO_GESTURE +#ifndef QT_NO_GESTURES # include #endif From ab97a44b6ae5cc826460f3704669383afd398594 Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Mon, 3 Dec 2012 17:03:02 +1000 Subject: [PATCH 018/386] Clear focus of GraphicsItem focus scopes and their children. A focus scope has effective focus if one of its children is the focus item, clearFocus() should remove effective focus from an item and its children not just from the focus item. Task-number: QTBUG-28328 Change-Id: I62a292eff000151e50b2f5221e22f326a380fc3a Reviewed-by: Martin Jones --- src/widgets/graphicsview/qgraphicsitem.cpp | 12 ++++-- .../qgraphicsitem/tst_qgraphicsitem.cpp | 39 +++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index c30435e56a..f9b8cb83da 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -3313,6 +3313,12 @@ void QGraphicsItem::clearFocus() */ void QGraphicsItemPrivate::clearFocusHelper(bool giveFocusToParent, bool hiddenByParentPanel) { + QGraphicsItem *subFocusItem = q_ptr; + if (flags & QGraphicsItem::ItemIsFocusScope) { + while (subFocusItem->d_ptr->focusScopeItem) + subFocusItem = subFocusItem->d_ptr->focusScopeItem; + } + if (giveFocusToParent) { // Pass focus to the closest parent focus scope if (!inDestructor) { @@ -3321,10 +3327,10 @@ void QGraphicsItemPrivate::clearFocusHelper(bool giveFocusToParent, bool hiddenB if (p->flags() & QGraphicsItem::ItemIsFocusScope) { if (p->d_ptr->focusScopeItem == q_ptr) { p->d_ptr->focusScopeItem = 0; - if (!q_ptr->hasFocus()) //if it has focus, focusScopeItemChange is called elsewhere + if (!subFocusItem->hasFocus()) //if it has focus, focusScopeItemChange is called elsewhere focusScopeItemChange(false); } - if (q_ptr->hasFocus()) + if (subFocusItem->hasFocus()) p->d_ptr->setFocusHelper(Qt::OtherFocusReason, /* climb = */ false, /* focusFromHide = */ false); return; @@ -3334,7 +3340,7 @@ void QGraphicsItemPrivate::clearFocusHelper(bool giveFocusToParent, bool hiddenB } } - if (q_ptr->hasFocus()) { + if (subFocusItem->hasFocus()) { // Invisible items with focus must explicitly clear subfocus. if (!hiddenByParentPanel) clearSubFocus(q_ptr); diff --git a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp index 9a996cd0c6..687d44808d 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp @@ -9228,6 +9228,45 @@ void tst_QGraphicsItem::focusScope() scope3->setFocus(); QVERIFY(scope3->hasFocus()); + // clearFocus() on a focus scope will remove focus from its children. + scope1->clearFocus(); + QVERIFY(!scope1->hasFocus()); + QVERIFY(!scope2->hasFocus()); + QVERIFY(!scope3->hasFocus()); + + scope1->setFocus(); + QVERIFY(!scope1->hasFocus()); + QVERIFY(!scope2->hasFocus()); + QVERIFY(scope3->hasFocus()); + + scope2->clearFocus(); + QVERIFY(scope1->hasFocus()); + QVERIFY(!scope2->hasFocus()); + QVERIFY(!scope3->hasFocus()); + + scope2->setFocus(); + QVERIFY(!scope1->hasFocus()); + QVERIFY(!scope2->hasFocus()); + QVERIFY(scope3->hasFocus()); + + // Focus cleared while a parent doesn't have focus remains cleared + // when the parent regains focus. + scope1->clearFocus(); + scope3->clearFocus(); + QVERIFY(!scope1->hasFocus()); + QVERIFY(!scope2->hasFocus()); + QVERIFY(!scope3->hasFocus()); + + scope1->setFocus(); + QVERIFY(!scope1->hasFocus()); + QVERIFY(scope2->hasFocus()); + QVERIFY(!scope3->hasFocus()); + + scope3->setFocus(); + QVERIFY(!scope1->hasFocus()); + QVERIFY(!scope2->hasFocus()); + QVERIFY(scope3->hasFocus()); + QGraphicsRectItem *rect4 = new QGraphicsRectItem; rect4->setData(0, "rect4"); rect4->setParentItem(scope3); From 36d12783c9f8eee133f9ab634f6b54e8a3cd75d4 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 30 Nov 2012 16:31:06 +0100 Subject: [PATCH 019/386] Fix linking of itemviews and graphicsview examples Change-Id: I6905cc6945e2eb396108f9fb16da042e576e3afb Reviewed-by: Gunnar Sletta --- .../images/itemviews-editabletreemodel.png | Bin 0 -> 32534 bytes examples/widgets/doc/src/addressbook.qdoc | 2 +- .../widgets/doc/src/basicgraphicslayouts.qdoc | 2 ++ .../widgets/doc/src/basicsortfiltermodel.qdoc | 2 +- examples/widgets/doc/src/boxes.qdoc | 2 +- examples/widgets/doc/src/chart.qdoc | 2 +- examples/widgets/doc/src/chip.qdoc | 6 ++-- .../widgets/doc/src/coloreditorfactory.qdoc | 2 +- .../widgets/doc/src/combowidgetmapper.qdoc | 2 +- .../doc/src/customsortfiltermodel.qdoc | 2 +- examples/widgets/doc/src/diagramscene.qdoc | 2 +- examples/widgets/doc/src/dirview.qdoc | 2 ++ examples/widgets/doc/src/dragdroprobot.qdoc | 2 +- .../widgets/doc/src/editabletreemodel.qdoc | 2 +- examples/widgets/doc/src/elasticnodes.qdoc | 6 ++-- examples/widgets/doc/src/embeddeddialogs.qdoc | 6 ++-- examples/widgets/doc/src/fetchmore.qdoc | 2 +- examples/widgets/doc/src/frozencolumn.qdoc | 2 +- examples/widgets/doc/src/interview.qdoc | 2 ++ examples/widgets/doc/src/itemviewspuzzle.qdoc | 2 +- examples/widgets/doc/src/padnavigator.qdoc | 2 +- examples/widgets/doc/src/pixelator.qdoc | 2 +- examples/widgets/doc/src/simpledommodel.qdoc | 2 +- examples/widgets/doc/src/simpletreemodel.qdoc | 3 ++ .../widgets/doc/src/simplewidgetmapper.qdoc | 2 +- examples/widgets/doc/src/spinboxdelegate.qdoc | 2 +- examples/widgets/doc/src/spreadsheet.qdoc | 2 ++ examples/widgets/doc/src/stardelegate.qdoc | 2 +- .../doc/images/graphicsview-examples.png | Bin 0 -> 223121 bytes src/widgets/doc/images/itemviews-examples.png | Bin 0 -> 32534 bytes src/widgets/doc/src/qtwidgets-examples.qdoc | 29 +++++++++++++++++- 31 files changed, 70 insertions(+), 26 deletions(-) create mode 100644 examples/widgets/doc/images/itemviews-editabletreemodel.png create mode 100644 src/widgets/doc/images/graphicsview-examples.png create mode 100644 src/widgets/doc/images/itemviews-examples.png diff --git a/examples/widgets/doc/images/itemviews-editabletreemodel.png b/examples/widgets/doc/images/itemviews-editabletreemodel.png new file mode 100644 index 0000000000000000000000000000000000000000..a151ea857ffa8c3bd8b708111eda9d196798658e GIT binary patch literal 32534 zcmZ6ybzGBw^foR?OAAQ1bO@t`jcy6)1`(!$q#!XsP(T_)I))%h*Fca|ItBwly1P3z z@^|Cs`#jJ0_4{M5*S34R-{&3Yoa*Zta-Tsza$C9@`D&6Z60xq6h#2wD^ zI`jNKH!IZc4qZ0;pSuYiiL_LRY_~zzAeXt`e1Fn+!b7E~YcO^HhT~^T!KB*k)1EFM z?y=D2%%r`oF8{kwIc>zlRNk?nPaaOXnA<%gxfBX{>jS(mP|nYrC4>Me;5*Nm$PkHGpLGlP?;=wG0n zrE)`bv~F_qQ5Ix3{n$4vL#_W@jFLH`eUC=)W_5~|238}(-%&p0@HNuyV!-Mzb5K$| zy)Mbbkrki#W8!BsLARebb~;fH|*Z^P-`PxE9ln9 zhjC50Ge2Ww{`xw8^;XL^UO^v~pKG;oyZh9M1$DT$+^#k=K73~u@!dK_e{$v+NpQ85 zREj?{_);o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;k4_vaN)vR+dfO$ps*qX|{f0`Xxl=prb`R?QQm-*V7^JND(6@lxL2?OE`(8+Aclox|^LiBg;R-_PIsOzb_~0o!IQ z-JIWMi8ZU&&dJoT)8AGhuUd9H>;6`IAZh5*)CK1mOf5Nj3H{sY+JWc8b)JK-wZVwW zJmG(-L-{N^cd6G4mL?HB@~V7^H%rs#oqysYJb;MfhT8v!Ih^06YGj~?eh>SqQ#U0H zsfXqQvA`CO*K`VrSJ(@`_#3m(EaT3D#D2Xk1@d&v=Ye6q$O5{=gd*%dMih2UhO?be zr~Z(YJvbeu{OUk7HK_o9=l!?x^r8P1Dq3?sr|Q#Y82y#euNk^?t{)BU2u+GbJ2a>N z#2dmRsC625=1`WUzsK9x802Xc8Hc@&|Cf6705{8wgFu=rPkYrgrF%p0#^*JMZpG;w k4B#j_jr->JjN88iW(~FNpJXr4*;t3AnH}z#sdwCe0igP_G5`Po literal 0 HcmV?d00001 diff --git a/src/widgets/doc/images/itemviews-examples.png b/src/widgets/doc/images/itemviews-examples.png new file mode 100644 index 0000000000000000000000000000000000000000..a151ea857ffa8c3bd8b708111eda9d196798658e GIT binary patch literal 32534 zcmZ6ybzGBw^foR?OAAQ1bO@t`jcy6)1`(!$q#!XsP(T_)I))%h*Fca|ItBwly1P3z z@^|Cs`#jJ0_4{M5*S34R-{&3Yoa*Zta-Tsza$C9@`D&6Z60xq6h#2wD^ zI`jNKH!IZc4qZ0;pSuYiiL_LRY_~zzAeXt`e1Fn+!b7E~YcO^HhT~^T!KB*k)1EFM z?y=D2%%r`oF8{kwIc>zlRNk?nPaaOXnA<%gxfBX{>jS(mP|nYrC4>Me;5*Nm$PkHGpLGlP?;=wG0n zrE)`bv~F_qQ5Ix3{n$4vL#_W@jFLH`eUC=)W_5~|238}(-%&p0@HNuyV!-Mzb5K$| zy)Mbbkrki#W8!BsLARebb~;fH|*Z^P-`PxE9ln9 zhjC50Ge2Ww{`xw8^;XL^UO^v~pKG;oyZh9M1$DT$+^#k=K73~u@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oyF=ni72v)~5PAmMiX Date: Mon, 3 Dec 2012 18:43:44 -0200 Subject: [PATCH 020/386] QNX: Fix plugin compilation Fix the plugin compilation after cd34da54269e6cd7fa5c18242d982736f022a14a renamed the QWindow API. Change-Id: I3ec4ce9ae2df9a66f6bf24a18277bc59c05d2e8e Reviewed-by: Lars Knoll Reviewed-by: Thomas McGuire --- src/plugins/platforms/qnx/qqnxwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/qnx/qqnxwindow.cpp b/src/plugins/platforms/qnx/qqnxwindow.cpp index 787f371ca6..af7a89a399 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxwindow.cpp @@ -269,7 +269,7 @@ void QQnxWindow::setVisible(bool visible) root->updateVisibility(root->m_visible); - window()->requestActivateWindow(); + window()->requestActivate(); if (window()->isTopLevel() && visible) QWindowSystemInterface::handleExposeEvent(window(), window()->geometry()); From a800228fdaa3111df71a70086a3fc3b0e9866157 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Mon, 3 Dec 2012 16:43:45 +0100 Subject: [PATCH 021/386] Moved the mainwindow examples from qtdoc Change-Id: I5a11933e86c6c71f68a55e45c7bcfdfc702bf4e6 Reviewed-by: Eskil Abrahamsen Blomfeldt --- examples/widgets/doc/src/application.qdoc | 1 + examples/widgets/doc/src/dockwidgets.qdoc | 1 + examples/widgets/doc/src/mainwindow.qdoc | 1 + examples/widgets/doc/src/mdi.qdoc | 1 + examples/widgets/doc/src/menus.qdoc | 1 + examples/widgets/doc/src/recentfiles.qdoc | 1 + examples/widgets/doc/src/sdi.qdoc | 1 + src/widgets/doc/images/mainwindow-examples.png | Bin 0 -> 10271 bytes src/widgets/doc/src/qtwidgets-examples.qdoc | 15 +++++++++++++++ 9 files changed, 22 insertions(+) create mode 100644 src/widgets/doc/images/mainwindow-examples.png diff --git a/examples/widgets/doc/src/application.qdoc b/examples/widgets/doc/src/application.qdoc index bd0f8fd09f..e6c135e138 100644 --- a/examples/widgets/doc/src/application.qdoc +++ b/examples/widgets/doc/src/application.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/application \title Application Example + \ingroup examples-mainwindow \brief The Application example shows how to implement a standard GUI application with menus, toolbars, and a status bar. The example diff --git a/examples/widgets/doc/src/dockwidgets.qdoc b/examples/widgets/doc/src/dockwidgets.qdoc index 8f83c80417..88dc146c7e 100644 --- a/examples/widgets/doc/src/dockwidgets.qdoc +++ b/examples/widgets/doc/src/dockwidgets.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/dockwidgets \title Dock Widgets Example + \ingroup examples-mainwindow \brief The Dock Widgets example shows how to add dock windows to an application. It also shows how to use Qt's rich text engine. diff --git a/examples/widgets/doc/src/mainwindow.qdoc b/examples/widgets/doc/src/mainwindow.qdoc index 313b8cbc10..a0a7a43ee0 100644 --- a/examples/widgets/doc/src/mainwindow.qdoc +++ b/examples/widgets/doc/src/mainwindow.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/mainwindow \title Main Window + \ingroup examples-mainwindow \brief The Main Window example shows Qt's extensive support for tool bars, dock windows, menus, and other standard application features. diff --git a/examples/widgets/doc/src/mdi.qdoc b/examples/widgets/doc/src/mdi.qdoc index e6b5eef4b4..fc1835c727 100644 --- a/examples/widgets/doc/src/mdi.qdoc +++ b/examples/widgets/doc/src/mdi.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/mdi \title MDI Example + \ingroup examples-mainwindow \brief The MDI example shows how to implement a Multiple Document Interface using Qt's QMdiArea class. diff --git a/examples/widgets/doc/src/menus.qdoc b/examples/widgets/doc/src/menus.qdoc index 3b0c6079ab..09a43a1a45 100644 --- a/examples/widgets/doc/src/menus.qdoc +++ b/examples/widgets/doc/src/menus.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/menus \title Menus Example + \ingroup examples-mainwindow \brief The Menus example demonstrates how menus can be used in a main window application. diff --git a/examples/widgets/doc/src/recentfiles.qdoc b/examples/widgets/doc/src/recentfiles.qdoc index 722e32f8cd..01a6975828 100644 --- a/examples/widgets/doc/src/recentfiles.qdoc +++ b/examples/widgets/doc/src/recentfiles.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/recentfiles \title Recent Files Example + \ingroup examples-mainwindow \brief The Recent Files example shows how a standard File menu can be extended to show the most recent files loaded by a main window application. diff --git a/examples/widgets/doc/src/sdi.qdoc b/examples/widgets/doc/src/sdi.qdoc index 379f28dc08..b163930530 100644 --- a/examples/widgets/doc/src/sdi.qdoc +++ b/examples/widgets/doc/src/sdi.qdoc @@ -28,6 +28,7 @@ /*! \example mainwindows/sdi \title SDI Example + \ingroup examples-mainwindow \brief The SDI example shows how to create a Single Document Interface. It uses a number of top-level windows to display the contents of different text files. diff --git a/src/widgets/doc/images/mainwindow-examples.png b/src/widgets/doc/images/mainwindow-examples.png new file mode 100644 index 0000000000000000000000000000000000000000..3e946a68bf1f2bc252c40699f555d06bb676209d GIT binary patch literal 10271 zcmV+)DB#zLP)RCwC$oq2Fu$9cg0SMy&d(`h@?&UDggk|t@BCT*wF9Bq0~pEjh9!TDEM*@xD)xxQUAdZvrF%@DwQ?qHgN2h$Q}} zzr{yE5C~EfMOlOl%r|cq`*!#3+wa_Ocfa?-zZdzxm2pqtn;DCLnca&NheJDpje{$OYXQ}>wFY$jN!Twa%bBI!@PmI9FYjjb&Th2J^i`_}ijeCN%Ee>^q5 zCC&Ek!4u!xof zRnAV0|Fpw@+@cak%!@I6tOLFnfBUn0JAU_l=dZn9^BX%VKJnl2zxvY29obc%{^?P$ z_4SwE{guDl`i-pzNWWFk{DYl`Nc^Ut@UP-({^p(LZ~a@`A0L_d^m`+p{@&i-`HwtW z+^zM;HTr*C>3_4yzpZ|eM7(wJ>lyy9r7Mhr;MeN>TWS@WLEBNY|A5i|pQZkntNe#e zF?_5Sg@=Yd`KIRA-)R2iYsH^LYst6P0pHKR^>>-K)>k(MLHP58D_=S6`O<;TFYRgj z!n@6%i7Wl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||*(tp&1e47I2r))doDqrU!2j4Q97-~RO@ygs%--oib(hkEVUk8Yc zLX0B$f(BDpbSCe^6duhp1Sv-a_n*FHT|EQq617b!zcqC;;>vniXvE z=BQ}-P8IqYXF8c!A56T^UU;i1i6X>&pb@@OKuHq(RT@sy$SsJJ9Gr*h+Xi|qgNVX| zyu^?}Sz;7WUQmcNL7MlM8SUeu5H^x{%c26sN`!B)AV3wO5(0uup*A=V6AVHW>k%$d zVZj5R`hijz4SEadL(OPDhKNQ0TEle?ZsaddQO>rBQTeMF)Hf){-=TO4t36j2#^@Dv z8LYLUAeH0ZbWWyU;}^%}4J8sST!=J4SkW$N`O1cT8jA8z0I$S56L66Cry^xY%V$%i zynJYicY|MvMlD~KlIYE}fbm8nPzIU2c12BvY(|x(ABr(>Bw%7_S%m_)eN#4vNw+B` z!LR89?ZZ85F>0RGyznE6c(DmLoIUMT`{+g?JS3kig)re|2pM@T`xs*=j1Cl{{AJOS znI<|04Od!LiY`PuKF93%T%i!np^VbN2RpFJP_Wn<7^qmc&oLuD=eqFY00Z73Zy*j( zM^|SIg;5DZ!^8IWF1Auz*Y)wc7z#H-(2{{8M~{_NR1%dZhQg=>jZRx#-vHFq*9i() z$H4*sn9)jNImi}BIUWS4v|pvUK9u>mX@7(UF*7G;)kB$5W0Xh-@Lt7GxCBJB^oo6~c^)XXK7bNTwiTS=cTc!s@~Z``6wV^h;@ zon6v5bHo^IA5U<5y<4{atfahxxLs;PzS-y*8T;pd`IpI=IgL(tVfxbe)QoRzg4lY% z$i!qIXZE8+Az}17d-`74vXvM|L0I zPW&dV1~9goYc-lcPc--Y! Date: Tue, 4 Dec 2012 10:40:23 +0100 Subject: [PATCH 022/386] doc: Fix snippets in threading docs The examples have been put under examples/widgets which is probably not correct, since they don't even have gui. The correct fix would probably be to move them into threads/, but that would risk a lot of breakage, so the conservative work-around is just to use the correct relative paths instead. Change-Id: I36c3aa45056c8825d1991f345ad7d7799e2fa5fc Reviewed-by: Jerome Pasion Reviewed-by: Paul Olav Tvete --- src/corelib/doc/src/threads-basics.qdoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/corelib/doc/src/threads-basics.qdoc b/src/corelib/doc/src/threads-basics.qdoc index 501edb6ecf..ea804f2d6d 100644 --- a/src/corelib/doc/src/threads-basics.qdoc +++ b/src/corelib/doc/src/threads-basics.qdoc @@ -244,18 +244,18 @@ code that generates another thread which says hello in that thread and then exits. - \snippet tutorials/threads/hellothread/hellothread.h 1 + \snippet ../widgets/tutorials/threads/hellothread/hellothread.h 1 We derive a class from QThread and reimplement the \l{QThread::}{run()} method. - \snippet tutorials/threads/hellothread/hellothread.cpp 1 + \snippet ../widgets/tutorials/threads/hellothread/hellothread.cpp 1 The run method contains the code that will be run in a separate thread. In this example, a message containing the thread ID will be printed. QThread::start() will call the method in another thread. - \snippet tutorials/threads/hellothread/main.cpp 1 + \snippet ../widgets/tutorials/threads/hellothread/main.cpp 1 To start the thread, our thread object needs to be instantiated. The \l{QThread::}{start()} method creates a new thread and calls the @@ -453,7 +453,7 @@ another thread needs to be placed in the reimplemented QRunnable::run() method. - \snippet tutorials/threads/hellothreadpool/hellothreadpool.cpp 1 + \snippet ../widgets/tutorials/threads/hellothreadpool/hellothreadpool.cpp 1 We instantiate Work in main(), locate the global thread pool and use the QThreadPool::start() method. Now the thread pool runs our worker in another @@ -463,7 +463,7 @@ \section2 Example 2: Using QtConcurrent - \snippet tutorials/threads/helloconcurrent/helloconcurrent.cpp 1 + \snippet ../widgets/tutorials/threads/helloconcurrent/helloconcurrent.cpp 1 We write a global function hello() to implement the work. QtConcurrent::run() is used to run the function in another thread. The result is a QFuture. @@ -499,17 +499,17 @@ Communication from the GUI to the worker thread is shown in the next example. - \snippet tutorials/threads/clock/main.cpp 1 + \snippet ../widgets/tutorials/threads/clock/main.cpp 1 We've connected the \c clockThread with the label. The connection must be a queued signal-slot connection because we want to put the call in the event loop. - \snippet tutorials/threads/clock/clockthread.h 1 + \snippet ../widgets/tutorials/threads/clock/clockthread.h 1 We have derived a class from QThread and declared the \c sendTime() signal. - \snippet tutorials/threads/clock/clockthread.cpp 1 + \snippet ../widgets/tutorials/threads/clock/clockthread.cpp 1 The trickiest part of this example is that the timer is connected to its slot via a direct connection. A default connection would produce a queued @@ -541,7 +541,7 @@ The \c Thread class's code is short but somewhat involved, so we only show how to use the class. - \snippet tutorials/threads/movedobject/main.cpp 1 + \snippet ../widgets/tutorials/threads/movedobject/main.cpp 1 QMetaObject::invokeMethod() calls a slot via the event loop. The worker object's methods should not be called directly after the object has been From 7cccb7b92474a73468e46ac5c83e8083077f684b Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Mon, 3 Dec 2012 13:49:28 +0100 Subject: [PATCH 023/386] duplicate URL example image for the dbus index doc Change-Id: Icd25711e4ede9fd3292d087103402f25a755d102 Reviewed-by: Paul Olav Tvete --- src/dbus/doc/images/qurl-ftppath.png | Bin 0 -> 1974 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/dbus/doc/images/qurl-ftppath.png diff --git a/src/dbus/doc/images/qurl-ftppath.png b/src/dbus/doc/images/qurl-ftppath.png new file mode 100644 index 0000000000000000000000000000000000000000..d88df4922bb8c531daa0a721e5a62c422a48fa2a GIT binary patch literal 1974 zcmV;n2TAyeP)_p+iZe zNmZ&@oRhkB1iDd*14#1be7ie4`FDq+r9ijY)%dB^L?eIE{Fa{W4~Gia2i- z8pWOQ=89H7ByeeWoWNd%obVdJBiVW;Q8JQegIa z#5SA#jtJs-8F6lcmR#exVrxyVRQN;Z?BSwEL zh&xJ|+($mT#%h2@NJqFX1xmJEg5@wGE@PD7P&6IB)LChg0<#*xA4gn$CfQse(m1Aw zIqW6RD`3viN#||3aB!*WCu)24ORTt0c=$J%;a%5MX@CLZmIb#Xk4|z1 z-(y!38ZnlL(O(K9Nhe9{r(Zx^X*(EG|nJDE6-SSULp|9ZICSItcx)*E=Z z;T0u4^qwLjjvh>$Moe@$l7F9fU+KSg?O?Y}APS@K#du(VI5ufrgQrPsOlsV1r7QLQ zU#yy7MTyi>x~Vmzb5=j=PZ~fPy>-*XKY#ZY5REa4pO_$qn9dq}m&+6})t!dkZU-^M zkpwY899a+(#1KOaF~kr<3^BwILkuy*5L5M4LvOR0BBrv|&@1n!h^f5O&@0wc#8j0B z4ZB@Ac~DdJx#$8HUQZI!i#}D`r{`{N$8K&f`qr_V-=X`5o*(P=@qGRZFnNSYk5LiZAu9sl09DhgB;!5uXc} z7-F%5_NnBmdr5oM-bnNApq6~lA(t#vVlpG%kjS8|+57Fpz9Tk%4`RY4hS;gk%3iNE zABbD^g-i_bINYo2sj()N55z7aVu%MLA||tu5kowvZ!cCe$$GCH88O7I`f_n9scMA8 z5HAK*JxQWh;vtKS7-C6VXA^1EAJopZi)1{nW#RfLh#_th5gEUy7k-(Oyn?18HVR^h zb!ctV`|X!KsXDv&4~=zkTnT`9qMH*F!~`)}1MwdthzVl)1y4qG_JS$hs{jB107*qo IM6N<$f?#f~7ytkO literal 0 HcmV?d00001 From 81f3b354df9bc927b576994987e3f7437c532a73 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 3 Dec 2012 16:08:36 +0100 Subject: [PATCH 024/386] Fix warning about cast from ASCII. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icc251a8d26db022077c84ff2d0911868b56c9fd6 Reviewed-by: Morten Johan Sørvig --- src/gui/image/qimagereader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index a27a7710f6..a8e8dc00e9 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -1235,7 +1235,7 @@ bool QImageReader::read(QImage *image) } // successful read; check for "@2x" file name suffix and set device pixel ratio. - if (QFileInfo(fileName()).baseName().endsWith("@2x")) { + if (QFileInfo(fileName()).baseName().endsWith(QLatin1String("@2x"))) { image->setDevicePixelRatio(2.0); } From 9c4b3dfcafa0313b14e28e398ff3df6316a7b6eb Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 18:53:22 +0100 Subject: [PATCH 025/386] qregexp benchmark needs exceptions Change-Id: I3833345a09e49899c256b4410783b6a08111c4a0 Reviewed-by: Joerg Bornemann --- tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index 6e466aeab6..140c93bd81 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -1,7 +1,7 @@ TEMPLATE = app TARGET = tst_bench_qregexp QT = core testlib -CONFIG += release +CONFIG += release exceptions SOURCES += main.cpp RESOURCES += qregexp.qrc From 27b66e43c08faed5e76399cfcbaba75a63bfc020 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 20:31:04 +0100 Subject: [PATCH 026/386] remove vestiges of QT_MODULE() checking code Change-Id: Icf863c3ca7218af54cb5698d848db786d49481cc Reviewed-by: Joerg Bornemann --- bin/syncqt | 6 ------ sync.profile | 1 - 2 files changed, 7 deletions(-) diff --git a/bin/syncqt b/bin/syncqt index 896ee742c5..21ddff48a7 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -1148,12 +1148,6 @@ if($check_includes) { my @subdirs = listSubdirs($modules{$lib}); foreach my $subdir (@subdirs) { - my $header_skip_qt_module_test = 0; - foreach(@ignore_for_qt_module_check) { - foreach (split(/;/, $_)) { - $header_skip_qt_module_test = 1 if ($subdir =~ /^$_/); - } - } my @headers = findFiles($subdir, "^[-a-z0-9_]*\\.h\$" , 0); foreach my $header (@headers) { my $header_skip_qt_begin_header_test = 0; diff --git a/sync.profile b/sync.profile index 0e1608a748..2d7e054c1f 100644 --- a/sync.profile +++ b/sync.profile @@ -78,7 +78,6 @@ my @zlib_headers = ( "zconf.h", "zlib.h" ); @ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h", @zlib_headers, @angle_headers); @ignore_for_qt_begin_header_check = ( "qiconset.h", "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qt_windows.h", @zlib_headers, @angle_headers); @ignore_for_qt_begin_namespace_check = ( "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qatomic_arch.h", "qatomic_windowsce.h", "qt_windows.h", "qatomic_macosx.h", @zlib_headers, @angle_headers); -@ignore_for_qt_module_check = ( "$modules{QtCore}/arch", "$modules{QtCore}/global", "$modules{QtTest}", "$modules{QtDBus}" ); %inject_headers = ( "$basedir/src/corelib/global" => [ "qconfig.h" ] ); # Module dependencies. # Every module that is required to build this module should have one entry. From 2274bef6b27a57deb1edd9fd2aee94d0d928c9f5 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 20:33:48 +0100 Subject: [PATCH 027/386] fix support for multiple source directories per module Change-Id: I040cb928e016c3a8257a1bcbf20627d67f07c84d Reviewed-by: Liang Qi Reviewed-by: Joerg Bornemann --- bin/syncqt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/syncqt b/bin/syncqt index 21ddff48a7..53d07fc826 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -803,7 +803,8 @@ foreach my $lib (@modules_to_sync) { die "No such module: $lib" unless(defined $modules{$lib}); #iteration info - my $dir = $modules{$lib}; + my @dirs = split(/;/, $modules{$lib}); + my $dir = $dirs[0]; my $project = $dir; $project =~ s,/([^/]+)$,/$1/$1.pro,; @@ -870,7 +871,7 @@ foreach my $lib (@modules_to_sync) { } #create the new ones - foreach my $current_dir (split(/;/, $dir)) { + foreach my $current_dir (@dirs) { my @headers_paths = split(/;/, $pathtoheaders); if (@headers_paths) { @headers_paths = map { "$current_dir/$_" } @headers_paths; @@ -1145,7 +1146,7 @@ unless($showonly || !$create_uic_class_map) { if($check_includes) { for my $lib (keys(%modules)) { #calc subdirs - my @subdirs = listSubdirs($modules{$lib}); + my @subdirs = listSubdirs(split(/;/, $modules{$lib})); foreach my $subdir (@subdirs) { my @headers = findFiles($subdir, "^[-a-z0-9_]*\\.h\$" , 0); From 24f623bedac2009d6dd9034282053b87c94b0e21 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 20:35:02 +0100 Subject: [PATCH 028/386] support flagging all headers from a particular source directory as privates Change-Id: Ia893abc95b358d8a8ffd690563f2f02bc20fd98d Reviewed-by: Joerg Bornemann --- bin/syncqt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/syncqt b/bin/syncqt index 53d07fc826..ab8a48f7a9 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -872,6 +872,8 @@ foreach my $lib (@modules_to_sync) { #create the new ones foreach my $current_dir (@dirs) { + my $thisprivate = 0; + ($current_dir =~ s/^\^//) and $thisprivate = 1; my @headers_paths = split(/;/, $pathtoheaders); if (@headers_paths) { @headers_paths = map { "$current_dir/$_" } @headers_paths; @@ -907,7 +909,7 @@ foreach my $lib (@modules_to_sync) { if(isQpaHeader($public_header)) { $public_header = 0; $qpa_header = 1; - } elsif($allheadersprivate || $public_header =~ /_p.h$/ || $public_header =~ /_pch.h$/) { + } elsif($allheadersprivate || $thisprivate || $public_header =~ /_p.h$/ || $public_header =~ /_pch.h$/) { $public_header = 0; } else { foreach (@ignore_for_master_contents) { @@ -1146,7 +1148,7 @@ unless($showonly || !$create_uic_class_map) { if($check_includes) { for my $lib (keys(%modules)) { #calc subdirs - my @subdirs = listSubdirs(split(/;/, $modules{$lib})); + my @subdirs = listSubdirs(map { s/^\^//; $_ } split(/;/, $modules{$lib})); foreach my $subdir (@subdirs) { my @headers = findFiles($subdir, "^[-a-z0-9_]*\\.h\$" , 0); From 5ea41a2efa67c2ca1fe13a00992a8b7cb29a00cf Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 21:15:02 +0100 Subject: [PATCH 029/386] properly syncqt-ize harfbuzz headers we were already installing them into QtCore/private, so turn them into proper private headers to start with. this cleans up our project files. Change-Id: I0795f79e03b60b5854de9e4dc339e9b5a5e6fd87 Reviewed-by: Lars Knoll Reviewed-by: Joerg Bornemann --- src/corelib/tools/qharfbuzz_p.h | 2 +- src/corelib/tools/qunicodetools.cpp | 2 +- src/corelib/tools/tools.pri | 3 --- src/gui/opengl/opengl.pri | 2 -- src/gui/text/text.pri | 2 -- src/opengl/opengl.pro | 2 -- src/platformsupport/fontdatabases/fontdatabases.pri | 1 - src/plugins/platforms/windows/windows.pro | 2 -- src/widgets/widgets.pro | 2 -- sync.profile | 9 +++++---- tests/auto/gui/text/qrawfont/qrawfont.pro | 2 -- tests/auto/gui/text/qtextlayout/qtextlayout.pro | 1 - .../gui/text/qtextscriptengine/generate/generate.pro | 2 +- .../gui/text/qtextscriptengine/qtextscriptengine.pro | 1 - tests/auto/other/qcomplextext/qcomplextext.pro | 1 - .../benchmarks/gui/painting/qtracebench/qtracebench.pro | 2 -- 16 files changed, 8 insertions(+), 28 deletions(-) diff --git a/src/corelib/tools/qharfbuzz_p.h b/src/corelib/tools/qharfbuzz_p.h index 8330921323..24b2dedc5c 100644 --- a/src/corelib/tools/qharfbuzz_p.h +++ b/src/corelib/tools/qharfbuzz_p.h @@ -54,7 +54,7 @@ #define QHARFBUZZ_P_H #include -#include +#include QT_BEGIN_NAMESPACE diff --git a/src/corelib/tools/qunicodetools.cpp b/src/corelib/tools/qunicodetools.cpp index e86fef61e7..6da5b349f8 100644 --- a/src/corelib/tools/qunicodetools.cpp +++ b/src/corelib/tools/qunicodetools.cpp @@ -44,7 +44,7 @@ #include "qunicodetables_p.h" #include "qvarlengtharray.h" -#include +#include #define FLAG(x) (1 << (x)) diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri index 88a59f5f77..564aff9ab9 100644 --- a/src/corelib/tools/tools.pri +++ b/src/corelib/tools/tools.pri @@ -133,7 +133,6 @@ pcre { } DEFINES += HB_EXPORT=Q_CORE_EXPORT -INCLUDEPATH += ../3rdparty/harfbuzz/src HEADERS += ../3rdparty/harfbuzz/src/harfbuzz.h SOURCES += ../3rdparty/harfbuzz/src/harfbuzz-buffer.c \ ../3rdparty/harfbuzz/src/harfbuzz-gdef.c \ @@ -146,8 +145,6 @@ SOURCES += ../3rdparty/harfbuzz/src/harfbuzz-buffer.c \ tools/qharfbuzz.cpp HEADERS += tools/qharfbuzz_p.h -private_headers.files += ../3rdparty/harfbuzz/src/*.h - INCLUDEPATH += ../3rdparty/md5 \ ../3rdparty/md4 diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri index c241354e9c..2256f201d2 100644 --- a/src/gui/opengl/opengl.pri +++ b/src/gui/opengl/opengl.pri @@ -46,5 +46,3 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) { opengl/qtriangulator.cpp } - -#INCLUDEPATH += ../3rdparty/harfbuzz/src diff --git a/src/gui/text/text.pri b/src/gui/text/text.pri index face6f248f..436b7c7aec 100644 --- a/src/gui/text/text.pri +++ b/src/gui/text/text.pri @@ -85,5 +85,3 @@ SOURCES += \ HEADERS += \ text/qplatformfontdatabase.h - -INCLUDEPATH += ../3rdparty/harfbuzz/src diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro index 57892c7300..64b33b8c97 100644 --- a/src/opengl/opengl.pro +++ b/src/opengl/opengl.pro @@ -59,5 +59,3 @@ SOURCES += qglshaderprogram.cpp \ gl2paintengineex/qtextureglyphcache_gl.cpp SOURCES += qgl_qpa.cpp - -INCLUDEPATH += ../3rdparty/harfbuzz/src diff --git a/src/platformsupport/fontdatabases/fontdatabases.pri b/src/platformsupport/fontdatabases/fontdatabases.pri index 0fc4e71a3f..003017473b 100644 --- a/src/platformsupport/fontdatabases/fontdatabases.pri +++ b/src/platformsupport/fontdatabases/fontdatabases.pri @@ -1,5 +1,4 @@ DEFINES += QT_COMPILES_IN_HARFBUZZ -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src !win32|contains(QT_CONFIG, freetype):!mac { include($$PWD/basic/basic.pri) diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro index 794bd3aa35..248c0992bf 100644 --- a/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro @@ -7,8 +7,6 @@ QT *= core-private QT *= gui-private QT *= platformsupport-private -INCLUDEPATH += ../../../3rdparty/harfbuzz/src - # Note: OpenGL32 must precede Gdi32 as it overwrites some functions. LIBS *= -lole32 !wince*:LIBS *= -lgdi32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32 diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro index f8f00af69b..5f06d4a522 100644 --- a/src/widgets/widgets.pro +++ b/src/widgets/widgets.pro @@ -41,8 +41,6 @@ testcocoon { load(testcocoon) } -INCLUDEPATH += ../3rdparty/harfbuzz/src - win32:!contains(QT_CONFIG, directwrite) { DEFINES += QT_NO_DIRECTWRITE } diff --git a/sync.profile b/sync.profile index 2d7e054c1f..dd01df96d6 100644 --- a/sync.profile +++ b/sync.profile @@ -3,7 +3,7 @@ "QtWidgets" => "$basedir/src/widgets", "QtPrintSupport" => "$basedir/src/printsupport", "QtOpenGL" => "$basedir/src/opengl", - "QtCore" => "$basedir/src/corelib", + "QtCore" => "$basedir/src/corelib;^$basedir/src/3rdparty/harfbuzz/src", "QtXml" => "$basedir/src/xml", "QtSql" => "$basedir/src/sql", "QtNetwork" => "$basedir/src/network", @@ -74,10 +74,11 @@ my @angle_headers = ('egl.h', 'eglext.h', 'eglplatform.h', 'gl2.h', 'gl2ext.h', 'gl2platform.h', 'ShaderLang.h', 'khrplatform.h'); my @internal_zlib_headers = ( "crc32.h", "deflate.h", "gzguts.h", "inffast.h", "inffixed.h", "inflate.h", "inftrees.h", "trees.h", "zutil.h" ); my @zlib_headers = ( "zconf.h", "zlib.h" ); +my @harfbuzz_headers = ( "harfbuzz-buffer-private.h", "harfbuzz-buffer.h", "harfbuzz-dump.h", "harfbuzz-external.h", "harfbuzz-gdef-private.h", "harfbuzz-gdef.h", "harfbuzz-global.h", "harfbuzz-gpos-private.h", "harfbuzz-gpos.h", "harfbuzz-gsub-private.h", "harfbuzz-gsub.h", "harfbuzz-impl.h", "harfbuzz-open-private.h", "harfbuzz-open.h", "harfbuzz-shape.h", "harfbuzz-shaper-private.h", "harfbuzz-shaper.h", "harfbuzz-stream-private.h", "harfbuzz-stream.h", "harfbuzz.h" ); @ignore_headers = ( @internal_zlib_headers ); -@ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h", @zlib_headers, @angle_headers); -@ignore_for_qt_begin_header_check = ( "qiconset.h", "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qt_windows.h", @zlib_headers, @angle_headers); -@ignore_for_qt_begin_namespace_check = ( "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qatomic_arch.h", "qatomic_windowsce.h", "qt_windows.h", "qatomic_macosx.h", @zlib_headers, @angle_headers); +@ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h", @zlib_headers, @angle_headers, @harfbuzz_headers); +@ignore_for_qt_begin_header_check = ( "qiconset.h", "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qt_windows.h", @zlib_headers, @angle_headers, @harfbuzz_headers); +@ignore_for_qt_begin_namespace_check = ( "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qatomic_arch.h", "qatomic_windowsce.h", "qt_windows.h", "qatomic_macosx.h", @zlib_headers, @angle_headers, @harfbuzz_headers); %inject_headers = ( "$basedir/src/corelib/global" => [ "qconfig.h" ] ); # Module dependencies. # Every module that is required to build this module should have one entry. diff --git a/tests/auto/gui/text/qrawfont/qrawfont.pro b/tests/auto/gui/text/qrawfont/qrawfont.pro index b764cfbee0..ce4d0aec40 100644 --- a/tests/auto/gui/text/qrawfont/qrawfont.pro +++ b/tests/auto/gui/text/qrawfont/qrawfont.pro @@ -7,7 +7,5 @@ QT = core core-private gui gui-private testlib SOURCES += \ tst_qrawfont.cpp -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src - TESTDATA += testfont_bold_italic.ttf testfont.ttf DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/gui/text/qtextlayout/qtextlayout.pro b/tests/auto/gui/text/qtextlayout/qtextlayout.pro index 696fae0a9c..9833a5bd1a 100644 --- a/tests/auto/gui/text/qtextlayout/qtextlayout.pro +++ b/tests/auto/gui/text/qtextlayout/qtextlayout.pro @@ -4,5 +4,4 @@ QT += core-private gui-private testlib HEADERS += SOURCES += tst_qtextlayout.cpp DEFINES += QT_COMPILES_IN_HARFBUZZ -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/gui/text/qtextscriptengine/generate/generate.pro b/tests/auto/gui/text/qtextscriptengine/generate/generate.pro index 94500e4195..bd85c108c2 100644 --- a/tests/auto/gui/text/qtextscriptengine/generate/generate.pro +++ b/tests/auto/gui/text/qtextscriptengine/generate/generate.pro @@ -1,6 +1,6 @@ CONFIG -= moc +QT += core-private # for harfbuzz INCLUDEPATH += . /usr/include/freetype2 -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src SOURCES += main.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/gui/text/qtextscriptengine/qtextscriptengine.pro b/tests/auto/gui/text/qtextscriptengine/qtextscriptengine.pro index 37eab00c8d..e355a90e5c 100644 --- a/tests/auto/gui/text/qtextscriptengine/qtextscriptengine.pro +++ b/tests/auto/gui/text/qtextscriptengine/qtextscriptengine.pro @@ -6,5 +6,4 @@ QT += core-private gui-private testlib HEADERS += SOURCES += tst_qtextscriptengine.cpp -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/other/qcomplextext/qcomplextext.pro b/tests/auto/other/qcomplextext/qcomplextext.pro index f6c0c261be..7848028134 100644 --- a/tests/auto/other/qcomplextext/qcomplextext.pro +++ b/tests/auto/other/qcomplextext/qcomplextext.pro @@ -4,5 +4,4 @@ TARGET = tst_qcomplextext QT += widgets widgets-private testlib QT += core-private gui-private SOURCES += tst_qcomplextext.cpp -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/benchmarks/gui/painting/qtracebench/qtracebench.pro b/tests/benchmarks/gui/painting/qtracebench/qtracebench.pro index f5ec44f4d8..d8c5c8e85b 100644 --- a/tests/benchmarks/gui/painting/qtracebench/qtracebench.pro +++ b/tests/benchmarks/gui/painting/qtracebench/qtracebench.pro @@ -4,8 +4,6 @@ QT += core-private gui-private widgets-private TEMPLATE = app TARGET = tst_qtracebench -INCLUDEPATH += . $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src - RESOURCES += qtracebench.qrc SOURCES += tst_qtracebench.cpp From 8b5c0e8cbc36a92687538e6249afbb22b546ca9e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 21:15:28 +0100 Subject: [PATCH 030/386] remove pointless directory references Change-Id: Ice43a3d3eeab5ada35e1439e055eb7b709d66c83 Reviewed-by: Joerg Bornemann --- src/tools/tools.pro | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/tools/tools.pro b/src/tools/tools.pro index f7d1e651ff..fa9ed54c50 100644 --- a/src/tools/tools.pro +++ b/src/tools/tools.pro @@ -4,20 +4,20 @@ TOOLS_SUBDIRS = src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_qdoc contains(QT_CONFIG, dbus): TOOLS_SUBDIRS += src_tools_qdbusxml2cpp src_tools_qdbuscpp2xml !contains(QT_CONFIG, no-widgets): TOOLS_SUBDIRS += src_tools_uic # Set subdir and respective target name -src_tools_bootstrap.subdir = $$PWD/bootstrap +src_tools_bootstrap.subdir = bootstrap src_tools_bootstrap.target = sub-tools-bootstrap -src_tools_moc.subdir = $$PWD/moc +src_tools_moc.subdir = moc src_tools_moc.target = sub-moc -src_tools_rcc.subdir = $$PWD/rcc +src_tools_rcc.subdir = rcc src_tools_rcc.target = sub-rcc -src_tools_uic.subdir = $$PWD/uic +src_tools_uic.subdir = uic src_tools_uic.target = sub-uic -src_tools_qdoc.subdir = $$QT_SOURCE_TREE/src/tools/qdoc +src_tools_qdoc.subdir = qdoc src_tools_qdoc.target = sub-qdoc contains(QT_CONFIG, dbus) { - src_tools_qdbusxml2cpp.subdir = $$QT_SOURCE_TREE/src/tools/qdbusxml2cpp + src_tools_qdbusxml2cpp.subdir = qdbusxml2cpp src_tools_qdbusxml2cpp.target = sub-qdbusxml2cpp - src_tools_qdbuscpp2xml.subdir = $$QT_SOURCE_TREE/src/tools/qdbuscpp2xml + src_tools_qdbuscpp2xml.subdir = qdbuscpp2xml src_tools_qdbuscpp2xml.target = sub-qdbuscpp2xml } From c343795b483d81e8d8857118ebb68adb48ba6022 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 21:16:13 +0100 Subject: [PATCH 031/386] remove pointless zlib includes Change-Id: I352f6f9626c012c39ac97163ac83b3e24a9e9c7a Reviewed-by: Joerg Bornemann --- .../access/qhttpnetworkconnection/qhttpnetworkconnection.pro | 1 - .../auto/network/access/qhttpnetworkreply/qhttpnetworkreply.pro | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/auto/network/access/qhttpnetworkconnection/qhttpnetworkconnection.pro b/tests/auto/network/access/qhttpnetworkconnection/qhttpnetworkconnection.pro index 925b72ac92..5f5966e90d 100644 --- a/tests/auto/network/access/qhttpnetworkconnection/qhttpnetworkconnection.pro +++ b/tests/auto/network/access/qhttpnetworkconnection/qhttpnetworkconnection.pro @@ -2,7 +2,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qhttpnetworkconnection SOURCES += tst_qhttpnetworkconnection.cpp -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib requires(contains(QT_CONFIG,private_tests)) QT = core-private network-private testlib diff --git a/tests/auto/network/access/qhttpnetworkreply/qhttpnetworkreply.pro b/tests/auto/network/access/qhttpnetworkreply/qhttpnetworkreply.pro index 5325b76726..2eb0944e44 100644 --- a/tests/auto/network/access/qhttpnetworkreply/qhttpnetworkreply.pro +++ b/tests/auto/network/access/qhttpnetworkreply/qhttpnetworkreply.pro @@ -2,7 +2,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qhttpnetworkreply SOURCES += tst_qhttpnetworkreply.cpp -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib requires(contains(QT_CONFIG,private_tests)) QT = core-private network-private testlib From 4873c4151e895f9a1e4c6c90fa86594f43147298 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Dec 2012 21:18:24 +0100 Subject: [PATCH 032/386] remove pointless QT..sources references there is no point to use this for in-module references. cleaning it out in an attempt to purge the constants entirely. Change-Id: I1da4d70e3778257dd43eda0bdfc71eaec1124732 Reviewed-by: Joerg Bornemann --- tests/auto/corelib/io/qfilesystementry/qfilesystementry.pro | 4 ++-- .../qmimedatabase/qmimedatabase-cache/qmimedatabase-cache.pro | 2 +- .../qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro | 2 +- tests/auto/corelib/tools/qfreelist/qfreelist.pro | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/auto/corelib/io/qfilesystementry/qfilesystementry.pro b/tests/auto/corelib/io/qfilesystementry/qfilesystementry.pro index b0ad8cc5ae..99d3af1848 100644 --- a/tests/auto/corelib/io/qfilesystementry/qfilesystementry.pro +++ b/tests/auto/corelib/io/qfilesystementry/qfilesystementry.pro @@ -2,6 +2,6 @@ CONFIG += testcase parallel_test TARGET = tst_qfilesystementry QT = core-private testlib SOURCES = tst_qfilesystementry.cpp \ - $${QT.core.sources}/io/qfilesystementry.cpp -HEADERS = $${QT.core.sources}/io/qfilesystementry_p.h + $$QT_SOURCE_TREE/src/corelib/io/qfilesystementry.cpp +HEADERS = $$QT_SOURCE_TREE/src/corelib/io/qfilesystementry_p.h DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/qmimedatabase-cache.pro b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/qmimedatabase-cache.pro index b9bee22781..9f006b4a4f 100644 --- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/qmimedatabase-cache.pro +++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/qmimedatabase-cache.pro @@ -7,7 +7,7 @@ QT = core testlib concurrent SOURCES = tst_qmimedatabase-cache.cpp HEADERS = ../tst_qmimedatabase.h -DEFINES += CORE_SOURCES='"\\"$$QT.core.sources\\""' +DEFINES += CORE_SOURCES='"\\"$$QT_SOURCE_TREE/src/corelib\\""' *-g++*:QMAKE_CXXFLAGS += -W -Wall -Wextra -Wshadow -Wno-long-long -Wnon-virtual-dtor DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro index 688affd7cf..0897a6b3ba 100644 --- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro +++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro @@ -9,7 +9,7 @@ CONFIG += depend_includepath SOURCES += tst_qmimedatabase-xml.cpp HEADERS += ../tst_qmimedatabase.h -DEFINES += CORE_SOURCES='"\\"$$QT.core.sources\\""' +DEFINES += CORE_SOURCES='"\\"$$QT_SOURCE_TREE/src/corelib\\""' *-g++*:QMAKE_CXXFLAGS += -W -Wall -Wextra -Wshadow -Wno-long-long -Wnon-virtual-dtor DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/tools/qfreelist/qfreelist.pro b/tests/auto/corelib/tools/qfreelist/qfreelist.pro index e1effd30a0..60ae819f87 100644 --- a/tests/auto/corelib/tools/qfreelist/qfreelist.pro +++ b/tests/auto/corelib/tools/qfreelist/qfreelist.pro @@ -3,5 +3,5 @@ CONFIG += parallel_test TARGET = tst_qfreelist QT = core-private testlib SOURCES = tst_qfreelist.cpp -!contains(QT_CONFIG,private_tests): SOURCES += $$QT.core.sources/tools/qfreelist.cpp +!contains(QT_CONFIG,private_tests): SOURCES += $$QT_SOURCE_TREE/src/corelib/tools/qfreelist.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From 0f8b7deef1e6d2b0d24f83c12c3ce11ed0fc0640 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 4 Dec 2012 14:06:35 +0100 Subject: [PATCH 033/386] Move Network Examples from qtdoc to qtbase Move the main example overview and use the \group tag convention to make the list update automatically. Change-Id: Ib2cc8cf7def9a7f3dce6b7ed6d4958771cbdf5cd Reviewed-by: Jerome Pasion Reviewed-by: Paul Olav Tvete --- .../doc/src/blockingfortuneclient.qdoc | 1 + .../network/doc/src/broadcastreceiver.qdoc | 1 + examples/network/doc/src/broadcastsender.qdoc | 1 + examples/network/doc/src/fortuneclient.qdoc | 1 + examples/network/doc/src/fortuneserver.qdoc | 1 + examples/network/doc/src/googlesuggest.qdoc | 1 + examples/network/doc/src/http.qdoc | 1 + examples/network/doc/src/loopback.qdoc | 1 + .../network/doc/src/multicastreceiver.qdoc | 1 + examples/network/doc/src/multicastsender.qdoc | 1 + examples/network/doc/src/network-chat.qdoc | 1 + .../network/doc/src/securesocketclient.qdoc | 1 + .../doc/src/threadedfortuneserver.qdoc | 1 + examples/network/doc/src/torrent.qdoc | 1 + src/network/doc/images/network-examples.png | Bin 0 -> 8946 bytes src/network/doc/src/examples.qdoc | 68 ++++++++++++++++++ 16 files changed, 82 insertions(+) create mode 100644 src/network/doc/images/network-examples.png create mode 100644 src/network/doc/src/examples.qdoc diff --git a/examples/network/doc/src/blockingfortuneclient.qdoc b/examples/network/doc/src/blockingfortuneclient.qdoc index 581cbe6699..4e105b50a7 100644 --- a/examples/network/doc/src/blockingfortuneclient.qdoc +++ b/examples/network/doc/src/blockingfortuneclient.qdoc @@ -28,6 +28,7 @@ /*! \example blockingfortuneclient \title Blocking Fortune Client Example + \ingroup examples-network \brief The Blocking Fortune Client example shows how to create a client for a network service using QTcpSocket's synchronous API in a non-GUI thread. diff --git a/examples/network/doc/src/broadcastreceiver.qdoc b/examples/network/doc/src/broadcastreceiver.qdoc index 99a4cd3823..374bc29244 100644 --- a/examples/network/doc/src/broadcastreceiver.qdoc +++ b/examples/network/doc/src/broadcastreceiver.qdoc @@ -28,6 +28,7 @@ /*! \example broadcastreceiver \title Broadcast Receiver Example + \ingroup examples-network \brief The Broadcast Receiver example shows how to receive information that is broadcasted over a local network. diff --git a/examples/network/doc/src/broadcastsender.qdoc b/examples/network/doc/src/broadcastsender.qdoc index dc916e3fed..a587c5fddd 100644 --- a/examples/network/doc/src/broadcastsender.qdoc +++ b/examples/network/doc/src/broadcastsender.qdoc @@ -28,6 +28,7 @@ /*! \example broadcastsender \title Broadcast Sender Example + \ingroup examples-network \brief The Broadcast Sender example shows how to broadcast information to multiple clients on a local network. diff --git a/examples/network/doc/src/fortuneclient.qdoc b/examples/network/doc/src/fortuneclient.qdoc index 6ef9155337..f7a4c56020 100644 --- a/examples/network/doc/src/fortuneclient.qdoc +++ b/examples/network/doc/src/fortuneclient.qdoc @@ -28,6 +28,7 @@ /*! \example fortuneclient \title Fortune Client Example + \ingroup examples-network \brief The Fortune Client example shows how to create a client for a simple network service using QTcpSocket. It is intended to be run alongside the diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc index 05e96b4ded..d702bc6bb1 100644 --- a/examples/network/doc/src/fortuneserver.qdoc +++ b/examples/network/doc/src/fortuneserver.qdoc @@ -28,6 +28,7 @@ /*! \example fortuneserver \title Fortune Server Example + \ingroup examples-network \brief The Fortune Server example shows how to create a server for a simple network service. It is intended to be run alongside the diff --git a/examples/network/doc/src/googlesuggest.qdoc b/examples/network/doc/src/googlesuggest.qdoc index ff16cbf9e0..c04e65c3f9 100644 --- a/examples/network/doc/src/googlesuggest.qdoc +++ b/examples/network/doc/src/googlesuggest.qdoc @@ -28,6 +28,7 @@ /*! \example googlesuggest \title Google Suggest Example + \ingroup examples-network \brief The Google Suggest example demonstrates how to use the QNetworkAccessManager class to obtain a list of suggestions from the Google search engine as the diff --git a/examples/network/doc/src/http.qdoc b/examples/network/doc/src/http.qdoc index 67bdbdb558..89223b7894 100644 --- a/examples/network/doc/src/http.qdoc +++ b/examples/network/doc/src/http.qdoc @@ -28,6 +28,7 @@ /*! \example http \title HTTP Example + \ingroup examples-network \brief The HTTP example demonstrates a simple HTTP client that shows how to fetch files specified by URLs from remote hosts. diff --git a/examples/network/doc/src/loopback.qdoc b/examples/network/doc/src/loopback.qdoc index 52518a0028..e278a9e9bd 100644 --- a/examples/network/doc/src/loopback.qdoc +++ b/examples/network/doc/src/loopback.qdoc @@ -28,6 +28,7 @@ /*! \example loopback \title Loopback Example + \ingroup examples-network \brief The Loopback example shows how to communicate between simple clients and servers on a local host. diff --git a/examples/network/doc/src/multicastreceiver.qdoc b/examples/network/doc/src/multicastreceiver.qdoc index fddbafe788..88ed6020d4 100644 --- a/examples/network/doc/src/multicastreceiver.qdoc +++ b/examples/network/doc/src/multicastreceiver.qdoc @@ -28,6 +28,7 @@ /*! \example multicastreceiver \title Multicast Receiver Example + \ingroup examples-network \brief The Multicast Receiever example shows how to receive information that is sent to a multicast group. diff --git a/examples/network/doc/src/multicastsender.qdoc b/examples/network/doc/src/multicastsender.qdoc index 8d8a400769..4ec9defb53 100644 --- a/examples/network/doc/src/multicastsender.qdoc +++ b/examples/network/doc/src/multicastsender.qdoc @@ -28,6 +28,7 @@ /*! \example multicastsender \title Multicast Sender Example + \ingroup examples-network \brief The Multicast Sender example shows how to send information to multiple clients in a multicast group. diff --git a/examples/network/doc/src/network-chat.qdoc b/examples/network/doc/src/network-chat.qdoc index 0430b5219d..cd5ec4b348 100644 --- a/examples/network/doc/src/network-chat.qdoc +++ b/examples/network/doc/src/network-chat.qdoc @@ -28,6 +28,7 @@ /*! \example network-chat \title Network Chat Example + \ingroup examples-network \brief The Network Chat example demonstrates a stateful peer-to-peer Chat client that uses broadcasting with QUdpSocket and QNetworkInterface to discover diff --git a/examples/network/doc/src/securesocketclient.qdoc b/examples/network/doc/src/securesocketclient.qdoc index 16986292af..a61a00e833 100644 --- a/examples/network/doc/src/securesocketclient.qdoc +++ b/examples/network/doc/src/securesocketclient.qdoc @@ -28,6 +28,7 @@ /*! \example securesocketclient \title Secure Socket Client Example + \ingroup examples-network \brief The Secure Socket Client example shows how to use QSslSocket to communicate over an encrypted (SSL) connection. It also demonstrates how diff --git a/examples/network/doc/src/threadedfortuneserver.qdoc b/examples/network/doc/src/threadedfortuneserver.qdoc index f8441bcc2f..43a7e88241 100644 --- a/examples/network/doc/src/threadedfortuneserver.qdoc +++ b/examples/network/doc/src/threadedfortuneserver.qdoc @@ -28,6 +28,7 @@ /*! \example threadedfortuneserver \title Threaded Fortune Server Example + \ingroup examples-network \brief The Threaded Fortune Server example shows how to create a server for a simple network service that uses threads to handle requests from different diff --git a/examples/network/doc/src/torrent.qdoc b/examples/network/doc/src/torrent.qdoc index ef13ef6ed9..791464c9a4 100644 --- a/examples/network/doc/src/torrent.qdoc +++ b/examples/network/doc/src/torrent.qdoc @@ -28,6 +28,7 @@ /*! \example torrent \title Torrent Example + \ingroup examples-network \brief The Torrent example is a functional BitTorrent client that illustrates how to write a complex TCP/IP application using Qt. diff --git a/src/network/doc/images/network-examples.png b/src/network/doc/images/network-examples.png new file mode 100644 index 0000000000000000000000000000000000000000..15dfba850a07c71739cd5bd5fbac220c0098bdaf GIT binary patch literal 8946 zcmVFP00009a7bBm000Y# z000Y#0XNCZtpETbq)9|URCwC$o%vf-SDMH34@~#WA29RG4>Qlqq$iWabdv5Q-O(gE z=}Z!hBZ)?hYur#)QNdjh6=in=WRo3AwxSk_Vyj}`3n=z|6Wle?q`T93<|9|{Tnk00 zR4K?k&l_^GX`TzNwi^>-gfNBz|a1P`6mqGomXz*%%U~@(xOiN-1>quh<;a zD{bn zll+A{w8FIoedw6G$mxF3d&^IK=92lj%l#WaaZDy>!8V;m`yV(O|JSRSqK~&G{>L9T zy*z)*r%nofF5Z>@p;I{(fbXT3=exYVQVsoKo%-ZCewlsBKb@WyV zr2<_ZyS06n-!{+i*Or{#=v{U(Rrhay3ho)a;p*k@@a>6zU2x#l<(Y1$3{JlK_t&NF z^iA_Tmh{Ij{pLBuxt-Ae&&CK!rLDaH^v?RsWqV5mdUcV<=dNnu`rY-Jf7qBM7D?%M zYct;8bie5L4t_$;$6HetZA#$ct#8sTAMthO=R5N$TI`-LKbB*S`wP~BYVj~lCgD$8K_$$H^@{ga* zW=34NI_Qm6nbOu?0Q%jUOG`Y8pwC=&OiRKwME*N#)45o%Hu|4lUHXsz^~FEW`*Pu? z6ms5Led*nG_lth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?Cg2ia+g{HVMAk!_{1j>$a(EO0NZ){9D@-zY}^!j z=KO(!M_gRo!4JNCY75GoIRhd6%NQsSb75nX8Aj~w8zjH3p}E=I$~B$d(>qXaYVPSB ztgbbIERIVqy8sksIGx_bKS>KkdKuYX8vSsd0tu-;@A^Cuw& z@H1z_0WUYNP^HPsQS11g@(YbMbxm4b!BcO~R;uR;g#2q88r$qms)xfG5Z2Z=PxVGq zt4?n)mR4KwM8@{H0wHIsuu`x$kMiwfZ@ zANzo!l;%JB(`uS;qkNk@cfOrp^4aGD+ Date: Tue, 4 Dec 2012 11:46:40 +0100 Subject: [PATCH 034/386] Fix some typos in QProcess and QSslSocket unit tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The QSslSocket one is both wrong and redundant as there is a Q_DECLARE_METATYPE for it already. Change-Id: I63d065abfb3d0e3d82a8b1f29a6752b7676db847 Reviewed-by: Jędrzej Nowacki --- tests/auto/corelib/io/qprocess/tst_qprocess.cpp | 4 ++-- tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp index 49188c3057..8f76945bf5 100644 --- a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp +++ b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp @@ -322,7 +322,7 @@ void tst_QProcess::crashTest() QVERIFY(process->waitForStarted(5000)); qRegisterMetaType("QProcess::ProcessError"); - qRegisterMetaType("QProcess::ExitStatus"); + qRegisterMetaType("QProcess::ExitStatus"); QSignalSpy spy(process, SIGNAL(error(QProcess::ProcessError))); QSignalSpy spy2(process, SIGNAL(finished(int,QProcess::ExitStatus))); @@ -357,7 +357,7 @@ void tst_QProcess::crashTest2() QVERIFY(process->waitForStarted(5000)); qRegisterMetaType("QProcess::ProcessError"); - qRegisterMetaType("QProcess::ExitStatus"); + qRegisterMetaType("QProcess::ExitStatus"); QSignalSpy spy(process, SIGNAL(error(QProcess::ProcessError))); QSignalSpy spy2(process, SIGNAL(finished(int,QProcess::ExitStatus))); diff --git a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp index 5af7efd805..a0683dd322 100644 --- a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp @@ -231,7 +231,6 @@ tst_QSslSocket::tst_QSslSocket() qRegisterMetaType("QSslError"); qRegisterMetaType("QAbstractSocket::SocketState"); qRegisterMetaType("QAbstractSocket::SocketError"); - qRegisterMetaType("QSslSocket::SslMode"); #endif } From f6cc1f3aeae795e7ed67338b17b860df9f5146a7 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Mon, 3 Dec 2012 22:03:53 +0100 Subject: [PATCH 035/386] Ensure ctrl + click sends a right mouse button press in Cocoa MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Mac's typically just have one button for their mice then pressing Control then clicking the button should end it as a right mouse button event. Task-number: QTBUG-28350 Change-Id: Iabcac5b315c36cb8cd062c27d7b1506bc066f5bb Reviewed-by: Liang Qi Reviewed-by: Morten Johan Sørvig --- src/plugins/platforms/cocoa/qnsview.h | 1 + src/plugins/platforms/cocoa/qnsview.mm | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qnsview.h b/src/plugins/platforms/cocoa/qnsview.h index f93fd86205..9cdfe6f5bb 100644 --- a/src/plugins/platforms/cocoa/qnsview.h +++ b/src/plugins/platforms/cocoa/qnsview.h @@ -66,6 +66,7 @@ QT_END_NAMESPACE QString m_composingText; bool m_sendKeyEvent; QStringList *currentCustomDragTypes; + bool m_sendUpAsRightButton; Qt::KeyboardModifiers currentWheelModifiers; bool m_subscribesForGlobalFrameNotifications; } diff --git a/src/plugins/platforms/cocoa/qnsview.mm b/src/plugins/platforms/cocoa/qnsview.mm index b608989e43..eea65cf8c0 100644 --- a/src/plugins/platforms/cocoa/qnsview.mm +++ b/src/plugins/platforms/cocoa/qnsview.mm @@ -84,6 +84,7 @@ static QTouchDevice *touchDevice = 0; m_sendKeyEvent = false; m_subscribesForGlobalFrameNotifications = false; currentCustomDragTypes = 0; + m_sendUpAsRightButton = false; if (!touchDevice) { touchDevice = new QTouchDevice; @@ -427,6 +428,7 @@ static QTouchDevice *touchDevice = 0; - (void)mouseDown:(NSEvent *)theEvent { + m_sendUpAsRightButton = false; if (m_platformWindow->m_activePopupWindow) { QWindowSystemInterface::handleCloseEvent(m_platformWindow->m_activePopupWindow); QWindowSystemInterface::flushWindowSystemEvents(); @@ -438,7 +440,12 @@ static QTouchDevice *touchDevice = 0; [inputManager handleMouseEvent:theEvent]; } } else { - m_buttons |= Qt::LeftButton; + if ([self convertKeyModifiers:[theEvent modifierFlags]] & Qt::MetaModifier) { + m_buttons |= Qt::RightButton; + m_sendUpAsRightButton = true; + } else { + m_buttons |= Qt::LeftButton; + } [self handleMouseEvent:theEvent]; } } @@ -452,7 +459,12 @@ static QTouchDevice *touchDevice = 0; - (void)mouseUp:(NSEvent *)theEvent { - m_buttons &= QFlag(~int(Qt::LeftButton)); + if (m_sendUpAsRightButton) { + m_buttons &= QFlag(~int(Qt::RightButton)); + m_sendUpAsRightButton = false; + } else { + m_buttons &= QFlag(~int(Qt::LeftButton)); + } [self handleMouseEvent:theEvent]; } From 418890e0748384eb684f33b10dc6f32493aee54b Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 3 Dec 2012 12:29:10 +0100 Subject: [PATCH 036/386] QPluginLoader: fix loading of plugins with a relative file name This makes QT_PLUGIN_PATH / QCoreApplication::libraryPaths() actually work, as a search path for plugins, when apps look for a specific plugin by name. To make it possible to write portable code (unlike the current QPluginLoader unittest), let QPluginLoader figure out the extension, too. Change-Id: I895d597d7cb05ded268734bc5f313f32d8d12cb9 Reviewed-by: Lars Knoll --- src/corelib/plugin/qlibrary_p.h | 2 + src/corelib/plugin/qlibrary_unix.cpp | 100 ++++++++++-------- src/corelib/plugin/qlibrary_win.cpp | 11 ++ src/corelib/plugin/qpluginloader.cpp | 54 +++++++++- .../almostplugin/almostplugin.pro | 1 + .../qpluginloader/theplugin/theplugin.pro | 5 +- .../corelib/plugin/qpluginloader/tst/tst.pro | 1 + .../qpluginloader/tst_qpluginloader.cpp | 29 ++++- 8 files changed, 148 insertions(+), 55 deletions(-) diff --git a/src/corelib/plugin/qlibrary_p.h b/src/corelib/plugin/qlibrary_p.h index 337c43acb9..8465d5cf06 100644 --- a/src/corelib/plugin/qlibrary_p.h +++ b/src/corelib/plugin/qlibrary_p.h @@ -92,6 +92,8 @@ public: QFunctionPointer resolve(const char *); static QLibraryPrivate *findOrCreate(const QString &fileName, const QString &version = QString()); + static QStringList suffixes_sys(const QString &fullVersion); + static QStringList prefixes_sys(); static QVector staticPlugins(); diff --git a/src/corelib/plugin/qlibrary_unix.cpp b/src/corelib/plugin/qlibrary_unix.cpp index 2ef6f80466..35d8197306 100644 --- a/src/corelib/plugin/qlibrary_unix.cpp +++ b/src/corelib/plugin/qlibrary_unix.cpp @@ -80,6 +80,60 @@ static QString qdlerror() return err ? QLatin1Char('(') + QString::fromLocal8Bit(err) + QLatin1Char(')'): QString(); } +QStringList QLibraryPrivate::suffixes_sys(const QString& fullVersion) +{ + QStringList suffixes; +#if defined(Q_OS_HPUX) + // according to + // http://docs.hp.com/en/B2355-90968/linkerdifferencesiapa.htm + + // In PA-RISC (PA-32 and PA-64) shared libraries are suffixed + // with .sl. In IPF (32-bit and 64-bit), the shared libraries + // are suffixed with .so. For compatibility, the IPF linker + // also supports the .sl suffix. + + // But since we don't know if we are built on HPUX or HPUXi, + // we support both .sl (and .) and .so suffixes but + // .so is preferred. +# if defined(__ia64) + if (!fullVersion.isEmpty()) { + suffixes << QString::fromLatin1(".so.%1").arg(fullVersion); + } else { + suffixes << QLatin1String(".so"); + } +# endif + if (!fullVersion.isEmpty()) { + suffixes << QString::fromLatin1(".sl.%1").arg(fullVersion); + suffixes << QString::fromLatin1(".%1").arg(fullVersion); + } else { + suffixes << QLatin1String(".sl"); + } +#elif defined(Q_OS_AIX) + suffixes << ".a"; + +#else + if (!fullVersion.isEmpty()) { + suffixes << QString::fromLatin1(".so.%1").arg(fullVersion); + } else { + suffixes << QLatin1String(".so"); + } +#endif +# ifdef Q_OS_MAC + if (!fullVersion.isEmpty()) { + suffixes << QString::fromLatin1(".%1.bundle").arg(fullVersion); + suffixes << QString::fromLatin1(".%1.dylib").arg(fullVersion); + } else { + suffixes << QLatin1String(".bundle") << QLatin1String(".dylib"); + } +#endif + return suffixes; +} + +QStringList QLibraryPrivate::prefixes_sys() +{ + return QStringList() << QLatin1String("lib"); +} + bool QLibraryPrivate::load_sys() { QString attempt; @@ -96,50 +150,8 @@ bool QLibraryPrivate::load_sys() QStringList suffixes; QStringList prefixes; if (pluginState != IsAPlugin) { - prefixes << QLatin1String("lib"); -#if defined(Q_OS_HPUX) - // according to - // http://docs.hp.com/en/B2355-90968/linkerdifferencesiapa.htm - - // In PA-RISC (PA-32 and PA-64) shared libraries are suffixed - // with .sl. In IPF (32-bit and 64-bit), the shared libraries - // are suffixed with .so. For compatibility, the IPF linker - // also supports the .sl suffix. - - // But since we don't know if we are built on HPUX or HPUXi, - // we support both .sl (and .) and .so suffixes but - // .so is preferred. -# if defined(__ia64) - if (!fullVersion.isEmpty()) { - suffixes << QString::fromLatin1(".so.%1").arg(fullVersion); - } else { - suffixes << QLatin1String(".so"); - } -# endif - if (!fullVersion.isEmpty()) { - suffixes << QString::fromLatin1(".sl.%1").arg(fullVersion); - suffixes << QString::fromLatin1(".%1").arg(fullVersion); - } else { - suffixes << QLatin1String(".sl"); - } -#elif defined(Q_OS_AIX) - suffixes << ".a"; - -#else - if (!fullVersion.isEmpty()) { - suffixes << QString::fromLatin1(".so.%1").arg(fullVersion); - } else { - suffixes << QLatin1String(".so"); - } -#endif -# ifdef Q_OS_MAC - if (!fullVersion.isEmpty()) { - suffixes << QString::fromLatin1(".%1.bundle").arg(fullVersion); - suffixes << QString::fromLatin1(".%1.dylib").arg(fullVersion); - } else { - suffixes << QLatin1String(".bundle") << QLatin1String(".dylib"); - } -#endif + prefixes = prefixes_sys(); + suffixes = suffixes_sys(fullVersion); } int dlFlags = 0; #if defined(QT_HPUX_LD) diff --git a/src/corelib/plugin/qlibrary_win.cpp b/src/corelib/plugin/qlibrary_win.cpp index 27796aedc1..ef3816a804 100644 --- a/src/corelib/plugin/qlibrary_win.cpp +++ b/src/corelib/plugin/qlibrary_win.cpp @@ -57,6 +57,17 @@ QT_BEGIN_NAMESPACE extern QString qt_error_string(int code); +QStringList QLibraryPrivate::suffixes_sys(const QString& fullVersion) +{ + Q_UNUSED(fullVersion); + return QStringList() << ".dll"; +} + +QStringList QLibraryPrivate::prefixes_sys() +{ + return QStringList(); +} + bool QLibraryPrivate::load_sys() { //avoid 'Bad Image' message box diff --git a/src/corelib/plugin/qpluginloader.cpp b/src/corelib/plugin/qpluginloader.cpp index 31d9fda858..c16a340dbe 100644 --- a/src/corelib/plugin/qpluginloader.cpp +++ b/src/corelib/plugin/qpluginloader.cpp @@ -42,6 +42,7 @@ #include "qplatformdefs.h" #include "qplugin.h" +#include "qcoreapplication.h" #include "qpluginloader.h" #include #include "qlibrary_p.h" @@ -250,14 +251,52 @@ bool QPluginLoader::isLoaded() const return d && d->pHnd && d->instance; } +static QString locatePlugin(const QString& fileName) +{ + QStringList prefixes = QLibraryPrivate::prefixes_sys(); + prefixes.prepend(QString()); + QStringList suffixes = QLibraryPrivate::suffixes_sys(QString()); + suffixes.prepend(QString()); + + // Split up "subdir/filename" + const int slash = fileName.lastIndexOf('/'); + const QString baseName = fileName.mid(slash + 1); + const QString basePath = fileName.left(slash + 1); // keep the '/' + + const bool debug = qt_debug_component(); + + QStringList paths = QCoreApplication::libraryPaths(); + paths.prepend(QStringLiteral("./")); // search in current dir first + foreach (const QString &path, paths) { + foreach (const QString &prefix, prefixes) { + foreach (const QString &suffix, suffixes) { + const QString fn = path + QLatin1Char('/') + basePath + prefix + baseName + suffix; + if (debug) + qDebug() << "Trying..." << fn; + if (QFileInfo(fn).isFile()) + return fn; + } + } + } + if (debug) + qDebug() << fileName << "not found"; + return QString(); +} + /*! \property QPluginLoader::fileName \brief the file name of the plugin - To be loadable, the file's suffix must be a valid suffix for a - loadable library in accordance with the platform, e.g. \c .so on - Unix, \c .dylib on Mac OS X, and \c .dll on Windows. The suffix - can be verified with QLibrary::isLibrary(). + We recommend omitting the file's suffix in the file name, since + QPluginLoader will automatically look for the file with the appropriate + suffix (see QLibrary::isLibrary()). + + When loading the plugin, QPluginLoader searches in the current directory and + in all plugin locations specified by QCoreApplication::libraryPaths(), + unless the file name has an absolute path. After loading the plugin + successfully, fileName() returns the fully-qualified file name of + the plugin, including the full path to the plugin if one was given + in the constructor or passed to setFileName(). If the file name does not exist, it will not be set. This property will then contain an empty string. @@ -277,7 +316,12 @@ void QPluginLoader::setFileName(const QString &fileName) did_load = false; } - QString fn = QFileInfo(fileName).canonicalFilePath(); + QFileInfo fi(fileName); + QString fn; + if (fi.isAbsolute()) + fn = fi.canonicalFilePath(); + else + fn = locatePlugin(fileName); d = QLibraryPrivate::findOrCreate(fn); d->loadHints = lh; diff --git a/tests/auto/corelib/plugin/qpluginloader/almostplugin/almostplugin.pro b/tests/auto/corelib/plugin/qpluginloader/almostplugin/almostplugin.pro index 0004a8c712..70ab54a964 100644 --- a/tests/auto/corelib/plugin/qpluginloader/almostplugin/almostplugin.pro +++ b/tests/auto/corelib/plugin/qpluginloader/almostplugin/almostplugin.pro @@ -4,6 +4,7 @@ HEADERS = almostplugin.h SOURCES = almostplugin.cpp TARGET = almostplugin DESTDIR = ../bin +QT = core *-g++*:QMAKE_LFLAGS -= -Wl,--no-undefined # This is testdata for the tst_qpluginloader test. diff --git a/tests/auto/corelib/plugin/qpluginloader/theplugin/theplugin.pro b/tests/auto/corelib/plugin/qpluginloader/theplugin/theplugin.pro index b510f8fb44..2ea9c27cc9 100644 --- a/tests/auto/corelib/plugin/qpluginloader/theplugin/theplugin.pro +++ b/tests/auto/corelib/plugin/qpluginloader/theplugin/theplugin.pro @@ -2,8 +2,11 @@ TEMPLATE = lib CONFIG += plugin HEADERS = theplugin.h SOURCES = theplugin.cpp -TARGET = $$qtLibraryTarget(theplugin) +# Use a predictable name for the plugin, no debug extension. Just like most apps do. +#TARGET = $$qtLibraryTarget(theplugin) +TARGET = theplugin DESTDIR = ../bin +QT = core # This is testdata for the tst_qpluginloader test. target.path = $$[QT_INSTALL_TESTS]/tst_qpluginloader/bin diff --git a/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro b/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro index 48650a5727..a7a9661a54 100644 --- a/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro +++ b/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro @@ -4,6 +4,7 @@ TARGET = ../tst_qpluginloader QT = core testlib SOURCES = ../tst_qpluginloader.cpp HEADERS = ../theplugin/plugininterface.h +CONFIG -= app_bundle win32 { CONFIG(debug, debug|release) { diff --git a/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp b/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp index 155267f80b..34ec66f63f 100644 --- a/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp +++ b/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp @@ -59,7 +59,11 @@ # define bundle_VALID true # define dylib_VALID true # define so_VALID true -# define SUFFIX ".dylib" +//# ifdef QT_NO_DEBUG +# define SUFFIX ".dylib" +//# else +//# define SUFFIX "_debug.dylib" +//#endif # define PREFIX "lib" #elif defined(Q_OS_HPUX) && !defined(__ia64) @@ -79,11 +83,11 @@ #elif defined(Q_OS_WIN) # undef dll_VALID # define dll_VALID true -# ifdef QT_NO_DEBUG +//# ifdef QT_NO_DEBUG # define SUFFIX ".dll" -# else -# define SUFFIX "d.dll" -# endif +//# else +//# define SUFFIX "d.dll" +//# endif # define PREFIX "" #else // all other Unix @@ -111,6 +115,7 @@ private slots: #if defined (Q_OS_UNIX) void loadGarbage(); #endif + void relativePath(); void reloadPlugin(); }; @@ -294,6 +299,20 @@ void tst_QPluginLoader::loadGarbage() } #endif +void tst_QPluginLoader::relativePath() +{ + // Windows binaries run from release and debug subdirs, so we can't rely on the current dir. + const QString binDir = QFINDTESTDATA("bin"); + QVERIFY(!binDir.isEmpty()); + QCoreApplication::addLibraryPath(binDir); + QPluginLoader loader("theplugin"); + loader.load(); // not recommended, instance() should do the job. + PluginInterface *instance = qobject_cast(loader.instance()); + QVERIFY(instance); + QCOMPARE(instance->pluginName(), QLatin1String("Plugin ok")); + QVERIFY(loader.unload()); +} + void tst_QPluginLoader::reloadPlugin() { QPluginLoader loader; From 3b5537765e13a981ca6029c322d08afb785e0dbe Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Tue, 4 Dec 2012 18:05:09 +0100 Subject: [PATCH 037/386] QWindowsFontDatabase: provide better fallbackFamilies. Borrowed some code from QWindowsFontDatabase::createEngine that will help ensure our fallback options are thorough enough to display say chinese glyphs when using the QRawFont + QTextLayout combination that QtWebKit relies on. Task-number: QTWEBKIT-383 Change-Id: Ie4c1d5ef7d58588afaa436c89a9575ffd646c314 Reviewed-by: Simon Hausmann --- .../windows/qwindowsfontdatabase.cpp | 161 ++++++++++-------- 1 file changed, 87 insertions(+), 74 deletions(-) diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp index 76fe5f1a43..262b610745 100644 --- a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp +++ b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp @@ -1300,43 +1300,6 @@ QFontEngine *QWindowsFontDatabase::fontEngine(const QByteArray &fontData, qreal return fontEngine; } -QStringList QWindowsFontDatabase::fallbacksForFamily(const QString family, const QFont::Style &style, const QFont::StyleHint &styleHint, const QUnicodeTables::Script &script) const -{ - QStringList result = QPlatformFontDatabase::fallbacksForFamily(family, style, styleHint, script); - if (!result.isEmpty()) - return result; - - switch (styleHint) { - case QFont::Times: - result << QString::fromLatin1("Times New Roman"); - break; - case QFont::Courier: - result << QString::fromLatin1("Courier New"); - break; - case QFont::Monospace: - result << QString::fromLatin1("Courier New"); - break; - case QFont::Cursive: - result << QString::fromLatin1("Comic Sans MS"); - break; - case QFont::Fantasy: - result << QString::fromLatin1("Impact"); - break; - case QFont::Decorative: - result << QString::fromLatin1("Old English"); - break; - case QFont::Helvetica: - case QFont::System: - default: - result << QString::fromLatin1("Arial"); - } - - if (QWindowsContext::verboseFonts) - qDebug() << __FUNCTION__ << family << style << styleHint - << script << result << m_families.size(); - return result; -} - static QList getTrueTypeFontOffsets(const uchar *fontData) { QList offsets; @@ -1688,6 +1651,82 @@ LOGFONT QWindowsFontDatabase::fontDefToLOGFONT(const QFontDef &request) return lf; } +static QStringList extraTryFontsForFamily(const QString& family) +{ + QStringList result; + QFontDatabase db; + if (!db.writingSystems(family).contains(QFontDatabase::Symbol)) { + if (!tryFonts) { + LANGID lid = GetUserDefaultLangID(); + switch (lid&0xff) { + case LANG_CHINESE: // Chinese (Taiwan) + if ( lid == 0x0804 ) // Taiwan + tryFonts = ch_TW_tryFonts; + else + tryFonts = ch_CN_tryFonts; + break; + case LANG_JAPANESE: + tryFonts = jp_tryFonts; + break; + case LANG_KOREAN: + tryFonts = kr_tryFonts; + break; + default: + tryFonts = other_tryFonts; + break; + } + } + QStringList fm = QFontDatabase().families(); + const char **tf = tryFonts; + while (tf && *tf) { + if (fm.contains(QLatin1String(*tf))) + result << QLatin1String(*tf); + ++tf; + } + } + return result; +} + +QStringList QWindowsFontDatabase::fallbacksForFamily(const QString family, const QFont::Style &style, const QFont::StyleHint &styleHint, const QUnicodeTables::Script &script) const +{ + QStringList result = QPlatformFontDatabase::fallbacksForFamily(family, style, styleHint, script); + if (!result.isEmpty()) + return result; + + switch (styleHint) { + case QFont::Times: + result << QString::fromLatin1("Times New Roman"); + break; + case QFont::Courier: + result << QString::fromLatin1("Courier New"); + break; + case QFont::Monospace: + result << QString::fromLatin1("Courier New"); + break; + case QFont::Cursive: + result << QString::fromLatin1("Comic Sans MS"); + break; + case QFont::Fantasy: + result << QString::fromLatin1("Impact"); + break; + case QFont::Decorative: + result << QString::fromLatin1("Old English"); + break; + case QFont::Helvetica: + case QFont::System: + default: + result << QString::fromLatin1("Arial"); + } + + result.append(extraTryFontsForFamily(family)); + + if (QWindowsContext::verboseFonts) + qDebug() << __FUNCTION__ << family << style << styleHint + << script << result << m_families.size(); + return result; +} + + QFontEngine *QWindowsFontDatabase::createEngine(int script, const QFontDef &request, HDC fontHdc, int dpi, bool rawMode, const QStringList &family_list, @@ -1850,43 +1889,17 @@ QFontEngine *QWindowsFontDatabase::createEngine(int script, const QFontDef &requ directWriteFont->Release(); #endif - if(script == QUnicodeTables::Common - && !(request.styleStrategy & QFont::NoFontMerging)) { - QFontDatabase db; - if (!db.writingSystems(request.family).contains(QFontDatabase::Symbol)) { - if(!tryFonts) { - LANGID lid = GetUserDefaultLangID(); - switch( lid&0xff ) { - case LANG_CHINESE: // Chinese (Taiwan) - if ( lid == 0x0804 ) // Taiwan - tryFonts = ch_TW_tryFonts; - else - tryFonts = ch_CN_tryFonts; - break; - case LANG_JAPANESE: - tryFonts = jp_tryFonts; - break; - case LANG_KOREAN: - tryFonts = kr_tryFonts; - break; - default: - tryFonts = other_tryFonts; - break; - } - } - QStringList fm = QFontDatabase().families(); - QStringList list = family_list; - const char **tf = tryFonts; - while(tf && *tf) { - if(fm.contains(QLatin1String(*tf))) - list << QLatin1String(*tf); - ++tf; - } - QFontEngine *mfe = new QWindowsMultiFontEngine(fe, list); - mfe->setObjectName(QStringLiteral("QWindowsMultiFontEngine_") + request.family); - mfe->fontDef = fe->fontDef; - fe = mfe; - } + if (script == QUnicodeTables::Common + && !(request.styleStrategy & QFont::NoFontMerging)) { + QStringList extraFonts = extraTryFontsForFamily(request.family); + if (extraFonts.size()) { + QStringList list = family_list; + list.append(extraFonts); + QFontEngine *mfe = new QWindowsMultiFontEngine(fe, list); + mfe->setObjectName(QStringLiteral("QWindowsMultiFontEngine_") + request.family); + mfe->fontDef = fe->fontDef; + fe = mfe; + } } return fe; } From cc1bbb149c19ef9d36c62abc33ea386a8d012b43 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Tue, 4 Dec 2012 15:40:30 +0100 Subject: [PATCH 038/386] QtBase: Added qtlinguist as a dependencie to the doc. Change-Id: I2df1cee84b250b75dc8436c8cff5df50cbeb0e01 Reviewed-by: Leena Miettinen --- src/corelib/doc/qtcore.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index 2151d95f65..42904feb63 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -26,7 +26,7 @@ qhp.QtCore.subprojects.classes.sortPages = true tagfile = ../../../doc/qtcore/qtcore.tags -depends += qtgui qtwidgets qtnetwork qtdoc qtquick +depends += qtgui qtwidgets qtnetwork qtdoc qtquick qtlinguist headerdirs += .. From 688e8beeb526b00f3b33860e832cef53748c13e3 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Tue, 4 Dec 2012 21:14:45 +0100 Subject: [PATCH 039/386] Change copyrights from Nokia to Digia Change-Id: I841f4e6a6ee90cb3df1ff8f60c55ac84f6dd4125 Reviewed-by: Lars Knoll --- src/3rdparty/harfbuzz/src/harfbuzz-arabic.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-external.h | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-global.h | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-greek.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-hangul.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-hebrew.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-impl.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-khmer.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-shaper-private.h | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-shaper.h | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-stream.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-stream.h | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-thai.c | 2 +- src/3rdparty/harfbuzz/src/harfbuzz-tibetan.c | 2 +- src/3rdparty/harfbuzz/tests/shaping/harfbuzz-qt.cpp | 2 +- src/3rdparty/harfbuzz/tests/shaping/main.cpp | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-arabic.c b/src/3rdparty/harfbuzz/src/harfbuzz-arabic.c index d478f0484c..5e7d7f0706 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-arabic.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-arabic.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-external.h b/src/3rdparty/harfbuzz/src/harfbuzz-external.h index 8daf8a69e9..0c0db2045f 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-external.h +++ b/src/3rdparty/harfbuzz/src/harfbuzz-external.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-global.h b/src/3rdparty/harfbuzz/src/harfbuzz-global.h index d4e6b466b6..fedff7acc0 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-global.h +++ b/src/3rdparty/harfbuzz/src/harfbuzz-global.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * Copyright (C) 2007 Red Hat, Inc. * * This is part of HarfBuzz, an OpenType Layout engine library. diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-greek.c b/src/3rdparty/harfbuzz/src/harfbuzz-greek.c index 353685861f..0da2fa7cc8 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-greek.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-greek.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-hangul.c b/src/3rdparty/harfbuzz/src/harfbuzz-hangul.c index 6f89ed6b0b..e78ff38b9f 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-hangul.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-hangul.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-hebrew.c b/src/3rdparty/harfbuzz/src/harfbuzz-hebrew.c index b5431a53e7..ecf4cd1fbd 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-hebrew.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-hebrew.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-impl.c b/src/3rdparty/harfbuzz/src/harfbuzz-impl.c index ddbf36be0e..9c55c8e261 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-impl.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-impl.c @@ -1,6 +1,6 @@ /* * Copyright (C) 1998-2004 David Turner and Werner Lemberg - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * Copyright (C) 2007 Red Hat, Inc. * * This is part of HarfBuzz, an OpenType Layout engine library. diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp b/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp index 0dcddc4f7d..976e419fd4 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp +++ b/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-khmer.c b/src/3rdparty/harfbuzz/src/harfbuzz-khmer.c index 1f3c7e2bce..6a49a3380d 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-khmer.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-khmer.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c b/src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c index b18b83054d..75c28440eb 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp b/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp index 2dae501305..b32c78f458 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper-private.h b/src/3rdparty/harfbuzz/src/harfbuzz-shaper-private.h index e62c896e8e..fca36c8716 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper-private.h +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper-private.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp index 093e8aed94..2f1b7fe807 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h index e2891d047e..41782c4411 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-stream.c b/src/3rdparty/harfbuzz/src/harfbuzz-stream.c index 2d9638f6b6..1afe604f02 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-stream.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-stream.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2005 David Turner - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * Copyright (C) 2007 Red Hat, Inc. * * This is part of HarfBuzz, an OpenType Layout engine library. diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-stream.h b/src/3rdparty/harfbuzz/src/harfbuzz-stream.h index cfbfb1c4fe..9bcd9d7e3a 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-stream.h +++ b/src/3rdparty/harfbuzz/src/harfbuzz-stream.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2005 David Turner - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c index f62a1b7159..dc436c784a 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-tibetan.c b/src/3rdparty/harfbuzz/src/harfbuzz-tibetan.c index c3570974b3..242fd6fd47 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-tibetan.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-tibetan.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/tests/shaping/harfbuzz-qt.cpp b/src/3rdparty/harfbuzz/tests/shaping/harfbuzz-qt.cpp index 924a97da27..7b6df736e8 100644 --- a/src/3rdparty/harfbuzz/tests/shaping/harfbuzz-qt.cpp +++ b/src/3rdparty/harfbuzz/tests/shaping/harfbuzz-qt.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * diff --git a/src/3rdparty/harfbuzz/tests/shaping/main.cpp b/src/3rdparty/harfbuzz/tests/shaping/main.cpp index 29ff7b3e1b..302d0a00e8 100644 --- a/src/3rdparty/harfbuzz/tests/shaping/main.cpp +++ b/src/3rdparty/harfbuzz/tests/shaping/main.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies) * * This is part of HarfBuzz, an OpenType Layout engine library. * From 73969155416d8bcf9236b87d8d48ba8abf5b09e5 Mon Sep 17 00:00:00 2001 From: David Gil Date: Wed, 5 Dec 2012 00:41:43 +0100 Subject: [PATCH 040/386] Fix typos and style in QSplitter documentation Change-Id: Ieacbfd06067ae1ca687030204125814bd9e48bd8 Reviewed-by: Johan Thelin Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/widgets/widgets/qsplitter.cpp | 35 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/src/widgets/widgets/qsplitter.cpp b/src/widgets/widgets/qsplitter.cpp index 70c493cedd..9b605e4368 100644 --- a/src/widgets/widgets/qsplitter.cpp +++ b/src/widgets/widgets/qsplitter.cpp @@ -68,7 +68,7 @@ QT_BEGIN_NAMESPACE /*! \class QSplitterHandle - \brief The QSplitterHandle class provides handle functionality of the splitter. + \brief The QSplitterHandle class provides handle functionality for the splitter. \ingroup organizers \inmodule QtWidgets @@ -80,7 +80,7 @@ QT_BEGIN_NAMESPACE QSplitterHandle. It is provided for developers who want splitter handles that provide extra features, such as popup menus. - The typical way one would create splitter handles is to subclass QSplitter then + The typical way one would create splitter handles is to subclass QSplitter and then reimplement QSplitter::createHandle() to instantiate the custom splitter handle. For example, a minimum QSplitter subclass might look like this: @@ -113,7 +113,7 @@ QT_BEGIN_NAMESPACE /*! Creates a QSplitter handle with the given \a orientation and - QSplitter \a parent. + \a parent. */ QSplitterHandle::QSplitterHandle(Qt::Orientation orientation, QSplitter *parent) : QWidget(*new QSplitterHandlePrivate, parent, 0) @@ -888,7 +888,7 @@ QSplitterLayoutStruct *QSplitterPrivate::insertWidget(int index, QWidget *w) A splitter lets the user control the size of child widgets by dragging the - boundary between the children. Any number of widgets may be controlled by a + boundary between them. Any number of widgets may be controlled by a single splitter. The typical use of a QSplitter is to create several widgets and add them using insertWidget() or addWidget(). @@ -921,7 +921,7 @@ QSplitterLayoutStruct *QSplitterPrivate::insertWidget(int index, QWidget *w) Alternatively, you can save and restore the sizes of the widgets from a QByteArray using saveState() and restoreState() respectively. - When you hide() a child its space will be distributed among the + When you hide() a child, its space will be distributed among the other children. It will be reinstated when you show() it again. \note Adding a QLayout to a QSplitter is not supported (either through @@ -987,7 +987,7 @@ void QSplitter::refresh() \property QSplitter::orientation \brief the orientation of the splitter - By default the orientation is horizontal (i.e., the widgets are + By default, the orientation is horizontal (i.e., the widgets are laid out side by side). The possible orientations are Qt::Horizontal and Qt::Vertical. @@ -1046,7 +1046,7 @@ bool QSplitter::childrenCollapsible() const } /*! - Sets whether the child widget at index \a index is collapsible to \a collapse. + Sets whether the child widget at \a index is collapsible to \a collapse. By default, children are collapsible, meaning that the user can resize them down to size 0, even if they have a non-zero @@ -1070,7 +1070,7 @@ void QSplitter::setCollapsible(int index, bool collapse) } /*! - Returns true if the widget at \a index is collapsible, otherwise returns false + Returns true if the widget at \a index is collapsible, otherwise returns false. */ bool QSplitter::isCollapsible(int index) const { @@ -1372,7 +1372,7 @@ void QSplitter::moveSplitter(int pos, int index) /*! - Returns the valid range of the splitter with index \a index in + Returns the valid range of the splitter at \a index in *\a{min} and *\a{max} if \a min and \a max are not 0. */ @@ -1384,8 +1384,7 @@ void QSplitter::getRange(int index, int *min, int *max) const /*! - Returns the closest legal position to \a pos of the widget with index - \a index. + Returns the closest legal position to \a pos of the widget at \a index. For right-to-left languages such as Arabic and Hebrew, the layout of horizontal splitters is reversed. Positions are then measured @@ -1484,7 +1483,7 @@ QSize QSplitter::minimumSizeHint() const If the splitter's orientation is horizontal, the list contains the widgets width in pixels, from left to right; if the orientation is - vertical, the list contains the widgets height in pixels, + vertical, the list contains the widgets' heights in pixels, from top to bottom. Giving the values to another splitter's setSizes() function will @@ -1509,21 +1508,21 @@ QList QSplitter::sizes() const } /*! - Sets the child widgets respective sizes to the values given in the \a list. + Sets the child widgets' respective sizes to the values given in the \a list. - If the splitter is horizontal, the values set the widths of each + If the splitter is horizontal, the values set the width of each widget in pixels, from left to right. If the splitter is vertical, the - heights of each widget is set, from top to bottom. + height of each widget is set, from top to bottom. Extra values in the \a list are ignored. If \a list contains too few - values, the result is undefined but the program will still be well-behaved. + values, the result is undefined, but the program will still be well-behaved. The overall size of the splitter widget is not affected. Instead, any additional/missing space is distributed amongst the widgets according to the relative weight of the sizes. If you specify a size of 0, the widget will be invisible. The size policies - of the widgets are preserved. That is, a value smaller then the minimal size + of the widgets are preserved. That is, a value smaller than the minimal size hint of the respective widget will be replaced by the value of the hint. \sa sizes() @@ -1616,7 +1615,7 @@ QByteArray QSplitter::saveState() const Typically this is used in conjunction with QSettings to restore the size from a past session. Here is an example: - Restore the splitters's state: + Restore the splitter's state: \snippet splitter/splitter.cpp 2 From 85e36faa2c677dc0bd9160538f89a2f4c71cbbe0 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Fri, 23 Nov 2012 18:21:02 +0900 Subject: [PATCH 041/386] Remove QUUID_STRING from qfeatures.{h,txt} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is too specific and relatively small Change-Id: I55ec15ecaac0692741996a5c15a111db696490cf Reviewed-by: Jędrzej Nowacki --- src/corelib/global/qconfig-minimal.h | 3 --- src/corelib/global/qconfig-nacl.h | 3 --- src/corelib/global/qconfig-small.h | 5 ----- src/corelib/global/qfeatures.h | 3 --- src/corelib/global/qfeatures.txt | 7 ------- src/corelib/kernel/qvariant.cpp | 4 ---- src/corelib/plugin/quuid.cpp | 13 +------------ src/corelib/plugin/quuid.h | 4 ---- 8 files changed, 1 insertion(+), 41 deletions(-) diff --git a/src/corelib/global/qconfig-minimal.h b/src/corelib/global/qconfig-minimal.h index 28cb8fbede..6a21492827 100644 --- a/src/corelib/global/qconfig-minimal.h +++ b/src/corelib/global/qconfig-minimal.h @@ -40,9 +40,6 @@ ****************************************************************************/ /* Data structures */ -#ifndef QT_NO_QUUID_STRING -# define QT_NO_QUUID_STRING -#endif #ifndef QT_NO_TEXTDATE # define QT_NO_TEXTDATE #endif diff --git a/src/corelib/global/qconfig-nacl.h b/src/corelib/global/qconfig-nacl.h index d5172aac29..9dac73ea93 100644 --- a/src/corelib/global/qconfig-nacl.h +++ b/src/corelib/global/qconfig-nacl.h @@ -46,9 +46,6 @@ #define QT_FONTS_ARE_RESOURCES /* Data structures */ -#ifndef QT_NO_QUUID_STRING -# define QT_NO_QUUID_STRING -#endif #ifndef QT_NO_TEXTDATE # define QT_NO_TEXTDATE #endif diff --git a/src/corelib/global/qconfig-small.h b/src/corelib/global/qconfig-small.h index 9d72cd5d4c..405521c338 100644 --- a/src/corelib/global/qconfig-small.h +++ b/src/corelib/global/qconfig-small.h @@ -39,11 +39,6 @@ ** ****************************************************************************/ -/* Data structures */ -#ifndef QT_NO_QUUID_STRING -# define QT_NO_QUUID_STRING -#endif - /* Dialogs */ #ifndef QT_NO_COLORDIALOG # define QT_NO_COLORDIALOG diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h index 26d92592cb..d2c1095a4f 100644 --- a/src/corelib/global/qfeatures.h +++ b/src/corelib/global/qfeatures.h @@ -157,9 +157,6 @@ // Properties //#define QT_NO_PROPERTIES -// Universally Unique Identifier Convertion -//#define QT_NO_QUUID_STRING - // Resize Handler //#define QT_NO_RESIZEHANDLER diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt index 941150351a..d627f38a70 100644 --- a/src/corelib/global/qfeatures.txt +++ b/src/corelib/global/qfeatures.txt @@ -141,13 +141,6 @@ Name: QInputContext SeeAlso: ??? # Data structures -Feature: QUUID_STRING -Description: Supports convertion between UUID and strings. -Section: Data structures -Requires: -Name: Universally Unique Identifier Convertion -SeeAlso: ??? - Feature: TEXTDATE Description: Supports month and day names in dates. Section: Data structures diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index 9ff9d10bf0..26deeba6a2 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -341,11 +341,9 @@ static bool convert(const QVariant::Private *d, int t, void *result, bool *ok) *str = v_cast(d)->toString(); break; #endif -#ifndef QT_NO_QUUID_STRING case QVariant::Uuid: *str = v_cast(d)->toString(); break; -#endif default: return false; } @@ -722,11 +720,9 @@ static bool convert(const QVariant::Private *d, int t, void *result, bool *ok) #endif case QVariant::Uuid: switch (d->type) { -#ifndef QT_NO_QUUID_STRING case QVariant::String: *static_cast(result) = QUuid(*v_cast(d)); break; -#endif default: return false; } diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp index c1ebc57cf6..f9a9666de3 100644 --- a/src/corelib/plugin/quuid.cpp +++ b/src/corelib/plugin/quuid.cpp @@ -50,7 +50,6 @@ #endif QT_BEGIN_NAMESPACE -#ifndef QT_NO_QUUID_STRING template void _q_toHex(Char *&dst, Integral value) { @@ -134,7 +133,6 @@ bool _q_uuidFromHex(const Char *&src, uint &d1, ushort &d2, ushort &d3, uchar (& return true; } -#endif #ifndef QT_BOOTSTRAPPED static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCryptographicHash::Algorithm algorithm, int version) @@ -341,7 +339,6 @@ static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCrypto \snippet code/src_corelib_plugin_quuid.cpp 0 */ -#ifndef QT_NO_QUUID_STRING /*! Creates a QUuid object from the string \a text, which must be formatted as five hex fields separated by '-', e.g., @@ -422,8 +419,6 @@ QUuid::QUuid(const QByteArray &text) } } -#endif - /*! \since 5.0 \fn QUuid QUuid::createUuidV3(const QUuid &ns, const QByteArray &baseData); @@ -527,7 +522,7 @@ QUuid QUuid::fromRfc4122(const QByteArray &bytes) Returns true if this QUuid and the \a other QUuid are different; otherwise returns false. */ -#ifndef QT_NO_QUUID_STRING + /*! Returns the string representation of this QUuid. The string is formatted as five hex fields separated by '-' and enclosed in @@ -617,7 +612,6 @@ QByteArray QUuid::toByteArray() const return result; } -#endif /*! Returns the binary representation of this QUuid. The byte array is in big @@ -1016,12 +1010,7 @@ QUuid QUuid::createUuid() */ QDebug operator<<(QDebug dbg, const QUuid &id) { -#ifndef QT_NO_QUUID_STRING dbg.nospace() << "QUuid(" << id.toString() << ')'; -#else - Q_UNUSED(id) - dbg.nospace() << "QUuid(QT_NO_QUUID_STRING)"; -#endif return dbg.space(); } #endif diff --git a/src/corelib/plugin/quuid.h b/src/corelib/plugin/quuid.h index ba475ac33b..d1b56002f3 100644 --- a/src/corelib/plugin/quuid.h +++ b/src/corelib/plugin/quuid.h @@ -115,13 +115,11 @@ public: } #endif -#ifndef QT_NO_QUUID_STRING QUuid(const QString &); QUuid(const char *); QString toString() const; QUuid(const QByteArray &); QByteArray toByteArray() const; -#endif QByteArray toRfc4122() const; static QUuid fromRfc4122(const QByteArray &); bool isNull() const; @@ -193,7 +191,6 @@ public: #ifndef QT_BOOTSTRAPPED static QUuid createUuidV3(const QUuid &ns, const QByteArray &baseData); static QUuid createUuidV5(const QUuid &ns, const QByteArray &baseData); -#ifndef QT_NO_QUUID_STRING static inline QUuid createUuidV3(const QUuid &ns, const QString &baseData) { return QUuid::createUuidV3(ns, baseData.toUtf8()); @@ -204,7 +201,6 @@ public: return QUuid::createUuidV5(ns, baseData.toUtf8()); } -#endif #endif QUuid::Variant variant() const; From d7afbdc2d2b6a7eaa02651887b9dc3408f6d4539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 5 Dec 2012 09:42:16 +0100 Subject: [PATCH 042/386] Fixed crash in tst_qguiapplication with QT_QPA_PLATFORM=minimal The tst_qguiapplication creates and destroys multiple instances of QGuiApplication. Since the minimal platform plugin doesn't report any theme names, the platform_theme never gets set to 0 in init_platform, and we end up trying to use or at least delete an already deleted QPlatformTheme. Change-Id: I1a41d55b0705c5531c019e60a7a96dac144bacb7 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qguiapplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index fb14490a24..7abda84bfa 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -1065,7 +1065,8 @@ QGuiApplicationPrivate::~QGuiApplicationPrivate() QPixmapCache::clear(); - delete platform_theme; + delete platform_theme; + platform_theme = 0; delete platform_integration; platform_integration = 0; delete m_gammaTables.load(); From 2568f8ab2482873cdb11312bf4a29ee1e57a0205 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 5 Dec 2012 10:14:13 +0100 Subject: [PATCH 043/386] QtBase: Doc: Replacing link with snippet in QTranslator. Because the linguist examples are moved to qttools module, a link to the hellotr example broke. Change-Id: I2aeefc143578618396f5be38ed1d52afdd1f7436 Reviewed-by: Leena Miettinen --- src/corelib/doc/snippets/hellotrmain.cpp | 57 ++++++++++++++++++++++++ src/corelib/kernel/qtranslator.cpp | 6 +-- 2 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 src/corelib/doc/snippets/hellotrmain.cpp diff --git a/src/corelib/doc/snippets/hellotrmain.cpp b/src/corelib/doc/snippets/hellotrmain.cpp new file mode 100644 index 0000000000..fdb034c241 --- /dev/null +++ b/src/corelib/doc/snippets/hellotrmain.cpp @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the examples of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +//! [0] +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + QTranslator translator; + translator.load("hellotr_la"); + app.installTranslator(&translator); + + QPushButton hello(QPushButton::tr("Hello world!")); + hello.resize(100, 30); + + hello.show(); + return app.exec(); +} +//! [0] + diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index f934202cf6..58e4f202d5 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -343,10 +343,10 @@ public: The most common use of QTranslator is to: load a translation file, install it using QCoreApplication::installTranslator(), and use - it via QObject::tr(). Here's the \c main() function from the - \l{linguist/hellotr}{Hello tr()} example: + it via QObject::tr(). Here's an example \c main() function using the + QTranslator: - \snippet linguist/hellotr/main.cpp 2 + \snippet hellotrmain.cpp 0 Note that the translator must be created \e before the application's widgets. From 4d178743e496515566af740e9c2826a2cfe31874 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Mon, 3 Dec 2012 12:11:27 +0100 Subject: [PATCH 044/386] compile with QT_NO_TOOLTIP Change-Id: I9e769a343a9dd74dc80cffebfe9ad97981596036 Reviewed-by: David Faure --- src/widgets/kernel/qapplication_qpa.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/kernel/qapplication_qpa.cpp b/src/widgets/kernel/qapplication_qpa.cpp index 21bc9506d4..3568e49ccd 100644 --- a/src/widgets/kernel/qapplication_qpa.cpp +++ b/src/widgets/kernel/qapplication_qpa.cpp @@ -421,8 +421,11 @@ void qt_init(QApplicationPrivate *priv, int type) QColormap::initialize(); +#ifndef QT_NO_TOOLTIP if (const QPalette *toolTipPalette = QGuiApplicationPrivate::platformTheme()->palette(QPlatformTheme::ToolTipPalette)) QToolTip::setPalette(*toolTipPalette); +#endif + QApplicationPrivate::initializeWidgetFontHash(); } From 422b8dd24ec99caed2a22735f53ffbef110a35ad Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Wed, 5 Dec 2012 11:43:14 +0100 Subject: [PATCH 045/386] Fix compile with -DQT_NO_DRAGANDDROP Change-Id: Ic7b42ae164f913f270c8350c2de6ce35f0be8c2a Reviewed-by: David Faure --- examples/network/torrent/mainwindow.cpp | 6 ++++++ examples/widgets/itemviews/itemviews.pro | 1 + examples/widgets/widgets.pro | 1 + 3 files changed, 8 insertions(+) diff --git a/examples/network/torrent/mainwindow.cpp b/examples/network/torrent/mainwindow.cpp index 1b10241f6e..b574429808 100644 --- a/examples/network/torrent/mainwindow.cpp +++ b/examples/network/torrent/mainwindow.cpp @@ -52,12 +52,14 @@ class TorrentView : public QTreeWidget public: TorrentView(QWidget *parent = 0); +#ifndef QT_NO_DRAGANDDROP signals: void fileDropped(const QString &fileName); protected: void dragMoveEvent(QDragMoveEvent *event); void dropEvent(QDropEvent *event); +#endif }; // TorrentViewDelegate is used to draw the progress bars. @@ -688,9 +690,12 @@ void MainWindow::closeEvent(QCloseEvent *) TorrentView::TorrentView(QWidget *parent) : QTreeWidget(parent) { +#ifndef QT_NO_DRAGANDDROP setAcceptDrops(true); +#endif } +#ifndef QT_NO_DRAGANDDROP void TorrentView::dragMoveEvent(QDragMoveEvent *event) { // Accept file actions with a '.torrent' extension. @@ -708,5 +713,6 @@ void TorrentView::dropEvent(QDropEvent *event) if (QFile::exists(fileName) && fileName.toLower().endsWith(".torrent")) emit fileDropped(fileName); } +#endif #include "mainwindow.moc" diff --git a/examples/widgets/itemviews/itemviews.pro b/examples/widgets/itemviews/itemviews.pro index 60512e2b66..4109e002b6 100644 --- a/examples/widgets/itemviews/itemviews.pro +++ b/examples/widgets/itemviews/itemviews.pro @@ -20,3 +20,4 @@ SUBDIRS = addressbook \ stardelegate QT += widgets +contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= puzzle diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro index bdac0bde28..87054cff0d 100644 --- a/examples/widgets/widgets.pro +++ b/examples/widgets/widgets.pro @@ -20,3 +20,4 @@ SUBDIRS = \ widgets contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows +contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= draganddrop From f775f6dd887e1744816d1320fd50092df93f0371 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Sun, 2 Dec 2012 22:53:25 +0100 Subject: [PATCH 046/386] Fix compile with -DQT_NO_WHEELEVENT Change-Id: Icc345e2a361fc233d7debfa88bef2a3a8375fa8f Reviewed-by: David Faure --- examples/threads/mandelbrot/mandelbrotwidget.cpp | 2 ++ examples/threads/mandelbrot/mandelbrotwidget.h | 2 ++ examples/widgets/graphicsview/chip/view.cpp | 2 ++ examples/widgets/graphicsview/chip/view.h | 2 ++ examples/widgets/graphicsview/elasticnodes/graphwidget.cpp | 2 ++ examples/widgets/graphicsview/elasticnodes/graphwidget.h | 2 ++ examples/widgets/painting/affine/xform.cpp | 2 ++ examples/widgets/painting/affine/xform.h | 2 ++ examples/widgets/widgets/mousebuttons/buttontester.cpp | 2 ++ examples/widgets/widgets/mousebuttons/buttontester.h | 2 ++ 10 files changed, 20 insertions(+) diff --git a/examples/threads/mandelbrot/mandelbrotwidget.cpp b/examples/threads/mandelbrot/mandelbrotwidget.cpp index c1ec029548..3a10a7a726 100644 --- a/examples/threads/mandelbrot/mandelbrotwidget.cpp +++ b/examples/threads/mandelbrot/mandelbrotwidget.cpp @@ -162,6 +162,7 @@ void MandelbrotWidget::keyPressEvent(QKeyEvent *event) } //! [11] +#ifndef QT_NO_WHEELEVENT //! [12] void MandelbrotWidget::wheelEvent(QWheelEvent *event) { @@ -170,6 +171,7 @@ void MandelbrotWidget::wheelEvent(QWheelEvent *event) zoom(pow(ZoomInFactor, numSteps)); } //! [12] +#endif //! [13] void MandelbrotWidget::mousePressEvent(QMouseEvent *event) diff --git a/examples/threads/mandelbrot/mandelbrotwidget.h b/examples/threads/mandelbrot/mandelbrotwidget.h index ea5fdc53c1..238a2bdca1 100644 --- a/examples/threads/mandelbrot/mandelbrotwidget.h +++ b/examples/threads/mandelbrot/mandelbrotwidget.h @@ -58,7 +58,9 @@ protected: void paintEvent(QPaintEvent *event); void resizeEvent(QResizeEvent *event); void keyPressEvent(QKeyEvent *event); +#ifndef QT_NO_WHEELEVENT void wheelEvent(QWheelEvent *event); +#endif void mousePressEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); diff --git a/examples/widgets/graphicsview/chip/view.cpp b/examples/widgets/graphicsview/chip/view.cpp index cb83175744..4b7e6c2ed8 100644 --- a/examples/widgets/graphicsview/chip/view.cpp +++ b/examples/widgets/graphicsview/chip/view.cpp @@ -50,6 +50,7 @@ #endif #include +#ifndef QT_NO_WHEELEVENT void GraphicsView::wheelEvent(QWheelEvent *e) { if (e->modifiers() & Qt::ControlModifier) { @@ -62,6 +63,7 @@ void GraphicsView::wheelEvent(QWheelEvent *e) QGraphicsView::wheelEvent(e); } } +#endif View::View(const QString &name, QWidget *parent) : QFrame(parent) diff --git a/examples/widgets/graphicsview/chip/view.h b/examples/widgets/graphicsview/chip/view.h index b6cdc41200..90e0951716 100644 --- a/examples/widgets/graphicsview/chip/view.h +++ b/examples/widgets/graphicsview/chip/view.h @@ -60,7 +60,9 @@ public: GraphicsView(View *v) : QGraphicsView(), view(v) { } protected: +#ifndef QT_NO_WHEELEVENT void wheelEvent(QWheelEvent *); +#endif private: View *view; diff --git a/examples/widgets/graphicsview/elasticnodes/graphwidget.cpp b/examples/widgets/graphicsview/elasticnodes/graphwidget.cpp index 67b6088079..b501a4f3c1 100644 --- a/examples/widgets/graphicsview/elasticnodes/graphwidget.cpp +++ b/examples/widgets/graphicsview/elasticnodes/graphwidget.cpp @@ -174,12 +174,14 @@ void GraphWidget::timerEvent(QTimerEvent *event) } //! [4] +#ifndef QT_NO_WHEELEVENT //! [5] void GraphWidget::wheelEvent(QWheelEvent *event) { scaleView(pow((double)2, -event->delta() / 240.0)); } //! [5] +#endif //! [6] void GraphWidget::drawBackground(QPainter *painter, const QRectF &rect) diff --git a/examples/widgets/graphicsview/elasticnodes/graphwidget.h b/examples/widgets/graphicsview/elasticnodes/graphwidget.h index 064d3bf00a..202c17c204 100644 --- a/examples/widgets/graphicsview/elasticnodes/graphwidget.h +++ b/examples/widgets/graphicsview/elasticnodes/graphwidget.h @@ -63,7 +63,9 @@ public slots: protected: void keyPressEvent(QKeyEvent *event); void timerEvent(QTimerEvent *event); +#ifndef QT_NO_WHEELEVENT void wheelEvent(QWheelEvent *event); +#endif void drawBackground(QPainter *painter, const QRectF &rect); void scaleView(qreal scaleFactor); diff --git a/examples/widgets/painting/affine/xform.cpp b/examples/widgets/painting/affine/xform.cpp index a873ba7af8..d4485df0b3 100644 --- a/examples/widgets/painting/affine/xform.cpp +++ b/examples/widgets/painting/affine/xform.cpp @@ -251,12 +251,14 @@ void XFormView::timerEvent(QTimerEvent *e) } } +#ifndef QT_NO_WHEELEVENT void XFormView::wheelEvent(QWheelEvent *e) { m_scale += e->delta() / qreal(600); m_scale = qMax(qreal(0.1), qMin(qreal(4), m_scale)); emit scaleChanged(int(m_scale*1000)); } +#endif void XFormView::reset() { diff --git a/examples/widgets/painting/affine/xform.h b/examples/widgets/painting/affine/xform.h index fff92733a0..a04381165d 100644 --- a/examples/widgets/painting/affine/xform.h +++ b/examples/widgets/painting/affine/xform.h @@ -116,7 +116,9 @@ signals: protected: void timerEvent(QTimerEvent *e); +#ifndef QT_NO_WHEELEVENT void wheelEvent(QWheelEvent *); +#endif private: QPolygonF ctrlPoints; diff --git a/examples/widgets/widgets/mousebuttons/buttontester.cpp b/examples/widgets/widgets/mousebuttons/buttontester.cpp index 64910375dc..9a631b9fa2 100644 --- a/examples/widgets/widgets/mousebuttons/buttontester.cpp +++ b/examples/widgets/widgets/mousebuttons/buttontester.cpp @@ -68,6 +68,7 @@ void ButtonTester::mouseDoubleClickEvent(QMouseEvent *e) this->setText(result); } +#ifndef QT_NO_WHEELEVENT void ButtonTester::wheelEvent (QWheelEvent *e) { QString result; @@ -88,6 +89,7 @@ void ButtonTester::wheelEvent (QWheelEvent *e) qDebug() << result; this->setText(result); } +#endif int ButtonTester::buttonByNumber(const Qt::MouseButton button) { diff --git a/examples/widgets/widgets/mousebuttons/buttontester.h b/examples/widgets/widgets/mousebuttons/buttontester.h index bb1a7b0335..2f8db560f4 100644 --- a/examples/widgets/widgets/mousebuttons/buttontester.h +++ b/examples/widgets/widgets/mousebuttons/buttontester.h @@ -56,7 +56,9 @@ protected: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseDoubleClickEvent(QMouseEvent *event); +#ifndef QT_NO_WHEELEVENT void wheelEvent(QWheelEvent * event); +#endif int buttonByNumber(const Qt::MouseButton button); QString enumNameFromValue(const Qt::MouseButton button); }; From 18033c075cb8bba2e410018c642986630c9d094d Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Fri, 23 Nov 2012 03:17:47 +0900 Subject: [PATCH 047/386] Enable network build with QT_NO_NETWORKPROXY Change-Id: Id26f0b45959ab3ee2390ea2d3e0d4ec321029e5c Reviewed-by: Johan Thelin Reviewed-by: Oswald Buddenhagen --- src/network/access/qnetworkreplyhttpimpl_p.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network/access/qnetworkreplyhttpimpl_p.h b/src/network/access/qnetworkreplyhttpimpl_p.h index 956d5c207f..54a4333dcf 100644 --- a/src/network/access/qnetworkreplyhttpimpl_p.h +++ b/src/network/access/qnetworkreplyhttpimpl_p.h @@ -119,7 +119,9 @@ public: Q_PRIVATE_SLOT(d_func(), void replySslErrors(const QList &, bool *, QList *)) Q_PRIVATE_SLOT(d_func(), void replySslConfigurationChanged(const QSslConfiguration&)) #endif +#ifndef QT_NO_NETWORKPROXY Q_PRIVATE_SLOT(d_func(), void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *auth)) +#endif Q_PRIVATE_SLOT(d_func(), void resetUploadDataSlot(bool *r)) Q_PRIVATE_SLOT(d_func(), void wantUploadDataSlot(qint64)) From 4519d810d1d2be3af17bdd77edac2361620f9d2d Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 5 Dec 2012 13:46:03 +0100 Subject: [PATCH 048/386] Doc: Fix some more links Change-Id: I94c853532cd3ed9bf18e6d471f99560e04131fdf Reviewed-by: Jerome Pasion --- examples/widgets/doc/src/fridgemagnets.qdoc | 2 +- src/corelib/doc/qtcore.qdocconf | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/widgets/doc/src/fridgemagnets.qdoc b/examples/widgets/doc/src/fridgemagnets.qdoc index b53c94f0bd..8e0732f7dd 100644 --- a/examples/widgets/doc/src/fridgemagnets.qdoc +++ b/examples/widgets/doc/src/fridgemagnets.qdoc @@ -176,7 +176,7 @@ handler, where drag and drop operations begin: \snippet draganddrop/fridgemagnets/dragwidget.cpp 13 - \snippet examples/draganddrop/fridgemagnets/dragwidget.cpp 14 + \snippet draganddrop/fridgemagnets/dragwidget.cpp 14 Mouse events occur when a mouse button is pressed or released inside a widget, or when the mouse cursor is moved. By diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index 42904feb63..6a3e7cecdc 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -35,6 +35,7 @@ sourcedirs += .. exampledirs += \ ../ \ snippets \ - ../../../examples/threads + ../../../examples/threads \ + ../../../examples/widgets imagedirs += images From 52aad26ceee8287fa56089e459868c0f69fa94f9 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Tue, 4 Dec 2012 17:57:27 +0100 Subject: [PATCH 049/386] Doc: Added documentation for the collidingmice example Task-number: QTBUG-27515 Change-Id: I1bc11d381c0ea8f6ef7ea32093d7e981ca9db91e Reviewed-by: Jerome Pasion --- .../doc/images/collidingmice-example.png | Bin 0 -> 59824 bytes .../doc/src/collidingmice-example.qdoc | 271 ++++++++++++++++++ 2 files changed, 271 insertions(+) create mode 100644 examples/widgets/doc/images/collidingmice-example.png create mode 100644 examples/widgets/doc/src/collidingmice-example.qdoc diff --git a/examples/widgets/doc/images/collidingmice-example.png b/examples/widgets/doc/images/collidingmice-example.png new file mode 100644 index 0000000000000000000000000000000000000000..41561de3941223d4f5af1b576d376c267ddb463d GIT binary patch literal 59824 zcmYiMRajhG(=`k??(V_e-QC?aKyVEb+}&v;5Zv9}-Gc=W?kKpOoqeZUX=(p7K)ST3$xy zIY@3=iyfnZAa>Uy;S42-t>9mb7|5y+80d)b_D4MV%*i_}Q!yv0y{}6QMXWHMAX|tinWf{_kJ8 z21>%kYpF+u<^Z@!Dhw&5jM>H1KaSeBrRYwE>>DT<8T|kLU-@cBj8}0I(t!Qc?zpo# zoYvVMC?QHqPmjJbO&Y20Na;`Co9jjeW&5T>;uw|q3--9|49EaF6AgXig%R>ZV`SR* zN8dN(xe6+s9w=cFGF*g2^Unl2M};o+G0#izSLg9q3EjH(4pe#r{r!MHL@SKQrpLbv z4B%T@T7Kf!mVXldp^wKMKd<+4%A-Df|7migBZ)6bsyZt!{ynXZr3*q@UH4^8KwuNe z31yr_NoX#-!P8wk-Mn>_??iF9905n5J-eVp2n16JlR4|lX|0Ui7cVxhC#+d@(rknok`1>j51 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zZe2%i7c_nuRd`s3te4=Z52x3V!zed0ujT#k7#?*8q-^u}G3Gvv}>hPJ#&=h=u zB^mDH*;=nZTO#Q+=onBvqt_`O*?5HU164=a&JrZxSD{eCW)^wTi*12E5qRlcb!6a2 z3yZ!0aHiXhXujBNshjrpZ!iKBJ(+vA_1bpuHhF1IvwkXqrlIDmJ-6@t3$T Date: Tue, 4 Dec 2012 18:47:37 +0100 Subject: [PATCH 050/386] Doc: Added a README file for building documentation. Change-Id: I5987af88f7e8efc1b3c4fb788e5fd985e53b08a1 Reviewed-by: Venugopal Shivashankar Reviewed-by: Leena Miettinen --- doc/README | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 doc/README diff --git a/doc/README b/doc/README new file mode 100644 index 0000000000..355f61d353 --- /dev/null +++ b/doc/README @@ -0,0 +1,109 @@ +Qt 5 Documentation +================== + +New in Qt 5.0, each module has its own documentation package. The documentation +resides in the module sources as well as the configuration files needed to build +the module documentation. The main Qt 5.0 Reference Documentation resides in the +qtdoc repository. + +There are two ways to build Qt documentation: +* run "make docs" in qt5/ or in the repositories +* run the QDoc tool for each module + + +Running "make docs" +=================== + +To build the documentation using Makefiles, qtbase needs to be compiled and +installed. + +Running qmake will create make targets to build the documentation: +* html_docs - builds only the HTML documentation +* qch_docs - packages the HTML documentation into QCH files for Qt Creator and + Qt Assistant. +* docs - runs html_docs and qch_docs + +Note: qch_docs needs qhelpgenerator to package the documentation. qhelpgenerator +is in the qttools repository. + +These make targets use qmake's QT_INSTALL_DOCS variable as the output directory. +Running "qmake -query" will list the directory set to QT_INSTALL_DOCS. + +To create all of the modules' documentation, run "make docs" in the +qt5 directory: + $> make docs # builds the bundled modules' documentation + +It is also possible to build only a small subset of the documentation by using +make: + $> cd qtbase + $> make docs # builds the documentation for modules in qtbase + + $> cd qtbase/src/sql + $> make docs # builds only the Qt SQL documentation + + +Running QDoc +============ + +QDoc is the tool for generating Qt documentation and is located in qtbase. +The simplest way to compile QDoc is to compile qtbase or only the tools in +qtbase. + + $> cd qtbase/src + $> make sub-tools # compiles QDoc + +Each module has a QDoc configuration file (.qdocconf). To build a module's +documentation, run the "qdoc" binary and pass the qdocconf file as a parameter. +A mandatory "outputdir" must be specified. + + $> qdoc doc/config/qtdoc.qdocconf -outputdir html + + Note that QDoc will delete the contents of the "html" output directory. + +Packaging the Documentation +=========================== + +To package the documentation, the HTML files must be compiled +into a QCH file (.qch). + +Required binaries: + * assistant - found in qttools + * qhelpgenerator - found in qttools + +To compile the qch file for each module, first enter the output directory that +contains the .qhp file and generate the QCH file. + + $> cd qtbase/doc/qtdoc #the default path for QT_INSTALL_DOCS for qtdoc + $> qhelpgenerator qtdoc.qhp #creates the QCH file called qtdoc.qch + +The QCH file can then be loaded in Qt Assistant or Qt Creator. For Qt Assistant, +the QCH file can be registered to automatically load it. + + $> assistant -register qtdoc.qch #to automatically load the documentation + + +Global Files +============ + +The qtbase/doc/global directory contains various files used by the modules to +build the documentation. These include macros, stylesheets, and images for +displaying documentation. + +To include these files in a qdocconf, add the following to a qdocconf file: + + include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) + + +Documentation Structure +======================= +For a typical module, the documentation will reside in the source directory. +The examples and the example documentation are in the "examples" directory. + + qtbase/src/sql/doc/src #Qt SQL's documentation + qtbase/examples/sql #Qt SQL's examples + +More Information +================ + +For more information about Qt 5's documentation, refer to the Qt Project wiki: +http://qt-project.org/wiki/Qt5DocumentationProject From 6a98976791b74dd98afa44c4643d26747f99039e Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Wed, 5 Dec 2012 10:11:54 +0900 Subject: [PATCH 051/386] Make qtbase compile with QT_NO_IMAGEFORMATPLUGIN Change-Id: I1fef96481fa902cfd9de63fa814f70412eee4d15 Reviewed-by: Oswald Buddenhagen Reviewed-by: aavit --- src/corelib/global/qfeatures.h | 3 --- src/corelib/global/qfeatures.txt | 2 +- src/gui/image/qimageiohandler.cpp | 4 ++++ src/gui/image/qimageiohandler.h | 4 ++++ src/gui/image/qimagereader.cpp | 27 ++++++++++++++------------- src/gui/image/qimagewriter.cpp | 22 +++++++++++----------- src/plugins/imageformats/gif/main.h | 4 ++++ 7 files changed, 38 insertions(+), 28 deletions(-) diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h index d2c1095a4f..a63d3a3b3d 100644 --- a/src/corelib/global/qfeatures.h +++ b/src/corelib/global/qfeatures.h @@ -91,9 +91,6 @@ // QHostInfo //#define QT_NO_HOSTINFO -// QImageIOPlugin -//#define QT_NO_IMAGEFORMATPLUGIN - // BMP Image Format //#define QT_NO_IMAGEFORMAT_BMP diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt index d627f38a70..ad1ca5a6d5 100644 --- a/src/corelib/global/qfeatures.txt +++ b/src/corelib/global/qfeatures.txt @@ -760,7 +760,7 @@ SeeAlso: ??? Feature: IMAGEFORMATPLUGIN Description: Supports writing an image format plugin. Section: Images -Requires: +Requires: LIBRARY Name: QImageIOPlugin SeeAlso: ??? diff --git a/src/gui/image/qimageiohandler.cpp b/src/gui/image/qimageiohandler.cpp index 8ec2dea431..36757a6f34 100644 --- a/src/gui/image/qimageiohandler.cpp +++ b/src/gui/image/qimageiohandler.cpp @@ -514,6 +514,8 @@ int QImageIOHandler::nextImageDelay() const return 0; } +#ifndef QT_NO_IMAGEFORMATPLUGIN + /*! Constructs an image plugin with the given \a parent. This is invoked automatically by the moc generated code that exports the plugin. @@ -554,4 +556,6 @@ QImageIOPlugin::~QImageIOPlugin() \sa keys() */ +#endif // QT_NO_IMAGEFORMATPLUGIN + QT_END_NAMESPACE diff --git a/src/gui/image/qimageiohandler.h b/src/gui/image/qimageiohandler.h index 62f7ba1163..1f94099478 100644 --- a/src/gui/image/qimageiohandler.h +++ b/src/gui/image/qimageiohandler.h @@ -114,6 +114,8 @@ private: Q_DISABLE_COPY(QImageIOHandler) }; +#ifndef QT_NO_IMAGEFORMATPLUGIN + #define QImageIOHandlerFactoryInterface_iid "org.qt-project.Qt.QImageIOHandlerFactoryInterface" class Q_GUI_EXPORT QImageIOPlugin : public QObject @@ -136,6 +138,8 @@ public: Q_DECLARE_OPERATORS_FOR_FLAGS(QImageIOPlugin::Capabilities) +#endif // QT_NO_IMAGEFORMATPLUGIN + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index a8e8dc00e9..7e6d937c9f 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -151,7 +151,7 @@ QT_BEGIN_NAMESPACE -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, (QImageIOHandlerFactoryInterface_iid, QLatin1String("/imageformats"))) #endif @@ -223,23 +223,23 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, QByteArray form = format.toLower(); QImageIOHandler *handler = 0; + QByteArray suffix; -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN typedef QMultiMap PluginKeyMap; // check if we have plugins that support the image format QFactoryLoader *l = loader(); const PluginKeyMap keyMap = l->keyMap(); -#endif - QByteArray suffix; #ifdef QIMAGEREADER_DEBUG qDebug() << "QImageReader::createReadHandler( device =" << (void *)device << ", format =" << format << ")," << keyMap.values().size() << "plugins available: " << keyMap.values(); #endif -#ifndef QT_NO_LIBRARY int suffixPluginIndex = -1; +#endif // QT_NO_IMAGEFORMATPLUGIN + if (device && format.isEmpty() && autoDetectImageFormat && !ignoresFormatAndExtension) { // if there's no format, see if \a device is a file, and if so, find // the file suffix and find support for that format among our plugins. @@ -249,6 +249,7 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, qDebug() << "QImageReader::createReadHandler: device is a file:" << file->fileName(); #endif if (!(suffix = QFileInfo(file->fileName()).suffix().toLower().toLatin1()).isEmpty()) { +#ifndef QT_NO_IMAGEFORMATPLUGIN const int index = keyMap.key(QString::fromLatin1(suffix), -1); if (index != -1) { #ifdef QIMAGEREADER_DEBUG @@ -257,17 +258,17 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, #endif suffixPluginIndex = index; } +#endif // QT_NO_IMAGEFORMATPLUGIN } } } -#endif // QT_NO_LIBRARY QByteArray testFormat = !form.isEmpty() ? form : suffix; if (ignoresFormatAndExtension) testFormat = QByteArray(); -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN if (suffixPluginIndex != -1) { // check if the plugin that claims support for this format can load // from this device with this format. @@ -322,7 +323,7 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, device->seek(pos); } -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN // if we don't have a handler yet, check if we have built-in support for // the format @@ -369,7 +370,7 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, #endif } -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN if (!handler && (autoDetectImageFormat || ignoresFormatAndExtension)) { // check if any of our plugins recognize the file from its contents. const qint64 pos = device ? device->pos() : 0; @@ -389,7 +390,7 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, if (device && !device->isSequential()) device->seek(pos); } -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN if (!handler && (autoDetectImageFormat || ignoresFormatAndExtension)) { // check if any of our built-in handlers recognize the file from its @@ -1429,7 +1430,7 @@ QByteArray QImageReader::imageFormat(QIODevice *device) return format; } -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN void supportedImageHandlerFormats(QFactoryLoader *loader, QImageIOPlugin::Capability cap, QSet *result); @@ -1471,9 +1472,9 @@ QList QImageReader::supportedImageFormats() for (int i = 0; i < _qt_NumFormats; ++i) formats << _qt_BuiltInFormats[i].extension; -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN supportedImageHandlerFormats(loader(), QImageIOPlugin::CanRead, &formats); -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN QList sortedFormats; for (QSet::ConstIterator it = formats.constBegin(); it != formats.constEnd(); ++it) diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp index 8e5fd5faec..6085a0e465 100644 --- a/src/gui/image/qimagewriter.cpp +++ b/src/gui/image/qimagewriter.cpp @@ -124,7 +124,7 @@ QT_BEGIN_NAMESPACE -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, (QImageIOHandlerFactoryInterface_iid, QLatin1String("/imageformats"))) #endif @@ -136,7 +136,7 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, QByteArray suffix; QImageIOHandler *handler = 0; -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN typedef QMultiMap PluginKeyMap; // check if any plugins can write the image @@ -151,7 +151,7 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, // this allows plugins to override our built-in handlers. if (QFile *file = qobject_cast(device)) { if (!(suffix = QFileInfo(file->fileName()).suffix().toLower().toLatin1()).isEmpty()) { -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN const int index = keyMap.key(QString::fromLatin1(suffix), -1); if (index != -1) suffixPluginIndex = index; @@ -162,7 +162,7 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, QByteArray testFormat = !form.isEmpty() ? form : suffix; -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN if (suffixPluginIndex != -1) { // when format is missing, check if we can find a plugin for the // suffix. @@ -173,7 +173,7 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, handler = plugin->create(device, suffix); } } -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN // check if any built-in handlers can write the image if (!handler && !testFormat.isEmpty()) { @@ -214,7 +214,7 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, } } -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN if (!testFormat.isEmpty()) { const int keyCount = keyMap.keys().size(); for (int i = 0; i < keyCount; ++i) { @@ -226,7 +226,7 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, } } } -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN if (!handler) return 0; @@ -655,7 +655,7 @@ bool QImageWriter::supportsOption(QImageIOHandler::ImageOption option) const } -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN void supportedImageHandlerFormats(QFactoryLoader *loader, QImageIOPlugin::Capability cap, QSet *result) @@ -677,7 +677,7 @@ void supportedImageHandlerFormats(QFactoryLoader *loader, result->insert(key); } } -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN /*! Returns the list of image formats supported by QImageWriter. @@ -729,9 +729,9 @@ QList QImageWriter::supportedImageFormats() formats << "gif"; #endif -#ifndef QT_NO_LIBRARY +#ifndef QT_NO_IMAGEFORMATPLUGIN supportedImageHandlerFormats(loader(), QImageIOPlugin::CanWrite, &formats); -#endif // QT_NO_LIBRARY +#endif // QT_NO_IMAGEFORMATPLUGIN QList sortedFormats; for (QSet::ConstIterator it = formats.constBegin(); it != formats.constEnd(); ++it) diff --git a/src/plugins/imageformats/gif/main.h b/src/plugins/imageformats/gif/main.h index 46d669a97f..c7770edc53 100644 --- a/src/plugins/imageformats/gif/main.h +++ b/src/plugins/imageformats/gif/main.h @@ -42,6 +42,8 @@ #include #include +#ifndef QT_NO_IMAGEFORMATPLUGIN + #ifdef QT_NO_IMAGEFORMAT_GIF #undef QT_NO_IMAGEFORMAT_GIF #endif @@ -62,3 +64,5 @@ public: }; QT_END_NAMESPACE + +#endif // QT_NO_IMAGEFORMATPLUGIN From 328df640f39906e4af17d5b8aca888289c3535ba Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Wed, 5 Dec 2012 14:40:38 +0100 Subject: [PATCH 052/386] Fix compile with -DQT_NO_TRANSLATION Change-Id: Ia6929f871485476e8b5bb14e7bf8117d0c562841 Reviewed-by: David Faure --- examples/examples.pro | 1 + examples/widgets/dialogs/classwizard/main.cpp | 2 ++ examples/widgets/dialogs/licensewizard/main.cpp | 4 +++- examples/widgets/dialogs/standarddialogs/main.cpp | 2 ++ examples/widgets/dialogs/trivialwizard/trivialwizard.cpp | 3 ++- examples/widgets/tools/tools.pro | 2 ++ 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/examples/examples.pro b/examples/examples.pro index 7c149ff7ac..db444b5d12 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -24,3 +24,4 @@ contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):!contains(QT_CONFIG contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl contains(QT_CONFIG, dbus): SUBDIRS += dbus contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent +contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= linguist diff --git a/examples/widgets/dialogs/classwizard/main.cpp b/examples/widgets/dialogs/classwizard/main.cpp index ec95d9d8d3..55fdf0fbb6 100644 --- a/examples/widgets/dialogs/classwizard/main.cpp +++ b/examples/widgets/dialogs/classwizard/main.cpp @@ -51,11 +51,13 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); +#ifndef QT_NO_TRANSLATION QString translatorFileName = QLatin1String("qt_"); translatorFileName += QLocale::system().name(); QTranslator *translator = new QTranslator(&app); if (translator->load(translatorFileName, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) app.installTranslator(translator); +#endif ClassWizard wizard; wizard.show(); diff --git a/examples/widgets/dialogs/licensewizard/main.cpp b/examples/widgets/dialogs/licensewizard/main.cpp index 9217d4f49e..a84c6241d4 100644 --- a/examples/widgets/dialogs/licensewizard/main.cpp +++ b/examples/widgets/dialogs/licensewizard/main.cpp @@ -51,12 +51,14 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); +#ifndef QT_NO_TRANSLATION QString translatorFileName = QLatin1String("qt_"); translatorFileName += QLocale::system().name(); QTranslator *translator = new QTranslator(&app); if (translator->load(translatorFileName, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) app.installTranslator(translator); - +#endif + LicenseWizard wizard; wizard.show(); return app.exec(); diff --git a/examples/widgets/dialogs/standarddialogs/main.cpp b/examples/widgets/dialogs/standarddialogs/main.cpp index 15f18d7af1..96863e3aab 100644 --- a/examples/widgets/dialogs/standarddialogs/main.cpp +++ b/examples/widgets/dialogs/standarddialogs/main.cpp @@ -49,11 +49,13 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); +#ifndef QT_NO_TRANSLATION QString translatorFileName = QLatin1String("qt_"); translatorFileName += QLocale::system().name(); QTranslator *translator = new QTranslator(&app); if (translator->load(translatorFileName, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) app.installTranslator(translator); +#endif Dialog dialog; dialog.show(); diff --git a/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp b/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp index a49e17e104..f302c0e390 100644 --- a/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp +++ b/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp @@ -115,12 +115,13 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); +#ifndef QT_NO_TRANSLATION QString translatorFileName = QLatin1String("qt_"); translatorFileName += QLocale::system().name(); QTranslator *translator = new QTranslator(&app); if (translator->load(translatorFileName, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) app.installTranslator(translator); - +#endif QWizard wizard; wizard.addPage(createIntroPage()); diff --git a/examples/widgets/tools/tools.pro b/examples/widgets/tools/tools.pro index aaf4440d23..f08f7fd6d2 100644 --- a/examples/widgets/tools/tools.pro +++ b/examples/widgets/tools/tools.pro @@ -14,6 +14,8 @@ SUBDIRS = \ undo \ undoframework +contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= i18n + plugandpaint.depends = plugandpaintplugins # install From 3aee20d4ab05777eb8aca5a5af80f79f79c64812 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Tue, 4 Dec 2012 17:38:23 +0100 Subject: [PATCH 053/386] Doc: Updated CSS style for QML code snippets -padding should be the same as C++ code snippet. Change-Id: Idba44d252f411f70b6957161b83626811c1c69f2 Reviewed-by: Sergio Ahumada --- doc/global/template/style/offline.css | 2 +- doc/global/template/style/online.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index 748effcee4..f13e8805e4 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -483,7 +483,7 @@ margin: 10; overflow: hidden; overflow-x: hidden; overflow-y: hidden; -padding: 20px 0 20px 0; +padding: 20px 20px 20px 20px; } .qmldefault{ diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 21e371b132..8bb66c6330 100644 --- a/doc/global/template/style/online.css +++ b/doc/global/template/style/online.css @@ -540,7 +540,7 @@ margin: 10; overflow: hidden; overflow-x: hidden; overflow-y: hidden; -padding: 20px 0 20px 0; +padding: 20px 20px 20px 20px; } .qmldefault{ From 621b0e206268b0505971feb5722d803f01e6778f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 4 Dec 2012 14:49:03 +0100 Subject: [PATCH 054/386] move QT_{SOURCE,BUILD}_TREE back to .qmake.cache they cannot be legally used outside qtbase - it's the antithesis of modularization. Change-Id: I847844ea0ddce599f130f396d68cb61fa8f34135 Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- configure | 1 - tools/configure/configureapp.cpp | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configure b/configure index cb9497e62e..85b361feb1 100755 --- a/configure +++ b/configure @@ -6126,7 +6126,6 @@ fi CACHEFILE="$outpath/.qmake.cache" [ -f "$CACHEFILE.tmp" ] && rm -f "$CACHEFILE.tmp" cat >>"$CACHEFILE.tmp" < Date: Tue, 4 Dec 2012 21:17:24 +0100 Subject: [PATCH 055/386] centralize MAKEFILE writeout better nmake depends on a variable being assigned before it is referenced, so just write it out to every Makefile as the very first thing. this is nicer than the previous hack anyway. Change-Id: I50f409919352f560f7ef6c848a2f7c51d1878148 Reviewed-by: Joerg Bornemann --- qmake/generators/makefile.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 22772f8392..0456d6bab3 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -2192,11 +2192,6 @@ MakefileGenerator::writeStubMakefile(QTextStream &t) bool MakefileGenerator::writeMakefile(QTextStream &t) { - QString ofile = Option::fixPathToTargetOS(Option::output.fileName()); - if (ofile.lastIndexOf(Option::dir_sep) != -1) - ofile.remove(0, ofile.lastIndexOf(Option::dir_sep) +1); - t << "MAKEFILE = " << ofile << endl << endl; - t << "####### Compile" << endl << endl; writeObj(t, "SOURCES"); writeObj(t, "GENERATED_SOURCES"); @@ -2257,6 +2252,10 @@ MakefileGenerator::writeHeader(QTextStream &t) t << "# Command: " << build_args().replace("$(QMAKE)", var("QMAKE_QMAKE")) << endl; t << "#############################################################################" << endl; t << endl; + QString ofile = Option::fixPathToTargetOS(Option::output.fileName()); + if (ofile.lastIndexOf(Option::dir_sep) != -1) + ofile.remove(0, ofile.lastIndexOf(Option::dir_sep) +1); + t << "MAKEFILE = " << ofile << endl << endl; } QList @@ -2415,10 +2414,6 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList Date: Tue, 4 Dec 2012 21:24:27 +0100 Subject: [PATCH 056/386] make the addition of docs/-install targets unconditional there is no reason why something should break out of the system. Change-Id: I081bffc0927b43ac4940d0200e32e1e60f6f2e97 Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_docs_targets.prf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mkspecs/features/qt_docs_targets.prf b/mkspecs/features/qt_docs_targets.prf index 0d9f90bce2..9f62e00f06 100644 --- a/mkspecs/features/qt_docs_targets.prf +++ b/mkspecs/features/qt_docs_targets.prf @@ -1,4 +1,3 @@ -!contains(QMAKE_EXTRA_TARGETS, docs) { contains(TEMPLATE, subdirs) { prepare_docs { prepareRecursiveTarget(prepare_docs) @@ -19,9 +18,7 @@ docs.commands = $(MAKE) -f $(MAKEFILE) html_docs && $(MAKE) -f $(MAKEFILE) qch_docs QMAKE_EXTRA_TARGETS += html_docs qch_docs docs prepare_docs: QMAKE_EXTRA_TARGETS += prepare_docs generate_docs -} -!contains(QMAKE_EXTRA_TARGETS, install_docs) { contains(TEMPLATE, subdirs) { prepareRecursiveTarget(install_html_docs) prepareRecursiveTarget(uninstall_html_docs) @@ -34,4 +31,3 @@ install_html_docs uninstall_html_docs \ install_qch_docs uninstall_qch_docs \ install_docs uninstall_docs -} From 4404cd51657ef99ee90a84bbe2e0ee26ac281230 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 4 Dec 2012 21:25:05 +0100 Subject: [PATCH 057/386] fix doc target recursions in particular for the meta Makefiles of debug_and_release. the logic is as follows: - the meta targets ('html_docs' in prepare_docs mode, and 'docs' always) need to branch out asap, so they are implemented non-recursively in every makefile. - all other targets need to be fully recursive. the meta Makefile will recurse only into one of debug or release, depending on the configure option (it doesn't matter anyway). Change-Id: I4e3f714cdda9c3a1021743148b5ee73379e3484d Reviewed-by: hjk Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_docs.prf | 1 - mkspecs/features/qt_docs_targets.prf | 63 ++++++++++++++-------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf index 3eb138b96d..0c46301ce4 100644 --- a/mkspecs/features/qt_docs.prf +++ b/mkspecs/features/qt_docs.prf @@ -17,7 +17,6 @@ doc_command = $$QDOC $$QMAKE_DOCS prepare_docs { prepare_docs.commands += $$doc_command -prepare -no-link-errors generate_docs.commands += $$doc_command -generate - html_docs.depends += generate_docs } else { html_docs.commands += $$doc_command } diff --git a/mkspecs/features/qt_docs_targets.prf b/mkspecs/features/qt_docs_targets.prf index 9f62e00f06..1af9fd9019 100644 --- a/mkspecs/features/qt_docs_targets.prf +++ b/mkspecs/features/qt_docs_targets.prf @@ -1,33 +1,34 @@ - contains(TEMPLATE, subdirs) { - prepare_docs { - prepareRecursiveTarget(prepare_docs) - prepareRecursiveTarget(generate_docs) - html_docs.commands = $(MAKE) -f $(MAKEFILE) prepare_docs && $(MAKE) -f $(MAKEFILE) generate_docs - } else { - prepareRecursiveTarget(html_docs) - } - prepareRecursiveTarget(qch_docs) - prepareRecursiveTarget(docs) - } else { - # apps and libs only generate docs if QMAKE_DOCS is set - !isEmpty(QMAKE_DOCS) { - # backwards compat hack - load(qt_docs) - } - } - docs.commands = $(MAKE) -f $(MAKEFILE) html_docs && $(MAKE) -f $(MAKEFILE) qch_docs - QMAKE_EXTRA_TARGETS += html_docs qch_docs docs - prepare_docs: QMAKE_EXTRA_TARGETS += prepare_docs generate_docs +DOC_TARGETS = \ + install_html_docs uninstall_html_docs \ + install_qch_docs uninstall_qch_docs \ + install_docs uninstall_docs \ + qch_docs - contains(TEMPLATE, subdirs) { - prepareRecursiveTarget(install_html_docs) - prepareRecursiveTarget(uninstall_html_docs) - prepareRecursiveTarget(install_qch_docs) - prepareRecursiveTarget(uninstall_qch_docs) - prepareRecursiveTarget(install_docs) - prepareRecursiveTarget(uninstall_docs) +prepare_docs { + DOC_TARGETS += prepare_docs generate_docs + html_docs.commands = $(MAKE) -f $(MAKEFILE) prepare_docs && $(MAKE) -f $(MAKEFILE) generate_docs + QMAKE_EXTRA_TARGETS += html_docs +} else { + DOC_TARGETS += html_docs +} + +docs.commands = $(MAKE) -f $(MAKEFILE) html_docs && $(MAKE) -f $(MAKEFILE) qch_docs +QMAKE_EXTRA_TARGETS += docs + +contains(TEMPLATE, subdirs) { + for(inst, DOC_TARGETS): \ + prepareRecursiveTarget($$inst) +} else:debug_and_release:!build_pass { + sub = $$first(BUILDS) + for(inst, DOC_TARGETS) { + $${inst}.CONFIG = recursive + $${inst}.recurse = $$sub } - QMAKE_EXTRA_TARGETS += \ - install_html_docs uninstall_html_docs \ - install_qch_docs uninstall_qch_docs \ - install_docs uninstall_docs +} else { + # apps and libs only generate docs if QMAKE_DOCS is set + !isEmpty(QMAKE_DOCS) { + # backwards compat hack + load(qt_docs) + } +} +QMAKE_EXTRA_TARGETS += $$DOC_TARGETS From 943c04d879c68163e2e25eb1777ccce7cc94ca77 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 4 Dec 2012 21:55:06 +0100 Subject: [PATCH 058/386] don't make the doc installs depend on the regular build it's pretty pointless Change-Id: Icea0073683a2d949798147fba3fad5b3331b1125 Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_docs.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf index 0c46301ce4..d195004077 100644 --- a/mkspecs/features/qt_docs.prf +++ b/mkspecs/features/qt_docs.prf @@ -27,12 +27,12 @@ prepare_docs { inst_html_docs.files = $$QMAKE_DOCS_OUTPUTDIR inst_html_docs.path = $$[QT_INSTALL_DOCS] - inst_html_docs.CONFIG += no_check_exist directory no_default_install + inst_html_docs.CONFIG += no_check_exist directory no_default_install no_build INSTALLS += inst_html_docs inst_qch_docs.files = $$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch inst_qch_docs.path = $$[QT_INSTALL_DOCS] - inst_qch_docs.CONFIG += no_check_exist no_default_install + inst_qch_docs.CONFIG += no_check_exist no_default_install no_build INSTALLS += inst_qch_docs install_html_docs.depends = install_inst_html_docs From 4b819803f63ea58ac4cc4e8bc61f12321f91197a Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 4 Dec 2012 21:58:41 +0100 Subject: [PATCH 059/386] don't check modules which were not requested Change-Id: I4928b37239af21dfc6edc84f1e989a2717614629 Reviewed-by: Joerg Bornemann --- bin/syncqt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/syncqt b/bin/syncqt index ab8a48f7a9..01a24ad9df 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -1146,7 +1146,7 @@ unless($showonly || !$create_uic_class_map) { } if($check_includes) { - for my $lib (keys(%modules)) { + foreach my $lib (@modules_to_sync) { #calc subdirs my @subdirs = listSubdirs(map { s/^\^//; $_ } split(/;/, $modules{$lib})); From fd1f65a9b84d597078482cd420771620c406f8da Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 4 Dec 2012 14:12:30 +0100 Subject: [PATCH 060/386] qdoc: Don't include inherited members in the class ref Once upon a time, the inherited functions, signals, slots, etc were not listed on the class reference page, but they were counted and a link to the base class was provided for them, eg: 2 public functions inherited from QAbstractListModel 39 public functions inherited from QAbstractItemModel 31 public functions inherited from QObject Somehow, this got broken, so that all these inherited things were listed on the class reference page as if they were members of the class. But they liunked to the documentation in the base class. This now works correctly again. It simnplifies the class reference pages a lot. Task-number: QTBUG-27496 Change-Id: If493da8cbf81634f1344b12094d9a06f8528e8e5 Reviewed-by: Jerome Pasion Reviewed-by: Lars Knoll --- src/tools/qdoc/codemarker.cpp | 34 ++++++------- src/tools/qdoc/codemarker.h | 6 +-- src/tools/qdoc/cppcodemarker.cpp | 84 ++++++++++++++++---------------- src/tools/qdoc/tree.cpp | 48 ++++++++++++------ 4 files changed, 95 insertions(+), 77 deletions(-) diff --git a/src/tools/qdoc/codemarker.cpp b/src/tools/qdoc/codemarker.cpp index 7cc6b631f6..9fe91d93e8 100644 --- a/src/tools/qdoc/codemarker.cpp +++ b/src/tools/qdoc/codemarker.cpp @@ -396,7 +396,7 @@ void CodeMarker::insert(FastSection &fastSection, bool irrelevant = false; bool inheritedMember = false; if (!node->relates()) { - if (node->parent() != (const InnerNode*)fastSection.innerNode && !node->parent()->isAbstract()) { + if (node->parent() != fastSection.parent_) { // && !node->parent()->isAbstract()) { if (node->type() != Node::QmlProperty) { inheritedMember = true; } @@ -468,7 +468,7 @@ void CodeMarker::insert(FastSection& fastSection, (parent->subType() == Node::QmlPropertyGroup)) { parent = parent->parent(); } - inheritedMember = (parent != (const InnerNode*)fastSection.innerNode); + inheritedMember = (parent != fastSection.parent_); if (!inheritedMember || style == Subpage) { QString key = sortName(node); @@ -488,24 +488,24 @@ void CodeMarker::insert(FastSection& fastSection, } /*! - Returns true if \a node represents a reimplemented member function. - If it is, then it is inserted in the reimplemented member map in the - section \a fs. And, the test is only performed if \a status is \e OK. - Otherwise, false is returned. + Returns true if \a node represents a reimplemented member + function in the class of the FastSection \a fs. If it is + a reimplemented function, then it is inserted into the + reimplemented member map in \a fs. The test is performed + only if \a status is \e OK. True is returned if \a node + is inserted into the map. Otherwise, false is returned. */ bool CodeMarker::insertReimpFunc(FastSection& fs, Node* node, Status status) { - if (node->access() == Node::Private) - return false; - - const FunctionNode* fn = static_cast(node); - if ((fn->reimplementedFrom() != 0) && (status == Okay)) { - bool inherited = (!fn->relates() && (fn->parent() != (const InnerNode*)fs.innerNode)); - if (!inherited) { - QString key = sortName(fn); - if (!fs.reimpMemberMap.contains(key)) { - fs.reimpMemberMap.insert(key,node); - return true; + if ((node->access() != Node::Private) && (node->relates() == 0)) { + const FunctionNode* fn = static_cast(node); + if ((fn->reimplementedFrom() != 0) && (status == Okay)) { + if (fn->parent() == fs.parent_) { + QString key = sortName(fn); + if (!fs.reimpMemberMap.contains(key)) { + fs.reimpMemberMap.insert(key,node); + return true; + } } } } diff --git a/src/tools/qdoc/codemarker.h b/src/tools/qdoc/codemarker.h index 0e699a62bf..14d33d37a0 100644 --- a/src/tools/qdoc/codemarker.h +++ b/src/tools/qdoc/codemarker.h @@ -82,7 +82,7 @@ struct Section struct FastSection { - const InnerNode *innerNode; + const InnerNode *parent_; QString name; QString divClass; QString singularMember; @@ -91,12 +91,12 @@ struct FastSection QMap reimpMemberMap; QList > inherited; - FastSection(const InnerNode *innerNode0, + FastSection(const InnerNode *parent, const QString& name0, const QString& divClass0, const QString& singularMember0, const QString& pluralMember0) - : innerNode(innerNode0), + : parent_(parent), name(name0), divClass(divClass0), singularMember(singularMember0), diff --git a/src/tools/qdoc/cppcodemarker.cpp b/src/tools/qdoc/cppcodemarker.cpp index 3abe4c2a65..ccff1c18ca 100644 --- a/src/tools/qdoc/cppcodemarker.cpp +++ b/src/tools/qdoc/cppcodemarker.cpp @@ -449,74 +449,74 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, QList
    sections; if (inner->type() == Node::Class) { - const ClassNode *classe = static_cast(inner); + const ClassNode *classNode = static_cast(inner); if (style == Summary) { - FastSection privateFunctions(classe, + FastSection privateFunctions(classNode, "Private Functions", QString(), "private function", "private functions"); - FastSection privateSlots(classe, "Private Slots", QString(), "private slot", "private slots"); - FastSection privateTypes(classe, "Private Types", QString(), "private type", "private types"); - FastSection protectedFunctions(classe, + FastSection privateSlots(classNode, "Private Slots", QString(), "private slot", "private slots"); + FastSection privateTypes(classNode, "Private Types", QString(), "private type", "private types"); + FastSection protectedFunctions(classNode, "Protected Functions", QString(), "protected function", "protected functions"); - FastSection protectedSlots(classe, + FastSection protectedSlots(classNode, "Protected Slots", QString(), "protected slot", "protected slots"); - FastSection protectedTypes(classe, + FastSection protectedTypes(classNode, "Protected Types", QString(), "protected type", "protected types"); - FastSection protectedVariables(classe, + FastSection protectedVariables(classNode, "Protected Variables", QString(), "protected type", "protected variables"); - FastSection publicFunctions(classe, + FastSection publicFunctions(classNode, "Public Functions", QString(), "public function", "public functions"); - FastSection publicSignals(classe, "Signals", QString(), "signal", "signal"); - FastSection publicSlots(classe, "Public Slots", QString(), "public slot", "public slots"); - FastSection publicTypes(classe, "Public Types", QString(), "public type", "public types"); - FastSection publicVariables(classe, + FastSection publicSignals(classNode, "Signals", QString(), "signal", "signal"); + FastSection publicSlots(classNode, "Public Slots", QString(), "public slot", "public slots"); + FastSection publicTypes(classNode, "Public Types", QString(), "public type", "public types"); + FastSection publicVariables(classNode, "Public Variables", QString(), "public variable", "public variables"); - FastSection properties(classe, "Properties", QString(), "property", "properties"); - FastSection relatedNonMembers(classe, + FastSection properties(classNode, "Properties", QString(), "property", "properties"); + FastSection relatedNonMembers(classNode, "Related Non-Members", QString(), "related non-member", "related non-members"); - FastSection staticPrivateMembers(classe, + FastSection staticPrivateMembers(classNode, "Static Private Members", QString(), "static private member", "static private members"); - FastSection staticProtectedMembers(classe, + FastSection staticProtectedMembers(classNode, "Static Protected Members", QString(), "static protected member", "static protected members"); - FastSection staticPublicMembers(classe, + FastSection staticPublicMembers(classNode, "Static Public Members", QString(), "static public member", "static public members"); FastSection macros(inner, "Macros", QString(), "macro", "macros"); - NodeList::ConstIterator r = classe->relatedNodes().constBegin(); - while (r != classe->relatedNodes().constEnd()) { + NodeList::ConstIterator r = classNode->relatedNodes().constBegin(); + while (r != classNode->relatedNodes().constEnd()) { if ((*r)->type() == Node::Function) { FunctionNode *func = static_cast(*r); if (func->isMacro()) @@ -531,7 +531,7 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, } QStack stack; - stack.push(classe); + stack.push(classNode); while (!stack.isEmpty()) { const ClassNode *ancestorClass = stack.pop(); @@ -566,8 +566,7 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, insert(publicSignals, *c, style, status); } else if (isStatic) { - if ((*c)->type() != Node::Variable - || !(*c)->doc().isEmpty()) + if ((*c)->type() != Node::Variable || !(*c)->doc().isEmpty()) insert(staticPublicMembers,*c,style,status); } else if ((*c)->type() == Node::Property) { @@ -578,8 +577,9 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, insert(publicVariables, *c, style, status); } else if ((*c)->type() == Node::Function) { - if (!insertReimpFunc(publicFunctions,*c,status)) + if (!insertReimpFunc(publicFunctions,*c,status)) { insert(publicFunctions, *c, style, status); + } } else { insert(publicTypes, *c, style, status); @@ -590,8 +590,7 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, insert(protectedSlots, *c, style, status); } else if (isStatic) { - if ((*c)->type() != Node::Variable - || !(*c)->doc().isEmpty()) + if ((*c)->type() != Node::Variable || !(*c)->doc().isEmpty()) insert(staticProtectedMembers,*c,style,status); } else if ((*c)->type() == Node::Variable) { @@ -599,8 +598,9 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, insert(protectedVariables,*c,style,status); } else if ((*c)->type() == Node::Function) { - if (!insertReimpFunc(protectedFunctions,*c,status)) + if (!insertReimpFunc(protectedFunctions,*c,status)) { insert(protectedFunctions, *c, style, status); + } } else { insert(protectedTypes, *c, style, status); @@ -611,13 +611,13 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, insert(privateSlots, *c, style, status); } else if (isStatic) { - if ((*c)->type() != Node::Variable - || !(*c)->doc().isEmpty()) + if ((*c)->type() != Node::Variable || !(*c)->doc().isEmpty()) insert(staticPrivateMembers,*c,style,status); } else if ((*c)->type() == Node::Function) { - if (!insertReimpFunc(privateFunctions,*c,status)) + if (!insertReimpFunc(privateFunctions,*c,status)) { insert(privateFunctions, *c, style, status); + } } else { insert(privateTypes,*c,style,status); @@ -654,15 +654,15 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, append(sections, macros); } else if (style == Detailed) { - FastSection memberFunctions(classe,"Member Function Documentation","func","member","members"); - FastSection memberTypes(classe,"Member Type Documentation","types","member","members"); - FastSection memberVariables(classe,"Member Variable Documentation","vars","member","members"); - FastSection properties(classe,"Property Documentation","prop","member","members"); - FastSection relatedNonMembers(classe,"Related Non-Members","relnonmem","member","members"); - FastSection macros(classe,"Macro Documentation","macros","member","members"); + FastSection memberFunctions(classNode,"Member Function Documentation","func","member","members"); + FastSection memberTypes(classNode,"Member Type Documentation","types","member","members"); + FastSection memberVariables(classNode,"Member Variable Documentation","vars","member","members"); + FastSection properties(classNode,"Property Documentation","prop","member","members"); + FastSection relatedNonMembers(classNode,"Related Non-Members","relnonmem","member","members"); + FastSection macros(classNode,"Macro Documentation","macros","member","members"); - NodeList::ConstIterator r = classe->relatedNodes().constBegin(); - while (r != classe->relatedNodes().constEnd()) { + NodeList::ConstIterator r = classNode->relatedNodes().constBegin(); + while (r != classNode->relatedNodes().constEnd()) { if ((*r)->type() == Node::Function) { FunctionNode *func = static_cast(*r); if (func->isMacro()) @@ -676,8 +676,8 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, ++r; } - NodeList::ConstIterator c = classe->childNodes().constBegin(); - while (c != classe->childNodes().constEnd()) { + NodeList::ConstIterator c = classNode->childNodes().constBegin(); + while (c != classNode->childNodes().constEnd()) { if ((*c)->type() == Node::Enum || (*c)->type() == Node::Typedef) { insert(memberTypes, *c, style, status); @@ -705,10 +705,10 @@ QList
    CppCodeMarker::sections(const InnerNode *inner, append(sections, macros); } else { - FastSection all(classe,QString(),QString(),"member","members"); + FastSection all(classNode,QString(),QString(),"member","members"); QStack stack; - stack.push(classe); + stack.push(classNode); while (!stack.isEmpty()) { const ClassNode *ancestorClass = stack.pop(); diff --git a/src/tools/qdoc/tree.cpp b/src/tools/qdoc/tree.cpp index c622fb929b..e7a8f5b5d0 100644 --- a/src/tools/qdoc/tree.cpp +++ b/src/tools/qdoc/tree.cpp @@ -398,6 +398,11 @@ void Tree::addPropertyFunction(PropertyNode* property, } /*! + This function resolves inheritance and reimplementation settings + for each class node found in the namspace beginning ar \a rootNode. + If it finds another namespace node in the child list of \a rootNode, + it calls itself recursively. For each child of \a rootNode that is a + class node, it calls the other resolveInheritance() function. */ void Tree::resolveInheritance(NamespaceNode* rootNode) { @@ -475,11 +480,24 @@ void Tree::resolveProperties() } /*! + This function is run twice for each \a classNode in the + tree. First it is run with \a pass set to 0 for each + \a classNode. Then it is run with \a pass set to 1 for + each \a classNode. + + In \a pass 0, all the base classes of \a classNode are + found and added to the base class list for \a classNode. + + In \a pass 1, each child of \a classNode that is a function + that is reimplemented from one of the base classes is marked + as being reimplemented from that class. + + Some property node fixing up is also done in \a pass 1. */ -void Tree::resolveInheritance(int pass, ClassNode* classe) +void Tree::resolveInheritance(int pass, ClassNode* classNode) { if (pass == 0) { - QList bounds = unresolvedInheritanceMap[classe]; + QList bounds = unresolvedInheritanceMap[classNode]; QList::ConstIterator b = bounds.constBegin(); while (b != bounds.constEnd()) { Node* n = findClassNode((*b).basePath); @@ -487,17 +505,17 @@ void Tree::resolveInheritance(int pass, ClassNode* classe) n = findClassNode((*b).basePath, (*b).parent); } if (n) { - classe->addBaseClass((*b).access, static_cast(n), (*b).dataTypeWithTemplateArgs); + classNode->addBaseClass((*b).access, static_cast(n), (*b).dataTypeWithTemplateArgs); } ++b; } } else { - NodeList::ConstIterator c = classe->childNodes().constBegin(); - while (c != classe->childNodes().constEnd()) { + NodeList::ConstIterator c = classNode->childNodes().constBegin(); + while (c != classNode->childNodes().constEnd()) { if ((*c)->type() == Node::Function) { FunctionNode* func = (FunctionNode*)* c; - FunctionNode* from = findVirtualFunctionInBaseClasses(classe, func); + FunctionNode* from = findVirtualFunctionInBaseClasses(classNode, func); if (from != 0) { if (func->virtualness() == FunctionNode::NonVirtual) func->setVirtualness(FunctionNode::ImpureVirtual); @@ -505,7 +523,7 @@ void Tree::resolveInheritance(int pass, ClassNode* classe) } } else if ((*c)->type() == Node::Property) { - fixPropertyUsingBaseClasses(classe, static_cast(*c)); + fixPropertyUsingBaseClasses(classNode, static_cast(*c)); } ++c; } @@ -551,11 +569,11 @@ void Tree::fixInheritance(NamespaceNode* rootNode) /*! */ -FunctionNode* Tree::findVirtualFunctionInBaseClasses(ClassNode* classe, +FunctionNode* Tree::findVirtualFunctionInBaseClasses(ClassNode* classNode, FunctionNode* clone) { - QList::ConstIterator r = classe->baseClasses().constBegin(); - while (r != classe->baseClasses().constEnd()) { + QList::ConstIterator r = classNode->baseClasses().constBegin(); + while (r != classNode->baseClasses().constEnd()) { FunctionNode* func; if (((func = findVirtualFunctionInBaseClasses((*r).node, clone)) != 0 || (func = (*r).node->findFunctionNode(clone)) != 0)) { @@ -569,10 +587,10 @@ FunctionNode* Tree::findVirtualFunctionInBaseClasses(ClassNode* classe, /*! */ -void Tree::fixPropertyUsingBaseClasses(ClassNode* classe, PropertyNode* property) +void Tree::fixPropertyUsingBaseClasses(ClassNode* classNode, PropertyNode* property) { - QList::const_iterator r = classe->baseClasses().constBegin(); - while (r != classe->baseClasses().constEnd()) { + QList::const_iterator r = classNode->baseClasses().constBegin(); + while (r != classNode->baseClasses().constEnd()) { Node* n = r->node->findChildNodeByNameAndType(property->name(), Node::Property); if (n) { PropertyNode* baseProperty = static_cast(n); @@ -588,10 +606,10 @@ void Tree::fixPropertyUsingBaseClasses(ClassNode* classe, PropertyNode* property /*! */ -NodeList Tree::allBaseClasses(const ClassNode* classe) const +NodeList Tree::allBaseClasses(const ClassNode* classNode) const { NodeList result; - foreach (const RelatedClass& r, classe->baseClasses()) { + foreach (const RelatedClass& r, classNode->baseClasses()) { result += r.node; result += allBaseClasses(r.node); } From fd4106e2d110a361208a6289cee18c5847377cb1 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Wed, 5 Dec 2012 11:36:25 +0100 Subject: [PATCH 061/386] Cocoa: fix unresponsive dialogs causes application to hang The reason for this bug seems to be related to how we wait for more events in the event dispatcher. We use the nextEventMatchingMask function, which already in Qt4 showed to have problems when telling it to not dequeue the event. The solution back then was to tell it to dequeue the event, and instead repost in front again. Why this was changed in Qt5 is uncertain (other than it being tempting) but moving the same code back in will solve the bug. Note that this bug might also stem from the fact that the run loop sources we add in the event dispatcher fires before the application is really ready to show modal dialogs. E.g refusing to execute a modal dialog before NSAppDelegate applicationWillFinishLaunching is called will also fix the problem. But this code change is to big atm, and can easily introduce other unforeseen regressions. Task-number: QTBUG-28283 Change-Id: I07cd109568c2b9c782cf5120a9eb2ac71128cada Reviewed-by: Gabriel de Dietrich --- .../platforms/cocoa/qcocoaeventdispatcher.mm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoaeventdispatcher.mm b/src/plugins/platforms/cocoa/qcocoaeventdispatcher.mm index 7aa365df67..80c9e227d2 100644 --- a/src/plugins/platforms/cocoa/qcocoaeventdispatcher.mm +++ b/src/plugins/platforms/cocoa/qcocoaeventdispatcher.mm @@ -510,14 +510,16 @@ static bool IsMouseOrKeyEvent( NSEvent* event ) static inline void qt_mac_waitForMoreEvents(NSString *runLoopMode = NSDefaultRunLoopMode) { - // If no event exist in the cocoa event que, wait - // (and free up cpu time) until at least one event occur. - // This implementation is a bit on the edge, but seems to - // work fine: - [NSApp nextEventMatchingMask:NSAnyEventMask - untilDate:[NSDate distantFuture] - inMode:runLoopMode - dequeue:NO]; + // If no event exist in the cocoa event que, wait (and free up cpu time) until + // at least one event occur. Setting 'dequeuing' to 'no' in the following call + // causes it to hang under certain circumstances (QTBUG-28283), so we tell it + // to dequeue instead, just to repost the event again: + NSEvent* event = [NSApp nextEventMatchingMask:NSAnyEventMask + untilDate:[NSDate distantFuture] + inMode:runLoopMode + dequeue:YES]; + if (event) + [NSApp postEvent:event atStart:YES]; } bool QCocoaEventDispatcher::processEvents(QEventLoop::ProcessEventsFlags flags) From e77eec1cf781df50c34601801c1ef3d5e6dcf370 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 5 Dec 2012 12:09:51 +0100 Subject: [PATCH 062/386] qdoc: Make extraimages behave like styles and scripts This configuration variable now assumes its values, if relative, are relative to the config file that contains the extraimages variable. Task-number: QTBUG-28307 Change-Id: I9b34d1f456b31e36ac77401b957b68cd10590376 Reviewed-by: Jerome Pasion --- src/tools/qdoc/generator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/qdoc/generator.cpp b/src/tools/qdoc/generator.cpp index 50687d8014..d9aed3ed06 100644 --- a/src/tools/qdoc/generator.cpp +++ b/src/tools/qdoc/generator.cpp @@ -1529,9 +1529,9 @@ void Generator::initialize(const Config &config) if (outputFormats.contains((*g)->format())) { currentGenerator_ = (*g); (*g)->initializeGenerator(config); - QStringList extraImages = config.getCleanPathList((*g)->format() + - Config::dot + - CONFIG_EXTRAIMAGES); + QStringList extraImages = config.getPathList((*g)->format() + + Config::dot + + CONFIG_EXTRAIMAGES); QStringList::ConstIterator e = extraImages.constBegin(); while (e != extraImages.constEnd()) { QString filePath = *e; From 22e3111127d31cc6440f1a13833205a72c9c4ab6 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 6 Dec 2012 10:33:23 +0100 Subject: [PATCH 063/386] Fix reference to example paths This eliminates seven EXAMPLE PATH DOES NOT EXIST warnings. Change-Id: Iaa6267138a1799fb775f0034805d5691bfa40d7c Reviewed-by: Christian Stenger Reviewed-by: Jerome Pasion --- examples/gui/doc/analogclockwindow.qdoc | 2 +- examples/gui/doc/openglwindow.qdoc | 2 +- examples/gui/doc/rasterwindow.qdoc | 2 +- examples/threads/doc/src/mandelbrot.qdoc | 2 +- examples/threads/doc/src/queuedcustomtype.qdoc | 2 +- examples/threads/doc/src/semaphores.qdoc | 2 +- examples/threads/doc/src/waitconditions.qdoc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/gui/doc/analogclockwindow.qdoc b/examples/gui/doc/analogclockwindow.qdoc index ebe9f9a418..ff361a27b1 100644 --- a/examples/gui/doc/analogclockwindow.qdoc +++ b/examples/gui/doc/analogclockwindow.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example gui/analogclock + \example analogclock \title Analog Clock Window Example \brief The Analog Clock Window example shows how to draw the contents of diff --git a/examples/gui/doc/openglwindow.qdoc b/examples/gui/doc/openglwindow.qdoc index 9d693bc50e..f5af944a31 100644 --- a/examples/gui/doc/openglwindow.qdoc +++ b/examples/gui/doc/openglwindow.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example gui/openglwindow + \example openglwindow \title OpenGL Window Example \brief This example shows how to create a minimal QWindow based application diff --git a/examples/gui/doc/rasterwindow.qdoc b/examples/gui/doc/rasterwindow.qdoc index 971b921d30..f246533c4f 100644 --- a/examples/gui/doc/rasterwindow.qdoc +++ b/examples/gui/doc/rasterwindow.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example gui/rasterwindow + \example rasterwindow \title Raster Window Example \brief This example shows how to create a minimal QWindow based diff --git a/examples/threads/doc/src/mandelbrot.qdoc b/examples/threads/doc/src/mandelbrot.qdoc index 842f4222ae..45ef2ba9f7 100644 --- a/examples/threads/doc/src/mandelbrot.qdoc +++ b/examples/threads/doc/src/mandelbrot.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example threads/mandelbrot + \example mandelbrot \title Mandelbrot Example The Mandelbrot example shows how to use a worker thread to diff --git a/examples/threads/doc/src/queuedcustomtype.qdoc b/examples/threads/doc/src/queuedcustomtype.qdoc index a1f2d54a21..35e6185d3b 100644 --- a/examples/threads/doc/src/queuedcustomtype.qdoc +++ b/examples/threads/doc/src/queuedcustomtype.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example threads/queuedcustomtype + \example queuedcustomtype \title Queued Custom Type Example The Queued Custom Type example shows how to send custom types between diff --git a/examples/threads/doc/src/semaphores.qdoc b/examples/threads/doc/src/semaphores.qdoc index a712cb6414..bea0447f02 100644 --- a/examples/threads/doc/src/semaphores.qdoc +++ b/examples/threads/doc/src/semaphores.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example threads/semaphores + \example semaphores \title Semaphores Example The Semaphores example shows how to use QSemaphore to control diff --git a/examples/threads/doc/src/waitconditions.qdoc b/examples/threads/doc/src/waitconditions.qdoc index 3ca1970685..6d42719f8d 100644 --- a/examples/threads/doc/src/waitconditions.qdoc +++ b/examples/threads/doc/src/waitconditions.qdoc @@ -26,7 +26,7 @@ ****************************************************************************/ /*! - \example threads/waitconditions + \example waitconditions \title Wait Conditions Example The Wait Conditions example shows how to use QWaitCondition and From 0fc1b9d06e9d0c35fa7f6945b8147e503d7f2ebc Mon Sep 17 00:00:00 2001 From: aavit Date: Wed, 5 Dec 2012 15:32:00 +0100 Subject: [PATCH 064/386] Fix: Do not require GL library if configured with -no-opengl qt_lib_gui.pri would add an unneeded -lGL, causing the build to fail on systems with no GL libraries. Change-Id: I3a49418e1393642e9d97999b79741cc2144a99af Reviewed-by: Oswald Buddenhagen --- src/gui/gui.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 301d704e2e..5f94426c94 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -1,6 +1,6 @@ TARGET = QtGui QT = core-private -MODULE_CONFIG = opengl +contains(QT_CONFIG, opengl.*):MODULE_CONFIG = opengl DEFINES += QT_NO_USING_NAMESPACE From ae8533e4ae3ae2ca32a5dcfc4302d40ee0e2fb0f Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 6 Dec 2012 11:50:33 +0100 Subject: [PATCH 065/386] doc: Fix Graphics View example docs Make the same layout of the new graphics view example documentation as we had before (except by using annotatedlist instead of hardcoding the links). I've also moved four examples from qtdoc to qtbase so that they can be included in this documentation. Change-Id: Ic2202ade119cadd98d036f1bd77e91dae49b5677 Reviewed-by: Jerome Pasion Reviewed-by: Paul Olav Tvete --- .../widgets/doc/src/basicgraphicslayouts.qdoc | 2 +- examples/widgets/doc/src/blurpicker.qdoc | 2 + examples/widgets/doc/src/embeddeddialogs.qdoc | 2 +- examples/widgets/doc/src/fademessage.qdoc | 2 + .../doc/src/graphicsview-anchorlayout.qdoc | 36 ++++++++++++++++++ .../doc/src/graphicsview-flowlayout.qdoc | 38 +++++++++++++++++++ .../src/graphicsview-simpleanchorlayout.qdoc | 36 ++++++++++++++++++ .../src/graphicsview-weatheranchorlayout.qdoc | 36 ++++++++++++++++++ examples/widgets/doc/src/lighting.qdoc | 2 + src/widgets/doc/src/qtwidgets-examples.qdoc | 13 ++++++- 10 files changed, 166 insertions(+), 3 deletions(-) create mode 100644 examples/widgets/doc/src/graphicsview-anchorlayout.qdoc create mode 100644 examples/widgets/doc/src/graphicsview-flowlayout.qdoc create mode 100644 examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc create mode 100644 examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc diff --git a/examples/widgets/doc/src/basicgraphicslayouts.qdoc b/examples/widgets/doc/src/basicgraphicslayouts.qdoc index 868943370c..2ff9a90680 100644 --- a/examples/widgets/doc/src/basicgraphicslayouts.qdoc +++ b/examples/widgets/doc/src/basicgraphicslayouts.qdoc @@ -28,7 +28,7 @@ /*! \example graphicsview/basicgraphicslayouts \title Basic Graphics Layouts Example - \ingroup examples-graphicsview + \ingroup examples-graphicsview-layout \brief This example shows how to use some basic layouts. \brief The Basic Graphics Layouts example shows how to use the layout classes diff --git a/examples/widgets/doc/src/blurpicker.qdoc b/examples/widgets/doc/src/blurpicker.qdoc index aa89ba3cd8..bacd7474e3 100644 --- a/examples/widgets/doc/src/blurpicker.qdoc +++ b/examples/widgets/doc/src/blurpicker.qdoc @@ -28,6 +28,8 @@ /*! \example effects/blurpicker \title Blur Picker Effect Example + \ingroup examples-graphicsview-graphicseffects + \brief This example shows the use of QGraphicsBlurEffect. \image blurpickereffect-example.png */ diff --git a/examples/widgets/doc/src/embeddeddialogs.qdoc b/examples/widgets/doc/src/embeddeddialogs.qdoc index 964150ff0f..1dbb7dc83a 100644 --- a/examples/widgets/doc/src/embeddeddialogs.qdoc +++ b/examples/widgets/doc/src/embeddeddialogs.qdoc @@ -28,7 +28,7 @@ /*! \example graphicsview/embeddeddialogs \title Embedded Dialogs - \ingroup examples-graphicsview + \ingroup examples-graphicsview-layout \brief This example shows how to embed standard dialogs into Graphics View. diff --git a/examples/widgets/doc/src/fademessage.qdoc b/examples/widgets/doc/src/fademessage.qdoc index e50f434e56..335384d5bd 100644 --- a/examples/widgets/doc/src/fademessage.qdoc +++ b/examples/widgets/doc/src/fademessage.qdoc @@ -28,6 +28,8 @@ /*! \example effects/fademessage \title Fade Message Effect Example + \ingroup examples-graphicsview-graphicseffects + \brief This example shows the use of QGraphicsColorizeEffect. \div { style="text-align: center"} \inlineimage fademessageeffect-example.png diff --git a/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc b/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc new file mode 100644 index 0000000000..78aa1feb95 --- /dev/null +++ b/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example graphicsview/anchorlayout + \title Anchor Layout Example + \ingroup examples-graphicsview-layout + \brief This example shows how to use QGraphicsAnchorLayout. + + The Anchor Layout example demonstrates the use of the QGraphicsAnchorLayout + class. +*/ diff --git a/examples/widgets/doc/src/graphicsview-flowlayout.qdoc b/examples/widgets/doc/src/graphicsview-flowlayout.qdoc new file mode 100644 index 0000000000..c754fa2d53 --- /dev/null +++ b/examples/widgets/doc/src/graphicsview-flowlayout.qdoc @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example graphicsview/flowlayout + \title Graphics View Flow Layout Example + \ingroup examples-graphicsview-layout + \brief This example shows how to make a flow layout in Graphics View. + + The Graphics View Flow Layout example shows the use of a flow layout + in a Graphics View widget. + + See the \l{Flow Layout Example} for a corresponding widget-based example. +*/ diff --git a/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc b/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc new file mode 100644 index 0000000000..2ff804ab46 --- /dev/null +++ b/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example graphicsview/simpleanchorlayout + \title Simple Anchor Layout Example + \ingroup examples-graphicsview-layout + \brief This example shows how basic use of QGraphicsAnchorLayout. + + The Simple Anchor Layout example shows the basic use of the + QGraphicsAnchorLayout class. +*/ diff --git a/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc b/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc new file mode 100644 index 0000000000..8b7b9c498d --- /dev/null +++ b/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example graphicsview/weatheranchorlayout + \title Weather Anchor Layout Example + \ingroup examples-graphicsview-layout + \brief This example shows advanced use of QGraphicsAnchorLayout. + + The Weather Anchor Layout example shows more complex use of the + QGraphicsAnchorLayout class to create a real-world window layout. +*/ diff --git a/examples/widgets/doc/src/lighting.qdoc b/examples/widgets/doc/src/lighting.qdoc index e457d20ada..8277f0e5b8 100644 --- a/examples/widgets/doc/src/lighting.qdoc +++ b/examples/widgets/doc/src/lighting.qdoc @@ -28,6 +28,8 @@ /*! \example effects/lighting \title Lighting Effect Example + \ingroup examples-graphicsview-graphicseffects + \brief This example shows the use of QGraphicsDropShadowEffect. \image lightingeffect-example.png */ diff --git a/src/widgets/doc/src/qtwidgets-examples.qdoc b/src/widgets/doc/src/qtwidgets-examples.qdoc index 4059414ad7..6d00a0b067 100644 --- a/src/widgets/doc/src/qtwidgets-examples.qdoc +++ b/src/widgets/doc/src/qtwidgets-examples.qdoc @@ -129,7 +129,7 @@ \ingroup all-examples \title Graphicsview Examples \brief Using the Graphics View framework. - \group examples-graphicsview + \page examples-graphicsview.html \image graphicsview-examples.png @@ -137,6 +137,17 @@ support for rotation and zooming. Additionally it provides an event propagation architecture for interaction. + These examples demonstrate the fundamental aspects of canvas programming with Qt. + + \annotatedlist{examples-graphicsview} + + These examples show the use of graphics widgets and layouts. + + \annotatedlist{examples-graphicsview-layout} + + Some examples demonstrate the use of graphics effects with canvas items. + + \annotatedlist{examples-graphicsview-graphicseffects} */ /*! From 158f39ec7870c54ff3a15f72fe151062d6daa172 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 6 Dec 2012 10:47:59 +0100 Subject: [PATCH 066/386] Remove the TRUE and FALSE macros They are completely unused in Qt, and are a potential source of compilation errors in application code. Change-Id: I6dfe2891f3b2365a30048f99c31e8e3a2425e62b Reviewed-by: Friedemann Kleint Reviewed-by: Andreas Holzammer Reviewed-by: Oswald Buddenhagen --- dist/changes-5.0.0 | 2 ++ src/corelib/global/qglobal.h | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 5987c95108..3749f18d64 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -60,6 +60,8 @@ information about a particular change. in Qt4, so these methods return a bool now. If your code used the undocumented QBool, simply replace it with bool. +- The old macros TRUE and FALSE have been removed, use true and false instead. + - qIsDetached<> has been removed without replacement. - The return type of QFlags::operator int() now matches the Enum's underlying diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 60b90dc70f..6c2900e215 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -436,17 +436,6 @@ typedef QIntegerForSizeof::Unsigned quintptr; typedef QIntegerForSizeof::Signed qptrdiff; typedef qptrdiff qintptr; -/* - Constant bool values -*/ - -#ifndef QT_LINUXBASE /* the LSB defines TRUE and FALSE for us */ -# ifndef TRUE -# define TRUE true -# define FALSE false -# endif -#endif - /* moc compats (signals/slots) */ #ifndef QT_MOC_COMPAT # define QT_MOC_COMPAT From ccea7b71142bf41d4f8e7cb413834135bfa2c81e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Dec 2012 20:38:01 +0100 Subject: [PATCH 067/386] remove unused assignment Change-Id: Id60af477b9608bd3dfd0659d9d3a6e202fbe7dc9 Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_module.prf | 1 - 1 file changed, 1 deletion(-) diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index 0b6ad86ae1..b8de8e9965 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -185,7 +185,6 @@ unix|win32-g++* { unix { CONFIG += create_libtool explicitlib - QMAKE_PRL_LIBDIR = $$[QT_INSTALL_LIBS/raw] ### XXX QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS/raw] QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace From 787373d376785af56f3ea9abc7096c2c3522b5f0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Dec 2012 20:54:09 +0100 Subject: [PATCH 068/386] export only 'host_bins' to pkg-config, rather than a random selection of tools the "export location" of the linguist tools was just bogus, and lconvert was missing anyway. the two dbus tools and qdoc were missing, too. generally, it seems useless to report the paths of some random tools - instead, just report the install location of the host binaries and let users figure out the complete paths themselves - this should be ok, as we decided that distributors are not supposed to do tool renaming any more. for the binary path just use the final location, as the files won't be used before installation anyway. this allows us removing the scary generic prefix replace from the pc file installs. and as a side effect this also fixes debug_and_release builds of core and widgets by not loading various prf files prematurely and thereby messing up the dir replacement magic. Task-number: QTBUG-28286 Change-Id: I99de419301fc07fb923959db4bd5cab9072d1c31 Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_module.prf | 4 +--- src/corelib/corelib.pro | 27 +++++---------------------- src/widgets/widgets.pro | 8 +------- 3 files changed, 7 insertions(+), 32 deletions(-) diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index b8de8e9965..457ab7e2d9 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -178,9 +178,7 @@ unix|win32-g++* { include_replace.replace = $$[QT_INSTALL_HEADERS/raw] lib_replace.match = $$[QT_INSTALL_LIBS/get] lib_replace.replace = $$[QT_INSTALL_LIBS/raw] - prefix_replace.match = $$QT_BUILD_TREE - prefix_replace.replace = $$[QT_INSTALL_PREFIX/raw] - QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace prefix_replace + QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace } unix { diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index 46c771e6a5..1059d0defe 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -6,6 +6,7 @@ MODULE = core # not corelib, as per project file MODULE_CONFIG = moc resources !isEmpty(QT_NAMESPACE): MODULE_DEFINES = QT_NAMESPACE=$$QT_NAMESPACE +CONFIG += $$MODULE_CONFIG DEFINES += QT_NO_USING_NAMESPACE win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x67000000 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused @@ -50,29 +51,11 @@ QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtCore.dynlist contains(DEFINES,QT_EVAL):include(eval.pri) -load(moc) -load(resources) +HOST_BINS = $$[QT_HOST_BINS] +host_bins.name = host_bins +host_bins.variable = HOST_BINS -moc_dir.name = moc_location -moc_dir.variable = QMAKE_MOC - -rcc_dir.name = rcc_location -rcc_dir.variable = QMAKE_RCC - -QMAKE_PKGCONFIG_VARIABLES += moc_dir rcc_dir - -# These are aliens, but Linguist installs no own module, and it fits here best. - -qtPrepareTool(QMAKE_LUPDATE, lupdate) -qtPrepareTool(QMAKE_LRELEASE, lrelease) - -lupdate_dir.name = lupdate_location -lupdate_dir.variable = QMAKE_LUPDATE - -lrelease_dir.name = lrelease_location -lrelease_dir.variable = QMAKE_LRELEASE - -QMAKE_PKGCONFIG_VARIABLES += lupdate_dir lrelease_dir +QMAKE_PKGCONFIG_VARIABLES += host_bins ctest_macros_file.input = $$PWD/Qt5CTestMacros.cmake ctest_macros_file.output = $$DESTDIR/cmake/Qt5Core/Qt5CTestMacros.cmake diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro index 5f06d4a522..6b9aa92fd9 100644 --- a/src/widgets/widgets.pro +++ b/src/widgets/widgets.pro @@ -2,6 +2,7 @@ TARGET = QtWidgets QT = core-private gui-private MODULE_CONFIG = uic +CONFIG += $$MODULE_CONFIG DEFINES += QT_NO_USING_NAMESPACE win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x65000000 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused @@ -44,10 +45,3 @@ testcocoon { win32:!contains(QT_CONFIG, directwrite) { DEFINES += QT_NO_DIRECTWRITE } - -load(uic) - -uic_dir.name = uic_location -uic_dir.variable = QMAKE_UIC - -QMAKE_PKGCONFIG_VARIABLES += uic_dir From bf9d099c4779bec5a54fe265f34179de28b8b39a Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Dec 2012 21:33:02 +0100 Subject: [PATCH 069/386] export the Qt top-level include dir as pkg-config ${includedir} this seems more generic, and allows for more substitutions inside the generated files. Change-Id: I7a2e37036f9f9f7dbf7f28f0976ef427dd28ee82 Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_module.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index 457ab7e2d9..1d34762484 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -171,8 +171,8 @@ load(qt_installs) unix|win32-g++* { CONFIG += create_pc QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS/raw] - QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS/raw]/$$MODULE_INCNAME - QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS/raw] + QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS/raw] + QMAKE_PKGCONFIG_CFLAGS = -I${includedir}/$$MODULE_INCNAME QMAKE_PKGCONFIG_DESTDIR = pkgconfig include_replace.match = $$[QT_INSTALL_HEADERS/get] include_replace.replace = $$[QT_INSTALL_HEADERS/raw] From 0815563924773825c835a303b632cc418dda2fde Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Dec 2012 21:52:49 +0100 Subject: [PATCH 070/386] replace all modules' build dirs while installing .pc, .la & .prl files now we may get files with several mentions of the same lib/include dirs on the same line, but that's essentially a non-issue. Task-number: QTBUG-28336 Change-Id: I8204086420b82015f62090ae0a56908ce0cccee8 Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_module.prf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index 1d34762484..ad8d9aab55 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -174,9 +174,13 @@ unix|win32-g++* { QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS/raw] QMAKE_PKGCONFIG_CFLAGS = -I${includedir}/$$MODULE_INCNAME QMAKE_PKGCONFIG_DESTDIR = pkgconfig - include_replace.match = $$[QT_INSTALL_HEADERS/get] + !isEmpty(_QMAKE_SUPER_CACHE_): \ + rplbase = $$dirname(_QMAKE_SUPER_CACHE_)/[^/][^/]* + else: \ + rplbase = $$[QT_INSTALL_PREFIX/get] + include_replace.match = $$rplbase/include include_replace.replace = $$[QT_INSTALL_HEADERS/raw] - lib_replace.match = $$[QT_INSTALL_LIBS/get] + lib_replace.match = $$rplbase/lib lib_replace.replace = $$[QT_INSTALL_LIBS/raw] QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace } From eced14ec1c2805caf33fcf75ff158291b0f0f5ea Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Dec 2012 21:59:49 +0100 Subject: [PATCH 071/386] use the same output dirs under windows as under unix the times when directory names starting with a dot were a problem under windows are sort of gone. for well over a decade. Change-Id: Ia1a0782c878a055cc5c094c6b3e4df0741368433 Reviewed-by: Joerg Bornemann --- tools/configure/configureapp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 57fbb3ae42..db23852716 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -2681,9 +2681,9 @@ void Configure::generateOutputVars() if (dictionary.contains("XQMAKESPEC") && dictionary[ "XQMAKESPEC" ].startsWith("linux")) qtConfig += "rpath"; - qmakeVars += QString("OBJECTS_DIR = ") + formatPath("tmp/obj/" + dictionary["QMAKE_OUTDIR"]); - qmakeVars += QString("MOC_DIR = ") + formatPath("tmp/moc/" + dictionary["QMAKE_OUTDIR"]); - qmakeVars += QString("RCC_DIR = ") + formatPath("tmp/rcc/" + dictionary["QMAKE_OUTDIR"]); + qmakeVars += QString("OBJECTS_DIR = ") + formatPath(".obj/" + dictionary["QMAKE_OUTDIR"]); + qmakeVars += QString("MOC_DIR = ") + formatPath(".moc/" + dictionary["QMAKE_OUTDIR"]); + qmakeVars += QString("RCC_DIR = ") + formatPath(".rcc/" + dictionary["QMAKE_OUTDIR"]); if (!qmakeDefines.isEmpty()) qmakeVars += QString("DEFINES += ") + qmakeDefines.join(' '); From bff38599d9678eff20499a6b592055710710794f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Dec 2012 22:01:58 +0100 Subject: [PATCH 072/386] remove dead line the compile-all-mocs-as-one-file feature is gone for years Change-Id: I6c35bce59c36b6920af2498661172b5938eeba52 Reviewed-by: Joerg Bornemann --- configure | 1 - 1 file changed, 1 deletion(-) diff --git a/configure b/configure index 85b361feb1..cebb5a8ea2 100755 --- a/configure +++ b/configure @@ -5333,7 +5333,6 @@ fi QMAKE_CONFIG="$QMAKE_CONFIG qpa" QT_CONFIG="$QT_CONFIG qpa" QTCONFIG_CONFIG="$QTCONFIG_CONFIG qpa" -rm -f "src/.moc/$QMAKE_OUTDIR/allmoc.cpp" # needs remaking if config changes if [ "$XPLATFORM_MINGW" != "yes" ]; then # Do not set this here for Windows. Let qmake do it so From b4b02fe87679d5fdcaa8b3f6f35f65c9c13b5ee3 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 4 Dec 2012 12:36:56 +0100 Subject: [PATCH 073/386] MSVC: don't use the variable name LINK in generated makefiles Rename LINK to LINKER. The MSVC linker uses the environment variable LINK to pass additional command line arguments. We must not hide this variable. Task-number: QTBUG-28332 Change-Id: Id78476d1cf4a73175b9f47292c67f38a43ae5ba4 Reviewed-by: Oswald Buddenhagen --- qmake/Makefile.win32 | 6 +++--- qmake/generators/win32/mingw_make.cpp | 4 ++-- qmake/generators/win32/msvc_nmake.cpp | 2 +- qmake/generators/win32/winmakefile.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/qmake/Makefile.win32 b/qmake/Makefile.win32 index f560cf8cb1..222acfa9a6 100644 --- a/qmake/Makefile.win32 +++ b/qmake/Makefile.win32 @@ -14,11 +14,11 @@ QMKSRC = $(SOURCE_PATH)\qmake # !if "$(QMAKESPEC)" == "win32-icc" CXX = icl -LINK = link +LINKER = link CFLAGS = /Zc:forScope !else CXX = cl -LINK = link +LINKER = link !endif # @@ -49,7 +49,7 @@ CXXFLAGS = $(CFLAGS) LFLAGS = LIBS = ole32.lib advapi32.lib -LINKQMAKE = $(LINK) $(LFLAGS) -OUT:qmake.exe $(OBJS) $(QTOBJS) $(LIBS) +LINKQMAKE = $(LINKER) $(LFLAGS) -OUT:qmake.exe $(OBJS) $(QTOBJS) $(LIBS) ADDCLEAN = vc60.pdb vc70.pdb qmake.pdb qmake.ilk !ELSE diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index 7990986fd8..234817bcba 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -343,7 +343,7 @@ void MingwMakefileGenerator::writeLibsPart(QTextStream &t) if(project->isActiveConfig("staticlib") && project->first("TEMPLATE") == "lib") { t << "LIB = " << var("QMAKE_LIB") << endl; } else { - t << "LINK = " << var("QMAKE_LINK") << endl; + t << "LINKER = " << var("QMAKE_LINK") << endl; t << "LFLAGS = " << var("QMAKE_LFLAGS") << endl; t << "LIBS = " << var("QMAKE_LIBS").replace(QRegExp("(\\slib|^lib)")," -l") << ' ' @@ -405,7 +405,7 @@ void MingwMakefileGenerator::writeBuildRulesPart(QTextStream &t) t << "\n\t" << objectsLinkLine << " " ; } } else if (project->first("TEMPLATE") != "aux") { - t << "\n\t" << "$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) " << objectsLinkLine << " " << " $(LIBS)"; + t << "\n\t" << "$(LINKER) $(LFLAGS) -o $(DESTDIR_TARGET) " << objectsLinkLine << " " << " $(LIBS)"; } if(!project->isEmpty("QMAKE_POST_LINK")) t << "\n\t" < Date: Thu, 6 Dec 2012 09:49:07 +0100 Subject: [PATCH 074/386] QtBase: Doc: Fix links to STL-style iterators Change-Id: I2822c2a7e9bfc1949c20ff81e08961f641e961fb Reviewed-by: Jerome Pasion --- src/corelib/doc/src/implicit-sharing.qdoc | 2 +- src/corelib/json/qjsonarray.cpp | 8 ++++---- src/corelib/json/qjsonobject.cpp | 8 ++++---- src/corelib/thread/qfuture.qdoc | 8 ++++---- src/corelib/tools/qhash.cpp | 12 ++++++------ src/corelib/tools/qlinkedlist.cpp | 12 ++++++------ src/corelib/tools/qlist.cpp | 12 ++++++------ src/corelib/tools/qmap.cpp | 12 ++++++------ src/corelib/tools/qset.qdoc | 16 ++++++++-------- src/corelib/tools/qstring.cpp | 12 ++++++------ src/corelib/tools/qvarlengtharray.qdoc | 12 ++++++------ src/corelib/tools/qvector.cpp | 12 ++++++------ 12 files changed, 63 insertions(+), 63 deletions(-) diff --git a/src/corelib/doc/src/implicit-sharing.qdoc b/src/corelib/doc/src/implicit-sharing.qdoc index 39ba702d55..baed85fb18 100644 --- a/src/corelib/doc/src/implicit-sharing.qdoc +++ b/src/corelib/doc/src/implicit-sharing.qdoc @@ -135,7 +135,7 @@ \warning Do not copy an implicitly shared container (QMap, QVector, etc.) while you are iterating over it using an non-const - \l{STL-style iterator}. + \l{STL-style iterators}{STL-style iterator}. \keyword implicitly shared classes \annotatedlist shared diff --git a/src/corelib/json/qjsonarray.cpp b/src/corelib/json/qjsonarray.cpp index 0cd436a3b9..a669a5533d 100644 --- a/src/corelib/json/qjsonarray.cpp +++ b/src/corelib/json/qjsonarray.cpp @@ -535,7 +535,7 @@ bool QJsonArray::operator!=(const QJsonArray &other) const /*! \fn QJsonArray::iterator QJsonArray::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the array. \sa constBegin(), end() @@ -548,7 +548,7 @@ bool QJsonArray::operator!=(const QJsonArray &other) const /*! \fn QJsonArray::const_iterator QJsonArray::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the array. \sa begin(), constEnd() @@ -556,7 +556,7 @@ bool QJsonArray::operator!=(const QJsonArray &other) const /*! \fn QJsonArray::iterator QJsonArray::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the array. \sa begin(), constEnd() @@ -569,7 +569,7 @@ bool QJsonArray::operator!=(const QJsonArray &other) const /*! \fn QJsonArray::const_iterator QJsonArray::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the array. \sa constBegin(), end() diff --git a/src/corelib/json/qjsonobject.cpp b/src/corelib/json/qjsonobject.cpp index 728bbbd0ec..e595753fec 100644 --- a/src/corelib/json/qjsonobject.cpp +++ b/src/corelib/json/qjsonobject.cpp @@ -525,7 +525,7 @@ QJsonObject::const_iterator QJsonObject::constFind(const QString &key) const /*! \fn QJsonObject::iterator QJsonObject::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the object. \sa constBegin(), end() @@ -538,7 +538,7 @@ QJsonObject::const_iterator QJsonObject::constFind(const QString &key) const /*! \fn QJsonObject::const_iterator QJsonObject::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the object. \sa begin(), constEnd() @@ -546,7 +546,7 @@ QJsonObject::const_iterator QJsonObject::constFind(const QString &key) const /*! \fn QJsonObject::iterator QJsonObject::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the object. \sa begin(), constEnd() @@ -559,7 +559,7 @@ QJsonObject::const_iterator QJsonObject::constFind(const QString &key) const /*! \fn QJsonObject::const_iterator QJsonObject::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the object. \sa constBegin(), end() diff --git a/src/corelib/thread/qfuture.qdoc b/src/corelib/thread/qfuture.qdoc index b67d711536..6ba5d564cf 100644 --- a/src/corelib/thread/qfuture.qdoc +++ b/src/corelib/thread/qfuture.qdoc @@ -328,7 +328,7 @@ /*! \fn QFuture::const_iterator QFuture::begin() const - Returns a const \l{STL-style iterator} pointing to the first result in the + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first result in the future. \sa constBegin(), end() @@ -336,7 +336,7 @@ /*! \fn QFuture::const_iterator QFuture::end() const - Returns a const \l{STL-style iterator} pointing to the imaginary result + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary result after the last result in the future. \sa begin(), constEnd() @@ -344,7 +344,7 @@ /*! \fn QFuture::const_iterator QFuture::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first result in the + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first result in the future. \sa begin(), constEnd() @@ -352,7 +352,7 @@ /*! \fn QFuture::const_iterator QFuture::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary result + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary result after the last result in the future. \sa constBegin(), end() diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index 3fab2f68e6..eca66d75b0 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -1261,7 +1261,7 @@ void QHashData::checkSanity() /*! \fn QHash::iterator QHash::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the hash. \sa constBegin(), end() @@ -1275,7 +1275,7 @@ void QHashData::checkSanity() /*! \fn QHash::const_iterator QHash::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the hash. \sa begin(), cend() @@ -1283,7 +1283,7 @@ void QHashData::checkSanity() /*! \fn QHash::const_iterator QHash::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the hash. \sa begin(), constEnd() @@ -1291,7 +1291,7 @@ void QHashData::checkSanity() /*! \fn QHash::iterator QHash::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the hash. \sa begin(), constEnd() @@ -1304,7 +1304,7 @@ void QHashData::checkSanity() /*! \fn QHash::const_iterator QHash::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the hash. \sa constBegin(), end() @@ -1313,7 +1313,7 @@ void QHashData::checkSanity() /*! \fn QHash::const_iterator QHash::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the hash. \sa cbegin(), end() diff --git a/src/corelib/tools/qlinkedlist.cpp b/src/corelib/tools/qlinkedlist.cpp index 025d48b595..0c5894f150 100644 --- a/src/corelib/tools/qlinkedlist.cpp +++ b/src/corelib/tools/qlinkedlist.cpp @@ -320,7 +320,7 @@ const QLinkedListData QLinkedListData::shared_null = { /*! \fn QLinkedList::iterator QLinkedList::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the list. \sa constBegin(), end() @@ -334,7 +334,7 @@ const QLinkedListData QLinkedListData::shared_null = { /*! \fn QLinkedList::const_iterator QLinkedList::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the list. \sa begin(), cend() @@ -342,7 +342,7 @@ const QLinkedListData QLinkedListData::shared_null = { /*! \fn QLinkedList::const_iterator QLinkedList::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the list. \sa begin(), constEnd() @@ -350,7 +350,7 @@ const QLinkedListData QLinkedListData::shared_null = { /*! \fn QLinkedList::iterator QLinkedList::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa begin(), constEnd() @@ -364,7 +364,7 @@ const QLinkedListData QLinkedListData::shared_null = { /*! \fn QLinkedList::const_iterator QLinkedList::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa cbegin(), end() @@ -372,7 +372,7 @@ const QLinkedListData QLinkedListData::shared_null = { /*! \fn QLinkedList::const_iterator QLinkedList::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa constBegin(), end() diff --git a/src/corelib/tools/qlist.cpp b/src/corelib/tools/qlist.cpp index 4f26b25fec..f31b184f81 100644 --- a/src/corelib/tools/qlist.cpp +++ b/src/corelib/tools/qlist.cpp @@ -915,7 +915,7 @@ void **QListData::erase(void **xi) /*! \fn QList::iterator QList::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the list. \sa constBegin(), end() @@ -929,7 +929,7 @@ void **QListData::erase(void **xi) /*! \fn QList::const_iterator QList::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the list. \sa begin(), cend() @@ -937,7 +937,7 @@ void **QListData::erase(void **xi) /*! \fn QList::const_iterator QList::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the list. \sa begin(), constEnd() @@ -945,7 +945,7 @@ void **QListData::erase(void **xi) /*! \fn QList::iterator QList::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa begin(), constEnd() @@ -959,7 +959,7 @@ void **QListData::erase(void **xi) /*! \fn QList::const_iterator QList::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa cbegin(), end() @@ -967,7 +967,7 @@ void **QListData::erase(void **xi) /*! \fn QList::const_iterator QList::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa constBegin(), end() diff --git a/src/corelib/tools/qmap.cpp b/src/corelib/tools/qmap.cpp index 7c33d60750..9f6b5f3f4f 100644 --- a/src/corelib/tools/qmap.cpp +++ b/src/corelib/tools/qmap.cpp @@ -811,7 +811,7 @@ void QMapDataBase::freeData(QMapDataBase *d) /*! \fn QMap::iterator QMap::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the map. \sa constBegin(), end() @@ -825,7 +825,7 @@ void QMapDataBase::freeData(QMapDataBase *d) /*! \fn QMap::const_iterator QMap::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the map. \sa begin(), cend() @@ -833,7 +833,7 @@ void QMapDataBase::freeData(QMapDataBase *d) /*! \fn QMap::const_iterator QMap::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the map. \sa begin(), constEnd() @@ -841,7 +841,7 @@ void QMapDataBase::freeData(QMapDataBase *d) /*! \fn QMap::iterator QMap::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the map. \sa begin(), constEnd() @@ -855,7 +855,7 @@ void QMapDataBase::freeData(QMapDataBase *d) /*! \fn QMap::const_iterator QMap::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the map. \sa cbegin(), end() @@ -863,7 +863,7 @@ void QMapDataBase::freeData(QMapDataBase *d) /*! \fn QMap::const_iterator QMap::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the map. \sa constBegin(), end() diff --git a/src/corelib/tools/qset.qdoc b/src/corelib/tools/qset.qdoc index 6649d5ba69..dc07f482f9 100644 --- a/src/corelib/tools/qset.qdoc +++ b/src/corelib/tools/qset.qdoc @@ -330,7 +330,7 @@ /*! \fn QSet::const_iterator QSet::begin() const - Returns a const \l{STL-style iterator} positioned at the first + Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the first item in the set. \sa constBegin(), end() @@ -340,14 +340,14 @@ \since 4.2 \overload - Returns a non-const \l{STL-style iterator} positioned at the first + Returns a non-const \l{STL-style iterators}{STL-style iterator} positioned at the first item in the set. */ /*! \fn QSet::const_iterator QSet::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} positioned at the first + Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the first item in the set. \sa begin(), cend() @@ -355,7 +355,7 @@ /*! \fn QSet::const_iterator QSet::constBegin() const - Returns a const \l{STL-style iterator} positioned at the first + Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the first item in the set. \sa begin(), constEnd() @@ -363,7 +363,7 @@ /*! \fn QSet::const_iterator QSet::end() const - Returns a const \l{STL-style iterator} positioned at the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the imaginary item after the last item in the set. \sa constEnd(), begin() @@ -373,14 +373,14 @@ \since 4.2 \overload - Returns a non-const \l{STL-style iterator} pointing to the + Returns a non-const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the set. */ /*! \fn QSet::const_iterator QSet::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the set. \sa cbegin(), end() @@ -388,7 +388,7 @@ /*! \fn QSet::const_iterator QSet::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the set. \sa constBegin(), end() diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 34a8cbe4c8..6db4fed0f8 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -840,7 +840,7 @@ const QString::Null QString::null = { }; /*! \fn QString::iterator QString::begin() - Returns an \l{STL-style iterator} pointing to the first character in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first character in the string. \sa constBegin(), end() @@ -854,7 +854,7 @@ const QString::Null QString::null = { }; /*! \fn QString::const_iterator QString::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first character + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first character in the string. \sa begin(), cend() @@ -862,7 +862,7 @@ const QString::Null QString::null = { }; /*! \fn QString::const_iterator QString::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first character + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first character in the string. \sa begin(), constEnd() @@ -870,7 +870,7 @@ const QString::Null QString::null = { }; /*! \fn QString::iterator QString::end() - Returns an \l{STL-style iterator} pointing to the imaginary character + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary character after the last character in the string. \sa begin(), constEnd() @@ -884,7 +884,7 @@ const QString::Null QString::null = { }; /*! \fn QString::const_iterator QString::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa cbegin(), end() @@ -892,7 +892,7 @@ const QString::Null QString::null = { }; /*! \fn QString::const_iterator QString::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the list. \sa constBegin(), end() diff --git a/src/corelib/tools/qvarlengtharray.qdoc b/src/corelib/tools/qvarlengtharray.qdoc index 452bc0a598..0481373f2d 100644 --- a/src/corelib/tools/qvarlengtharray.qdoc +++ b/src/corelib/tools/qvarlengtharray.qdoc @@ -483,7 +483,7 @@ /*! \fn QVarLengthArray::iterator QVarLengthArray::begin() \since 4.8 - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the array. \sa constBegin(), end() @@ -497,7 +497,7 @@ /*! \fn QVarLengthArray::const_iterator QVarLengthArray::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the array. \sa begin(), cend() @@ -506,7 +506,7 @@ /*! \fn QVarLengthArray::const_iterator QVarLengthArray::constBegin() const \since 4.8 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the array. \sa begin(), constEnd() @@ -515,7 +515,7 @@ /*! \fn QVarLengthArray::iterator QVarLengthArray::end() \since 4.8 - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the array. \sa begin(), constEnd() @@ -530,7 +530,7 @@ /*! \fn QVarLengthArray::const_iterator QVarLengthArray::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the array. \sa cbegin(), end() @@ -539,7 +539,7 @@ /*! \fn QVarLengthArray::const_iterator QVarLengthArray::constEnd() const \since 4.8 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the array. \sa constBegin(), end() diff --git a/src/corelib/tools/qvector.cpp b/src/corelib/tools/qvector.cpp index f33bb930c2..ab8127159f 100644 --- a/src/corelib/tools/qvector.cpp +++ b/src/corelib/tools/qvector.cpp @@ -636,7 +636,7 @@ /*! \fn QVector::iterator QVector::begin() - Returns an \l{STL-style iterator} pointing to the first item in + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the vector. \sa constBegin(), end() @@ -650,7 +650,7 @@ /*! \fn QVector::const_iterator QVector::cbegin() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the vector. \sa begin(), cend() @@ -658,7 +658,7 @@ /*! \fn QVector::const_iterator QVector::constBegin() const - Returns a const \l{STL-style iterator} pointing to the first item + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the vector. \sa begin(), constEnd() @@ -666,7 +666,7 @@ /*! \fn QVector::iterator QVector::end() - Returns an \l{STL-style iterator} pointing to the imaginary item + Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the vector. \sa begin(), constEnd() @@ -680,7 +680,7 @@ /*! \fn QVector::const_iterator QVector::cend() const \since 5.0 - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the vector. \sa cbegin(), end() @@ -688,7 +688,7 @@ /*! \fn QVector::const_iterator QVector::constEnd() const - Returns a const \l{STL-style iterator} pointing to the imaginary + Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last item in the vector. \sa constBegin(), end() From c7b6a3ccdf200452eadc747cf22a5ee23b41427c Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 6 Dec 2012 14:11:27 +0100 Subject: [PATCH 075/386] Remove references to pre-build examples from dist/README We do not want to ship them anymore. Change-Id: I62ac985cdf3f6d13327d1fd88262cc60efc4a230 Reviewed-by: Hanne Linaae Reviewed-by: Kai Koehne --- dist/README | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dist/README b/dist/README index 2828cf1b37..19443c1bbe 100644 --- a/dist/README +++ b/dist/README @@ -91,10 +91,6 @@ Running Example Applications You can open example applications in the Qt Creator Welcome mode to build and run them. -Ready to run example applications are located in -///examples. You can launch the C++ based -examples directly either from command line or your file system browser. - The QML based Quick 2 examples are located in ///examples/qtdeclarative. You can load them using the qmlscene application. From fb9551b7d0a5cd3db1ab6bb58a6cf342b2076100 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 6 Dec 2012 14:07:41 +0100 Subject: [PATCH 076/386] doc: Add missing images in richtext example docs Copied from Qt 4.8 Change-Id: Ic98a5e87305dbf9bb0df7ae071c42bb42a803b10 Reviewed-by: Paul Olav Tvete --- .../widgets/doc/images/calendar-example.png | Bin 0 -> 13539 bytes .../widgets/doc/images/orderform-example.png | Bin 0 -> 17404 bytes examples/widgets/doc/images/textedit-demo.png | Bin 0 -> 46980 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 examples/widgets/doc/images/calendar-example.png create mode 100644 examples/widgets/doc/images/orderform-example.png create mode 100644 examples/widgets/doc/images/textedit-demo.png diff --git a/examples/widgets/doc/images/calendar-example.png b/examples/widgets/doc/images/calendar-example.png new file mode 100644 index 0000000000000000000000000000000000000000..895ce76b096e900706266dbd071ebbb027cead82 GIT binary patch literal 13539 zcmbVzcT^Kw-!4b&3aD7D5W z2rcy9MIiKIsG)?r(Q{sX*LS|P?!EuSkeS&tv&++d+c%o(N_0nAj?&Q3&?(=!rA0%t z?==n0UqXlXfnSvSQ@LqqL^G6c-Ozd3KOcJtc}91bdhzc0mCvUQ4Wvr*-F8L86HeSv z)I1T+ed6#GPW0IM!zw+B5h*umYW64HS!7R&)Kr-2a&hS@DDn57+IqJvvO79_DXFpy zv+O0;!V@FuhFI_-ZIfhDn@*6GWcc*FXl@?ndiht%$&f6UI&M#o1LB0%%rj&NLq9g#tHO~P+oba7+{Q>UYO=yMA#c!w0Bj!-%1YCsZA8K6Muj1AS~_ zm{XOui3O3N$g|44<1DS`8fJlH5;zckRX4dgHh6ITTL);$5xI8KC4Nih#K9x0U#Lo) zC`<%&d$|Me{JxW2`r-H?toK@zLxl-uxiaXu*U9t84{l29h)geP%B5x)?F?T~Y&^}o z898fso5CyGRkr@>oFI9UU~b~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?Ku3XK1FXI{S2*5>N$gxcpHAcK;z zXl7$LR~F%FogCe5f}5W>&N@X{Y)^jMV6r+4U|aSoC!7=>^E<`+^bB7bd#{Ix4`DS~-#GXTxL13yXWunOGUYU!HY-sS}1XJPCxF+`c3@$Sz*zlHJc a3I%MaC0HCgv$sKjMp;q)R`yM^7yk#wqZ=py literal 0 HcmV?d00001 diff --git a/examples/widgets/doc/images/orderform-example.png b/examples/widgets/doc/images/orderform-example.png new file mode 100644 index 0000000000000000000000000000000000000000..c8545ad23a0508167ed2a87756729d3cb95a9f9b GIT binary patch literal 17404 zcmcJ$c|4SF|2M3BOC=#&vV|mjLkOYlyX-qPGInAxc9nf!vW&g#yBK3yYfraG#@o*Y&!7zvsU1=lSFL!}&VTIgj%=KI{9l9Eb2{8j57sZeJrJA|g{(lG7$4 zx)=uhUA%G;_@#}gRELO2woO^?sjlZZF7s*z^~jsErWces0f_Ls%xg5cw=9RlwiKF4 zZi)Rv=}f70BVIO+w(?5&HwY9y(*D!#9>bKcR8u%;tn=|-%h;Nf6xA?s63Ta-`UxSlXIR2v$f@qFeVWg z7u}ie3pmJ0vP4ZD7Ke(52IN8yax<5tz*Y;eGSgphP~Y_+H)&8IJ!^1i-A%5c&;> zk{TL#MN=Z4^QO!dRzKk{ff@_aOeparL&X&TcDX}M#bSTP{)p@5A2shndpFQwBbznN zeBf{~=s>m*m8jJ{R8r;uTSDq?3>E9jo9&6q{GOUc;?SkmH<9A<8DHlt0&=!LrPj}U zA(soDNPR~kGZ?o%Nq%L;KLh%WGTTy;6C<`s2CuUIxjyK+k3$N15-ag<$Auz5jfP8n#B-P?Hp->E9E*0I}$Ia+;uN&wjMVWY2uKM#P%` zjaKH0vQ`i*>CufC&oP}!&garG;lUyD?fHxG0u7Yx%JJ z!t&^!Zv9!@jy2nUZzyE0aA{sP8+!otQf-sign3X_B^uT?1wS4aT;^_Ke(W;zo<{`j zn^*k8WQ_DsW$Ha;Z9?eTx0_qxsBesCQGD3>Q!`GicRAd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b/examples/widgets/doc/images/textedit-demo.png new file mode 100644 index 0000000000000000000000000000000000000000..3cf2883a12265fc48d9337fec72ebae397b83600 GIT binary patch literal 46980 zcmY(q1yo$i(l!i(ySqbhcXtT^0we@?cXwxS8zd0i-QAtRgG+FNySu~Bx#!;RU4O5c zwf64aU0b@U`su2EB9s+BqaYF@LO?*Ee36y<4gmoGfBcEz0UtHaQu@;n5Y6&mq{M%C zET8DY`KU_Y4K^NE=`N@))V)dTN;@(SYe8U0p%+-Pl5!cV#+Ha25# zYDOv1Qv9b(vkay$uVhIw5>9&;mXoiUX~iyWQR&9%`3NBVr$o51|DF4LN31m+E>ez) zFylL)L}u$#h&1yb5!3WR^JIU?+>YEQ@e^oyY(=~!XB;ER+k;eS&-iGl8R-}5?!IE1 zPnhQ4f3YI{L?Rx|+t@4|rpC3EzP<+iI5uY1QJJmLl~S_-diR487dxbd|DWLP=10T) zA3A!4@ex>vWm|=&dFRrts}?p!mD7u>9HVb76BPwI3*JDF-@-4z%T|&9Y9A?@+oUzDSu%C@TR9ZQuNc}WX03R z>HCVy878tYNb`ZvQ5T3~q)~@vqkh$acLrJ+7h0Y2>PFe~b4$mpcC93-X7H6+jZl=0 zXhOJdu4% z#Ae><0N+bNIlwN;6lBA3jybtp+CXgE`9_+KPuu zqd8NvVM?nKeVI5utZOe&*^WGuic_2k-OkR^F=_-=R5#SY!;GM=&LL)_>#1jsGP#7w z#AEkqd^5d+<`iCRXXJ%}c>q0_b}#f=)`z79nM3@AV?lOtxty1fS=gumTgK;G1b`5d z%62;&dWkeHL*12B=l3eTP6mzuo=)@G6?ehr8RBYb5l8tiYeYgrvCeRAvD4I@3C!Bk zUzBAQWQ@|=3)N(*SAut1+q2f>bHoxd*?>piVR!IJQ(81ym! z)#pg)0$ebY?M38g&d`Jav}z1AcVXDx8Xt6|WO!)>a@f@bci6ENe?W{^LH~wFF4(D0 zf~wc0-5?kXsSIO~Qfh)9eee*z@9B!si*{$z;dPqNWMI4|$p{{dmCaJV9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z4@AW7W3Kg}>B!5LB0J%f)il9Zs)t7ftHDr<^n_)*hM`5q7`Ms22YFWE|78P^%#I(Q zt@C)N6{jDcl03(RT;nq0EH6nUfJ_-cgOk~aChT7#$&wd$qPi4#veFh*8DO|F?MSuA zv{Leh*dWo4vc#Tti5_3@G&p5jmt-W=J`6MbCU523uq5-y(SfiH(jIswiIkV?AsBeI z02<`1dKZ(Y>rb4e5;gO9tvQb{UQ&5Y+t>EkYJB}z_tNMvGE5|M#q2{&fTW7t ziXjw=xd_|p9jkDk%EA?GR*;^><}|sZ&`0bSMCB=|kk1R&+_|Z5%w5%C?lPWaGqOOX zy97!<`a+?Y7j1JQ^rZE|)HihnYx`zz7#aY5iN+w{-d%G;yM|PDQI;w?o+Z2RKwZ|| zO2P4x8G05}RI?LtQChsEsQGh3oFYYO@Ll3W%kXb`2QIGQGFoE`MQJ{*a(ldy7c1fA zbT_MQKDO2;bFz!JtBNhkrb7Ap6Y|E**Q{>u2H5;{W`)!RtGP)9RU|V}$AG z6(Tp}*kC_+Nf)bUc5Kco8>4%N|JG{Fh2(Ffj{zavu)x3b4>%ktt zya4!wkZx}vO`eN7B>w#gL-6wbb8h7Zo8jHgLP!aFl3%)@{Aj;F6F1%PXHj75N!;V& z2_UJiWWk3T$Dg^lUv(|`&hd0~T|4_dTx#K;*T7dlJj{|hkQEIKNXQwy(`Mi literal 0 HcmV?d00001 From 937e1797279954a2a5eccb223bf8421179dfe3d1 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 6 Dec 2012 14:16:04 +0100 Subject: [PATCH 077/386] doc: Avoid duplicate widget example entries The link to widget examples in QtCore was added in 4519d810d1d2be3af17bdd77edac2361620f9d2d, which made widget examples pop up twice in generated lists (once for qtcore and once for qtwidgets documentation). I'm not sure why it was originally added to that module, but the snippets in the fridgemagnets example (which was the example fixed in the commit) has been verified to still work. Change-Id: I1b349f08349b5499929315d426224ba8638adc8e Reviewed-by: Paul Olav Tvete --- src/corelib/doc/qtcore.qdocconf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index 6a3e7cecdc..42904feb63 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -35,7 +35,6 @@ sourcedirs += .. exampledirs += \ ../ \ snippets \ - ../../../examples/threads \ - ../../../examples/widgets + ../../../examples/threads imagedirs += images From 1edf28839fcad6399265faa70f4fbfbdd3906760 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 6 Dec 2012 14:04:38 +0100 Subject: [PATCH 078/386] Adjust qttestlib.qdocconf to create qttestlib/examples-manifest.xml Change-Id: I6c4c8d9b69f135229bd0bd28e8e57738742f6bd8 Reviewed-by: David Schulz Reviewed-by: Jerome Pasion --- src/testlib/doc/qttestlib.qdocconf | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/testlib/doc/qttestlib.qdocconf b/src/testlib/doc/qttestlib.qdocconf index d4404c7951..d83ebfefe2 100644 --- a/src/testlib/doc/qttestlib.qdocconf +++ b/src/testlib/doc/qttestlib.qdocconf @@ -1,31 +1,31 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) -project = qttestlib +project = QtTestLib description = Qt Test Reference Documentation -url = http://qt-project.org/doc/qttest +url = http://qt-project.org/doc/qttestlib version = 5.0.0 -examplesinstallpath = qtestlib +examplesinstallpath = testlib -qhp.projects = QtTest +qhp.projects = QtTestLib -qhp.QtTest.file = qttestlib.qhp -qhp.QtTest.namespace = org.qt-project.qttest.500 -qhp.QtTest.virtualFolder = qttest -qhp.QtTest.indexTitle = Qt Test -qhp.QtTest.indexRoot = +qhp.QtTestLib.file = qttestlib.qhp +qhp.QtTestLib.namespace = org.qt-project.qttest.500 +qhp.QtTestLib.virtualFolder = qttest +qhp.QtTestLib.indexTitle = Qt Test +qhp.QtTestLib.indexRoot = -qhp.QtTest.filterAttributes = qttest 5.0.0 qtrefdoc -qhp.QtTest.customFilters.Qt.name = QtTest 5.0.0 -qhp.QtTest.customFilters.Qt.filterAttributes = qttest 5.0.0 +qhp.QtTestLib.filterAttributes = qttestlib 5.0.0 qtrefdoc +qhp.QtTestLib.customFilters.Qt.name = QtTestLib 5.0.0 +qhp.QtTestLib.customFilters.Qt.filterAttributes = qttest 5.0.0 -qhp.QtTest.subprojects = classes -qhp.QtTest.subprojects.classes.title = C++ Classes -qhp.QtTest.subprojects.classes.indexTitle = Qt Test C++ Classes -qhp.QtTest.subprojects.classes.selectors = class fake:headerfile -qhp.QtTest.subprojects.classes.sortPages = true +qhp.QtTestLib.subprojects = classes +qhp.QtTestLib.subprojects.classes.title = C++ Classes +qhp.QtTestLib.subprojects.classes.indexTitle = Qt Test C++ Classes +qhp.QtTestLib.subprojects.classes.selectors = class fake:headerfile +qhp.QtTestLib.subprojects.classes.sortPages = true -tagfile = ../../../doc/qttest/qttest.tags +tagfile = ../../../doc/qttestlib/qttestlib.tags depends += qtcore qtdoc qtwidgets qtgui From 1fc05fc1926af46dd9784aaa2f56e189d54b5b14 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 29 Nov 2012 16:44:01 +0100 Subject: [PATCH 079/386] QtWidgets docs: use WinVista screenshots instead of obsolescent WinXP Change-Id: Ic7fd291d4ce4468ae12cf5dd102fbcc45387dd87 Reviewed-by: Jerome Pasion --- src/widgets/itemviews/qlistview.cpp | 4 ++-- src/widgets/itemviews/qlistwidget.cpp | 4 ++-- src/widgets/itemviews/qtableview.cpp | 4 ++-- src/widgets/itemviews/qtablewidget.cpp | 4 ++-- src/widgets/itemviews/qtreeview.cpp | 4 ++-- src/widgets/itemviews/qtreewidget.cpp | 4 ++-- src/widgets/widgets/qcheckbox.cpp | 4 ++-- src/widgets/widgets/qdatetimeedit.cpp | 12 ++++++------ src/widgets/widgets/qdial.cpp | 4 ++-- src/widgets/widgets/qfontcombobox.cpp | 2 +- src/widgets/widgets/qgroupbox.cpp | 4 ++-- src/widgets/widgets/qlabel.cpp | 4 ++-- src/widgets/widgets/qlcdnumber.cpp | 4 ++-- src/widgets/widgets/qlineedit.cpp | 4 ++-- src/widgets/widgets/qprogressbar.cpp | 4 ++-- src/widgets/widgets/qpushbutton.cpp | 4 ++-- src/widgets/widgets/qradiobutton.cpp | 4 ++-- src/widgets/widgets/qscrollbar.cpp | 4 ++-- src/widgets/widgets/qslider.cpp | 4 ++-- src/widgets/widgets/qspinbox.cpp | 4 ++-- src/widgets/widgets/qtabwidget.cpp | 4 ++-- 21 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/widgets/itemviews/qlistview.cpp b/src/widgets/itemviews/qlistview.cpp index e43eda8621..13627b42ac 100644 --- a/src/widgets/itemviews/qlistview.cpp +++ b/src/widgets/itemviews/qlistview.cpp @@ -108,10 +108,10 @@ QT_BEGIN_NAMESPACE be rendered as large or small icons depending on their iconSize(). \table 100% - \row \li \inlineimage windowsxp-listview.png Screenshot of a Windows XP style list view + \row \li \inlineimage windowsvista-listview.png Screenshot of a Windows Vista style list view \li \inlineimage macintosh-listview.png Screenshot of a Macintosh style table view \li \inlineimage fusion-listview.png Screenshot of a Fusion style table view - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} list view. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} list view. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} list view. \li A \l{Fusion Style Widget Gallery}{Fusion style} list view. \endtable diff --git a/src/widgets/itemviews/qlistwidget.cpp b/src/widgets/itemviews/qlistwidget.cpp index 766c8e5cc7..183c3538c9 100644 --- a/src/widgets/itemviews/qlistwidget.cpp +++ b/src/widgets/itemviews/qlistwidget.cpp @@ -1189,10 +1189,10 @@ void QListWidgetPrivate::_q_dataChanged(const QModelIndex &topLeft, new current item and the item that was previously current. \table 100% - \row \li \inlineimage windowsxp-listview.png Screenshot of a Windows XP style list widget + \row \li \inlineimage windowsvista-listview.png Screenshot of a Windows Vista style list widget \li \inlineimage macintosh-listview.png Screenshot of a Macintosh style table widget \li \inlineimage fusion-listview.png Screenshot of a Fusion style table widget - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} list widget. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} list widget. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} list widget. \li A \l{Fusion Style Widget Gallery}{Fusion style} list widget. \endtable diff --git a/src/widgets/itemviews/qtableview.cpp b/src/widgets/itemviews/qtableview.cpp index e010c6977e..e84325c730 100644 --- a/src/widgets/itemviews/qtableview.cpp +++ b/src/widgets/itemviews/qtableview.cpp @@ -1011,10 +1011,10 @@ void QTableViewPrivate::drawCell(QPainter *painter, const QStyleOptionViewItem & its appearance in other styles. \table 100% - \row \li \inlineimage windowsxp-tableview.png Screenshot of a Windows XP style table view + \row \li \inlineimage windowsvista-tableview.png Screenshot of a Windows Vista style table view \li \inlineimage macintosh-tableview.png Screenshot of a Macintosh style table view \li \inlineimage fusion-tableview.png Screenshot of a Fusion style table view - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} table view. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} table view. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} table view. \li A \l{Fusion Style Widget Gallery}{Fusion style} table view. \endtable diff --git a/src/widgets/itemviews/qtablewidget.cpp b/src/widgets/itemviews/qtablewidget.cpp index 900af0872a..9793639d74 100644 --- a/src/widgets/itemviews/qtablewidget.cpp +++ b/src/widgets/itemviews/qtablewidget.cpp @@ -1539,10 +1539,10 @@ QTableWidgetItem &QTableWidgetItem::operator=(const QTableWidgetItem &other) clear() function. \table 100% - \row \li \inlineimage windowsxp-tableview.png Screenshot of a Windows XP style table widget + \row \li \inlineimage windowsvista-tableview.png Screenshot of a Windows Vista style table widget \li \inlineimage macintosh-tableview.png Screenshot of a Macintosh style table widget \li \inlineimage fusion-tableview.png Screenshot of a Fusion style table widget - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} table widget. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} table widget. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} table widget. \li A \l{Fusion Style Widget Gallery}{Fusion style} table widget. \endtable diff --git a/src/widgets/itemviews/qtreeview.cpp b/src/widgets/itemviews/qtreeview.cpp index fe34d3de6a..9c4a4336b9 100644 --- a/src/widgets/itemviews/qtreeview.cpp +++ b/src/widgets/itemviews/qtreeview.cpp @@ -146,10 +146,10 @@ QT_BEGIN_NAMESPACE \endomit \table 100% - \row \li \inlineimage windowsxp-treeview.png Screenshot of a Windows XP style tree view + \row \li \inlineimage windowsvista-treeview.png Screenshot of a Windows Vista style tree view \li \inlineimage macintosh-treeview.png Screenshot of a Macintosh style tree view \li \inlineimage fusion-treeview.png Screenshot of a Fusion style tree view - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} tree view. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} tree view. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} tree view. \li A \l{Fusion Style Widget Gallery}{Fusion style} tree view. \endtable diff --git a/src/widgets/itemviews/qtreewidget.cpp b/src/widgets/itemviews/qtreewidget.cpp index a2eb28e213..c4b71fd05f 100644 --- a/src/widgets/itemviews/qtreewidget.cpp +++ b/src/widgets/itemviews/qtreewidget.cpp @@ -2379,10 +2379,10 @@ void QTreeWidgetPrivate::_q_dataChanged(const QModelIndex &topLeft, whether sorting is enabled. \table 100% - \row \li \inlineimage windowsxp-treeview.png Screenshot of a Windows XP style tree widget + \row \li \inlineimage windowsvista-treeview.png Screenshot of a Windows Vista style tree widget \li \inlineimage macintosh-treeview.png Screenshot of a Macintosh style tree widget \li \inlineimage fusion-treeview.png Screenshot of a Fusion style tree widget - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} tree widget. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} tree widget. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} tree widget. \li A \l{Fusion Style Widget Gallery}{Fusion style} tree widget. \endtable diff --git a/src/widgets/widgets/qcheckbox.cpp b/src/widgets/widgets/qcheckbox.cpp index 1567e30d83..0e2e802006 100644 --- a/src/widgets/widgets/qcheckbox.cpp +++ b/src/widgets/widgets/qcheckbox.cpp @@ -124,8 +124,8 @@ public: \li \inlineimage macintosh-checkbox.png Screenshot of a Macintosh style checkbox \li A checkbox shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. \row - \li \inlineimage windows-checkbox.png Screenshot of a Windows XP style checkbox - \li A checkbox shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \li \inlineimage windowsvista-checkbox.png Screenshot of a Windows Vista style checkbox + \li A checkbox shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage fusion-checkbox.png Screenshot of a Fusion style checkbox \li A checkbox shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. diff --git a/src/widgets/widgets/qdatetimeedit.cpp b/src/widgets/widgets/qdatetimeedit.cpp index 394e2b537f..a962762bb1 100644 --- a/src/widgets/widgets/qdatetimeedit.cpp +++ b/src/widgets/widgets/qdatetimeedit.cpp @@ -105,8 +105,8 @@ QT_BEGIN_NAMESPACE calendar widget can be retrieved with calendarWidget(). \table 100% - \row \li \inlineimage windowsxp-datetimeedit.png Screenshot of a Windows XP style date time editing widget - \li A date time editing widget shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-datetimeedit.png Screenshot of a Windows Vista style date time editing widget + \li A date time editing widget shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage macintosh-datetimeedit.png Screenshot of a Macintosh style date time editing widget \li A date time editing widget shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. \row \li \inlineimage fusion-datetimeedit.png Screenshot of a Fusion style date time editing widget @@ -1536,8 +1536,8 @@ void QDateTimeEdit::mousePressEvent(QMouseEvent *event) \endlist \table 100% - \row \li \inlineimage windowsxp-timeedit.png Screenshot of a Windows XP style time editing widget - \li A time editing widget shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-timeedit.png Screenshot of a Windows Vista style time editing widget + \li A time editing widget shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage macintosh-timeedit.png Screenshot of a Macintosh style time editing widget \li A time editing widget shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. \row \li \inlineimage fusion-timeedit.png Screenshot of a Fusion style time editing widget @@ -1613,8 +1613,8 @@ QTimeEdit::~QTimeEdit() \endlist \table 100% - \row \li \inlineimage windowsxp-dateedit.png Screenshot of a Windows XP style date editing widget - \li A date editing widget shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-dateedit.png Screenshot of a Windows Vista style date editing widget + \li A date editing widget shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage macintosh-dateedit.png Screenshot of a Macintosh style date editing widget \li A date editing widget shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. \row \li \inlineimage fusion-dateedit.png Screenshot of a Fusion style date editing widget diff --git a/src/widgets/widgets/qdial.cpp b/src/widgets/widgets/qdial.cpp index 1f06fed0f6..4bdd5538b9 100644 --- a/src/widgets/widgets/qdial.cpp +++ b/src/widgets/widgets/qdial.cpp @@ -231,11 +231,11 @@ int QDialPrivate::valueFromPoint(const QPoint &p) const \table \row \li \inlineimage fusion-dial.png Screenshot of a dial in the Fusion widget style - \li \inlineimage windowsxp-dial.png Screenshot of a dial in the Windows XP widget style + \li \inlineimage windowsvista-dial.png Screenshot of a dial in the Windows Vista widget style \li \inlineimage macintosh-dial.png Screenshot of a dial in the Macintosh widget style \row \li {3,1} Dials shown in various widget styles (from left to right): \l{Fusion Style Widget Gallery}{Fusion}, - \l{Windows XP Style Widget Gallery}{Windows XP}, + \l{Windows Vista Style Widget Gallery}{Windows Vista}, \l{Macintosh Style Widget Gallery}{Macintosh}. \endtable diff --git a/src/widgets/widgets/qfontcombobox.cpp b/src/widgets/widgets/qfontcombobox.cpp index ab878cc98f..f602a47051 100644 --- a/src/widgets/widgets/qfontcombobox.cpp +++ b/src/widgets/widgets/qfontcombobox.cpp @@ -314,7 +314,7 @@ void QFontComboBoxPrivate::_q_currentChanged(const QString &text) filter out certain types of fonts as e.g. non scalable fonts or monospaced fonts. - \image windowsxp-fontcombobox.png Screenshot of QFontComboBox on Windows XP + \image windowsvista-fontcombobox.png Screenshot of QFontComboBox on Windows Vista \sa QComboBox, QFont, QFontInfo, QFontMetrics, QFontDatabase, {Character Map Example} */ diff --git a/src/widgets/widgets/qgroupbox.cpp b/src/widgets/widgets/qgroupbox.cpp index e52b8f1a94..e303fe5d6f 100644 --- a/src/widgets/widgets/qgroupbox.cpp +++ b/src/widgets/widgets/qgroupbox.cpp @@ -171,10 +171,10 @@ void QGroupBoxPrivate::click() \snippet widgets/groupbox/window.cpp 2 \table 100% - \row \li \inlineimage windowsxp-groupbox.png Screenshot of a Windows XP style group box + \row \li \inlineimage windowsvista-groupbox.png Screenshot of a Windows Vista style group box \li \inlineimage macintosh-groupbox.png Screenshot of a Macintosh style group box \li \inlineimage fusion-groupbox.png Screenshot of a Fusion style group box - \row \li A \l{Windows XP Style Widget Gallery}{Windows XP style} group box. + \row \li A \l{Windows Vista Style Widget Gallery}{Windows Vista style} group box. \li A \l{Macintosh Style Widget Gallery}{Macintosh style} group box. \li A \l{Fusion Style Widget Gallery}{Fusion style} group box. \endtable diff --git a/src/widgets/widgets/qlabel.cpp b/src/widgets/widgets/qlabel.cpp index 3b3d15f6d0..362f875629 100644 --- a/src/widgets/widgets/qlabel.cpp +++ b/src/widgets/widgets/qlabel.cpp @@ -141,8 +141,8 @@ QT_BEGIN_NAMESPACE \li \inlineimage fusion-label.png Screenshot of a Fusion style label \li A label shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. \row - \li \inlineimage windowsxp-label.png Screenshot of a Windows XP style label - \li A label shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \li \inlineimage windowsvista-label.png Screenshot of a Windows Vista style label + \li A label shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \endtable \sa QLineEdit, QTextEdit, QPixmap, QMovie, diff --git a/src/widgets/widgets/qlcdnumber.cpp b/src/widgets/widgets/qlcdnumber.cpp index 69d838bb00..c7a835b629 100644 --- a/src/widgets/widgets/qlcdnumber.cpp +++ b/src/widgets/widgets/qlcdnumber.cpp @@ -108,11 +108,11 @@ public: \table \row \li \inlineimage windows-lcdnumber.png Screenshot of a Windows style LCD number widget - \inlineimage windowsxp-lcdnumber.png Screenshot of a Windows XP style LCD number widget + \inlineimage windowsvista-lcdnumber.png Screenshot of a Windows Vista style LCD number widget \inlineimage macintosh-lcdnumber.png Screenshot of a Macintosh style LCD number widget \inlineimage fusion-lcdnumber.png Screenshot of a Fusion style LCD number widget \row \li LCD number widgets shown in various widget styles (from left to right): - \l{Windows Style Widget Gallery}{Windows}, \l{Windows XP Style Widget Gallery}{Windows XP}, + \l{Windows Style Widget Gallery}{Windows}, \l{Windows Vista Style Widget Gallery}{Windows Vista}, \l{Macintosh Style Widget Gallery}{Macintosh}, \l{Fusion Style Widget Gallery}{Fusion}. \endtable diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp index 23dee90406..c250c286bc 100644 --- a/src/widgets/widgets/qlineedit.cpp +++ b/src/widgets/widgets/qlineedit.cpp @@ -206,8 +206,8 @@ void QLineEdit::initStyleOption(QStyleOptionFrame *option) const \table 100% \row \li \inlineimage macintosh-lineedit.png Screenshot of a Macintosh style line edit \li A line edit shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. - \row \li \inlineimage windows-lineedit.png Screenshot of a Windows XP style line edit - \li A line edit shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-lineedit.png Screenshot of a Windows Vista style line edit + \li A line edit shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage fusion-lineedit.png Screenshot of a Fusion style line edit \li A line edit shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. \endtable diff --git a/src/widgets/widgets/qprogressbar.cpp b/src/widgets/widgets/qprogressbar.cpp index 3292116dac..7cf564c8e7 100644 --- a/src/widgets/widgets/qprogressbar.cpp +++ b/src/widgets/widgets/qprogressbar.cpp @@ -198,8 +198,8 @@ bool QProgressBarPrivate::repaintRequired() const \table \row \li \inlineimage macintosh-progressbar.png Screenshot of a Macintosh style progress bar \li A progress bar shown in the Macintosh widget style. - \row \li \inlineimage windowsxp-progressbar.png Screenshot of a Windows XP style progress bar - \li A progress bar shown in the Windows XP widget style. + \row \li \inlineimage windowsvista-progressbar.png Screenshot of a Windows Vista style progress bar + \li A progress bar shown in the Windows Vista widget style. \row \li \inlineimage fusion-progressbar.png Screenshot of a Fusion style progress bar \li A progress bar shown in the Fusion widget style. \endtable diff --git a/src/widgets/widgets/qpushbutton.cpp b/src/widgets/widgets/qpushbutton.cpp index 0f9243a6c8..dd7c5f9d4f 100644 --- a/src/widgets/widgets/qpushbutton.cpp +++ b/src/widgets/widgets/qpushbutton.cpp @@ -168,8 +168,8 @@ QT_BEGIN_NAMESPACE changed from round to square. Use the setMinimumSize() function to prevent this behavior. - \row \li \inlineimage windowsxp-pushbutton.png Screenshot of a Windows XP style push button - \li A push button shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-pushbutton.png Screenshot of a Windows Vista style push button + \li A push button shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage fusion-pushbutton.png Screenshot of a Fusion style push button \li A push button shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. \endtable diff --git a/src/widgets/widgets/qradiobutton.cpp b/src/widgets/widgets/qradiobutton.cpp index 68681a9dea..bb081ec905 100644 --- a/src/widgets/widgets/qradiobutton.cpp +++ b/src/widgets/widgets/qradiobutton.cpp @@ -118,8 +118,8 @@ void QRadioButtonPrivate::init() \table 100% \row \li \inlineimage fusion-radiobutton.png Screenshot of a Fusion radio button \li A radio button shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. - \row \li \inlineimage windows-radiobutton.png Screenshot of a Windows XP radio button - \li A radio button shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-radiobutton.png Screenshot of a Windows Vista radio button + \li A radio button shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage macintosh-radiobutton.png Screenshot of a Macintosh radio button \li A radio button shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. \endtable diff --git a/src/widgets/widgets/qscrollbar.cpp b/src/widgets/widgets/qscrollbar.cpp index 32cf9f4467..cf08b3fef1 100644 --- a/src/widgets/widgets/qscrollbar.cpp +++ b/src/widgets/widgets/qscrollbar.cpp @@ -192,8 +192,8 @@ QT_BEGIN_NAMESPACE \table 100% \row \li \inlineimage macintosh-horizontalscrollbar.png Screenshot of a Macintosh style scroll bar \li A scroll bar shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. - \row \li \inlineimage windowsxp-horizontalscrollbar.png Screenshot of a Windows XP style scroll bar - \li A scroll bar shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-horizontalscrollbar.png Screenshot of a Windows Vista style scroll bar + \li A scroll bar shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage fusion-horizontalscrollbar.png Screenshot of a Fusion style scroll bar \li A scroll bar shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. \endtable diff --git a/src/widgets/widgets/qslider.cpp b/src/widgets/widgets/qslider.cpp index f96a44c29f..eb16faae2f 100644 --- a/src/widgets/widgets/qslider.cpp +++ b/src/widgets/widgets/qslider.cpp @@ -257,8 +257,8 @@ QStyle::SubControl QSliderPrivate::newHoverControl(const QPoint &pos) \table 100% \row \li \inlineimage macintosh-slider.png Screenshot of a Macintosh slider \li A slider shown in the \l{Macintosh Style Widget Gallery}{Macintosh widget style}. - \row \li \inlineimage windows-slider.png Screenshot of a Windows XP slider - \li A slider shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-slider.png Screenshot of a Windows Vista slider + \li A slider shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage fusion-slider.png Screenshot of a Fusion slider \li A slider shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. \endtable diff --git a/src/widgets/widgets/qspinbox.cpp b/src/widgets/widgets/qspinbox.cpp index 4754f5c1a6..13fbf3a781 100644 --- a/src/widgets/widgets/qspinbox.cpp +++ b/src/widgets/widgets/qspinbox.cpp @@ -153,8 +153,8 @@ public: setSpecialValueText() for how to do this with QSpinBox. \table 100% - \row \li \inlineimage windowsxp-spinbox.png Screenshot of a Windows XP spin box - \li A spin box shown in the \l{Windows XP Style Widget Gallery}{Windows XP widget style}. + \row \li \inlineimage windowsvista-spinbox.png Screenshot of a Windows Vista spin box + \li A spin box shown in the \l{Windows Vista Style Widget Gallery}{Windows Vista widget style}. \row \li \inlineimage fusion-spinbox.png Screenshot of a Fusion spin box \li A spin box shown in the \l{Fusion Style Widget Gallery}{Fusion widget style}. \row \li \inlineimage macintosh-spinbox.png Screenshot of a Macintosh spin box diff --git a/src/widgets/widgets/qtabwidget.cpp b/src/widgets/widgets/qtabwidget.cpp index df9ca56e88..abb781960e 100644 --- a/src/widgets/widgets/qtabwidget.cpp +++ b/src/widgets/widgets/qtabwidget.cpp @@ -120,10 +120,10 @@ QT_BEGIN_NAMESPACE area, organizing the individual pages). \table 100% - \row \li \inlineimage windowsxp-tabwidget.png Screenshot of a Windows XP style tab widget + \row \li \inlineimage windowsvista-tabwidget.png Screenshot of a Windows Vista style tab widget \li \inlineimage macintosh-tabwidget.png Screenshot of a Macintosh style tab widget \li \inlineimage fusion-tabwidget.png Screenshot of a Fusion style tab widget - \row \li A Windows XP style tab widget. + \row \li A Windows Vista style tab widget. \li A Macintosh style tab widget. \li A Fusion style tab widget. \endtable From 61fac3c5f91dbde5b1015862e3ac6664d2f32e8f Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 29 Nov 2012 15:12:35 +0100 Subject: [PATCH 080/386] Docs: fix QStyle related warnings Change-Id: I4e67e34ecc0fc8050938a681b2c393b8442fce2e Reviewed-by: Jerome Pasion --- .../doc/src/widgets-and-layouts/styles.qdoc | 4 +-- .../src/widgets-and-layouts/stylesheet.qdoc | 32 +++++++++---------- src/widgets/styles/qcommonstyle.cpp | 2 +- src/widgets/styles/qmacstyle.qdoc | 2 +- src/widgets/styles/qstyleoption.cpp | 1 + 5 files changed, 21 insertions(+), 20 deletions(-) diff --git a/src/widgets/doc/src/widgets-and-layouts/styles.qdoc b/src/widgets/doc/src/widgets-and-layouts/styles.qdoc index 0154b2c9f6..51812ec9fe 100644 --- a/src/widgets/doc/src/widgets-and-layouts/styles.qdoc +++ b/src/widgets/doc/src/widgets-and-layouts/styles.qdoc @@ -1632,7 +1632,7 @@ toolbars with equal orientation (vertical or horizontal) placed next to each other. - \l{QToolbar}{QToolbar}s in Qt consist of three elements: + \l{QToolBar}{Toolbars} in Qt consist of three elements: \c CE_ToolBar, \c PE_IndicatorToolBarHandle, and \c PE_IndicatorToolBarSeparator. It is QMainWindowLayout that calculates the bounding rectangles (i.e., position and size of the @@ -1647,7 +1647,7 @@ The dotted lines indicate that the QToolBar keeps an instance of QToolBarLayout and that QToolBarSeparators are kept by QToolBarLayout. When the toolbar is floating (i.e., has its own - window) the \c PE_FrameMenu element is drawn, else QToolbar draws + window) the \c PE_FrameMenu element is drawn, else QToolBar draws \c CE_ToolBar. Here is an image of a toolbar in the Java style: diff --git a/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc b/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc index b160a22e48..2d9d5bba33 100644 --- a/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc +++ b/src/widgets/doc/src/widgets-and-layouts/stylesheet.qdoc @@ -138,8 +138,8 @@ /*! \page stylesheet-syntax.html - \contentspage {Qt Style Sheet}{Contents} - \previouspage Qt Style Sheet + \contentspage {Qt Style Sheets}{Contents} + \previouspage Qt Style Sheets \nextpage Qt Designer Integration \title The Style Sheet Syntax @@ -543,7 +543,7 @@ /*! \page stylesheet-designer.html - \contentspage {Qt Style Sheet}{Contents} + \contentspage {Qt Style Sheets}{Contents} \previouspage The Style Sheet Syntax \nextpage Customizing Qt Widgets Using Style Sheets \title Qt Designer Integration @@ -569,7 +569,7 @@ /*! \page stylesheet-customizing.html - \contentspage {Qt Style Sheet}{Contents} + \contentspage {Qt Style Sheets}{Contents} \previouspage Qt Designer Integration \nextpage Qt Style Sheets Reference \title Customizing Qt Widgets Using Style Sheets @@ -673,7 +673,7 @@ /*! \page stylesheet-reference.html - \contentspage {Qt Style Sheet}{Contents} + \contentspage {Qt Style Sheets}{Contents} \previouspage Customizing Qt Widgets Using Style Sheets \nextpage Qt Style Sheets Examples \title Qt Style Sheets Reference @@ -1754,7 +1754,7 @@ \li \b{\c bottom} \target bottom-prop \li \l{#Length}{Length} \li If \l{#position-prop}{position} is \c relative (the - default), moves a \l{subcontrol} by a certain offset up; + default), moves a subcontrol by a certain offset up; specifying \tt{bottom: \e{y}} is then equivalent to specifying \tt{\l{Qt Style Sheets Reference#top-prop}{top}: -\e{y}}. @@ -1906,7 +1906,7 @@ \row \li \b{\c height} \target height-prop \li \l{#Length}{Length} - \li The height of a \l{subcontrol} (or in some case, a widget). + \li The height of a subcontrol (or in some case, a widget). If this property is not specified, it defaults to a value that depends on the subcontrol/widget and on the current style. @@ -1944,7 +1944,7 @@ \li \b{\c image}* \target image-prop \li \l{#Url}{Url}+ \li The image that is drawn in the contents rectangle of a - \l{subcontrol}. + subcontrol. The image property accepts a list of \l{#Url}{Url}s or an \c{svg}. The actual image that is drawn is determined @@ -1959,7 +1959,7 @@ image within the rectangle can be specified using \l{image-position-prop}{image-position}. - This property is for \l{subcontrol}s only--we don't support it for + This property is for subcontrols only--we don't support it for other elements. \warning The QIcon SVG plugin is needed to render SVG images. @@ -1978,7 +1978,7 @@ \li \b{\c left} \target left-prop \li \l{#Length}{Length} \li If \l{#position-prop}{position} is \c relative (the - default), moves a \l{subcontrol} by a certain offset to + default), moves a subcontrol by a certain offset to the right. If \l{#position-prop}{position} is \c absolute, the \c @@ -2232,7 +2232,7 @@ \li \b{\c right} \target right-prop \li \l{#Length}{Length} \li If \l{#position-prop}{position} is \c relative (the - default), moves a \l{subcontrol} by a certain offset to + default), moves a subcontrol by a certain offset to the left; specifying \tt{right: \e{x}} is then equivalent to specifying \tt{\l{Qt Style Sheets Reference#left-prop}{left}: -\e{x}}. @@ -2323,7 +2323,7 @@ \row \li \b{\c subcontrol-origin*} \target subcontrol-origin-prop \li \l{#Origin}{Origin} - \li The origin rectangle of the \l subcontrol within the + \li The origin rectangle of the subcontrol within the parent element. If this property is not specified, the default is \c @@ -2339,7 +2339,7 @@ \row \li \b{\c subcontrol-position*} \target subcontrol-position-prop \li \l{#Alignment}{Alignment} - \li The alignment of the \l subcontrol within the origin + \li The alignment of the subcontrol within the origin rectangle specified by \l{Qt Style Sheets Reference#subcontrol-origin-prop} {subcontrol-origin}. @@ -2380,7 +2380,7 @@ \li \b{\c top} \target top-prop \li \l{#Length}{Length} \li If \l{#position-prop}{position} is \c relative (the - default), moves a \l{subcontrol} by a certain offset + default), moves a subcontrol by a certain offset down. If \l{#position-prop}{position} is \c absolute, the \c top @@ -2400,7 +2400,7 @@ \row \li \b{\c width} \target width-prop \li \l{#Length}{Length} - \li The width of a \l{subcontrol} (or a widget in some cases). + \li The width of a subcontrol (or a widget in some cases). If this property is not specified, it defaults to a value that depends on the subcontrol/widget and on the current style. @@ -3358,7 +3358,7 @@ /*! \page stylesheet-examples.html - \contentspage {Qt Style Sheet}{Contents} + \contentspage {Qt Style Sheets}{Contents} \previouspage Qt Style Sheets Reference \title Qt Style Sheets Examples diff --git a/src/widgets/styles/qcommonstyle.cpp b/src/widgets/styles/qcommonstyle.cpp index f25f035382..a7b7edbc33 100644 --- a/src/widgets/styles/qcommonstyle.cpp +++ b/src/widgets/styles/qcommonstyle.cpp @@ -108,7 +108,7 @@ QT_BEGIN_NAMESPACE subElementRect() are documented here. \endomit - \sa QStyle, QWindowsStyle + \sa QStyle, QProxyStyle */ /*! diff --git a/src/widgets/styles/qmacstyle.qdoc b/src/widgets/styles/qmacstyle.qdoc index caa6bfa79e..29f41752ae 100644 --- a/src/widgets/styles/qmacstyle.qdoc +++ b/src/widgets/styles/qmacstyle.qdoc @@ -190,7 +190,7 @@ or Qt::WA_MacNormalSize instead. */ -/*! \fn QMacStyle::WidgetSizePolicy QMacStyle::widgetSizePolicy(const QWidget *widget) +/*! \fn QMacStyle::WidgetSizePolicy QMacStyle::widgetSizePolicy(const QWidget *widget, const QStyleOption *opt = 0) \obsolete Call QWidget::testAttribute() with Qt::WA_MacMiniSize, Qt::WA_MacSmallSize, diff --git a/src/widgets/styles/qstyleoption.cpp b/src/widgets/styles/qstyleoption.cpp index 0ec42e446d..1c2df682cc 100644 --- a/src/widgets/styles/qstyleoption.cpp +++ b/src/widgets/styles/qstyleoption.cpp @@ -578,6 +578,7 @@ QStyleOptionFrame::QStyleOptionFrame(int version) \value None Indicates a normal frame. \value Flat Indicates a flat frame. + \value Rounded Indicates a rounded frame. */ /*! From 8bb6ba0e2f278ca2c297485dc6036e3a3478ce0e Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 6 Dec 2012 13:32:25 +0100 Subject: [PATCH 081/386] Doc: Fix some enums Change-Id: I58f2906e9605e8ab09cad29880006ed60cc23e80 Reviewed-by: Jerome Pasion --- src/corelib/tools/qlocale.qdoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/corelib/tools/qlocale.qdoc b/src/corelib/tools/qlocale.qdoc index a31e089eca..43d2b3ade6 100644 --- a/src/corelib/tools/qlocale.qdoc +++ b/src/corelib/tools/qlocale.qdoc @@ -450,6 +450,7 @@ \value Cambodia \value Cameroon \value Canada + \value CanaryIslands \value CapeVerde \value CaymanIslands \value CentralAfricanRepublic @@ -457,6 +458,7 @@ \value Chile \value China \value ChristmasIsland + \value ClippertonIsland \value CocosIslands \value Colombia \value Comoros @@ -503,6 +505,7 @@ \value Guadeloupe \value Guam \value Guatemala + \value Guernsey \value Guinea \value GuineaBissau \value Guyana @@ -647,7 +650,7 @@ \value Vanuatu \value VaticanCityState \value Venezuela - \value VietNam + \value Vietnam \value BritishVirginIslands \value UnitedStatesVirginIslands \value WallisAndFutunaIslands @@ -718,7 +721,7 @@ \value SinhalaScript \value SyriacScript \value YiScript - \value VaiiScript + \value VaiScript \omitvalue LastScript \sa script(), scriptToString(), languageToString() From 5b57d93dcdeabbd704205b7bdef20c82f1e22a09 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 6 Dec 2012 13:37:02 +0100 Subject: [PATCH 082/386] Doc: Remove obsolete statement Change-Id: Ic7f14dae391684a4870e030ab4549b3a59f1ea5f Reviewed-by: Jerome Pasion --- src/sql/kernel/qsql.qdoc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sql/kernel/qsql.qdoc b/src/sql/kernel/qsql.qdoc index b3afe82245..de7ea76181 100644 --- a/src/sql/kernel/qsql.qdoc +++ b/src/sql/kernel/qsql.qdoc @@ -45,9 +45,6 @@ \value BeforeFirstRow Before the first record. \value AfterLastRow After the last record. - \omitvalue BeforeFirst - \omitvalue AfterLast - \sa QSqlQuery::at() */ From ae6389a08662d7ef4296a680c52490e24ae20e26 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 6 Dec 2012 15:36:17 +0100 Subject: [PATCH 083/386] Docs: Fix some warnings Change-Id: I3898c89e54aa671ff8cb1b25c49cfe3835ab9384 Reviewed-by: Jerome Pasion --- src/sql/kernel/qsqldriver.cpp | 1 + src/sql/models/qsqlrelationaldelegate.cpp | 6 +----- src/sql/models/qsqlrelationaltablemodel.cpp | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/sql/kernel/qsqldriver.cpp b/src/sql/kernel/qsqldriver.cpp index 62ec4e7e1f..841c563973 100644 --- a/src/sql/kernel/qsqldriver.cpp +++ b/src/sql/kernel/qsqldriver.cpp @@ -218,6 +218,7 @@ bool QSqlDriver::isOpenError() const \value EventNotifications Whether the driver supports database event notifications. \value FinishQuery Whether the driver can do any low-level resource cleanup when QSqlQuery::finish() is called. \value MultipleResultSets Whether the driver can access multiple result sets returned from batched statements or stored procedures. + \value CancelQuery Whether the driver allows cancelling a running query. More information about supported features can be found in the \l{sql-driver.html}{Qt SQL driver} documentation. diff --git a/src/sql/models/qsqlrelationaldelegate.cpp b/src/sql/models/qsqlrelationaldelegate.cpp index af50c03b2d..e040789fa6 100644 --- a/src/sql/models/qsqlrelationaldelegate.cpp +++ b/src/sql/models/qsqlrelationaldelegate.cpp @@ -45,6 +45,7 @@ QT_BEGIN_NAMESPACE /*! \class QSqlRelationalDelegate + \inmodule QtSql \brief The QSqlRelationalDelegate class provides a delegate that is used to display and edit data from a QSqlRelationalTableModel. @@ -87,11 +88,6 @@ QT_BEGIN_NAMESPACE \reimp */ -/*! - \fn void QSqlRelationalDelegate::setEditorData(QWidget *editor, const QModelIndex &index) const - \reimp -*/ - /*! \fn void QSqlRelationalDelegate::setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const diff --git a/src/sql/models/qsqlrelationaltablemodel.cpp b/src/sql/models/qsqlrelationaltablemodel.cpp index c3637f0db7..29a70391b1 100644 --- a/src/sql/models/qsqlrelationaltablemodel.cpp +++ b/src/sql/models/qsqlrelationaltablemodel.cpp @@ -67,6 +67,7 @@ typedef QSqlRelationalTableModelSql Sql; /*! \class QSqlRelation + \inmodule QtSql \brief The QSqlRelation class stores information about an SQL foreign key. QSqlRelation is a helper class for QSqlRelationalTableModel. See From c35e12e876cdf80ca0d966561c917e986d8ad431 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Mon, 3 Dec 2012 15:55:15 +0100 Subject: [PATCH 084/386] Mac: Cleaner transient scrollbar rendering Change-Id: I617588012aa5166775c3c6301ee70043b22553a3 Reviewed-by: Richard Moe Gustavsen Reviewed-by: J-P Nurmi --- src/widgets/styles/qmacstyle_mac.mm | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/widgets/styles/qmacstyle_mac.mm b/src/widgets/styles/qmacstyle_mac.mm index 89ea4d553a..ba34a74384 100644 --- a/src/widgets/styles/qmacstyle_mac.mm +++ b/src/widgets/styles/qmacstyle_mac.mm @@ -4982,12 +4982,7 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex [scroller setControlSize:(tdi.kind == kThemeSmallScrollBar ? NSMiniControlSize : NSRegularControlSize)]; - if (isHorizontal) - [scroller setBounds:NSMakeRect(0, -1, - slider->rect.width(), slider->rect.height())]; - else - [scroller setBounds:NSMakeRect(-1, 0, - slider->rect.width(), slider->rect.height())]; + [scroller setBounds:NSMakeRect(0, 0, slider->rect.width(), slider->rect.height())]; [scroller setScrollerStyle:NSScrollerStyleOverlay]; // first we draw only the track, by using a disabled scroller @@ -4996,10 +4991,9 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex NULL); CGContextSetAlpha(cg, opacity); - [scroller setFrame:NSMakeRect(0, 0, slider->rect.width(), slider->rect.height())]; - [scroller setEnabled:NO]; - [scroller displayRectIgnoringOpacity:[scroller bounds] - inContext:[NSGraphicsContext currentContext]]; + [scroller setFrame:[scroller bounds]]; + [scroller setEnabled:(slider->state & State_Enabled) ? YES : NO]; + [scroller drawKnobSlotInRect:[scroller bounds] highlight:NO]; CGContextEndTransparencyLayer(cg); } @@ -5023,18 +5017,17 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex const qreal width = qMax(minKnobWidth, plannedWidth); const qreal totalWidth = slider->rect.width() + plannedWidth - width; [scroller setFrame:NSMakeRect(0, 0, width, slider->rect.height())]; - CGContextTranslateCTM(cg, value * totalWidth, 0); + CGContextTranslateCTM(cg, value * totalWidth, 1); } else { const qreal plannedHeight = proportion * slider->rect.height(); const qreal height = qMax(minKnobWidth, plannedHeight); const qreal totalHeight = slider->rect.height() + plannedHeight - height; [scroller setFrame:NSMakeRect(0, 0, slider->rect.width(), height)]; - CGContextTranslateCTM(cg, 0, value * totalHeight); + CGContextTranslateCTM(cg, 1, value * totalHeight); } if (length > 0.0) { [scroller layout]; - [scroller displayRectIgnoringOpacity:[scroller bounds] - inContext:[NSGraphicsContext currentContext]]; + [scroller drawKnob]; } CGContextEndTransparencyLayer(cg); From 6f7791f871df300db27104b65d43c17ce825d733 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Mon, 3 Dec 2012 19:00:03 +0100 Subject: [PATCH 085/386] Mac: Animated expanding scrollbars on 10.8 Change-Id: Ib57d0347a7828ac7582b0fa95adf8d437694cd41 Reviewed-by: Richard Moe Gustavsen --- src/widgets/styles/qmacstyle_mac.mm | 82 ++++++++++++++++++-------- src/widgets/styles/qmacstyle_mac_p_p.h | 25 ++++++-- 2 files changed, 77 insertions(+), 30 deletions(-) diff --git a/src/widgets/styles/qmacstyle_mac.mm b/src/widgets/styles/qmacstyle_mac.mm index ba34a74384..649e7f267d 100644 --- a/src/widgets/styles/qmacstyle_mac.mm +++ b/src/widgets/styles/qmacstyle_mac.mm @@ -2181,11 +2181,11 @@ int QMacStyle::pixelMetric(PixelMetric metric, const QStyleOption *opt, const QW switch (d->aquaSizeConstrain(opt, widget)) { case QAquaSizeUnknown: case QAquaSizeLarge: - ret = 9; + ret = QSysInfo::macVersion() >= QSysInfo::MV_10_8 ? 16 : 9; break; case QAquaSizeMini: case QAquaSizeSmall: - ret = 7; + ret = QSysInfo::macVersion() >= QSysInfo::MV_10_8 ? 14 : 7; break; } break; @@ -4909,6 +4909,11 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex if (cc == CC_ScrollBar && proxy()->styleHint(SH_ScrollBar_Transient)) { bool wasActive = false; CGFloat opacity = 1.0; + CGFloat expandScale = 1.0; + CGFloat expandOffset = -1.0; + bool shouldExpand = false; + const CGFloat maxExpandScale = tdi.kind == kThemeSmallScrollBar ? 11.0 / 7.0 : 13.0 / 9.0; + if (QObject *styleObject = opt->styleObject) { int oldPos = styleObject->property("_q_stylepos").toInt(); int oldMin = styleObject->property("_q_stylemin").toInt(); @@ -4936,23 +4941,24 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex styleObject->setProperty("_q_stylestate", static_cast(slider->state)); styleObject->setProperty("_q_stylecontrols", static_cast(slider->activeSubControls)); + QScrollbarAnimation *anim = qobject_cast(d->animation(styleObject)); if (transient) { - QFadeOutAnimation *anim = qobject_cast(d->animation(styleObject)); if (!anim) { - anim = new QFadeOutAnimation(styleObject); + anim = new QScrollbarAnimation(styleObject); + anim->setFadingOut(); d->startAnimation(anim); - } else { + } else if (anim->isFadingOut()) { // the scrollbar was already fading out while the // state changed -> restart the fade out animation anim->setCurrentTime(0); } - } else { + } else if (anim && anim->isFadingOut()) { d->stopAnimation(styleObject); } } - QFadeOutAnimation *anim = qobject_cast(d->animation(styleObject)); - if (anim) { + QScrollbarAnimation *anim = qobject_cast(d->animation(styleObject)); + if (anim && anim->isFadingOut()) { // once a scrollbar was active (hovered/pressed), it retains // the active look even if it's no longer active while fading out if (oldActiveControls) @@ -4961,6 +4967,24 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex wasActive = anim->wasActive(); opacity = anim->currentValue(); } + + shouldExpand = (opt->activeSubControls || wasActive) && QSysInfo::macVersion() >= QSysInfo::MV_10_8; + if (shouldExpand) { + if (!anim && !oldActiveControls) { + // Start expand animation only once and when entering + anim = new QScrollbarAnimation(styleObject); + anim->setExpanding(); + d->startAnimation(anim); + } + if (anim && !anim->isFadingOut()) { + expandScale = 1.0 + (maxExpandScale - 1.0) * anim->currentValue(); + expandOffset = 5.5 * anim->currentValue() - 1; + } else { + // Keep expanded state after the animation ends, and when fading out + expandScale = maxExpandScale; + expandOffset = 4.5; + } + } } const bool isHorizontal = slider->orientation == Qt::Horizontal; @@ -4985,29 +5009,27 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex [scroller setBounds:NSMakeRect(0, 0, slider->rect.width(), slider->rect.height())]; [scroller setScrollerStyle:NSScrollerStyleOverlay]; - // first we draw only the track, by using a disabled scroller - if (opt->activeSubControls || wasActive) { - CGContextBeginTransparencyLayerWithRect(cg, qt_hirectForQRect(slider->rect), - NULL); - CGContextSetAlpha(cg, opacity); - - [scroller setFrame:[scroller bounds]]; - [scroller setEnabled:(slider->state & State_Enabled) ? YES : NO]; - [scroller drawKnobSlotInRect:[scroller bounds] highlight:NO]; - - CGContextEndTransparencyLayer(cg); - } - - CGContextBeginTransparencyLayerWithRect(cg, qt_hirectForQRect(slider->rect), NULL); + CGContextBeginTransparencyLayer(cg, NULL); CGContextSetAlpha(cg, opacity); + // Draw the track when hovering + if (opt->activeSubControls || wasActive) { + CGRect rect = [scroller bounds]; + if (shouldExpand) { + if (isHorizontal) + rect.origin.y += 4.5 - expandOffset; + else + rect.origin.x += 4.5 - expandOffset; + } + [scroller drawKnobSlotInRect:rect highlight:YES]; + } + const qreal length = slider->maximum - slider->minimum + slider->pageStep; const qreal proportion = slider->pageStep / length; qreal value = (slider->sliderValue - slider->minimum) / length; if (isHorizontal && slider->direction == Qt::RightToLeft) value = 1.0 - value - proportion; - [scroller setEnabled:(slider->state & State_Enabled) ? YES : NO]; [scroller setKnobProportion:1.0]; const int minKnobWidth = 26; @@ -5017,13 +5039,23 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex const qreal width = qMax(minKnobWidth, plannedWidth); const qreal totalWidth = slider->rect.width() + plannedWidth - width; [scroller setFrame:NSMakeRect(0, 0, width, slider->rect.height())]; - CGContextTranslateCTM(cg, value * totalWidth, 1); + if (shouldExpand) { + CGContextScaleCTM(cg, 1, expandScale); + CGContextTranslateCTM(cg, value * totalWidth, -expandOffset); + } else { + CGContextTranslateCTM(cg, value * totalWidth, 1); + } } else { const qreal plannedHeight = proportion * slider->rect.height(); const qreal height = qMax(minKnobWidth, plannedHeight); const qreal totalHeight = slider->rect.height() + plannedHeight - height; [scroller setFrame:NSMakeRect(0, 0, slider->rect.width(), height)]; - CGContextTranslateCTM(cg, 1, value * totalHeight); + if (shouldExpand) { + CGContextScaleCTM(cg, expandScale, 1); + CGContextTranslateCTM(cg, -expandOffset, value * totalHeight); + } else { + CGContextTranslateCTM(cg, 1, value * totalHeight); + } } if (length > 0.0) { [scroller layout]; diff --git a/src/widgets/styles/qmacstyle_mac_p_p.h b/src/widgets/styles/qmacstyle_mac_p_p.h index c2e5a024a4..a23c45fa55 100644 --- a/src/widgets/styles/qmacstyle_mac_p_p.h +++ b/src/widgets/styles/qmacstyle_mac_p_p.h @@ -211,32 +211,47 @@ public: #endif }; -class QFadeOutAnimation : public QNumberStyleAnimation +class QScrollbarAnimation : public QNumberStyleAnimation { Q_OBJECT public: - QFadeOutAnimation(QObject *target) : QNumberStyleAnimation(target), _active(false) + QScrollbarAnimation(QObject *target) : QNumberStyleAnimation(target), _active(false) + { } + + bool wasActive() const { return _active; } + void setActive(bool active) { _active = active; } + + bool isFadingOut() const { return _isFadingOut; } + + void setFadingOut() { + _isFadingOut = true; setDuration(QMacStylePrivate::ScrollBarFadeOutDelay + QMacStylePrivate::ScrollBarFadeOutDuration); setDelay(QMacStylePrivate::ScrollBarFadeOutDelay); setStartValue(1.0); setEndValue(0.0); } - bool wasActive() const { return _active; } - void setActive(bool active) { _active = active; } + void setExpanding() + { + _isFadingOut = false; + setDuration(QMacStylePrivate::ScrollBarFadeOutDuration); + setStartValue(0.0); + setEndValue(1.0); + } private slots: void updateCurrentTime(int time) { QNumberStyleAnimation::updateCurrentTime(time); - if (qFuzzyIsNull(currentValue())) + if (_isFadingOut && qFuzzyIsNull(currentValue())) target()->setProperty("visible", false); } private: bool _active; + bool _isFadingOut; }; QT_END_NAMESPACE From f3bbf55cbe189f51de7ef343687d110062a2f7e8 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 6 Dec 2012 15:18:15 +0100 Subject: [PATCH 086/386] doc: Add changes to dnd docs from qtdoc repository Change da54c5e7c9bf7647664a3529a6db487dee94d331 in the qdoc repository was made to the wrong version of this documentation. This change just adds them in qtbase and fixes some of the snippets which were still broken. Change-Id: Ie9ba57b5a2d20a629aa5f0a492daa207d35b2053 Reviewed-by: Paul Olav Tvete --- src/gui/doc/src/dnd.qdoc | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/src/gui/doc/src/dnd.qdoc b/src/gui/doc/src/dnd.qdoc index a4eb77469b..ad48d7b5c7 100644 --- a/src/gui/doc/src/dnd.qdoc +++ b/src/gui/doc/src/dnd.qdoc @@ -41,9 +41,11 @@ \tableofcontents This document describes the basic drag and drop mechanism and - outlines the approach used to enable it in custom widgets. Drag - and drop operations are also supported by Qt's item views and by - the graphics view framework. More information is available in + outlines the approach used to enable it in custom controls. Drag + and drop operations are also supported by many of Qt's controls, + such as the item views and graphics view framework, as well as + editing controls for Qt Widgets and Qt Quick. More information + about item views and graphics view is available in \l{Using drag and drop with item views} and \l{Graphics View Framework}. @@ -56,22 +58,31 @@ \section1 Configuration - The QApplication object provides some properties that are related + The QStyleHints object provides some properties that are related to drag and drop operations: \list - \li \l{QApplication::startDragTime} describes the amount of time in + \li \l{QStyleHints::startDragTime()} describes the amount of time in milliseconds that the user must hold down a mouse button over an object before a drag will begin. - \li \l{QApplication::startDragDistance} indicates how far the user has to + \li \l{QStyleHints::startDragDistance()} indicates how far the user has to move the mouse while holding down a mouse button before the movement - will be interpreted as dragging. Use of high values for this quantity - prevents accidental dragging when the user only meant to click on an - object. + will be interpreted as dragging. + \li \l{QStyleHints::startDragVelocity()} indicates how fast (in pixels/second) + the user has to move the mouse to start a drag. A value of \c 0 means + that there is no such limit. \endlist - These quantities provide sensible default values for you to use if you - provide drag and drop support in your widgets. + These quantities provide sensible default values that are compliant with + the underlying windowing system for you to use if you + provide drag and drop support in your controls. + + \section1 Drag and Drop in Qt Quick + + The rest of the document focuses mainly on how to implement drag and drop + in C++. For using drag and drop inside a Qt Quick scene, please read the + documentation for the Qt Quick \l{Drag}, \l{DragEvent} and \l{DropArea} items. + There is also an example \l{quick/draganddrop}{available}. \section1 Dragging @@ -335,7 +346,7 @@ the clipboard. To access this, you need to obtain a QClipboard object from the QApplication object: - \snippet widgets/charactermap/mainwindow.cpp 3 + \snippet ../widgets/widgets/charactermap/mainwindow.cpp 3 The QMimeData class is used to represent data that is transferred to and from the clipboard. To put data on the clipboard, you can use the @@ -350,7 +361,7 @@ For example, we can copy the contents of a QLineEdit to the clipboard with the following code: - \snippet widgets/charactermap/mainwindow.cpp 11 + \snippet ../widgets/widgets/charactermap/mainwindow.cpp 11 Data with different MIME types can also be put on the clipboard. Construct a QMimeData object and set data with setData() function in From fb4ad0d1a9d86f0125726683ebecc507cf7eb987 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Wed, 5 Dec 2012 16:20:12 +0100 Subject: [PATCH 087/386] Mac: Transient scrollbars should overlap in the corner on 10.8 Change-Id: Ied239d5e3cb05bed6b892607f0344e6daa028918 Reviewed-by: Richard Moe Gustavsen --- src/widgets/widgets/qabstractscrollarea.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/widgets/widgets/qabstractscrollarea.cpp b/src/widgets/widgets/qabstractscrollarea.cpp index 3c21d767be..2a3bdb0a59 100644 --- a/src/widgets/widgets/qabstractscrollarea.cpp +++ b/src/widgets/widgets/qabstractscrollarea.cpp @@ -488,13 +488,21 @@ void QAbstractScrollAreaPrivate::layoutChildren() #ifdef Q_WS_MAC if (hasMacReverseSizeGrip) horizontalScrollBarRect.adjust(vsbExt, 0, 0, 0); +#endif +#ifdef Q_OS_MAC + if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) + horizontalScrollBarRect.adjust(0, 0, cornerOffset.x(), 0); #endif scrollBarContainers[Qt::Horizontal]->setGeometry(QStyle::visualRect(opt.direction, opt.rect, horizontalScrollBarRect)); scrollBarContainers[Qt::Horizontal]->raise(); } if (needv) { - const QRect verticalScrollBarRect (QPoint(cornerPoint.x(), controlsRect.top() + hHeaderBottom), QPoint(controlsRect.right(), cornerPoint.y() - 1)); + QRect verticalScrollBarRect (QPoint(cornerPoint.x(), controlsRect.top() + hHeaderBottom), QPoint(controlsRect.right(), cornerPoint.y() - 1)); +#ifdef Q_OS_MAC + if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) + verticalScrollBarRect.adjust(0, 0, 0, cornerOffset.y()); +#endif scrollBarContainers[Qt::Vertical]->setGeometry(QStyle::visualRect(opt.direction, opt.rect, verticalScrollBarRect)); scrollBarContainers[Qt::Vertical]->raise(); } From c7dddf2ae5bf7ab94cb6fa571ffb160c16a1a879 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Wed, 5 Dec 2012 20:23:57 +0100 Subject: [PATCH 088/386] Mac: Missing update when hovering from one scrollbar to another Change-Id: I9837bb72935cb4e3680e4bd23b5535f654b5fde6 Reviewed-by: Richard Moe Gustavsen --- src/widgets/widgets/qscrollbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/widgets/qscrollbar.cpp b/src/widgets/widgets/qscrollbar.cpp index cf08b3fef1..be3d2db670 100644 --- a/src/widgets/widgets/qscrollbar.cpp +++ b/src/widgets/widgets/qscrollbar.cpp @@ -234,10 +234,10 @@ void QScrollBarPrivate::setTransient(bool value) Q_Q(QScrollBar); if (transient != value) { transient = value; - if (transient) { - if (q->isVisible() && q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) + if (q->isVisible()) { + if (q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) q->update(); - } else if (!q->isVisible()) { + } else if (!transient) { q->show(); } } From 24013d8a875e6279921af00d81e85c1f59731279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sat, 1 Dec 2012 12:21:20 +0100 Subject: [PATCH 089/386] Don't pass invalid strings to strcmp() The address behind a string doesn't point to a string. Change-Id: Ic54f652ae781fea278f60cc49d219c1c610ba29f Reviewed-by: Paul Olav Tvete --- tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp b/tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp index ad7d8b2ab9..ade8cc0ad0 100644 --- a/tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp +++ b/tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp @@ -1561,7 +1561,7 @@ void tst_QArrayData::literals() #endif QVERIFY(v.isSharable()); - QCOMPARE((const char *)(v.constBegin() + v.size()), (const char *)v.constEnd()); + QCOMPARE((void*)(v.constBegin() + v.size()), (void*)v.constEnd()); for (int i = 0; i < 10; ++i) QCOMPARE(const_(v)[i], char('A' + i)); From 320b16110f0f9cef032a64846dc792d40ccd367b Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 6 Dec 2012 14:59:15 +0100 Subject: [PATCH 090/386] QProcess: Fix compilation with MinGW newer mingw-w64 headers do not support swprintf(wchar_t*,wchar_t*, ..) any more. Change-Id: I2fc1fb51ba8d5237149697f77a91abd6469ebb09 Reviewed-by: Thiago Macieira --- src/corelib/io/qprocess_win.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/io/qprocess_win.cpp b/src/corelib/io/qprocess_win.cpp index d19ab695ea..780efda7fc 100644 --- a/src/corelib/io/qprocess_win.cpp +++ b/src/corelib/io/qprocess_win.cpp @@ -82,7 +82,8 @@ static void qt_create_pipe(Q_PIPE *pipe, bool isInputPipe) forever { // ### The user must make sure to call qsrand() to make the pipe names less predictable. // ### Replace the call to qrand() with a secure version, once we have it in Qt. - swprintf(pipeName, L"\\\\.\\pipe\\qt-%X", qrand()); + swprintf(pipeName, sizeof(pipeName) / sizeof(pipeName[0]), + L"\\\\.\\pipe\\qt-%X", qrand()); DWORD dwPipeFlags = PIPE_TYPE_BYTE | PIPE_WAIT; if (QSysInfo::windowsVersion() >= QSysInfo::WV_VISTA) From a79b898299108ad9b6ffa9aab024d74e4f6432bc Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 6 Dec 2012 14:29:53 +0100 Subject: [PATCH 091/386] qmake: add ProductVersion to automatically generated resource ProductVersion is set to the same value as FileVersion. Task-number: QTBUG-27428 Change-Id: Ia01e14112d3a0e74b9fbe5fc8d9c4f9ae690db34 Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- qmake/generators/win32/winmakefile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp index 10b04ce97c..fcc9ceb5aa 100644 --- a/qmake/generators/win32/winmakefile.cpp +++ b/qmake/generators/win32/winmakefile.cpp @@ -453,6 +453,7 @@ void Win32MakefileGenerator::processRcFileVar() ts << "\t\t\t\tVALUE \"LegalCopyright\", \"" << copyright << "\\0\"" << endl; ts << "\t\t\t\tVALUE \"OriginalFilename\", \"" << originalName << "\\0\"" << endl; ts << "\t\t\t\tVALUE \"ProductName\", \"" << productName << "\\0\"" << endl; + ts << "\t\t\t\tVALUE \"ProductVersion\", \"" << versionString << "\\0\"" << endl; ts << "\t\t\tEND" << endl; ts << "\t\tEND" << endl; ts << "\t\tBLOCK \"VarFileInfo\"" << endl; From ce556dfcbc9eeb8d993fa8ce9c9fac6cfb71d2be Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 6 Dec 2012 00:02:31 +0100 Subject: [PATCH 092/386] Warn when XDG_RUNTIME_DIR isn't set, as per XDG Base Dir Spec http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html says: "If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message." Better warn that not all the guarantees of XDG_RUNTIME_DIR are available, and push unixes who haven't done so yet, to set things up correctly. Change-Id: Ie3998e8c1d14e4fdf8d58dfb2932f0ad708fba50 Reviewed-by: Thiago Macieira --- src/corelib/io/qstandardpaths_unix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/io/qstandardpaths_unix.cpp b/src/corelib/io/qstandardpaths_unix.cpp index 3fb36589d2..932ae6b6cc 100644 --- a/src/corelib/io/qstandardpaths_unix.cpp +++ b/src/corelib/io/qstandardpaths_unix.cpp @@ -127,6 +127,7 @@ QString QStandardPaths::writableLocation(StandardLocation type) return QString(); } } + qWarning("QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '%s'", qPrintable(xdgRuntimeDir)); } // "The directory MUST be owned by the user" QFileInfo fileInfo(xdgRuntimeDir); From 51e7aeb29bc804b904656083d4317c8239c6f8b0 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Thu, 6 Dec 2012 14:54:01 +0100 Subject: [PATCH 093/386] Fix compile with -DQT_NO_SYSTEMTRAYICON Change-Id: Icca0bef7efca77a841b30f40692144663e7ae913 Reviewed-by: Marc Mutz --- examples/widgets/desktop/systray/main.cpp | 25 ++++++++++++++++++++- examples/widgets/desktop/systray/window.cpp | 5 +++++ examples/widgets/desktop/systray/window.h | 5 +++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/examples/widgets/desktop/systray/main.cpp b/examples/widgets/desktop/systray/main.cpp index bb81bb78e4..ece04524b8 100644 --- a/examples/widgets/desktop/systray/main.cpp +++ b/examples/widgets/desktop/systray/main.cpp @@ -39,8 +39,10 @@ ****************************************************************************/ #include -#include +#ifndef QT_NO_SYSTEMTRAYICON + +#include #include "window.h" int main(int argc, char *argv[]) @@ -61,3 +63,24 @@ int main(int argc, char *argv[]) window.show(); return app.exec(); } + +#else + +#include +#include + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + QString text("QSystemTrayIcon is not supported on this platform"); + + QLabel *label = new QLabel(text); + label->setWordWrap(true); + + label->show(); + qDebug() << text; + + app.exec(); +} + +#endif diff --git a/examples/widgets/desktop/systray/window.cpp b/examples/widgets/desktop/systray/window.cpp index 8de1f5843e..a7ea3b471e 100644 --- a/examples/widgets/desktop/systray/window.cpp +++ b/examples/widgets/desktop/systray/window.cpp @@ -39,6 +39,9 @@ ****************************************************************************/ #include "window.h" + +#ifndef QT_NO_SYSTEMTRAYICON + #include #include @@ -265,3 +268,5 @@ void Window::createTrayIcon() trayIcon = new QSystemTrayIcon(this); trayIcon->setContextMenu(trayIconMenu); } + +#endif diff --git a/examples/widgets/desktop/systray/window.h b/examples/widgets/desktop/systray/window.h index 2c33812778..08919e8a49 100644 --- a/examples/widgets/desktop/systray/window.h +++ b/examples/widgets/desktop/systray/window.h @@ -42,6 +42,9 @@ #define WINDOW_H #include + +#ifndef QT_NO_SYSTEMTRAYICON + #include QT_BEGIN_NAMESPACE @@ -109,4 +112,6 @@ private: }; //! [0] +#endif // QT_NO_SYSTEMTRAYICON + #endif From 675676aba1e71410fa6cfca430ab9bd64ebdcdaa Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Wed, 5 Dec 2012 21:45:48 -0200 Subject: [PATCH 094/386] configure.exe: fix -inotify option Change-Id: Iaa844961b5fdd2056fcc9b008c11a3f3925ca3a4 Reviewed-by: Thomas McGuire Reviewed-by: Oswald Buddenhagen --- tools/configure/configureapp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index db23852716..696d07ade4 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -2632,6 +2632,9 @@ void Configure::generateOutputVars() else if (dictionary["QT_ICONV"] == "gnu") qtConfig += "gnu-libiconv"; + if (dictionary["QT_INOTIFY"] == "yes") + qtConfig += "inotify"; + if (dictionary["FONT_CONFIG"] == "yes") { qtConfig += "fontconfig"; qmakeVars += "QMAKE_CFLAGS_FONTCONFIG ="; From 7da7bbcd874197054df5e5691d41d4e2dbe55f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 5 Dec 2012 17:38:58 +0100 Subject: [PATCH 095/386] Removed requestOrientation() API from QWindow. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no proper implementations of this API, and as it stands it only acts to confuse anyone who stumbles across it. It will be better to revisit the full cross platform orientation API story for 5.1. Change-Id: Iff7054a32c6e5e4ad0cc0493a5e4ecc35a6ec4f3 Reviewed-by: Richard Moe Gustavsen Reviewed-by: Shawn Rutledge Reviewed-by: Tor Arne Vestbø --- .../opengl/paintedwindow/paintedwindow.cpp | 16 ++--- src/gui/kernel/qplatformwindow.cpp | 25 ------- src/gui/kernel/qplatformwindow.h | 1 - src/gui/kernel/qwindow.cpp | 67 +++---------------- src/gui/kernel/qwindow.h | 3 - src/gui/kernel/qwindow_p.h | 2 - tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 4 -- 7 files changed, 16 insertions(+), 102 deletions(-) diff --git a/examples/opengl/paintedwindow/paintedwindow.cpp b/examples/opengl/paintedwindow/paintedwindow.cpp index 0920e6e89d..3aa21a04b6 100644 --- a/examples/opengl/paintedwindow/paintedwindow.cpp +++ b/examples/opengl/paintedwindow/paintedwindow.cpp @@ -70,12 +70,10 @@ PaintedWindow::PaintedWindow() m_animation->setEndValue(qreal(1)); m_animation->setDuration(500); - requestOrientation(Qt::PortraitOrientation); - QRect screenGeometry = screen()->availableGeometry(); QPoint center = screenGeometry.center(); - QRect windowRect = screen()->isLandscape(orientation()) ? QRect(0, 0, 640, 480) : QRect(0, 0, 480, 640); + QRect windowRect = screen()->isLandscape(screen()->orientation()) ? QRect(0, 0, 640, 480) : QRect(0, 0, 480, 640); setGeometry(QRect(center - windowRect.center(), windowRect.size())); m_rotation = 0; @@ -142,13 +140,13 @@ void PaintedWindow::orientationChanged(Qt::ScreenOrientation newOrientation) QPainter p; p.begin(&m_prevImage); - p.setTransform(screen()->transformBetween(contentOrientation(), orientation(), rect)); - paint(&p, screen()->mapBetween(contentOrientation(), orientation(), rect)); + p.setTransform(screen()->transformBetween(contentOrientation(), screen()->orientation(), rect)); + paint(&p, screen()->mapBetween(contentOrientation(), screen()->orientation(), rect)); p.end(); p.begin(&m_nextImage); - p.setTransform(screen()->transformBetween(newOrientation, orientation(), rect)); - paint(&p, screen()->mapBetween(newOrientation, orientation(), rect)); + p.setTransform(screen()->transformBetween(newOrientation, screen()->orientation(), rect)); + paint(&p, screen()->mapBetween(newOrientation, screen()->orientation(), rect)); p.end(); m_deltaRotation = screen()->angleBetween(newOrientation, contentOrientation()); @@ -207,9 +205,9 @@ void PaintedWindow::paint() painter.setOpacity(m_rotation); painter.drawImage(0, 0, m_nextImage); } else { - QRect mapped = screen()->mapBetween(contentOrientation(), orientation(), rect); + QRect mapped = screen()->mapBetween(contentOrientation(), screen()->orientation(), rect); - painter.setTransform(screen()->transformBetween(contentOrientation(), orientation(), rect)); + painter.setTransform(screen()->transformBetween(contentOrientation(), screen()->orientation(), rect)); paint(&painter, mapped); painter.end(); } diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp index 25b863c9a3..a1a06a6021 100644 --- a/src/gui/kernel/qplatformwindow.cpp +++ b/src/gui/kernel/qplatformwindow.cpp @@ -330,31 +330,6 @@ void QPlatformWindow::handleContentOrientationChange(Qt::ScreenOrientation orien Q_UNUSED(orientation); } -/*! - Request a different orientation of the platform window. - - This tells the window manager how the window wants to be rotated in order - to be displayed, and how input events should be translated. - - As an example, a portrait compositor might rotate the window by 90 degrees, - if the window is in landscape. It will also rotate input coordinates from - portrait to landscape such that top right in portrait gets mapped to top - left in landscape. - - If the implementation doesn't support the requested orientation it should - signal this by returning an actual supported orientation. - - If the implementation doesn't support rotating the window at all it should - return Qt::PrimaryOrientation, this is also the default value. - - \sa QWindow::requestWindowOrientation() -*/ -Qt::ScreenOrientation QPlatformWindow::requestWindowOrientation(Qt::ScreenOrientation orientation) -{ - Q_UNUSED(orientation); - return Qt::PrimaryOrientation; -} - /*! Reimplement this function in subclass to return the device pixel ratio for the window. This is the ratio between physical pixels diff --git a/src/gui/kernel/qplatformwindow.h b/src/gui/kernel/qplatformwindow.h index 607c8e4035..5d7323ae2b 100644 --- a/src/gui/kernel/qplatformwindow.h +++ b/src/gui/kernel/qplatformwindow.h @@ -115,7 +115,6 @@ public: virtual void requestActivateWindow(); virtual void handleContentOrientationChange(Qt::ScreenOrientation orientation); - virtual Qt::ScreenOrientation requestWindowOrientation(Qt::ScreenOrientation orientation); virtual qreal devicePixelRatio() const; diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index aaf2b25ad4..b1fd2d3f6b 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -89,23 +89,16 @@ QT_BEGIN_NAMESPACE buffers to support double and triple buffering, as well as depth and stencil buffers. To release a window's memory resources, call the destroy() function. - \section1 Window and content orientation + \section1 Content orientation - QWindow has reportContentOrientationChange() and - requestWindowOrientation() that can be used to specify the - layout of the window contents in relation to the screen. The - window orientation determines the actual buffer layout of the - window, and the windowing system uses this value to rotate the - window before it ends up on the display, and to ensure that input - coordinates are in the correct coordinate space relative to the - application. - - On the other hand, the content orientation is simply a hint to the - windowing system about which orientation the window contents are in. - It's useful when you wish to keep the same buffer layout, but rotate - the contents instead, especially when doing rotation animations - between different orientations. The windowing system might use this - value to determine the layout of system popups or dialogs. + QWindow has reportContentOrientationChange() that can be used to specify + the layout of the window contents in relation to the screen. The content + orientation is simply a hint to the windowing system about which + orientation the window contents are in. It's useful when you wish to keep + the same window size, but rotate the contents instead, especially when + doing rotation animations between different orientations. The windowing + system might use this value to determine the layout of system popups or + dialogs. \section1 Visibility and Windowing system exposure. @@ -743,8 +736,6 @@ bool QWindow::isActive() const to compute the necessary transform. The default value is Qt::PrimaryOrientation - - \sa requestOrientation(), QScreen::orientation() */ void QWindow::reportContentOrientationChange(Qt::ScreenOrientation orientation) { @@ -765,46 +756,6 @@ Qt::ScreenOrientation QWindow::contentOrientation() const return d->contentOrientation; } -/*! - Requests the given window \a orientation. - - The window \a orientation specifies how the window should be rotated - by the window manager in order to be displayed. Input events will - be correctly mapped to the given \a orientation. - - The return value is false if the system doesn't support the given - \a orientation (for example when requesting a portrait orientation - on a device that only handles landscape buffers, typically a desktop - system). - - If the return value is false, call \l orientation() to get the actual - supported orientation. - - \sa orientation(), reportContentOrientationChange(), QScreen::orientation() -*/ -bool QWindow::requestOrientation(Qt::ScreenOrientation orientation) -{ - Q_D(QWindow); - if (!d->platformWindow) - create(); - Q_ASSERT(d->platformWindow); - d->windowOrientation = d->platformWindow->requestWindowOrientation(orientation); - return d->windowOrientation == orientation; -} - -/*! - Returns the actual window orientation. - - The default value is Qt::PrimaryOrientation. - - \sa requestOrientation() -*/ -Qt::ScreenOrientation QWindow::orientation() const -{ - Q_D(const QWindow); - return d->windowOrientation; -} - /*! Returns the ratio between physical pixels and device-independent pixels for the window. This value is dependent on the screen the window is on, diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 179db9964f..6dcd4ed477 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -157,9 +157,6 @@ public: qreal devicePixelRatio() const; - bool requestOrientation(Qt::ScreenOrientation orientation); - Qt::ScreenOrientation orientation() const; - Qt::WindowState windowState() const; void setWindowState(Qt::WindowState state); diff --git a/src/gui/kernel/qwindow_p.h b/src/gui/kernel/qwindow_p.h index fcc5540185..93179d99b6 100644 --- a/src/gui/kernel/qwindow_p.h +++ b/src/gui/kernel/qwindow_p.h @@ -89,7 +89,6 @@ public: , receivedExpose(false) , positionPolicy(WindowFrameExclusive) , contentOrientation(Qt::PrimaryOrientation) - , windowOrientation(Qt::PrimaryOrientation) , minimumSize(0, 0) , maximumSize(QWINDOWSIZE_MAX, QWINDOWSIZE_MAX) , modality(Qt::NonModal) @@ -136,7 +135,6 @@ public: bool receivedExpose; PositionPolicy positionPolicy; Qt::ScreenOrientation contentOrientation; - Qt::ScreenOrientation windowOrientation; QSize minimumSize; QSize maximumSize; diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index 55d8ceedf6..8962f00a75 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -731,10 +731,6 @@ void tst_QWindow::orientation() window.reportContentOrientationChange(Qt::PrimaryOrientation); QCOMPARE(window.contentOrientation(), Qt::PrimaryOrientation); - QVERIFY(!window.requestOrientation(Qt::LandscapeOrientation) || window.orientation() == Qt::LandscapeOrientation); - QVERIFY(!window.requestOrientation(Qt::PortraitOrientation) || window.orientation() == Qt::PortraitOrientation); - QVERIFY(!window.requestOrientation(Qt::PrimaryOrientation) || window.orientation() == Qt::PrimaryOrientation); - QSignalSpy spy(&window, SIGNAL(contentOrientationChanged(Qt::ScreenOrientation))); window.reportContentOrientationChange(Qt::LandscapeOrientation); QCOMPARE(spy.count(), 1); From fc7d2f60ffae502bed849695cb58df5686edf2fa Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Thu, 6 Dec 2012 20:48:00 +0100 Subject: [PATCH 096/386] doc: Remove documentation for removed TRUE and FALSE macros These macros were removed by 158f39ec7870c54ff3a15f72fe151062d6daa172 Change-Id: I2aabef1dd2c9cb3949040c167a4e5cf1a9390ba6 Reviewed-by: Oswald Buddenhagen --- src/corelib/global/qglobal.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index c1501db33d..3881b166b1 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -2512,26 +2512,6 @@ int qrand() directive. */ -/*! - \macro TRUE - \relates - \obsolete - - Synonym for \c true. - - \sa FALSE -*/ - -/*! - \macro FALSE - \relates - \obsolete - - Synonym for \c false. - - \sa TRUE -*/ - /*! \macro QABS(n) \relates From cd03f2a7728dd2551f2f8924b1520f6328d5f710 Mon Sep 17 00:00:00 2001 From: David Gil Date: Thu, 6 Dec 2012 23:28:40 +0100 Subject: [PATCH 097/386] Fix typos and style in QToolBar documentation Change-Id: Ic4b4e18746382bae1b6dae009e1e5663c7a21a84 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/widgets/widgets/qtoolbar.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/widgets/widgets/qtoolbar.cpp b/src/widgets/widgets/qtoolbar.cpp index 2681b0ab4e..80d42e4c95 100644 --- a/src/widgets/widgets/qtoolbar.cpp +++ b/src/widgets/widgets/qtoolbar.cpp @@ -273,7 +273,7 @@ bool QToolBarPrivate::mousePressEvent(QMouseEvent *event) q->initStyleOption(&opt); if (q->style()->subElementRect(QStyle::SE_ToolBarHandle, &opt, q).contains(event->pos()) == false) { #ifdef Q_WS_MAC - // When using the unified toolbar on Mac OS X the user can can click and + // When using the unified toolbar on Mac OS X, the user can click and // drag between toolbar contents to move the window. Make this work by // implementing the standard mouse-dragging code and then call // window->move() in mouseMoveEvent below. @@ -421,13 +421,13 @@ void QToolBarPrivate::plug(const QRect &r) or insertAction(). Groups of buttons can be separated using addSeparator() or insertSeparator(). If a toolbar button is not appropriate, a widget can be inserted instead using addWidget() or - insertWidget(); examples of suitable widgets are QSpinBox, - QDoubleSpinBox, and QComboBox. When a toolbar button is pressed it + insertWidget(). Examples of suitable widgets are QSpinBox, + QDoubleSpinBox, and QComboBox. When a toolbar button is pressed, it emits the actionTriggered() signal. - A toolbar can be fixed in place in a particular area (e.g. at the - top of the window), or it can be movable (isMovable()) between - toolbar areas; see allowedAreas() and isAreaAllowed(). + A toolbar can be fixed in place in a particular area (e.g., at the + top of the window), or it can be movable between toolbar areas; + see setMovable(), isMovable(), allowedAreas() and isAreaAllowed(). When a toolbar is resized in such a way that it is too small to show all the items it contains, an extension button will appear as @@ -454,7 +454,7 @@ void QToolBarPrivate::plug(const QRect &r) \fn void QToolBar::addAction(QAction *action) \overload - Appends the action \a action to the toolbar's list of actions. + Appends the \a action to the toolbar's list of actions. \sa QMenu::addAction(), QWidget::addAction() */ @@ -464,7 +464,7 @@ void QToolBarPrivate::plug(const QRect &r) This signal is emitted when an action in this toolbar is triggered. This happens when the action's tool button is pressed, or when the - action is triggered in some other way outside the tool bar. The parameter + action is triggered in some other way outside the toolbar. The parameter holds the triggered \a action. */ @@ -481,7 +481,7 @@ void QToolBarPrivate::plug(const QRect &r) /*! \fn void QToolBar::iconSizeChanged(const QSize &iconSize) - This signal is emitted when the icon size is changed. The \a + This signal is emitted when the icon size is changed. The \a iconSize parameter holds the toolbar's new icon size. \sa iconSize, QMainWindow::iconSize @@ -501,7 +501,7 @@ void QToolBarPrivate::plug(const QRect &r) \fn void QToolBar::orientationChanged(Qt::Orientation orientation) This signal is emitted when the orientation of the toolbar changes. - The new orientation is specified by the \a orientation given. + The \a orientation parameter holds the toolbar's new orientation. \sa orientation */ @@ -583,7 +583,7 @@ QToolBar::~QToolBar() /*! \property QToolBar::movable \brief whether the user can move the toolbar within the toolbar area, - or between toolbar areas + or between toolbar areas. By default, this property is true. @@ -681,8 +681,8 @@ Qt::ToolBarAreas QToolBar::allowedAreas() const This function should not be used when the toolbar is managed by QMainWindow. You can use QMainWindow::addToolBar() or - QMainWindow::insertToolBar() if you wish to move a toolbar (that - is already added to a main window) to another Qt::ToolBarArea. + QMainWindow::insertToolBar() if you wish to move a toolbar that + is already added to a main window to another Qt::ToolBarArea. */ void QToolBar::setOrientation(Qt::Orientation orientation) @@ -833,7 +833,7 @@ QAction *QToolBar::addAction(const QString &text, /*! \overload - Creates a new action with the icon \a icon and text \a text. This + Creates a new action with the given \a icon and \a text. This action is added to the end of the toolbar. The action's \l{QAction::triggered()}{triggered()} signal is connected to \a member in \a receiver. @@ -880,7 +880,7 @@ QAction *QToolBar::insertSeparator(QAction *before) The toolbar takes ownership of \a widget. - If you add a QToolButton with this method, the tools bar's + If you add a QToolButton with this method, the toolbar's Qt::ToolButtonStyle will not be respected. \note You should use QAction::setVisible() to change the From 425367f89255764234313889b403bf53b0993e0a Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Thu, 6 Dec 2012 23:02:00 +0000 Subject: [PATCH 098/386] Make the documentation more explicit an talkative MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifa4b7c3c5f8ec384addbb80a9436d55b32d8bc51 Reviewed-by: Lars Knoll Reviewed-by: Samuel Rødal --- src/gui/math3d/qmatrix4x4.cpp | 16 +++++++++------- src/gui/math3d/qmatrix4x4.h | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/gui/math3d/qmatrix4x4.cpp b/src/gui/math3d/qmatrix4x4.cpp index d8c2116b0d..e0f401bc10 100644 --- a/src/gui/math3d/qmatrix4x4.cpp +++ b/src/gui/math3d/qmatrix4x4.cpp @@ -1458,27 +1458,29 @@ void QMatrix4x4::frustum(float left, float right, float bottom, float top, float /*! Multiplies this matrix by another that applies a perspective - projection. The field of view will be \a angle degrees within - a window with a given \a aspect ratio. The projection will - have the specified \a nearPlane and \a farPlane clipping planes. + projection. The vertical field of view will be \a verticalAngle degrees + within a window with a given \a aspectRatio that determines the horizontal + field of view. + The projection will have the specified \a nearPlane and \a farPlane clipping + planes which are the distances from the viewer to the corresponding planes. \sa ortho(), frustum() */ -void QMatrix4x4::perspective(float angle, float aspect, float nearPlane, float farPlane) +void QMatrix4x4::perspective(float verticalAngle, float aspectRatio, float nearPlane, float farPlane) { // Bail out if the projection volume is zero-sized. - if (nearPlane == farPlane || aspect == 0.0f) + if (nearPlane == farPlane || aspectRatio == 0.0f) return; // Construct the projection. QMatrix4x4 m(1); - float radians = (angle / 2.0f) * M_PI / 180.0f; + float radians = (verticalAngle / 2.0f) * M_PI / 180.0f; float sine = sinf(radians); if (sine == 0.0f) return; float cotan = cosf(radians) / sine; float clip = farPlane - nearPlane; - m.m[0][0] = cotan / aspect; + m.m[0][0] = cotan / aspectRatio; m.m[1][0] = 0.0f; m.m[2][0] = 0.0f; m.m[3][0] = 0.0f; diff --git a/src/gui/math3d/qmatrix4x4.h b/src/gui/math3d/qmatrix4x4.h index bbad04b8b1..df98f0291a 100644 --- a/src/gui/math3d/qmatrix4x4.h +++ b/src/gui/math3d/qmatrix4x4.h @@ -146,7 +146,7 @@ public: void ortho(const QRectF& rect); void ortho(float left, float right, float bottom, float top, float nearPlane, float farPlane); void frustum(float left, float right, float bottom, float top, float nearPlane, float farPlane); - void perspective(float angle, float aspect, float nearPlane, float farPlane); + void perspective(float verticalAngle, float aspectRatio, float nearPlane, float farPlane); #ifndef QT_NO_VECTOR3D void lookAt(const QVector3D& eye, const QVector3D& center, const QVector3D& up); #endif From 0c5e2328284e97a293e1153c6ad1bcd2706e044a Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Wed, 5 Dec 2012 11:42:58 +0100 Subject: [PATCH 099/386] Compile with QT_NO_CURSOR. Mostly straightforward, the a11y changes might look a bit drastic, but the base class QAccessibleTextWidget was already disabled in this case, so we have to obviously take out its sub-classes as well. Change-Id: I682ace20d6938688ddb1da23c3463f3c025fab8e Reviewed-by: Marc Mutz Reviewed-by: Tasuku Suzuki Reviewed-by: Frederik Gladhorn Reviewed-by: Lars Knoll Reviewed-by: Nicolas Arnaud-Cormos --- src/gui/kernel/qplatformcursor.h | 2 ++ src/platformsupport/dnd/qsimpledrag.cpp | 2 ++ src/platformsupport/fbconvenience/qfbcursor.cpp | 2 ++ src/platformsupport/fbconvenience/qfbcursor_p.h | 2 ++ src/plugins/accessible/widgets/main.cpp | 4 ++-- src/plugins/accessible/widgets/qaccessiblewidgets.cpp | 8 ++++---- src/plugins/accessible/widgets/qaccessiblewidgets.h | 6 +++--- src/plugins/platforms/directfb/qdirectfbcursor.cpp | 4 ++++ src/plugins/platforms/directfb/qdirectfbcursor.h | 4 ++++ src/plugins/platforms/eglfs/qeglfscursor.cpp | 4 ++++ src/plugins/platforms/eglfs/qeglfscursor.h | 4 ++++ src/plugins/platforms/xcb/qxcbcursor.cpp | 2 ++ src/plugins/platforms/xcb/qxcbcursor.h | 6 ++++++ src/widgets/kernel/qwidget.cpp | 2 ++ 14 files changed, 43 insertions(+), 9 deletions(-) diff --git a/src/gui/kernel/qplatformcursor.h b/src/gui/kernel/qplatformcursor.h index 138c5fdb58..babb91d9fd 100644 --- a/src/gui/kernel/qplatformcursor.h +++ b/src/gui/kernel/qplatformcursor.h @@ -92,7 +92,9 @@ public: // input methods virtual void pointerEvent(const QMouseEvent & event) { Q_UNUSED(event); } +#ifndef QT_NO_CURSOR virtual void changeCursor(QCursor * windowCursor, QWindow * window) = 0; +#endif virtual QPoint pos() const; virtual void setPos(const QPoint &pos); diff --git a/src/platformsupport/dnd/qsimpledrag.cpp b/src/platformsupport/dnd/qsimpledrag.cpp index 18e6b97e3c..efaede4c5f 100644 --- a/src/platformsupport/dnd/qsimpledrag.cpp +++ b/src/platformsupport/dnd/qsimpledrag.cpp @@ -237,6 +237,7 @@ void QBasicDrag::exitDndEventLoop() void QBasicDrag::updateCursor(Qt::DropAction action) { +#ifndef QT_NO_CURSOR Qt::CursorShape cursorShape = Qt::ForbiddenCursor; if (canDrop()) { switch (action) { @@ -267,6 +268,7 @@ void QBasicDrag::updateCursor(Qt::DropAction action) } } } +#endif updateAction(action); } diff --git a/src/platformsupport/fbconvenience/qfbcursor.cpp b/src/platformsupport/fbconvenience/qfbcursor.cpp index f3b8ecbf50..bc44055721 100644 --- a/src/platformsupport/fbconvenience/qfbcursor.cpp +++ b/src/platformsupport/fbconvenience/qfbcursor.cpp @@ -116,6 +116,7 @@ void QFbCursor::setCursor(const uchar *data, const uchar *mask, int width, int h mGraphic->set(data, mask, width, height, hotX, hotY); } +#ifndef QT_NO_CURSOR void QFbCursor::changeCursor(QCursor * widgetCursor, QWindow *window) { Q_UNUSED(window); @@ -134,6 +135,7 @@ void QFbCursor::changeCursor(QCursor * widgetCursor, QWindow *window) if (mOnScreen || mScreen->geometry().intersects(mCurrentRect.translated(mScreenOffset))) setDirty(); } +#endif QT_END_NAMESPACE diff --git a/src/platformsupport/fbconvenience/qfbcursor_p.h b/src/platformsupport/fbconvenience/qfbcursor_p.h index 9468e647aa..a56e352533 100644 --- a/src/platformsupport/fbconvenience/qfbcursor_p.h +++ b/src/platformsupport/fbconvenience/qfbcursor_p.h @@ -59,7 +59,9 @@ public: // input methods virtual void pointerEvent(const QMouseEvent &event); +#ifndef QT_NO_CURSOR virtual void changeCursor(QCursor *widgetCursor, QWindow *window); +#endif virtual void setDirty() { mDirty = true; /* screen->setDirty(QRect()); */ } virtual bool isDirty() const { return mDirty; } diff --git a/src/plugins/accessible/widgets/main.cpp b/src/plugins/accessible/widgets/main.cpp index 55b1d375dd..8392ef3a6d 100644 --- a/src/plugins/accessible/widgets/main.cpp +++ b/src/plugins/accessible/widgets/main.cpp @@ -199,7 +199,7 @@ QAccessibleInterface *AccessibleFactory::create(const QString &classname, QObjec } else if (classname == QLatin1String("QSplitterHandle")) { iface = new QAccessibleWidget(widget, QAccessible::Grip); #endif -#ifndef QT_NO_TEXTEDIT +#if !defined(QT_NO_TEXTEDIT) && !defined(QT_NO_CURSOR) } else if (classname == QLatin1String("QTextEdit")) { iface = new QAccessibleTextEdit(widget); } else if (classname == QLatin1String("QPlainTextEdit")) { @@ -233,7 +233,7 @@ QAccessibleInterface *AccessibleFactory::create(const QString &classname, QObjec } else if (classname == QLatin1String("QRubberBand")) { iface = new QAccessibleWidget(widget, QAccessible::Border); #endif -#ifndef QT_NO_TEXTBROWSER +#if !defined(QT_NO_TEXTBROWSER) && !defined(QT_NO_CURSOR) } else if (classname == QLatin1String("QTextBrowser")) { iface = new QAccessibleTextBrowser(widget); #endif diff --git a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp index 56e6166e85..e93a82c0ce 100644 --- a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp +++ b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp @@ -99,7 +99,7 @@ QList childWidgets(const QWidget *widget, bool includeTopLevel) return widgets; } -#ifndef QT_NO_TEXTEDIT +#if !defined(QT_NO_TEXTEDIT) && !defined(QT_NO_CURSOR) QAccessiblePlainTextEdit::QAccessiblePlainTextEdit(QWidget* o) :QAccessibleTextWidget(o) @@ -292,7 +292,7 @@ void QAccessibleTextEdit::scrollToSubstring(int startIndex, int endIndex) qWarning("AccessibleTextEdit::scrollToSubstring failed!"); } -#endif // QT_NO_TEXTEDIT +#endif // QT_NO_TEXTEDIT && QT_NO_CURSOR #ifndef QT_NO_STACKEDWIDGET // ======================= QAccessibleStackedWidget ====================== @@ -488,7 +488,7 @@ QAccessibleDialogButtonBox::QAccessibleDialogButtonBox(QWidget *widget) #endif // QT_NO_DIALOGBUTTONBOX -#ifndef QT_NO_TEXTBROWSER +#if !defined(QT_NO_TEXTBROWSER) && !defined(QT_NO_CURSOR) QAccessibleTextBrowser::QAccessibleTextBrowser(QWidget *widget) : QAccessibleTextEdit(widget) { @@ -499,7 +499,7 @@ QAccessible::Role QAccessibleTextBrowser::role() const { return QAccessible::StaticText; } -#endif // QT_NO_TEXTBROWSER +#endif // QT_NO_TEXTBROWSER && QT_NO_CURSOR #ifndef QT_NO_CALENDARWIDGET // ===================== QAccessibleCalendarWidget ======================== diff --git a/src/plugins/accessible/widgets/qaccessiblewidgets.h b/src/plugins/accessible/widgets/qaccessiblewidgets.h index e14b89a63b..fd76dbd076 100644 --- a/src/plugins/accessible/widgets/qaccessiblewidgets.h +++ b/src/plugins/accessible/widgets/qaccessiblewidgets.h @@ -122,7 +122,6 @@ protected: virtual QTextDocument *textDocument() const = 0; virtual QWidget *viewport() const = 0; }; -#endif //QT_NO_CURSOR #ifndef QT_NO_TEXTEDIT class QAccessiblePlainTextEdit : public QAccessibleTextWidget @@ -177,6 +176,7 @@ protected: QWidget *viewport() const; }; #endif // QT_NO_TEXTEDIT +#endif //QT_NO_CURSOR class QAccessibleStackedWidget : public QAccessibleWidget { @@ -245,7 +245,7 @@ public: explicit QAccessibleDialogButtonBox(QWidget *widget); }; -#ifndef QT_NO_TEXTBROWSER +#if !defined(QT_NO_TEXTBROWSER) && !defined(QT_NO_CURSOR) class QAccessibleTextBrowser : public QAccessibleTextEdit { public: @@ -253,7 +253,7 @@ public: QAccessible::Role role() const; }; -#endif // QT_NO_TEXTBROWSER +#endif // QT_NO_TEXTBROWSER && QT_NO_CURSOR #ifndef QT_NO_CALENDARWIDGET class QAccessibleCalendarWidget : public QAccessibleWidget diff --git a/src/plugins/platforms/directfb/qdirectfbcursor.cpp b/src/plugins/platforms/directfb/qdirectfbcursor.cpp index 1ff71f3e63..b04848ec40 100644 --- a/src/plugins/platforms/directfb/qdirectfbcursor.cpp +++ b/src/plugins/platforms/directfb/qdirectfbcursor.cpp @@ -47,9 +47,12 @@ QT_BEGIN_NAMESPACE QDirectFBCursor::QDirectFBCursor(QPlatformScreen *screen) : m_screen(screen) { +#ifndef QT_NO_CURSOR m_image.reset(new QPlatformCursorImage(0, 0, 0, 0, 0, 0)); +#endif } +#ifndef QT_NO_CURSOR void QDirectFBCursor::changeCursor(QCursor *cursor, QWindow *) { int xSpot; @@ -82,5 +85,6 @@ void QDirectFBCursor::changeCursor(QCursor *cursor, QWindow *) layer->SetCursorShape(layer, surface, xSpot, ySpot); layer->SetCooperativeLevel(layer, DLSCL_SHARED); } +#endif QT_END_NAMESPACE diff --git a/src/plugins/platforms/directfb/qdirectfbcursor.h b/src/plugins/platforms/directfb/qdirectfbcursor.h index bd11b97467..21f205a5a1 100644 --- a/src/plugins/platforms/directfb/qdirectfbcursor.h +++ b/src/plugins/platforms/directfb/qdirectfbcursor.h @@ -56,10 +56,14 @@ class QDirectFBCursor : public QPlatformCursor { public: QDirectFBCursor(QPlatformScreen *screen); +#ifndef QT_NO_CURSOR void changeCursor(QCursor *cursor, QWindow *window); +#endif private: +#ifndef QT_NO_CURSOR QScopedPointer m_image; +#endif QPlatformScreen *m_screen; }; diff --git a/src/plugins/platforms/eglfs/qeglfscursor.cpp b/src/plugins/platforms/eglfs/qeglfscursor.cpp index 85bc8679f2..b29849226f 100644 --- a/src/plugins/platforms/eglfs/qeglfscursor.cpp +++ b/src/plugins/platforms/eglfs/qeglfscursor.cpp @@ -55,8 +55,10 @@ QEglFSCursor::QEglFSCursor(QEglFSScreen *screen) initCursorAtlas(); // initialize the cursor +#ifndef QT_NO_CURSOR QCursor cursor(Qt::ArrowCursor); setCurrentCursor(&cursor); +#endif } QEglFSCursor::~QEglFSCursor() @@ -183,6 +185,7 @@ void QEglFSCursor::initCursorAtlas() m_cursorAtlas.image = image; } +#ifndef QT_NO_CURSOR void QEglFSCursor::changeCursor(QCursor *cursor, QWindow *window) { Q_UNUSED(window); @@ -221,6 +224,7 @@ bool QEglFSCursor::setCurrentCursor(QCursor *cursor) return true; } +#endif void QEglFSCursor::update(const QRegion &rgn) { diff --git a/src/plugins/platforms/eglfs/qeglfscursor.h b/src/plugins/platforms/eglfs/qeglfscursor.h index 9a91b73894..1c82abdb44 100644 --- a/src/plugins/platforms/eglfs/qeglfscursor.h +++ b/src/plugins/platforms/eglfs/qeglfscursor.h @@ -57,7 +57,9 @@ public: QEglFSCursor(QEglFSScreen *screen); ~QEglFSCursor(); +#ifndef QT_NO_CURSOR void changeCursor(QCursor *cursor, QWindow *widget) Q_DECL_OVERRIDE; +#endif void pointerEvent(const QMouseEvent &event) Q_DECL_OVERRIDE; QPoint pos() const Q_DECL_OVERRIDE; @@ -68,7 +70,9 @@ public: virtual void paintOnScreen(); protected: +#ifndef QT_NO_CURSOR bool setCurrentCursor(QCursor *cursor); +#endif void draw(const QRectF &rect); void update(const QRegion ®ion); diff --git a/src/plugins/platforms/xcb/qxcbcursor.cpp b/src/plugins/platforms/xcb/qxcbcursor.cpp index c1cfbd02d6..e1dfe3d6c0 100644 --- a/src/plugins/platforms/xcb/qxcbcursor.cpp +++ b/src/plugins/platforms/xcb/qxcbcursor.cpp @@ -291,6 +291,7 @@ QXcbCursor::~QXcbCursor() xcb_close_font(xcb_connection(), cursorFont); } +#ifndef QT_NO_CURSOR void QXcbCursor::changeCursor(QCursor *cursor, QWindow *widget) { QXcbWindow *w = 0; @@ -507,6 +508,7 @@ xcb_cursor_t QXcbCursor::createBitmapCursor(QCursor *cursor) } return c; } +#endif void QXcbCursor::queryPointer(QXcbConnection *c, xcb_window_t *rootWin, QPoint *pos, int *keybMask) { diff --git a/src/plugins/platforms/xcb/qxcbcursor.h b/src/plugins/platforms/xcb/qxcbcursor.h index 4c74034988..a4f3bf11ee 100644 --- a/src/plugins/platforms/xcb/qxcbcursor.h +++ b/src/plugins/platforms/xcb/qxcbcursor.h @@ -52,20 +52,26 @@ class QXcbCursor : public QXcbObject, public QPlatformCursor public: QXcbCursor(QXcbConnection *conn, QXcbScreen *screen); ~QXcbCursor(); +#ifndef QT_NO_CURSOR void changeCursor(QCursor *cursor, QWindow *widget); +#endif QPoint pos() const; void setPos(const QPoint &pos); static void queryPointer(QXcbConnection *c, xcb_window_t *rootWin, QPoint *pos, int *keybMask = 0); private: +#ifndef QT_NO_CURSOR xcb_cursor_t createFontCursor(int cshape); xcb_cursor_t createBitmapCursor(QCursor *cursor); xcb_cursor_t createNonStandardCursor(int cshape); +#endif QXcbScreen *m_screen; +#ifndef QT_NO_CURSOR QMap m_shapeCursorMap; QMap m_bitmapCursorMap; +#endif }; QT_END_NAMESPACE diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index ace25fa78b..232524bbb2 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -3069,11 +3069,13 @@ void QWidgetPrivate::setEnabled_helper(bool enable) qt_x11_enforce_cursor(q); } #endif +#ifndef QT_NO_CURSOR if (q->testAttribute(Qt::WA_SetCursor) || q->isWindow()) { // enforce the windows behavior of clearing the cursor on // disabled widgets qt_qpa_set_cursor(q, false); } +#endif #if defined(Q_WS_MAC) setEnabled_helper_sys(enable); #endif From e84e86dc8cdab602ed19c18829e57230687a427c Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Thu, 6 Dec 2012 17:46:07 +0100 Subject: [PATCH 100/386] Update QNSView geometry on window resize. Ideally this should not be required since NSWindow should resize the content view automatically. However, in the case of modal QDialogs this does not happen. Add call to updateGeometry in windowDidResize as a workaround, and remove code which called QNSView::setFrameSize with the current size. This will cause duplicate handleGeometryChange calls in the non-qdialog case, add a test to see if the geometry really has changed to prevent that. Change-Id: I29bea23b2ab72f923aeadf8db8cb9131ae177a28 Reviewed-by: Liang Qi --- src/plugins/platforms/cocoa/qcocoawindow.mm | 4 +--- src/plugins/platforms/cocoa/qnsview.mm | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm index 8ef489e28e..ffee8528f0 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.mm +++ b/src/plugins/platforms/cocoa/qcocoawindow.mm @@ -590,9 +590,7 @@ void QCocoaWindow::windowDidResize() if (!m_nsWindow) return; - NSRect rect = [[m_nsWindow contentView]frame]; - // Call setFrameSize which will trigger a frameDidChangeNotification on QNSView. - [[m_nsWindow contentView] setFrameSize:rect.size]; + [m_contentView updateGeometry]; } void QCocoaWindow::windowWillClose() diff --git a/src/plugins/platforms/cocoa/qnsview.mm b/src/plugins/platforms/cocoa/qnsview.mm index eea65cf8c0..1f19b07904 100644 --- a/src/plugins/platforms/cocoa/qnsview.mm +++ b/src/plugins/platforms/cocoa/qnsview.mm @@ -185,6 +185,9 @@ static QTouchDevice *touchDevice = 0; geometry = qt_mac_toQRect([self frame]); } + if (geometry == m_platformWindow->geometry()) + return; + #ifdef QT_COCOA_ENABLE_WINDOW_DEBUG qDebug() << "QNSView::udpateGeometry" << m_platformWindow << geometry; #endif From 2f6e967eb75e87e744ffbad6de89e76fc0bb0a37 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Wed, 5 Dec 2012 14:55:31 +0100 Subject: [PATCH 101/386] Deleted wrong statement about nr Qt JSON classes Change-Id: I58d8ab73d3018d9712ec9485e0b8e52a5a75da5e Reviewed-by: Robin Burchell Reviewed-by: Jerome Pasion --- src/corelib/doc/src/json.qdoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/doc/src/json.qdoc b/src/corelib/doc/src/json.qdoc index ff06b48008..109102f190 100644 --- a/src/corelib/doc/src/json.qdoc +++ b/src/corelib/doc/src/json.qdoc @@ -99,8 +99,6 @@ A valid JSON document is either an array or an object, so a document always starts with a square or curly bracket. - JSON support in Qt consists of a set of 4 classes. - \section1 The JSON Classes From 9650a5aa25b5750c571326380490c191c62fd6a1 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Tue, 4 Dec 2012 15:19:27 +0100 Subject: [PATCH 102/386] Avoid backing store color space conversions. We want the Qt backing store to be in the device color space by default. This will avoid colour space conversions when blitting it to screen, at the cost of a potential loss in color accuracy. As it turns out, CGColorSpaceCreateDeviceRGB no longer crates a device color space but rather a generic color space. (Since 10.4). Create the color space with a system profile instead. Accurate color representation needs to be supported at some point, but this fast path should be the default. Change-Id: I7ebb77b36f81f66119d8c2ef464723401ec1d1e8 Reviewed-by: Gabriel de Dietrich Reviewed-by: Gunnar Sletta --- src/plugins/platforms/cocoa/qcocoahelpers.mm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.mm b/src/plugins/platforms/cocoa/qcocoahelpers.mm index 008d9da2cf..0d0d2eb106 100644 --- a/src/plugins/platforms/cocoa/qcocoahelpers.mm +++ b/src/plugins/platforms/cocoa/qcocoahelpers.mm @@ -789,7 +789,21 @@ CGImageRef qt_mac_toCGImage(const QImage &qImage, bool isMask, uchar **dataCopy) NULL, false); } else { - CGColorSpaceRef cgColourSpaceRef = CGColorSpaceCreateDeviceRGB(); + // Try get a device color space. Using the device color space means + // that the CGImage can be drawn to screen without per-pixel color + // space conversion, at the cost of less color accuracy. + CGColorSpaceRef cgColourSpaceRef = 0; + CMProfileRef sysProfile; + if (CMGetSystemProfile(&sysProfile) == noErr) + { + cgColourSpaceRef = CGColorSpaceCreateWithPlatformColorSpace(sysProfile); + CMCloseProfile(sysProfile); + } + + // Fall back to Generic RGB if a profile was not found. + if (!cgColourSpaceRef) + cgColourSpaceRef = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); + cgImage = CGImageCreate(width, height, colorBufferSize, From 2e142143579c0db098d966d40ddc871c9c7119f9 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Tue, 4 Dec 2012 15:26:02 +0100 Subject: [PATCH 103/386] Use the "copy" blend mode for backingstore drawing The default is a "source over", but we want to completely replace the destination pixels. (Which is slightly faster). Change-Id: I4916765258a2236f70f58a8e20b06f80739183c1 Reviewed-by: Gabriel de Dietrich Reviewed-by: Gunnar Sletta --- src/plugins/platforms/cocoa/qnsview.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/cocoa/qnsview.mm b/src/plugins/platforms/cocoa/qnsview.mm index 1f19b07904..f0ece54d20 100644 --- a/src/plugins/platforms/cocoa/qnsview.mm +++ b/src/plugins/platforms/cocoa/qnsview.mm @@ -316,6 +316,7 @@ static QTouchDevice *touchDevice = 0; ); CGImageRef bsCGImage = m_backingStore->getBackingStoreCGImage(); CGImageRef cleanImg = CGImageCreateWithImageInRect(bsCGImage, backingStoreRect); + CGContextSetBlendMode(cgContext, kCGBlendModeCopy); CGContextDrawImage(cgContext, dirtyWindowRect, cleanImg); // Clean-up: From 13fcd1c342b7d60640fb82956149d00f1ee2f3c7 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Tue, 4 Dec 2012 17:02:59 +0100 Subject: [PATCH 104/386] Set CGImage format when converting from QImage. Set the CGImage format based on QImage::format(). Handle8-bit per component (A)RGB. Change-Id: I041b0ee53d3943a0aaf9e813eb0a235c4de619dd Reviewed-by: Gabriel de Dietrich Reviewed-by: Gunnar Sletta --- src/plugins/platforms/cocoa/qcocoahelpers.mm | 23 +++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.mm b/src/plugins/platforms/cocoa/qcocoahelpers.mm index 0d0d2eb106..c1146612a6 100644 --- a/src/plugins/platforms/cocoa/qcocoahelpers.mm +++ b/src/plugins/platforms/cocoa/qcocoahelpers.mm @@ -804,13 +804,34 @@ CGImageRef qt_mac_toCGImage(const QImage &qImage, bool isMask, uchar **dataCopy) if (!cgColourSpaceRef) cgColourSpaceRef = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); + // Create a CGBitmapInfo contiaining the image format. + // Support the 8-bit per component (A)RGB formats. + CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Little; + switch (qImage.format()) { + case QImage::Format_ARGB32_Premultiplied : + bitmapInfo |= kCGImageAlphaPremultipliedFirst; + break; + case QImage::Format_ARGB32 : + bitmapInfo |= kCGImageAlphaFirst; + break; + case QImage::Format_RGB32 : + bitmapInfo |= kCGImageAlphaNoneSkipFirst; + break; + case QImage::Format_RGB888 : + bitmapInfo |= kCGImageAlphaNone; + break; + default: + qWarning() << "qt_mac_toCGImage: Unsupported image format" << qImage.format(); + break; + } + cgImage = CGImageCreate(width, height, colorBufferSize, bitDepth, bytesPrLine, cgColourSpaceRef, - kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirst, + bitmapInfo, cgDataProviderRef, NULL, false, From 035c3b57812018acfbdce3d4509695332d5ed652 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Fri, 7 Dec 2012 12:04:29 +0100 Subject: [PATCH 105/386] Doc: removed control code+minor rephrasing QTBUG-28382 Change-Id: Ic166fcb283d3339853c68a71be9aebd6cfed0523 Reviewed-by: Martin Smith Reviewed-by: Mitch Curtis Reviewed-by: Jerome Pasion --- src/sql/doc/src/sql-programming.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sql/doc/src/sql-programming.qdoc b/src/sql/doc/src/sql-programming.qdoc index aa2eb243b8..ab8eee5b88 100644 --- a/src/sql/doc/src/sql-programming.qdoc +++ b/src/sql/doc/src/sql-programming.qdoc @@ -76,7 +76,7 @@ \section2 Driver Layer - This comprises the classes QSqlDriver, QSqlDriverCreator, + This comprises the classes QSqlDriver, QSqlDriverCreator, QSqlDriverCreatorBase, QSqlDriverPlugin, and QSqlResult. This layer provides the low-level bridge between the specific databases @@ -98,8 +98,8 @@ These classes are designed to work with Qt's \l{Model/View Programming}{model/view framework}. - Note that to use any of these classes, a QCoreApplication object - must have been instantiated first. + Note that a QCoreApplication object must be instantiated before + using any of these classes. */ /*! From 25f903bf28216d62b32411c37ba5f60da07aa10a Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 7 Dec 2012 10:13:24 +0100 Subject: [PATCH 106/386] Topologically sort $${MODULE}.depends when generating cmake files. The contents of this eventually go into a CMake target property IMPORTED_LINK_INTERFACE_LIBRARIES, which seems to expect sorted input. Usually the contents is generated by CMake itself, so generating content it expects is reasonable. This fixes the qtactiveqt cmake unit test with MingW on linux. Change-Id: I2a540bea5c3ac214ad4e1dfedfb7cbd2f863472b Reviewed-by: Oswald Buddenhagen --- mkspecs/features/create_cmake.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index 9548c5e0ff..3aec63acf5 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -17,7 +17,7 @@ defineReplace(cmakeModuleList) { CMAKE_MODULE_NAME = $$cmakeModuleName($${MODULE}) -CMAKE_MODULE_DEPS = $$cmakeModuleList($$eval(QT.$${MODULE}.depends)) +CMAKE_MODULE_DEPS = $$cmakeModuleList($$sort_depends(QT.$${MODULE}.depends, QT.)) CMAKE_PARTIAL_MODULE_DEPS = $$replace(CMAKE_MODULE_DEPS, ";", ";Qt5::") !isEmpty(CMAKE_PARTIAL_MODULE_DEPS):CMAKE_QT5_MODULE_DEPS = "Qt5::$${CMAKE_PARTIAL_MODULE_DEPS}" From c4642b45cf892cd5ced10a6e6bf05275beb46039 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 7 Dec 2012 10:15:36 +0100 Subject: [PATCH 107/386] Only generate -fPIE on unix. This follows the same logic used to set bsymbolic_functions. Change-Id: I9300eab8a1b6673c4409b5dd07b40123fdf00d69 Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- mkspecs/features/create_cmake.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index 3aec63acf5..c222ed4e81 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -58,7 +58,7 @@ contains(CMAKE_DATA_DIR, "$${CMAKE_QT_INSTALL_PREFIX_ESCAPED}.*") { static|staticlib:CMAKE_STATIC_TYPE = true -contains(QT_CONFIG, reduce_relocations):CMAKE_ADD_FPIE_FLAGS = "true" +unix:contains(QT_CONFIG, reduce_relocations):CMAKE_ADD_FPIE_FLAGS = "true" CMAKE_MKSPEC = $$[QMAKE_XSPEC] From b9321a1a5f1b255e5e5860edb42c63a4e4da6804 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Mon, 22 Oct 2012 10:41:28 +0200 Subject: [PATCH 108/386] Implement Cocoa KeyMapper. Port Qt 4 implementation. Shortcuts such as shift-5 should now work. Change-Id: I1d8c4c6c4a903142361996b558ee31c8549fcef6 Reviewed-by: Friedemann Kleint Reviewed-by: Oliver Wolff Reviewed-by: Lars Knoll --- src/plugins/platforms/cocoa/cocoa.pro | 2 + .../platforms/cocoa/qcocoaintegration.h | 4 + .../platforms/cocoa/qcocoaintegration.mm | 6 + src/plugins/platforms/cocoa/qcocoakeymapper.h | 111 +++++ .../platforms/cocoa/qcocoakeymapper.mm | 468 ++++++++++++++++++ src/plugins/platforms/cocoa/qnsview.mm | 15 +- 6 files changed, 604 insertions(+), 2 deletions(-) create mode 100644 src/plugins/platforms/cocoa/qcocoakeymapper.h create mode 100644 src/plugins/platforms/cocoa/qcocoakeymapper.mm diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro index 78fcf20afc..f709bef633 100644 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ b/src/plugins/platforms/cocoa/cocoa.pro @@ -38,6 +38,7 @@ OBJECTIVE_SOURCES += main.mm \ qcocoaservices.mm \ qcocoasystemtrayicon.mm \ qcocoaintrospection.mm \ + qcocoakeymapper.mm \ HEADERS += qcocoaintegration.h \ qcocoatheme.h \ @@ -72,6 +73,7 @@ HEADERS += qcocoaintegration.h \ qcocoaservices.h \ qcocoasystemtrayicon.h \ qcocoaintrospection.h \ + qcocoakeymapper.h \ RESOURCES += qcocoaresources.qrc diff --git a/src/plugins/platforms/cocoa/qcocoaintegration.h b/src/plugins/platforms/cocoa/qcocoaintegration.h index 1bb46ea3ea..e455a3552e 100644 --- a/src/plugins/platforms/cocoa/qcocoaintegration.h +++ b/src/plugins/platforms/cocoa/qcocoaintegration.h @@ -49,6 +49,7 @@ #include "qcocoaclipboard.h" #include "qcocoadrag.h" #include "qcocoaservices.h" +#include "qcocoakeymapper.h" #include #include @@ -121,6 +122,8 @@ public: QPlatformServices *services() const; QVariant styleHint(StyleHint hint) const; + QList possibleKeys(const QKeyEvent *event) const; + void updateScreens(); private: @@ -138,6 +141,7 @@ private: QScopedPointer mCocoaDrag; QScopedPointer mNativeInterface; QScopedPointer mServices; + QScopedPointer mKeyboardMapper; }; QT_END_NAMESPACE diff --git a/src/plugins/platforms/cocoa/qcocoaintegration.mm b/src/plugins/platforms/cocoa/qcocoaintegration.mm index 393c471c25..e096096e99 100644 --- a/src/plugins/platforms/cocoa/qcocoaintegration.mm +++ b/src/plugins/platforms/cocoa/qcocoaintegration.mm @@ -199,6 +199,7 @@ QCocoaIntegration::QCocoaIntegration() , mCocoaDrag(new QCocoaDrag) , mNativeInterface(new QCocoaNativeInterface) , mServices(new QCocoaServices) + , mKeyboardMapper(new QCocoaKeyMapper) { initResources(); QCocoaAutoReleasePool pool; @@ -414,4 +415,9 @@ QVariant QCocoaIntegration::styleHint(StyleHint hint) const return QPlatformIntegration::styleHint(hint); } +QList QCocoaIntegration::possibleKeys(const QKeyEvent *event) const +{ + return mKeyboardMapper->possibleKeys(event); +} + QT_END_NAMESPACE diff --git a/src/plugins/platforms/cocoa/qcocoakeymapper.h b/src/plugins/platforms/cocoa/qcocoakeymapper.h new file mode 100644 index 0000000000..693539dd4e --- /dev/null +++ b/src/plugins/platforms/cocoa/qcocoakeymapper.h @@ -0,0 +1,111 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the plugins of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef QCOCOAKEYMAPPER_H +#define QCOCOAKEYMAPPER_H + +#include + +#include +#include + +#include +#include + +QT_BEGIN_NAMESPACE + +/* + \internal + A Mac KeyboardLayoutItem has 8 possible states: + 1. Unmodified + 2. Shift + 3. Control + 4. Control + Shift + 5. Alt + 6. Alt + Shift + 7. Alt + Control + 8. Alt + Control + Shift + 9. Meta + 10. Meta + Shift + 11. Meta + Control + 12. Meta + Control + Shift + 13. Meta + Alt + 14. Meta + Alt + Shift + 15. Meta + Alt + Control + 16. Meta + Alt + Control + Shift +*/ +struct KeyboardLayoutItem { + bool dirty; + quint32 qtKey[16]; // Can by any Qt::Key_, or unicode character +}; + + +class QCocoaKeyMapper +{ +public: + QCocoaKeyMapper(); + ~QCocoaKeyMapper(); + QList possibleKeys(const QKeyEvent *event) const; + bool updateKeyboard(); + void deleteLayouts(); + void updateKeyMap(unsigned short macVirtualKey, QChar unicodeKey); + void clearMappings(); + +private: + QCFType currentInputSource; + + QLocale keyboardInputLocale; + Qt::LayoutDirection keyboardInputDirection; + enum { NullMode, UnicodeMode, OtherMode } keyboard_mode; + union { + const UCKeyboardLayout *unicode; + void *other; + } keyboard_layout_format; + KeyboardLayoutRef currentKeyboardLayout; + KeyboardLayoutKind keyboard_kind; + UInt32 keyboard_dead; + KeyboardLayoutItem *keyLayout[256]; +}; + +QT_END_NAMESPACE + +#endif + diff --git a/src/plugins/platforms/cocoa/qcocoakeymapper.mm b/src/plugins/platforms/cocoa/qcocoakeymapper.mm new file mode 100644 index 0000000000..6df0466355 --- /dev/null +++ b/src/plugins/platforms/cocoa/qcocoakeymapper.mm @@ -0,0 +1,468 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the plugins of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "qcocoakeymapper.h" + +#include +#include + +QT_BEGIN_NAMESPACE + +// QCocoaKeyMapper debug facilities +//#define DEBUG_KEY_BINDINGS +//#define DEBUG_KEY_BINDINGS_MODIFIERS +//#define DEBUG_KEY_MAPS + +// Possible modifier states. +// NOTE: The order of these states match the order in updatePossibleKeyCodes()! +static const Qt::KeyboardModifiers ModsTbl[] = { + Qt::NoModifier, // 0 + Qt::ShiftModifier, // 1 + Qt::ControlModifier, // 2 + Qt::ControlModifier | Qt::ShiftModifier, // 3 + Qt::AltModifier, // 4 + Qt::AltModifier | Qt::ShiftModifier, // 5 + Qt::AltModifier | Qt::ControlModifier, // 6 + Qt::AltModifier | Qt::ShiftModifier | Qt::ControlModifier, // 7 + Qt::MetaModifier, // 8 + Qt::MetaModifier | Qt::ShiftModifier, // 9 + Qt::MetaModifier | Qt::ControlModifier, // 10 + Qt::MetaModifier | Qt::ControlModifier | Qt::ShiftModifier,// 11 + Qt::MetaModifier | Qt::AltModifier, // 12 + Qt::MetaModifier | Qt::AltModifier | Qt::ShiftModifier, // 13 + Qt::MetaModifier | Qt::AltModifier | Qt::ControlModifier, // 14 + Qt::MetaModifier | Qt::AltModifier | Qt::ShiftModifier | Qt::ControlModifier, // 15 +}; + +bool qt_mac_eat_unicode_key = false; + +Q_GUI_EXPORT void qt_mac_secure_keyboard(bool b) +{ + static bool secure = false; + if (b != secure){ + b ? EnableSecureEventInput() : DisableSecureEventInput(); + secure = b; + } +} + +/* key maps */ +struct qt_mac_enum_mapper +{ + int mac_code; + int qt_code; +#if defined(DEBUG_KEY_BINDINGS) +# define QT_MAC_MAP_ENUM(x) x, #x + const char *desc; +#else +# define QT_MAC_MAP_ENUM(x) x +#endif +}; + +//modifiers +static qt_mac_enum_mapper qt_mac_modifier_symbols[] = { + { shiftKey, QT_MAC_MAP_ENUM(Qt::ShiftModifier) }, + { rightShiftKey, QT_MAC_MAP_ENUM(Qt::ShiftModifier) }, + { controlKey, QT_MAC_MAP_ENUM(Qt::MetaModifier) }, + { rightControlKey, QT_MAC_MAP_ENUM(Qt::MetaModifier) }, + { cmdKey, QT_MAC_MAP_ENUM(Qt::ControlModifier) }, + { optionKey, QT_MAC_MAP_ENUM(Qt::AltModifier) }, + { rightOptionKey, QT_MAC_MAP_ENUM(Qt::AltModifier) }, + { kEventKeyModifierNumLockMask, QT_MAC_MAP_ENUM(Qt::KeypadModifier) }, + { 0, QT_MAC_MAP_ENUM(0) } +}; +Qt::KeyboardModifiers qt_mac_get_modifiers(int keys) +{ +#ifdef DEBUG_KEY_BINDINGS_MODIFIERS + qDebug("Qt: internal: **Mapping modifiers: %d (0x%04x)", keys, keys); +#endif + Qt::KeyboardModifiers ret = Qt::NoModifier; + for (int i = 0; qt_mac_modifier_symbols[i].qt_code; i++) { + if (keys & qt_mac_modifier_symbols[i].mac_code) { +#ifdef DEBUG_KEY_BINDINGS_MODIFIERS + qDebug("Qt: internal: got modifier: %s", qt_mac_modifier_symbols[i].desc); +#endif + ret |= Qt::KeyboardModifier(qt_mac_modifier_symbols[i].qt_code); + } + } + if (qApp->testAttribute(Qt::AA_MacDontSwapCtrlAndMeta)) { + Qt::KeyboardModifiers oldModifiers = ret; + ret &= ~(Qt::MetaModifier | Qt::ControlModifier); + if (oldModifiers & Qt::ControlModifier) + ret |= Qt::MetaModifier; + if (oldModifiers & Qt::MetaModifier) + ret |= Qt::ControlModifier; + } + return ret; +} +static int qt_mac_get_mac_modifiers(Qt::KeyboardModifiers keys) +{ +#ifdef DEBUG_KEY_BINDINGS_MODIFIERS + qDebug("Qt: internal: **Mapping modifiers: %d (0x%04x)", (int)keys, (int)keys); +#endif + int ret = 0; + for (int i = 0; qt_mac_modifier_symbols[i].qt_code; i++) { + if (keys & qt_mac_modifier_symbols[i].qt_code) { +#ifdef DEBUG_KEY_BINDINGS_MODIFIERS + qDebug("Qt: internal: got modifier: %s", qt_mac_modifier_symbols[i].desc); +#endif + ret |= qt_mac_modifier_symbols[i].mac_code; + } + } + + if (qApp->testAttribute(Qt::AA_MacDontSwapCtrlAndMeta)) { + int oldModifiers = ret; + ret &= ~(controlKeyBit | cmdKeyBit); + if (oldModifiers & controlKeyBit) + ret |= cmdKeyBit; + if (oldModifiers & cmdKeyBit) + ret |= controlKeyBit; + } + return ret; +} + +//keyboard keys (non-modifiers) +static qt_mac_enum_mapper qt_mac_keyboard_symbols[] = { + { kHomeCharCode, QT_MAC_MAP_ENUM(Qt::Key_Home) }, + { kEnterCharCode, QT_MAC_MAP_ENUM(Qt::Key_Enter) }, + { kEndCharCode, QT_MAC_MAP_ENUM(Qt::Key_End) }, + { kBackspaceCharCode, QT_MAC_MAP_ENUM(Qt::Key_Backspace) }, + { kTabCharCode, QT_MAC_MAP_ENUM(Qt::Key_Tab) }, + { kPageUpCharCode, QT_MAC_MAP_ENUM(Qt::Key_PageUp) }, + { kPageDownCharCode, QT_MAC_MAP_ENUM(Qt::Key_PageDown) }, + { kReturnCharCode, QT_MAC_MAP_ENUM(Qt::Key_Return) }, + { kEscapeCharCode, QT_MAC_MAP_ENUM(Qt::Key_Escape) }, + { kLeftArrowCharCode, QT_MAC_MAP_ENUM(Qt::Key_Left) }, + { kRightArrowCharCode, QT_MAC_MAP_ENUM(Qt::Key_Right) }, + { kUpArrowCharCode, QT_MAC_MAP_ENUM(Qt::Key_Up) }, + { kDownArrowCharCode, QT_MAC_MAP_ENUM(Qt::Key_Down) }, + { kHelpCharCode, QT_MAC_MAP_ENUM(Qt::Key_Help) }, + { kDeleteCharCode, QT_MAC_MAP_ENUM(Qt::Key_Delete) }, +//ascii maps, for debug + { ':', QT_MAC_MAP_ENUM(Qt::Key_Colon) }, + { ';', QT_MAC_MAP_ENUM(Qt::Key_Semicolon) }, + { '<', QT_MAC_MAP_ENUM(Qt::Key_Less) }, + { '=', QT_MAC_MAP_ENUM(Qt::Key_Equal) }, + { '>', QT_MAC_MAP_ENUM(Qt::Key_Greater) }, + { '?', QT_MAC_MAP_ENUM(Qt::Key_Question) }, + { '@', QT_MAC_MAP_ENUM(Qt::Key_At) }, + { ' ', QT_MAC_MAP_ENUM(Qt::Key_Space) }, + { '!', QT_MAC_MAP_ENUM(Qt::Key_Exclam) }, + { '"', QT_MAC_MAP_ENUM(Qt::Key_QuoteDbl) }, + { '#', QT_MAC_MAP_ENUM(Qt::Key_NumberSign) }, + { '$', QT_MAC_MAP_ENUM(Qt::Key_Dollar) }, + { '%', QT_MAC_MAP_ENUM(Qt::Key_Percent) }, + { '&', QT_MAC_MAP_ENUM(Qt::Key_Ampersand) }, + { '\'', QT_MAC_MAP_ENUM(Qt::Key_Apostrophe) }, + { '(', QT_MAC_MAP_ENUM(Qt::Key_ParenLeft) }, + { ')', QT_MAC_MAP_ENUM(Qt::Key_ParenRight) }, + { '*', QT_MAC_MAP_ENUM(Qt::Key_Asterisk) }, + { '+', QT_MAC_MAP_ENUM(Qt::Key_Plus) }, + { ',', QT_MAC_MAP_ENUM(Qt::Key_Comma) }, + { '-', QT_MAC_MAP_ENUM(Qt::Key_Minus) }, + { '.', QT_MAC_MAP_ENUM(Qt::Key_Period) }, + { '/', QT_MAC_MAP_ENUM(Qt::Key_Slash) }, + { '[', QT_MAC_MAP_ENUM(Qt::Key_BracketLeft) }, + { ']', QT_MAC_MAP_ENUM(Qt::Key_BracketRight) }, + { '\\', QT_MAC_MAP_ENUM(Qt::Key_Backslash) }, + { '_', QT_MAC_MAP_ENUM(Qt::Key_Underscore) }, + { '`', QT_MAC_MAP_ENUM(Qt::Key_QuoteLeft) }, + { '{', QT_MAC_MAP_ENUM(Qt::Key_BraceLeft) }, + { '}', QT_MAC_MAP_ENUM(Qt::Key_BraceRight) }, + { '|', QT_MAC_MAP_ENUM(Qt::Key_Bar) }, + { '~', QT_MAC_MAP_ENUM(Qt::Key_AsciiTilde) }, + { '^', QT_MAC_MAP_ENUM(Qt::Key_AsciiCircum) }, + { 0, QT_MAC_MAP_ENUM(0) } +}; + +static qt_mac_enum_mapper qt_mac_keyvkey_symbols[] = { //real scan codes + { 122, QT_MAC_MAP_ENUM(Qt::Key_F1) }, + { 120, QT_MAC_MAP_ENUM(Qt::Key_F2) }, + { 99, QT_MAC_MAP_ENUM(Qt::Key_F3) }, + { 118, QT_MAC_MAP_ENUM(Qt::Key_F4) }, + { 96, QT_MAC_MAP_ENUM(Qt::Key_F5) }, + { 97, QT_MAC_MAP_ENUM(Qt::Key_F6) }, + { 98, QT_MAC_MAP_ENUM(Qt::Key_F7) }, + { 100, QT_MAC_MAP_ENUM(Qt::Key_F8) }, + { 101, QT_MAC_MAP_ENUM(Qt::Key_F9) }, + { 109, QT_MAC_MAP_ENUM(Qt::Key_F10) }, + { 103, QT_MAC_MAP_ENUM(Qt::Key_F11) }, + { 111, QT_MAC_MAP_ENUM(Qt::Key_F12) }, + { 105, QT_MAC_MAP_ENUM(Qt::Key_F13) }, + { 107, QT_MAC_MAP_ENUM(Qt::Key_F14) }, + { 113, QT_MAC_MAP_ENUM(Qt::Key_F15) }, + { 106, QT_MAC_MAP_ENUM(Qt::Key_F16) }, + { 0, QT_MAC_MAP_ENUM(0) } +}; + +static qt_mac_enum_mapper qt_mac_private_unicode[] = { + { 0xF700, QT_MAC_MAP_ENUM(Qt::Key_Up) }, //NSUpArrowFunctionKey + { 0xF701, QT_MAC_MAP_ENUM(Qt::Key_Down) }, //NSDownArrowFunctionKey + { 0xF702, QT_MAC_MAP_ENUM(Qt::Key_Left) }, //NSLeftArrowFunctionKey + { 0xF703, QT_MAC_MAP_ENUM(Qt::Key_Right) }, //NSRightArrowFunctionKey + { 0xF727, QT_MAC_MAP_ENUM(Qt::Key_Insert) }, //NSInsertFunctionKey + { 0xF728, QT_MAC_MAP_ENUM(Qt::Key_Delete) }, //NSDeleteFunctionKey + { 0xF729, QT_MAC_MAP_ENUM(Qt::Key_Home) }, //NSHomeFunctionKey + { 0xF72B, QT_MAC_MAP_ENUM(Qt::Key_End) }, //NSEndFunctionKey + { 0xF72C, QT_MAC_MAP_ENUM(Qt::Key_PageUp) }, //NSPageUpFunctionKey + { 0xF72D, QT_MAC_MAP_ENUM(Qt::Key_PageDown) }, //NSPageDownFunctionKey + { 0xF72F, QT_MAC_MAP_ENUM(Qt::Key_ScrollLock) }, //NSScrollLockFunctionKey + { 0xF730, QT_MAC_MAP_ENUM(Qt::Key_Pause) }, //NSPauseFunctionKey + { 0xF731, QT_MAC_MAP_ENUM(Qt::Key_SysReq) }, //NSSysReqFunctionKey + { 0xF735, QT_MAC_MAP_ENUM(Qt::Key_Menu) }, //NSMenuFunctionKey + { 0xF738, QT_MAC_MAP_ENUM(Qt::Key_Print) }, //NSPrintFunctionKey + { 0xF73A, QT_MAC_MAP_ENUM(Qt::Key_Clear) }, //NSClearDisplayFunctionKey + { 0xF73D, QT_MAC_MAP_ENUM(Qt::Key_Insert) }, //NSInsertCharFunctionKey + { 0xF73E, QT_MAC_MAP_ENUM(Qt::Key_Delete) }, //NSDeleteCharFunctionKey + { 0xF741, QT_MAC_MAP_ENUM(Qt::Key_Select) }, //NSSelectFunctionKey + { 0xF742, QT_MAC_MAP_ENUM(Qt::Key_Execute) }, //NSExecuteFunctionKey + { 0xF746, QT_MAC_MAP_ENUM(Qt::Key_Help) }, //NSHelpFunctionKey + { 0xF747, QT_MAC_MAP_ENUM(Qt::Key_Mode_switch) }, //NSModeSwitchFunctionKey + { 0, QT_MAC_MAP_ENUM(0) } +}; + +static int qt_mac_get_key(int modif, const QChar &key, int virtualKey) +{ +#ifdef DEBUG_KEY_BINDINGS + qDebug("**Mapping key: %d (0x%04x) - %d (0x%04x)", key.unicode(), key.unicode(), virtualKey, virtualKey); +#endif + + if (key == kClearCharCode && virtualKey == 0x47) + return Qt::Key_Clear; + + if (key.isDigit()) { +#ifdef DEBUG_KEY_BINDINGS + qDebug("%d: got key: %d", __LINE__, key.digitValue()); +#endif + return key.digitValue() + Qt::Key_0; + } + + if (key.isLetter()) { +#ifdef DEBUG_KEY_BINDINGS + qDebug("%d: got key: %d", __LINE__, (key.toUpper().unicode() - 'A')); +#endif + return (key.toUpper().unicode() - 'A') + Qt::Key_A; + } + if (key.isSymbol()) { +#ifdef DEBUG_KEY_BINDINGS + qDebug("%d: got key: %d", __LINE__, (key.unicode())); +#endif + return key.unicode(); + } + + for (int i = 0; qt_mac_keyboard_symbols[i].qt_code; i++) { + if (qt_mac_keyboard_symbols[i].mac_code == key) { + /* To work like Qt for X11 we issue Backtab when Shift + Tab are pressed */ + if (qt_mac_keyboard_symbols[i].qt_code == Qt::Key_Tab && (modif & Qt::ShiftModifier)) { +#ifdef DEBUG_KEY_BINDINGS + qDebug("%d: got key: Qt::Key_Backtab", __LINE__); +#endif + return Qt::Key_Backtab; + } + +#ifdef DEBUG_KEY_BINDINGS + qDebug("%d: got key: %s", __LINE__, qt_mac_keyboard_symbols[i].desc); +#endif + return qt_mac_keyboard_symbols[i].qt_code; + } + } + + //last ditch try to match the scan code + for (int i = 0; qt_mac_keyvkey_symbols[i].qt_code; i++) { + if (qt_mac_keyvkey_symbols[i].mac_code == virtualKey) { +#ifdef DEBUG_KEY_BINDINGS + qDebug("%d: got key: %s", __LINE__, qt_mac_keyvkey_symbols[i].desc); +#endif + return qt_mac_keyvkey_symbols[i].qt_code; + } + } + + // check if they belong to key codes in private unicode range + if (key >= 0xf700 && key <= 0xf747) { + if (key >= 0xf704 && key <= 0xf726) { + return Qt::Key_F1 + (key.unicode() - 0xf704) ; + } + for (int i = 0; qt_mac_private_unicode[i].qt_code; i++) { + if (qt_mac_private_unicode[i].mac_code == key) { + return qt_mac_private_unicode[i].qt_code; + } + } + + } + + //oh well +#ifdef DEBUG_KEY_BINDINGS + qDebug("Unknown case.. %s:%d %d[%d] %d", __FILE__, __LINE__, key.unicode(), key.toLatin1(), virtualKey); +#endif + return Qt::Key_unknown; +} + +QCocoaKeyMapper::QCocoaKeyMapper() +{ + memset(keyLayout, 0, sizeof(keyLayout)); + keyboard_layout_format.unicode = 0; + currentInputSource = 0; +} + +QCocoaKeyMapper::~QCocoaKeyMapper() +{ + deleteLayouts(); +} + +bool QCocoaKeyMapper::updateKeyboard() +{ + const UCKeyboardLayout *uchrData = 0; + QCFType source = TISCopyCurrentKeyboardInputSource(); + if (keyboard_mode != NullMode && source == currentInputSource) { + return false; + } + Q_ASSERT(source != 0); + CFDataRef data = static_cast(TISGetInputSourceProperty(source, + kTISPropertyUnicodeKeyLayoutData)); + uchrData = data ? reinterpret_cast(CFDataGetBytePtr(data)) : 0; + + keyboard_kind = LMGetKbdType(); + if (uchrData) { + keyboard_layout_format.unicode = uchrData; + keyboard_mode = UnicodeMode; + } + currentInputSource = source; + keyboard_dead = 0; + CFStringRef iso639Code; + + CFArrayRef array = static_cast(TISGetInputSourceProperty(currentInputSource, kTISPropertyInputSourceLanguages)); + iso639Code = static_cast(CFArrayGetValueAtIndex(array, 0)); // Actually a RFC3066bis, but it's close enough + + if (iso639Code) { + keyboardInputLocale = QLocale(QCFString::toQString(iso639Code)); + keyboardInputDirection = keyboardInputLocale.textDirection(); + } else { + keyboardInputLocale = QLocale::c(); + keyboardInputDirection = Qt::LeftToRight; + } + return true; +} + +void QCocoaKeyMapper::deleteLayouts() +{ + keyboard_mode = NullMode; + for (int i = 0; i < 255; ++i) { + if (keyLayout[i]) { + delete keyLayout[i]; + keyLayout[i] = 0; + } + } +} + +void QCocoaKeyMapper::clearMappings() +{ + deleteLayouts(); + updateKeyboard(); +} + +void QCocoaKeyMapper::updateKeyMap(unsigned short macVirtualKey, QChar unicodeKey) +{ + if (updateKeyboard()) { + // ### Qt 4 did this: + // QKeyMapper::changeKeyboard(); + } + if (keyLayout[macVirtualKey]) + return; + + UniCharCount buffer_size = 10; + UniChar buffer[buffer_size]; + keyLayout[macVirtualKey] = new KeyboardLayoutItem; + for (int i = 0; i < 16; ++i) { + UniCharCount out_buffer_size = 0; + keyLayout[macVirtualKey]->qtKey[i] = 0; + + const UInt32 keyModifier = ((qt_mac_get_mac_modifiers(ModsTbl[i]) >> 8) & 0xFF); + OSStatus err = UCKeyTranslate(keyboard_layout_format.unicode, macVirtualKey, kUCKeyActionDown, keyModifier, + keyboard_kind, 0, &keyboard_dead, buffer_size, &out_buffer_size, buffer); + if (err == noErr && out_buffer_size) { + const QChar unicode(buffer[0]); + int qtkey = qt_mac_get_key(keyModifier, unicode, macVirtualKey); + if (qtkey == Qt::Key_unknown) + qtkey = unicode.unicode(); + keyLayout[macVirtualKey]->qtKey[i] = qtkey; + } else { + int qtkey = qt_mac_get_key(keyModifier, unicodeKey, macVirtualKey); + if (qtkey == Qt::Key_unknown) + qtkey = unicodeKey.unicode(); + keyLayout[macVirtualKey]->qtKey[i] = qtkey; + } + } +#ifdef DEBUG_KEY_MAPS + qDebug("updateKeyMap for virtual key = 0x%02x!", (uint)macVirtualKey); + for (int i = 0; i < 16; ++i) { + qDebug(" [%d] (%d,0x%02x,'%c')", i, + keyLayout[macVirtualKey]->qtKey[i], + keyLayout[macVirtualKey]->qtKey[i], + keyLayout[macVirtualKey]->qtKey[i]); + } +#endif +} + +QList QCocoaKeyMapper::possibleKeys(const QKeyEvent *event) const +{ + QList ret; + const_cast(this)->updateKeyMap(event->nativeVirtualKey(), QChar(event->key())); + + KeyboardLayoutItem *kbItem = keyLayout[event->nativeVirtualKey()]; + + if (!kbItem) // Key is not in any keyboard layout (e.g. eisu-key on Japanese keyboard) + return ret; + + int baseKey = kbItem->qtKey[0]; + Qt::KeyboardModifiers keyMods = event->modifiers(); + + ret << int(baseKey + keyMods); // The base key is _always_ valid, of course + + for (int i = 1; i < 8; ++i) { + Qt::KeyboardModifiers neededMods = ModsTbl[i]; + int key = kbItem->qtKey[i]; + if (key && key != baseKey && ((keyMods & neededMods) == neededMods)) { + ret << int(key + (keyMods & ~neededMods)); + } + } + return ret; +} + +QT_END_NAMESPACE diff --git a/src/plugins/platforms/cocoa/qnsview.mm b/src/plugins/platforms/cocoa/qnsview.mm index f0ece54d20..cfd12cfb61 100644 --- a/src/plugins/platforms/cocoa/qnsview.mm +++ b/src/plugins/platforms/cocoa/qnsview.mm @@ -756,9 +756,19 @@ static QTouchDevice *touchDevice = 0; - (void)handleKeyEvent:(NSEvent *)nsevent eventType:(int)eventType { ulong timestamp = [nsevent timestamp] * 1000; - Qt::KeyboardModifiers modifiers = [self convertKeyModifiers:[nsevent modifierFlags]]; + ulong nativeModifiers = [nsevent modifierFlags]; + Qt::KeyboardModifiers modifiers = [self convertKeyModifiers: nativeModifiers]; NSString *charactersIgnoringModifiers = [nsevent charactersIgnoringModifiers]; + // [from Qt 4 impl] There is no way to get the scan code from carbon. But we cannot + // use the value 0, since it indicates that the event originates from somewhere + // else than the keyboard. + quint32 nativeScanCode = 1; + + UInt32 nativeVirtualKey = 0; + EventRef eventRef = EventRef([nsevent eventRef]); + GetEventParameter(eventRef, kEventParamKeyCode, typeUInt32, 0, sizeof(nativeVirtualKey), 0, &nativeVirtualKey); + QChar ch; int keyCode; if ([charactersIgnoringModifiers length] > 0) { @@ -799,7 +809,8 @@ static QTouchDevice *touchDevice = 0; } if (m_sendKeyEvent && m_composingText.isEmpty()) - QWindowSystemInterface::handleKeyEvent(m_window, timestamp, QEvent::Type(eventType), keyCode, modifiers, text); + QWindowSystemInterface::handleExtendedKeyEvent(m_window, timestamp, QEvent::Type(eventType), keyCode, modifiers, + nativeScanCode, nativeVirtualKey, nativeModifiers, text); m_sendKeyEvent = false; } From d6fd4e52f10148e399131c73b90d91523bdad0da Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Dec 2012 14:15:14 +0100 Subject: [PATCH 109/386] remove another dead assignment Change-Id: I79ffdba571b48def4494b018b2a2abdee8aab0a8 Reviewed-by: Joerg Bornemann --- mkspecs/features/resources.prf | 1 - 1 file changed, 1 deletion(-) diff --git a/mkspecs/features/resources.prf b/mkspecs/features/resources.prf index dfded30e28..ed44d9c308 100644 --- a/mkspecs/features/resources.prf +++ b/mkspecs/features/resources.prf @@ -1,7 +1,6 @@ qtPrepareTool(QMAKE_RCC, rcc) isEmpty(RCC_DIR):RCC_DIR = . -isEmpty(QMAKE_RESOURCE_PREFIX):QMAKE_RESOURCE_PREFIX = /tmp/ isEmpty(QMAKE_MOD_RCC):QMAKE_MOD_RCC = qrc resource_combine { From 5a0ac34396fa73dc7c91399ff106097f690d8971 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Dec 2012 15:38:46 +0100 Subject: [PATCH 110/386] finish the job of removing uic3 support this should have been in 048b697c07. Change-Id: I8589453ef937db1a9a446b0e5d01bb830b0cf6b0 Reviewed-by: Joerg Bornemann Reviewed-by: Thiago Macieira --- mkspecs/features/uic.prf | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/mkspecs/features/uic.prf b/mkspecs/features/uic.prf index a98c62676c..679132f116 100644 --- a/mkspecs/features/uic.prf +++ b/mkspecs/features/uic.prf @@ -1,33 +1,22 @@ qtPrepareTool(QMAKE_UIC, uic) isEmpty(UI_DIR):UI_DIR = . -isEmpty(UI_SOURCES_DIR):UI_SOURCES_DIR = $$UI_DIR -isEmpty(UI_HEADERS_DIR):UI_HEADERS_DIR = $$UI_DIR isEmpty(QMAKE_MOD_UIC):QMAKE_MOD_UIC = ui_ -# Allow FORMS3 to contain old UIC3 forms, while FORMS contains new -# UIC files in the same project. However, if CONFIG+=uic3 and no -# FORMS3 is defined, FORMS may only contain old UIC3 files. +uic.commands = $$QMAKE_UIC ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} +uic.depend_command = "$$QMAKE_UIC" -d "${QMAKE_FILE_IN}" +uic.output = $$UI_DIR/$${QMAKE_MOD_UIC}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)} +uic.input = FORMS +uic.variable_out = GENERATED_FILES +uic.CONFIG += no_link target_predeps +uic.name = UIC ${QMAKE_FILE_IN} +silent:uic.commands = @echo uic ${QMAKE_FILE_IN} && $$uic.commands +QMAKE_EXTRA_COMPILERS += uic +INCREDIBUILD_XGE += uic -!uic3|!isEmpty(FORMS3) { - # If we have CONFIG+=uic3 and no FORMS3, then don't do this step, - # as UIC3 files don't need a ui_.h file - - uic.commands = $$QMAKE_UIC ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} - uic.depend_command = "$$QMAKE_UIC" -d "${QMAKE_FILE_IN}" - uic.output = $$UI_HEADERS_DIR/$${QMAKE_MOD_UIC}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)} - uic.input = FORMS - uic.variable_out = GENERATED_FILES - uic.CONFIG += no_link target_predeps - uic.name = UIC ${QMAKE_FILE_IN} - silent:uic.commands = @echo uic ${QMAKE_FILE_IN} && $$uic.commands - QMAKE_EXTRA_COMPILERS += uic - INCREDIBUILD_XGE += uic -} - -!isEmpty(FORMS)|!isEmpty(FORMS3) { - ui_dir_short = $$UI_HEADERS_DIR +!isEmpty(FORMS) { + ui_dir_short = $$UI_DIR contains(QMAKE_HOST.os,Windows):ui_dir_short ~= s,^.:,/, - contains(ui_dir_short, ^[/\\\\].*):INCLUDEPATH += $$UI_HEADERS_DIR - else:INCLUDEPATH += $$OUT_PWD/$$UI_HEADERS_DIR + contains(ui_dir_short, ^[/\\\\].*):INCLUDEPATH += $$UI_DIR + else:INCLUDEPATH += $$OUT_PWD/$$UI_DIR } From 14382d77c50bc92dc5c02ca3d0d6c73e8df7e1fd Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Dec 2012 15:35:19 +0100 Subject: [PATCH 111/386] simplify code by using new $$absolute_path() function Change-Id: Ie8102eea5c2b108154b76ed35bdbc6d8572bd4a5 Reviewed-by: Thiago Macieira Reviewed-by: Joerg Bornemann --- mkspecs/features/moc.prf | 5 +---- mkspecs/features/uic.prf | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/mkspecs/features/moc.prf b/mkspecs/features/moc.prf index 250f57a265..8bd512844d 100644 --- a/mkspecs/features/moc.prf +++ b/mkspecs/features/moc.prf @@ -79,10 +79,7 @@ QMAKE_EXTRA_COMPILERS += moc_source INCREDIBUILD_XGE += moc_source #make sure we can include these files -moc_dir_short = $$MOC_DIR -contains(QMAKE_HOST.os,Windows):moc_dir_short ~= s,^.:,/, -contains(moc_dir_short, ^[/\\\\].*):INCLUDEPATH += $$MOC_DIR -else:INCLUDEPATH += $$OUT_PWD/$$MOC_DIR +INCLUDEPATH += $$absolute_path($$MOC_DIR, $$OUT_PWD) #auto depend on moc unix:!no_mocdepend { diff --git a/mkspecs/features/uic.prf b/mkspecs/features/uic.prf index 679132f116..36ec185f7b 100644 --- a/mkspecs/features/uic.prf +++ b/mkspecs/features/uic.prf @@ -15,8 +15,5 @@ QMAKE_EXTRA_COMPILERS += uic INCREDIBUILD_XGE += uic !isEmpty(FORMS) { - ui_dir_short = $$UI_DIR - contains(QMAKE_HOST.os,Windows):ui_dir_short ~= s,^.:,/, - contains(ui_dir_short, ^[/\\\\].*):INCLUDEPATH += $$UI_DIR - else:INCLUDEPATH += $$OUT_PWD/$$UI_DIR + INCLUDEPATH += $$absolute_path($$UI_DIR, $$OUT_PWD) } From 6fb7222707345612984aecd5bdfd75a81770f00a Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Dec 2012 16:29:21 +0100 Subject: [PATCH 112/386] move cmake template files under features/data/ there will be more template data, and it wouldn't be too nice to spread it all over mkspecs/. Change-Id: I909c48d26ac34f8c0f66051a65d326366d49c096 Reviewed-by: Joerg Bornemann Reviewed-by: Stephen Kelly --- mkspecs/features/create_cmake.prf | 4 ++-- mkspecs/{ => features/data}/cmake/Qt5BasicConfig.cmake.in | 0 mkspecs/{ => features/data}/cmake/Qt5ConfigVersion.cmake.in | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename mkspecs/{ => features/data}/cmake/Qt5BasicConfig.cmake.in (100%) rename mkspecs/{ => features/data}/cmake/Qt5ConfigVersion.cmake.in (100%) diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index c222ed4e81..29c8cadfff 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -155,12 +155,12 @@ if (build_all|CONFIG(release, debug|release)):CMAKE_RELEASE_TYPE = release INSTALLS += cmake_qt5_module_files -cmake_config_file.input = $$PWD/../cmake/Qt5BasicConfig.cmake.in +cmake_config_file.input = $$PWD/data/cmake/Qt5BasicConfig.cmake.in cmake_config_file.output = $$DESTDIR/cmake/Qt5$${CMAKE_MODULE_NAME}/Qt5$${CMAKE_MODULE_NAME}Config.cmake CMAKE_PACKAGE_VERSION = $$eval(QT.$${MODULE}.VERSION) -cmake_config_version_file.input = $$PWD/../cmake/Qt5ConfigVersion.cmake.in +cmake_config_version_file.input = $$PWD/data/cmake/Qt5ConfigVersion.cmake.in cmake_config_version_file.output = $$DESTDIR/cmake/Qt5$${CMAKE_MODULE_NAME}/Qt5$${CMAKE_MODULE_NAME}ConfigVersion.cmake !build_pass:QMAKE_SUBSTITUTES += \ diff --git a/mkspecs/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in similarity index 100% rename from mkspecs/cmake/Qt5BasicConfig.cmake.in rename to mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in diff --git a/mkspecs/cmake/Qt5ConfigVersion.cmake.in b/mkspecs/features/data/cmake/Qt5ConfigVersion.cmake.in similarity index 100% rename from mkspecs/cmake/Qt5ConfigVersion.cmake.in rename to mkspecs/features/data/cmake/Qt5ConfigVersion.cmake.in From 21105e71382efdb17fd8dc9402f463141267cfcc Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 7 Dec 2012 11:46:43 +0200 Subject: [PATCH 113/386] Fix module pri file name for static plugins Since QTPLUGIN variable values are used to locate both the plugin library and the module pri file, those must match. Therefore generate module pri file name using the TARGET of the plugin rather than the pro file name. Change-Id: I9ec6f2a087ba3b3cecf7034c8a28b31df155cd97 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_plugin.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index b84fa47dd1..e09e5d0a3c 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -21,7 +21,7 @@ contains(QT_CONFIG, static):CONFIG += static else:CONFIG += shared !build_pass:static { - isEmpty(MODULE): MODULE = $$section($$list($$basename(_PRO_FILE_)), ., 0, 0) + isEmpty(MODULE): MODULE = $$basename(TARGET) MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules/qt_plugin_$${MODULE}.pri From db4aa4d1d56a37843d4f31194f4a452c86a26a11 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 7 Dec 2012 09:54:43 +0200 Subject: [PATCH 114/386] Only handle QTPLUGIN when linking against static Qt Usage of QTPLUGIN implies static Qt, so only handle it when that is true so user projects do not need to scope it if they support linking against both static and shared Qt. Change-Id: I011b4672bac122d7d64d8f2fc0e41ca7e5251dfc Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt.prf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 586dae3981..443914e011 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -35,7 +35,8 @@ plugin { #Qt plugins } } -QT_PLUGIN_VERIFY = QTPLUGIN DEPLOYMENT_PLUGIN +QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN +contains(QT_CONFIG, static): QT_PLUGIN_VERIFY += QTPLUGIN for(QT_CURRENT_VERIFY, $$list($$QT_PLUGIN_VERIFY)) { for(QTPLUG, $$list($$lower($$unique($$QT_CURRENT_VERIFY)))) { # Check if the plugin is known to Qt. We can use this to determine From ed043bf24a85a3364a92b2f24073b003569a0cdb Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 6 Dec 2012 16:40:55 +0100 Subject: [PATCH 115/386] Doc: Updated outdated docs to use new macro Change-Id: I9a3528112fba1db988592d9f4f470ec678e81e1a Reviewed-by: Jerome Pasion --- examples/widgets/doc/src/plugandpaint.qdoc | 25 ++++++++++++------- .../basictools/basictoolsplugin.h | 2 ++ 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/examples/widgets/doc/src/plugandpaint.qdoc b/examples/widgets/doc/src/plugandpaint.qdoc index 88433a5e2f..86fc202974 100644 --- a/examples/widgets/doc/src/plugandpaint.qdoc +++ b/examples/widgets/doc/src/plugandpaint.qdoc @@ -287,7 +287,7 @@ \snippet tools/plugandpaint/main.cpp 0 The argument to Q_IMPORT_PLUGIN() is the plugin's name, as - specified with Q_EXPORT_PLUGIN2() in the \l{Exporting the + specified with Q_PLUGIN_METADATA() in the \l{Exporting the Plugin}{plugin}. In the \c .pro file, we need to specify the static library. @@ -324,7 +324,7 @@ \list 1 \li Declare a plugin class. \li Implement the interfaces provided by the plugin. - \li Export the plugin using the Q_EXPORT_PLUGIN2() macro. + \li Export the plugin using the Q_PLUGIN_METADATA() macro. \li Build the plugin using an adequate \c .pro file. \endlist @@ -346,6 +346,8 @@ interfaces. Without the \c Q_INTERFACES() macro, we couldn't use \l qobject_cast() in the \l{plugandpaint}{Plug & Paint} application to detect interfaces. + For an explanation for the \c Q_PLUGIN_METADATA() macro see + \l {Exporting the Plugin}. \snippet tools/plugandpaintplugins/basictools/basictoolsplugin.h 2 @@ -440,15 +442,20 @@ \section1 Exporting the Plugin - Whereas applications have a \c main() function as their entry - point, plugins need to contain exactly one occurrence of the - Q_EXPORT_PLUGIN2() macro to specify which class provides the - plugin: + To finally export your plugin you just have to add the + \c Q_PLUGIN_METADATA() macro right next to the \c Q_OBJECT() macro + into the header file of the plugin. + It must contain the plugins IID and optionally a filename pointing + to a json file containing the metadata for the plugin. - \snippet tools/plugandpaintplugins/basictools/basictoolsplugin.cpp 9 + \snippet tools/plugandpaintplugins/basictools/basictoolsplugin.h 4 - This line may appear in any \c .cpp file that is part of the - plugin's source code. + Within this example the json file does not need to export any metadata, + so it just contains an empty json object. + + \code + {} + \endcode \section1 The .pro File diff --git a/examples/widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h b/examples/widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h index b5159803f6..3da75252a7 100644 --- a/examples/widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h +++ b/examples/widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h @@ -58,7 +58,9 @@ class BasicToolsPlugin : public QObject, public FilterInterface { Q_OBJECT +//! [4] Q_PLUGIN_METADATA(IID "org.qt-project.Qt.Examples.PlugAndPaint.BrushInterface" FILE "basictools.json") +//! [4] Q_INTERFACES(BrushInterface ShapeInterface FilterInterface) //! [0] From e23e22449891b7957a693bfd14a42677a95cef32 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 6 Dec 2012 15:02:59 +0100 Subject: [PATCH 116/386] qmake: fix extra compilers in vcxprojs for single config mode In single config mode extra compilers were not written to Visual Studio project files, because they were not added to the fake project object we're using to write a single config project. Task-number: QTBUG-27505 Change-Id: Ie57b648861573496252f1383dc77e0729e244947 Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- qmake/generators/win32/msvc_objectmodel.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qmake/generators/win32/msvc_objectmodel.cpp b/qmake/generators/win32/msvc_objectmodel.cpp index 739e423b8c..0d67fcac85 100644 --- a/qmake/generators/win32/msvc_objectmodel.cpp +++ b/qmake/generators/win32/msvc_objectmodel.cpp @@ -2408,6 +2408,16 @@ void VCProjectWriter::write(XmlOutput &xml, VCProjectSingleConfig &tool) outputFilter(tempProj, xml, "TranslationFiles"); outputFilter(tempProj, xml, "FormFiles"); outputFilter(tempProj, xml, "ResourceFiles"); + + QSet extraCompilersInProject; + for (int i = 0; i < tool.ExtraCompilersFiles.count(); ++i) { + const QString &compilerName = tool.ExtraCompilersFiles.at(i).Name; + if (!extraCompilersInProject.contains(compilerName)) { + extraCompilersInProject += compilerName; + tempProj.ExtraCompilers += compilerName; + } + } + for (int x = 0; x < tempProj.ExtraCompilers.count(); ++x) { outputFilter(tempProj, xml, tempProj.ExtraCompilers.at(x)); } From f9ebe26aaedf07421f62e7ac47a944c21b3a7f28 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 6 Dec 2012 16:29:30 +0100 Subject: [PATCH 117/386] support include paths for the Windows resource compiler In RC_INCLUDEPATH one can add include paths for the Windows resource compiler. Task-number: QTBUG-13776 Change-Id: If1d9ed44097adb7789df03e4ccd4e3b7df9e8d08 Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- qmake/generators/win32/mingw_make.cpp | 17 +++++++++++++---- qmake/generators/win32/msvc_vcproj.cpp | 11 +++++++++++ qmake/generators/win32/winmakefile.cpp | 14 +++++++++++++- 3 files changed, 37 insertions(+), 5 deletions(-) diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index 234817bcba..1665e23f40 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -416,14 +416,23 @@ void MingwMakefileGenerator::writeRcFilePart(QTextStream &t) { const QString rc_file = fileFixify(project->first("RC_FILE").toQString()); - QString incPathStr = fileInfo(rc_file).path(); - if (incPathStr != "." && QDir::isRelativePath(incPathStr)) - incPathStr.prepend("./"); + ProStringList rcIncPaths = project->values("RC_INCLUDEPATH"); + rcIncPaths.prepend(fileInfo(rc_file).path()); + QString incPathStr; + for (int i = 0; i < rcIncPaths.count(); ++i) { + const ProString &path = rcIncPaths.at(i); + if (path.isEmpty()) + continue; + incPathStr += QStringLiteral(" --include-dir="); + if (path != "." && QDir::isRelativePath(path.toQString())) + incPathStr += "./"; + incPathStr += escapeFilePath(path); + } if (!rc_file.isEmpty()) { t << escapeDependencyPath(var("RES_FILE")) << ": " << rc_file << "\n\t" << var("QMAKE_RC") << " -i " << rc_file << " -o " << var("RES_FILE") - << " --include-dir=" << incPathStr << " $(DEFINES)" << endl << endl; + << incPathStr << " $(DEFINES)" << endl << endl; } } diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp index 1e3f66a9c0..9f14b61f49 100644 --- a/qmake/generators/win32/msvc_vcproj.cpp +++ b/qmake/generators/win32/msvc_vcproj.cpp @@ -1072,6 +1072,17 @@ void VcprojGenerator::initResourceTool() VCConfiguration &conf = vcProject.Configuration; conf.resource.PreprocessorDefinitions = conf.compiler.PreprocessorDefinitions; + foreach (const ProString &path, project->values("RC_INCLUDEPATH")) { + QString fixedPath = fileFixify(path.toQString()); + if (fileInfo(fixedPath).isRelative()) { + if (fixedPath == QStringLiteral(".")) + fixedPath = QStringLiteral("$(ProjectDir)"); + else + fixedPath.prepend(QStringLiteral("$(ProjectDir)\\")); + } + conf.resource.AdditionalIncludeDirectories << escapeFilePath(fixedPath); + } + // We need to add _DEBUG for the debug version of the project, since the normal compiler defines // do not contain it. (The compiler defines this symbol automatically, which is wy we don't need // to add it for the compiler) However, the resource tool does not do this. diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp index fcc9ceb5aa..fc98c3ddd1 100644 --- a/qmake/generators/win32/winmakefile.cpp +++ b/qmake/generators/win32/winmakefile.cpp @@ -783,8 +783,20 @@ void Win32MakefileGenerator::writeRcFilePart(QTextStream &t) // use these defines in the .rc file itself. Also, we need to add the _DEBUG define manually // since the compiler defines this symbol by itself, and we use it in the automatically // created rc file when VERSION is define the .pro file. + + const ProStringList rcIncPaths = project->values("RC_INCLUDEPATH"); + QString incPathStr; + for (int i = 0; i < rcIncPaths.count(); ++i) { + const ProString &path = rcIncPaths.at(i); + if (path.isEmpty()) + continue; + incPathStr += QStringLiteral(" /i "); + incPathStr += escapeFilePath(path); + } + t << res_file << ": " << rc_file << "\n\t" - << var("QMAKE_RC") << (project->isActiveConfig("debug") ? " -D_DEBUG" : "") << " $(DEFINES) -fo " << res_file << " " << rc_file; + << var("QMAKE_RC") << (project->isActiveConfig("debug") ? " -D_DEBUG" : "") + << " $(DEFINES)" << incPathStr << " -fo " << res_file << " " << rc_file; t << endl << endl; } } From db5966f929631c10ec28365e218e67ad4486a27b Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 7 Dec 2012 11:22:18 +0100 Subject: [PATCH 118/386] QtBase: Remove linguist example which was already moved ... to QtTools. Change-Id: I707d8debcf35b01046b78718fd4b48c03b1fa6e2 Reviewed-by: Leena Miettinen --- doc/src/examples/trollprint.qdoc | 261 ------------------ doc/src/images/linguist-arrowpad_en.png | Bin 1429 -> 0 bytes doc/src/images/linguist-arrowpad_fr.png | Bin 1671 -> 0 bytes doc/src/images/linguist-arrowpad_nl.png | Bin 1706 -> 0 bytes doc/src/images/linguist-hellotr_en.png | Bin 3367 -> 0 bytes doc/src/images/linguist-hellotr_la.png | Bin 753 -> 0 bytes doc/src/images/linguist-trollprint_10_en.png | Bin 1951 -> 0 bytes .../images/linguist-trollprint_10_pt_bad.png | Bin 2073 -> 0 bytes .../images/linguist-trollprint_10_pt_good.png | Bin 2120 -> 0 bytes doc/src/images/linguist-trollprint_11_en.png | Bin 2019 -> 0 bytes doc/src/images/linguist-trollprint_11_pt.png | Bin 2152 -> 0 bytes 11 files changed, 261 deletions(-) delete mode 100644 doc/src/examples/trollprint.qdoc delete mode 100644 doc/src/images/linguist-arrowpad_en.png delete mode 100644 doc/src/images/linguist-arrowpad_fr.png delete mode 100644 doc/src/images/linguist-arrowpad_nl.png delete mode 100644 doc/src/images/linguist-hellotr_en.png delete mode 100644 doc/src/images/linguist-hellotr_la.png delete mode 100644 doc/src/images/linguist-trollprint_10_en.png delete mode 100644 doc/src/images/linguist-trollprint_10_pt_bad.png delete mode 100644 doc/src/images/linguist-trollprint_10_pt_good.png delete mode 100644 doc/src/images/linguist-trollprint_11_en.png delete mode 100644 doc/src/images/linguist-trollprint_11_pt.png diff --git a/doc/src/examples/trollprint.qdoc b/doc/src/examples/trollprint.qdoc deleted file mode 100644 index 5a4e84fd14..0000000000 --- a/doc/src/examples/trollprint.qdoc +++ /dev/null @@ -1,261 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example linguist/trollprint - \title Troll Print Example - - Troll Print is an example application that lets the user choose - printer settings. It comes in two versions: English and - Portuguese. - - \image linguist-trollprint_10_en.png - - We've included a translation file, \c trollprint_pt.ts, which contains some - Portuguese translations for this example. - - We will consider two releases of the same application: Troll Print - 1.0 and 1.1. We will learn to reuse the translations created for one - release in a subsequent release. (In this tutorial, you need to edit - some source files. It's probably best to copy all the files to a new - temporary directory and work from there.) - - See the \l{Qt Linguist manual} for more information about - translating Qt application. - - \section1 Line by Line Walkthrough - - The \c PrintPanel class is defined in \c printpanel.h. - - \snippet examples/linguist/trollprint/printpanel.h 0 - - \c PrintPanel is a QWidget. It needs the \c Q_OBJECT macro for \c - tr() to work properly. - - The implementation file is \c printpanel.cpp. - - \snippet examples/linguist/trollprint/printpanel.cpp 0 - - Some of the code is commented out in Troll Print 1.0; you will - uncomment it later, for Troll Print 1.1. - - \snippet examples/linguist/trollprint/printpanel.cpp 1 - \snippet examples/linguist/trollprint/printpanel.cpp 2 - - Notice the two occurrences of \c tr("Enabled") and of \c - tr("Disabled") in PrintPanel. Since both "Enabled"s and "Disabled"s - appear in the same context \e {Qt Linguist} will only display one - occurrence of each and will use the same translations for the - duplicates that it doesn't display. Whilst this is a useful - timesaver, in some languages, such as Portuguese, the second - occurrence requires a separate translation. We will see how \e {Qt - Linguist} can be made to display all the occurrences for separate - translation shortly. - - The header file for \c MainWindow, \c mainwindow.h, contains no - surprises. In the implementation, \c mainwindow.cpp, we have some - user-visible source texts that must be marked for translation. - - \snippet examples/linguist/trollprint/mainwindow.cpp 0 - - We must translate the window title. - - \snippet examples/linguist/trollprint/mainwindow.cpp 1 - \snippet examples/linguist/trollprint/mainwindow.cpp 3 - - We also need to translate the actions and menus. Note that the - two argument form of \c tr() is used for the keyboard - accelerator, "Ctrl+Q", since the second argument is the only clue - the translator has to indicate what function that accelerator - will perform. - - \snippet examples/linguist/trollprint/main.cpp 0 - - The \c main() function in \c main.cpp is the same as the one in - the \l{linguist/arrowpad}{Arrow Pad} example. In particular, it - chooses a translation file based on the current locale. - - \section1 Running Troll Print 1.0 in English and in Portuguese - - We will use the translations in the \c trollprint_pt.ts file that is provided. - - Set the \c LANG environment variable to \c pt, and then run \c - trollprint. You should still see the English version. Now run \c - lrelease, e.g. \c {lrelease trollprint.pro}, and then run the - example again. Now you should see the Portuguese edition (Troll - Imprimir 1.0): - - \image linguist-trollprint_10_pt_bad.png - - Whilst the translation has appeared correctly, it is in fact wrong. In - good Portuguese, the second occurrence of "Enabled" should be - "Ativadas", not "Ativado" and the ending for the second translation of - "Disabled" must change similarly too. - - If you open \c trollprint_pt.ts using \e {Qt Linguist}, you will see that - there is just one occurrence of "Enabled" and of "Disabled" in the - translation source file, even though there are two of each in the - source code. This is because \e {Qt Linguist} tries to minimize the - translator's work by using the same translation for duplicate source - texts. In cases such as this where an identical translation is wrong, - the programmer must disambiguate the duplicate occurrences. This is - easily achieved by using the two argument form of \c tr(). - - We can easily determine which file must be changed because the - translator's "context" is in fact the class name for the class where - the texts that must be changed appears. In this case the file is \c - printpanel.cpp, where there are four lines to change. Add the - second argument "two-sided" in the appropriate \c tr() calls to the - first pair of radio buttons: - - \snippet doc/src/snippets/code/doc_src_examples_trollprint.cpp 0 - - and add the second argument "colors" in the appropriate \c tr() calls - for the second pair of radio buttons: - - \snippet doc/src/snippets/code/doc_src_examples_trollprint.cpp 1 - - Now run \c lupdate and open \c trollprint_pt.ts with \e {Qt Linguist}. You - should now see two changes. - - First, the translation source file now contains \e three "Enabled", - "Disabled" pairs. The first pair is marked "(obs.)" signifying that they - are obsolete. This is because these texts appeared in \c tr() calls that - have been replaced by new calls with two arguments. The second pair has - "two-sided" as their comment, and the third pair has "colors" as their - comment. The comments are shown in the \uicontrol {Source text and comments} - area in \e {Qt Linguist}. - - Second, the translation text "Ativado" and "Desativado" have been - automatically used as translations for the new "Enabled" and "Disabled" - texts, again to minimize the translator's work. Of course in this case - these are not correct for the second occurrence of each word, but they - provide a good starting point. - - Change the second "Ativado" into "Ativadas" and the second - "Desativado" into "Desativadas", then save and quit. Run \c lrelease - to obtain an up-to-date binary \c trollprint_pt.qm file, and run Troll Print - (or rather Troll Imprimir). - - \image linguist-trollprint_10_pt_good.png - - The second argument to \c tr() calls, called "comments" in \e {Qt - Linguist}, distinguish between identical source texts that occur in - the same context (class). They are also useful in other cases to give - clues to the translator, and in the case of Ctrl key accelerators are - the only means of conveying the function performed by the accelerator to - the translator. - - An additional way of helping the translator is to provide information on - how to navigate to the particular part of the application that contains - the source texts they must translate. This helps them see the context - in which the translation appears and also helps them to find and test - the translations. This can be achieved by using a \c TRANSLATOR comment - in the source code: - - \snippet doc/src/snippets/code/doc_src_examples_trollprint.cpp 2 - - Try adding these comments to some source files, particularly to - dialog classes, describing the navigation necessary to reach the - dialogs. You could also add them to the example files, e.g. \c - mainwindow.cpp and \c printpanel.cpp are appropriate files. Run \c - lupdate and then start \e {Qt Linguist} and load in \c trollprint_pt.ts. - You should see the comments in the \uicontrol {Source text and comments} area - as you browse through the list of source texts. - - Sometimes, particularly with large programs, it can be difficult for - the translator to find their translations and check that they're - correct. Comments that provide good navigation information can save - them time: - - \snippet doc/src/snippets/code/doc_src_examples_trollprint.cpp 3 - - \section1 Troll Print 1.1 - - We'll now prepare release 1.1 of Troll Print. Start your favorite text - editor and follow these steps: - - \list - \li Uncomment the two lines that create a QLabel with the text - "\TROLL PRINT\" in \c printpanel.cpp. - \li Word-tidying: Replace "2-sided" by "Two-sided" in \c printpanel.cpp. - \li Replace "1.0" with "1.1" everywhere it occurs in \c mainwindow.cpp. - \li Update the copyright year to 1999-2000 in \c mainwindow.cpp. - \endlist - - (Of course the version number and copyright year would be consts or - #defines in a real application.) - - Once finished, run \c lupdate, then open \c trollprint_pt.ts in \e {Qt - Linguist}. The following items are of special interest: - - \list - \li \c MainWindow - \list - \li Troll Print 1.0 - marked "(obs.)", obsolete - \li About Troll Print 1.0 - marked "(obs.)", obsolete - \li Troll Print 1.0. Copyright 1999 Software, Inc. - - marked obsolete - \li Troll Print 1.1 - automatically translated as - "Troll Imprimir 1.1" - \li About Troll Print 1.1 - automatically translated as - "Troll Imprimir 1.1" - \li Troll Print 1.1. Copyright 1999-2000 Software, - Inc. - automatically translated as "Troll Imprimir 1.1. - Copyright 1999-2000 Software, Inc." - \endlist - \li \c PrintPanel - \list - \li 2-sided - marked "(obs.)", obsolete - \li \TROLL PRINT\ - unmarked, i.e. untranslated - \li Two-sided - unmarked, i.e. untranslated. - \endlist - \endlist - - Notice that \c lupdate works hard behind the scenes to make revisions - easier, and it's pretty smart with numbers. - - Go over the translations in \c MainWindow and mark these as "done". - Translate "\TROLL PRINT\" as "\TROLL IMPRIMIR\". - When you're translating "Two-sided", press the \uicontrol {Guess Again} - button to translate "Two-sided", but change the "2" into "Dois". - - Save and quit, then run \c lrelease. The Portuguese version - should look like this: - - \image linguist-trollprint_11_pt.png - - Choose \uicontrol{Ajuda|Sobre} (\uicontrol{Help|About}) to see the about box. - - If you choose \uicontrol {Ajuda|Sobre Qt} (\uicontrol {Help|About Qt}), you'll get - an English dialog. Oops! Qt itself needs to be translated. See - \l{Internationalization with Qt} for details. - - Now set \c LANG=en to get the original English version: - - \image linguist-trollprint_11_en.png -*/ diff --git a/doc/src/images/linguist-arrowpad_en.png b/doc/src/images/linguist-arrowpad_en.png deleted file mode 100644 index 9a95eb24ff694b4c056b892b6dd78cc8edbad4d9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1429 zcmV;G1#0?vONsOGs z@0`c)#>d7=X`D)FrE7wc<}#zIw;bCSI&L4+YRb16xL zbDGXVVU!^>dnrwfF-3$zX`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linguist-arrowpad_fr.png deleted file mode 100644 index fc33f9fd736a2cf4c9f03a566a7f4ae770aebf4c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1671 zcmV;226*|2P)WBoDe8$Qf;MDb*)-? ztz&()V}iA7j=gi1#tGp3XvDl!T_vl)C33GYl)BzhX`Gz8-YGnL zLRpm7)6S*C=cUKz5HNGb$Hq!&r71y#IbED7O^iZir9x??Ym&WdlE!P6#xX^N5G-p- zWu-AmjB}RGF-?SXn$B~c&Il-TN^zwjJcN6m#xYTpF;$FvqSkw+&U>cT0094lhJ=Kg z&N)qt2rP3_d968Bj9PK6gs#?vuHKBM){LsoT6Lu%MT8hUdyKNyIbD>Dw%(Mk)+s!M zDM5Rbw&!DctwL3ll)mR7G;^G~=bXOY7%X#~zVBm#y`01EDM^H-zUM+=lw*p$Yl5|< z%l9ETb8CjZYl^jHA%x8U00du2L_t(|UhJ1;kK8a6Me~wjW@cJsW@cuFGBYzXGt*D4 z?eS{BtETO$o7JdSiX}__a&&a#XKo?4qU9DKm(q`ca!F9G0yQ$JY^-cEI*XidmV*Vs zf|ui?zR{CD<=om@C{(h)q)eq!T|VtsUsJ0!^Lc}LdAgQeEeD%dXB1NkQ)%2>Zmy`Z zR6VP<+N|%sM4O`D6N%P9YoMdU5k4I5k@J`MfwQiBSN<)*ebe35<&nu`PkV=FhhKTU zZ$G|YEbi|9`d3KZjTtAYp$IW_&o@C0eMlOrIpeQeH>A_I=$j1&g#jCirwm!Cp#(Ox zC$@2yh%(e6 z0Nf!!+2RiUE)a$zD+_cn6=DbgbqIj)jEn(o& z`VO%`IK-GJ5H(Z;kn9kE6de)=qK?FXvO5$3*y?-e-x#7D3KE_i=+GoJ1R&Kt#F4N- z>|ajY5GH~mL<9vuB1MNNkoY|$YDn@~Zu64@myzu-%k^hOo4sdG{Bk&zewNdUggJqL zw)=bN|9j|X`*xJ#FbIWF_{?)Q)-AaIjSLmz1SAjDqVdl83&uX#kDC00EG=g4i1ru0rPsB!J8+S2n)oICUh>E8AA60TpEsP@zNvu{kKg1p+*zLhcmE znEW?BuJ1TL4pJc67%Tb2A zY*e9p5YZ|`hzbE^l3?cw<&=2=g{e>h#dwB@R-sBENQDwmIXtF9?i485e5dfyYYgPi z2SKlnJQ;L!#qNWk??;dzL4pJc5+q2FAVF)p*yGE$p!q%0(dDOr1PKy!d)SLvp!Op$ z03r{IL9Kx?P+AX4d>d5T*VH-rEzAN@m#)(;P}9CHBXvFtR9l*L+5x(2Uso0^0s;M? zwtan_uL1QxLtH`7;Ftg+ed(4R4aE}TI5+n#97U+%I03-IwsjbISpLS8%8BFc3MomlGt&v*4Zu7bIwM1PKx(NRS{wf&>YAh04JZEWax%)UVBh R=&=9*002ovPDHLkV1nY40C)fZ diff --git a/doc/src/images/linguist-arrowpad_nl.png b/doc/src/images/linguist-arrowpad_nl.png deleted file mode 100644 index f2645a81b3b526a8b270f15494e022955663e808..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1706 zcmV;b237fqP)WBoDe8$Qf;MDaivmq zty+1lV|}$_g0*Xoy>phv5G-?qqRxz}){L^=oWAEFJbO7&jB}2?7&v>Bw%(Mw=WB|+ z7%+1wMTA;{wHP#ejIP$4$L~sEoKk6}5HNEoNsLl)tuaZ2T5+XXb*&I2Yg&1=T79)K zQH*1Ktua-ULS39=hP4PJYiowJbCSInG;?c?#(S2=7$|FVlE!nI#tGp3XvDl!T_voWtiKGcT0094lhJ=Kg z&N)qt2rP3_d968Bj9PK6gs#?vuHKBM){LsoT6Lu%MT8hUdyKNyIbD>Dw%(Mk)+s!M zDM5Rbw&!DctwL3ll)mR7G;^G~=bXOY7%X#~zVBm#y`01EDM^H-zUM+=lw*p$Yl5|< z%l9ETb8CjZYl^k7rl17?00e?bL_t(|UhJ1;kK8a6Me~wjW@escW@cu_GBYzXGt*D4 z?eS_LtETO$lhvqKiX}__a&&a#XJ)0aqGnd0kTQUQ3Q16*0yXhc)l}83cXT-3ltki@ z_{+eUckHBBKEJ*mjh5~&EmtTMmrwhY*OW@tLc>r)gQjR#(ZR*FSy{2nP-Zk$m@2Ey z)z4}yR?E9D)6LW0!{Ii6o4>Qu-hQ~fSIS;u2hTctoISTV*G*SnpIai4JPn5CLa#iY zw;$gxB_}4n{#7!7_!-w<(K`;5L=aJH;2R?H$|vPd?nV(&`OYH>MXj$M5vf!U7IqA2 zK4~@D#oapDtjuu2h=}f7HJi;fb+NjbwXt!!`STB(&F0_RVsEkAyQIgY?5Td|Ip_Id z?l$L2B;5Dil83>Wnb6#e*CU>hrQ~vQdFw!YL&x=wZfa0L%yFFSMy4STGBkn=VW6CDzdG65f0%16^@_{acNQVH# z?+_mdhZqwCqJ}yEQXK*iqeH?#)R7QSZiiX{@_i5e8$+~15yDdd9h#zs0K~e77!p1Z z|1T$O2opgEB7!)Oh|wVmBzzAE8WMe$+xn!yWMwsevSg2DvN- z#0M2re2{|ghd~e^K)Uh@08-Xn?voqkp(>=ZJNgF5nGE_zAde29)=!Z8aheH| z+StBDSw=ystS3_QenWlxTm`B@P-R&;t3qy^8)wcar~xN}Ofkr!VUYi3g5+^*mvg~o z*3yGQvq;PoTp+CgsfM{+I1r$fUF`AA_n_lW7I)Frc6JPQs8(24*81PBlyK!5-N0(7Rzp(9y-0Xl>anT~>sm;e9(07*qoM6N<$g7c3L AIsgCw diff --git a/doc/src/images/linguist-hellotr_en.png b/doc/src/images/linguist-hellotr_en.png deleted file mode 100644 index 6b3d8072cde780db0219f5f0b03d727864821cf3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3367 zcmV+?4cPLDP)Xm<@edNMmaJ&Ejr90PI$)B-u3od-KTub}Nd9*9F zCNt)YC6j^r@VUcIe__QR@fLgpFbVA&+cdPC{nfssLw@6GxiiL52`Lx`EhQWldP|26 z05E;_llTbeP5u~!w4(jfUZJR|EdTw&1%AFh_KjOw+rK$-G%_v)gWVDiFTFP_%w4{5 zY3?)iEo#fw9}j=RU~wG#0AWqbT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c4~;fPcVH1~@X zA$eh{;yY@ntvmd{cTqUc4xJPJ!pmu6J-h-!J$k>^rmNxTLEWOoQ^XuM?%25n|6D3z zJ%Z5>;mC-8e#(h@g|egPr@lCa4_SXF)ed!7?y5oJbd1e*jd~r!9$TB2CBa zfbD6Uurds;UvW>DxP7Qd(HT z1in$KHbQT=zA2#Rz)hGSz#iyKkk0@Bn6(ddz#S#+X>rCb5VvkG-QOCpCeS-DJ4o@) zv3;E(n}XO78f?+6?~OQh_kG+4Yt$Mcp9uiaHJ^K6=rN|XxQD&)@4Saw zbD|`o(9~DYN4>Y}nIJb?mLEMOeJ^ujp#Oxlg0lE`_pgm$lSLCfo+vzk1cSPqyQ4 z^#1&_&sM#(+F;Pr`ynm~O=suVUw@6i*RQcbwrl53de?7MgMQvWia0`x_f%v@b>>ko?uFXfKRf{1=Gx=jzbvU9SKD002ovPDHLkV1f+SdSw6r diff --git a/doc/src/images/linguist-hellotr_la.png b/doc/src/images/linguist-hellotr_la.png deleted file mode 100644 index f1ecdb07adb385aca8910fd7aeae73b96e6fb6c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 753 zcmVNUAw`5KL4*JR{}3p1DM^G7Fmo|U zgb*ZaF;SE`QH(iNlsQ?H7&LQ2Rg^+qltNvcLS>vvVVp{3oJwh>N^PZ5X{AzerBZRN zQhBXfb*)-`ty+DxT7tD>eYInTwPS|8YlgLJioF;#dvlJxbCSk$md1OQ#(SE^dz#LB zqRtpNdxVCBgr3fXrp|<>)`Y6ojH=d*uGWmQ-i)^1l(OEGy55w!=bXCUoWAFr!{?mC z@1?`%Avk*>JbNKLgr&>(YmU7n47^7G00G5GL_t(|UgemFj_NQFMQ7|#%l6)T@4ff_ z-v58kI+oeNag;%3F)QUJpbU(3bQs5x02wv{B!)~B149b-3RrM5++W@M_-YhOBa_p! z^NY)?>zmuVm7|l3tDC!rrXULl~H^5DeTXMLzNIzBZsx3ILbwz2bn|M2+q^7{7v z@%7ys$QzE4;X$h*+7Zdx?XZDXH#7|gS`4>-44-2|Ow1-(I~_@2AEgHD3{!#7j0dn# zMpTA~+7Qv1VVgh&H}4McoT3d8l_6q0Lqs$)WDHF~K+V!G7g(bhL&Q3&7{k;V@<6RE zSs)qe85+ZihoSc4fb0yrX{hhR5Hlphj2VJX29Q=MZ&*ddMiCM9Dn)mO1my2S){xyx zJKt%*N;`XLWJM%vw}W|FaC@m>;&c!&2hYQRF+dCxLBKF}xdTFX4+jW6ogt{0D|%-F zSsyTlkcom!AaQ^({5_z*A%Fyx=Cujv3aF5#M_(^2MyNPa484C+tA~I-_aR7o(HLghqOoyt%^UK8KfZZ0hTT1K_dJY(gn%MY jq|C=(Us2Eq5P|azH2&hyKnkwG00000NkvXXu0mjffEihO diff --git a/doc/src/images/linguist-trollprint_10_en.png b/doc/src/images/linguist-trollprint_10_en.png deleted file mode 100644 index e460481f96739c648d1434d1436ce8e4ac867d8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1951 zcmY*aZB$a(8a^N&;DBDIv888q0Hl~x*>q9$UdqBbLr<+lP;N=K)ZG{YlWQCAJE zj7+U#<_(%Otl&Z)6j~~Z6^>1dn%f6jmSw4FAKue#-5+xRaT2)6Agnb|0)?q!B_&M47b`(e2qZ(CJURcc zK2@ZF>kPDL3DRNV2oMTgm|7@@YV~X`g6J%?I4O&ZFyf??FxV$iMvIoRxiVUq1gbHx z^U*Q`guab{IRZH+4-wYsiDW*J3JDucLR7TLL<)gnF$~ulh;$(%9ZAiXGq|V(3@c2q z!YpY*=Vl;zL9BFy#)3F=5;@`;e(sgP7_;fpmg)S%YPKcJLpM_B?yrW?gm z`H0rylPKj^Y4}xoq-&BdQcBw`sRuOt8a*XKLJNUObQq-a0bs^H-9HlmtaHPH17mk@ z9XXob^^^r{>^jn-R{!e_x>mjVhT4Iz!v?Pf58X>wdHli}wBg{Nb^Vp&8#B0D;IYan zlqNrjbvRO=V*Rr6e8bt~_*Zlb{o2AP+``Ff`?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2+!hS)HSaDrY^(hg zvn~i*+0bxjwP4-q`>{$wp7CzliVG*as#1MM$M&G(^f@Av+}C&^QGaR9r6pCL6c<)` z4!)Kst-Ews&o_k;bH(2-gv$dZF0@1PeWUblUxC{vywA$hs$Q_JNn`ANLF?G)g@|&d z-j!lpx3IWv-GgwDy`f0YnAjcHD02DucnE_~irr!s?u^Uhuuf&*>%qpYQdb&^xA7+Z z++ltHjX7tr8{69_Tv~Trao}=vjyAbbii(LuG?6Ot7az23xkxgguD%|*hB*T+N-2PC(E6m6v zx!M-<@K(zmZOZR>G$xa>BZk~y5=_Z1rp>?XFPeem zP(_;)P??`c<}>iahfz{z5gW?qftYT@4URADDe^}vCFY9UmJut$TWfg}^C*8@>lT_Yv4p8HhwI7r7dJqYtORwC$Pq;VBgN*c#Qy23b&7)l_y_y_)=^rZtR%Gxm$5xYmX_706g?03D9xsG(80HT8X5Z?4phDH(K*8>9O3ym zFW1{aSKvmjQ zQ`A+%?ri#z{-CTh}mJ)~SO$n<7&MiwjHom8yd|S(%_$g$S z=VUb(eOx1Y*;g1GD0iGZ@8S4C50yK*KGz#RTBQD>^WSi2wUC=0dHwJ9NTt;F Ze4#nz^-3kj@+E+ThkPI0O!;@g{{jBI=bQil diff --git a/doc/src/images/linguist-trollprint_11_en.png b/doc/src/images/linguist-trollprint_11_en.png deleted file mode 100644 index f718c995c0dc9650536e4c6c20a26ca4ffa815b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2019 zcmYk7dsI@{9>z4qF_{aL^L{bwJE ziCRym#^VT^n8hyU##bs7@!h8RA!MuRAHcRMntDjMywQ8 z8*!d|X@gPPU?O@$$VC&PGb?l^oHt+5X;ySksk*0(_fYm`MAd0lb(?t-En~AZE>i_p zq0|T|(UT7s!t_`vBsUnk4ctr>I{`s-CMrvmn5z-VQCN)vV`LYK@}(? z34!D&RE2_mB5*YnC)9|l4Ae+zVzx$f$|zE!BDFCwR|QL8SdP-eV3IeV9wDVi!Xz35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VYL$sH)?Vg8^cn??#b{AKfku+eo^S>%lEY*6$1yyAeESsR=Z`*T>hEgmn7@dSZ z^NwjS-5hE!Kdr9Vd9P*F(GMc%Z&kk5juNv4xo+0~TOPGaG_qGDzrz3dQOh6r(`>j8 zmb-}hZWeFaVu&gdTjfMW{gV%%r9q}Q@%DV+-eW9V{qz>NUd`2y7&6gQ_X0a2hVpbB z@t>sTe30Vt3nI^#J$v1;sAYihonX-H=HdGyidF2i={4Kf@``AZ+~xPOQ=p{CVMDT( z7D?Kof8()nP7yUSaxGbw6n4z3I2sa5a!sEJ@H!hkG$PYG;6#h`Iu^txm6yY7Mo9sKG6QzQuk#5@IhgL_1M_F FzW}S}`X~SZ From aa3a75ce145b6402578fc5b527d8a7c6a57cf765 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 7 Dec 2012 12:33:47 +0100 Subject: [PATCH 119/386] QtBase: Doc: Fix Links to designer manual. Change-Id: I87f68fb70aa773c44b90b58bd56fc5585a7e4107 Reviewed-by: Leena Miettinen --- examples/widgets/richtext/textedit/textedit.qdoc | 5 ++--- src/corelib/doc/qtcore.qdocconf | 2 +- src/corelib/doc/src/objectmodel/properties.qdoc | 4 ++-- src/widgets/doc/qtwidgets.qdocconf | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/widgets/richtext/textedit/textedit.qdoc b/examples/widgets/richtext/textedit/textedit.qdoc index 18f26dbd1d..070ac22f92 100644 --- a/examples/widgets/richtext/textedit/textedit.qdoc +++ b/examples/widgets/richtext/textedit/textedit.qdoc @@ -33,9 +33,8 @@ \brief This example displays a text editor with the user interface written in pure C++. - A similar example which uses \link designer-manual.book Qt - Designer\endlink to produce the user interface is in the \link - designer-manual.book Qt Designer manual\endlink. + A similar example which uses Qt Designer to produce the user + interface is in the \l {Qt Designer Manual}. See \c{$QTDIR/examples/textedit} for the source code. diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index 42904feb63..e0c74c9ae5 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -26,7 +26,7 @@ qhp.QtCore.subprojects.classes.sortPages = true tagfile = ../../../doc/qtcore/qtcore.tags -depends += qtgui qtwidgets qtnetwork qtdoc qtquick qtlinguist +depends += qtgui qtwidgets qtnetwork qtdoc qtquick qtlinguist qtdesigner headerdirs += .. diff --git a/src/corelib/doc/src/objectmodel/properties.qdoc b/src/corelib/doc/src/objectmodel/properties.qdoc index 4ea52050b8..d818d1154c 100644 --- a/src/corelib/doc/src/objectmodel/properties.qdoc +++ b/src/corelib/doc/src/objectmodel/properties.qdoc @@ -89,8 +89,8 @@ \li The \c DESIGNABLE attribute indicates whether the property should be visible in the property editor of GUI design tool (e.g., - \l {Qt Designer}). Most properties are \c DESIGNABLE (default - true). Instead of true or false, you can specify a boolean + \l {Qt Designer Manual}{Qt Designer}). Most properties are \c DESIGNABLE + (default true). Instead of true or false, you can specify a boolean member function. \li The \c SCRIPTABLE attribute indicates whether this property diff --git a/src/widgets/doc/qtwidgets.qdocconf b/src/widgets/doc/qtwidgets.qdocconf index 0e4ea0351b..b4bd262c26 100644 --- a/src/widgets/doc/qtwidgets.qdocconf +++ b/src/widgets/doc/qtwidgets.qdocconf @@ -27,7 +27,7 @@ qhp.QtWidgets.subprojects.classes.sortPages = true tagfile = ../../../doc/qtwidgets/qtwidgets.tags -depends += qtcore qtgui qtdoc qtsql +depends += qtcore qtgui qtdoc qtsql qtdesigner headerdirs += .. From 1eabbc0908160de7879a9ee7fa43916f0f9f8d49 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Fri, 7 Dec 2012 10:49:19 +0000 Subject: [PATCH 120/386] Blackberry: Fix crash when opening file dialog without parent. If parent is null, we now use qqnxintegration->primaryScreen() This simplifies ctors of QQnxTheme and QQnxFileDialogHelper which now receive a QQnxIntegration pointer instead of receiving a font database and a bps event filter. Change-Id: I3b1ed4d99f738b980a4f19a98618341a14e0c222 Reviewed-by: Kevin Krammer Reviewed-by: Rafael Roquetto Reviewed-by: Thomas McGuire --- .../platforms/qnx/qqnxfiledialoghelper.cpp | 15 ++++++++++----- src/plugins/platforms/qnx/qqnxfiledialoghelper.h | 6 +++--- src/plugins/platforms/qnx/qqnxintegration.cpp | 2 +- src/plugins/platforms/qnx/qqnxintegration.h | 2 +- src/plugins/platforms/qnx/qqnxtheme.cpp | 14 +++++++------- src/plugins/platforms/qnx/qqnxtheme.h | 9 +++------ 6 files changed, 25 insertions(+), 23 deletions(-) diff --git a/src/plugins/platforms/qnx/qqnxfiledialoghelper.cpp b/src/plugins/platforms/qnx/qqnxfiledialoghelper.cpp index 262bdb16f4..79d7c7d9ca 100644 --- a/src/plugins/platforms/qnx/qqnxfiledialoghelper.cpp +++ b/src/plugins/platforms/qnx/qqnxfiledialoghelper.cpp @@ -43,6 +43,7 @@ #include "qqnxbpseventfilter.h" #include "qqnxscreen.h" +#include "qqnxintegration.h" #include #include @@ -58,9 +59,9 @@ QT_BEGIN_NAMESPACE -QQnxFileDialogHelper::QQnxFileDialogHelper(QQnxBpsEventFilter *eventFilter) +QQnxFileDialogHelper::QQnxFileDialogHelper(const QQnxIntegration *integration) : QPlatformFileDialogHelper(), - m_eventFilter(eventFilter), + m_integration(integration), m_dialog(0), m_acceptMode(QFileDialogOptions::AcceptOpen), m_selectedFilter(), @@ -144,8 +145,9 @@ bool QQnxFileDialogHelper::show(Qt::WindowFlags flags, Qt::WindowModality modali Q_UNUSED(flags); qFileDialogHelperDebug() << Q_FUNC_INFO; + QQnxBpsEventFilter *eventFilter = m_integration->bpsEventFilter(); // We *really* need the bps event filter ;) - if (!m_eventFilter) + if (!eventFilter) return false; // Native dialogs can only handle application modal use cases so far @@ -208,12 +210,15 @@ bool QQnxFileDialogHelper::show(Qt::WindowFlags flags, Qt::WindowModality modali m_acceptMode = opts->acceptMode(); // Set the libscreen window group and common properties - QQnxScreen *nativeScreen = static_cast(parent->screen()->handle()); + + QQnxScreen *nativeScreen = parent ? static_cast(parent->screen()->handle()) : + m_integration->primaryDisplay(); + Q_ASSERT(nativeScreen); dialog_set_group_id(m_dialog, nativeScreen->windowGroupName()); dialog_set_title_text(m_dialog, opts->windowTitle().toLocal8Bit().constData()); // Register ourselves for dialog domain events from bps - m_eventFilter->registerForDialogEvents(this); + eventFilter->registerForDialogEvents(this); // Show the dialog dialog_show(m_dialog); diff --git a/src/plugins/platforms/qnx/qqnxfiledialoghelper.h b/src/plugins/platforms/qnx/qqnxfiledialoghelper.h index 352709c763..e17ea80501 100644 --- a/src/plugins/platforms/qnx/qqnxfiledialoghelper.h +++ b/src/plugins/platforms/qnx/qqnxfiledialoghelper.h @@ -48,13 +48,13 @@ QT_BEGIN_NAMESPACE -class QQnxBpsEventFilter; +class QQnxIntegration; class QQnxFileDialogHelper : public QPlatformFileDialogHelper { Q_OBJECT public: - explicit QQnxFileDialogHelper(QQnxBpsEventFilter *eventFilter); + explicit QQnxFileDialogHelper(const QQnxIntegration *); ~QQnxFileDialogHelper(); bool handleEvent(bps_event_t *event); @@ -81,7 +81,7 @@ Q_SIGNALS: private: void setNameFilter(const QString &filter); - QQnxBpsEventFilter *m_eventFilter; + const QQnxIntegration *m_integration; dialog_instance_t m_dialog; QFileDialogOptions::AcceptMode m_acceptMode; QString m_selectedFilter; diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp index e594ea952d..bff4dbdc2a 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.cpp +++ b/src/plugins/platforms/qnx/qqnxintegration.cpp @@ -406,7 +406,7 @@ QPlatformTheme *QQnxIntegration::createPlatformTheme(const QString &name) const { qIntegrationDebug() << Q_FUNC_INFO << "name =" << name; if (name == QQnxTheme::name()) - return new QQnxTheme(m_fontDatabase, m_bpsEventFilter); + return new QQnxTheme(this); return QPlatformIntegration::createPlatformTheme(name); } #endif diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h index 97a5e631e8..e3eb9e06ba 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.h +++ b/src/plugins/platforms/qnx/qqnxintegration.h @@ -128,10 +128,10 @@ public: void createDisplay(screen_display_t display, bool isPrimary); void removeDisplay(QQnxScreen *screen); + QQnxScreen *primaryDisplay() const; private: void createDisplays(); void destroyDisplays(); - QQnxScreen *primaryDisplay() const; static void addWindow(screen_window_t qnxWindow, QWindow *window); static void removeWindow(screen_window_t qnxWindow); diff --git a/src/plugins/platforms/qnx/qqnxtheme.cpp b/src/plugins/platforms/qnx/qqnxtheme.cpp index be62c3e410..ae9acd845e 100644 --- a/src/plugins/platforms/qnx/qqnxtheme.cpp +++ b/src/plugins/platforms/qnx/qqnxtheme.cpp @@ -43,13 +43,11 @@ #include "qqnxfiledialoghelper.h" #include "qqnxsystemsettings.h" +#include "qqnxintegration.h" QT_BEGIN_NAMESPACE -QQnxTheme::QQnxTheme(QPlatformFontDatabase *fontDatabase, - QQnxBpsEventFilter *eventFilter) - : m_fontDatabase(fontDatabase), - m_eventFilter(eventFilter) +QQnxTheme::QQnxTheme(const QQnxIntegration *integration) : m_integration(integration) { } @@ -77,7 +75,7 @@ QPlatformDialogHelper *QQnxTheme::createPlatformDialogHelper(DialogType type) co { switch (type) { case QPlatformTheme::FileDialog: - return new QQnxFileDialogHelper(m_eventFilter); + return new QQnxFileDialogHelper(m_integration); #ifndef QT_NO_COLORDIALOG case QPlatformTheme::ColorDialog: #endif @@ -91,8 +89,10 @@ QPlatformDialogHelper *QQnxTheme::createPlatformDialogHelper(DialogType type) co const QFont *QQnxTheme::font(Font type) const { - if (m_fonts.isEmpty() && m_fontDatabase) - m_fonts = qt_qnx_createRoleFonts(m_fontDatabase); + QPlatformFontDatabase *fontDatabase = m_integration->fontDatabase(); + + if (fontDatabase && m_fonts.isEmpty()) + m_fonts = qt_qnx_createRoleFonts(fontDatabase); return m_fonts.value(type, 0); } diff --git a/src/plugins/platforms/qnx/qqnxtheme.h b/src/plugins/platforms/qnx/qqnxtheme.h index ea44d1cee2..17b2eab142 100644 --- a/src/plugins/platforms/qnx/qqnxtheme.h +++ b/src/plugins/platforms/qnx/qqnxtheme.h @@ -51,14 +51,12 @@ QT_BEGIN_NAMESPACE -class QQnxBpsEventFilter; - -class QPlatformFontDatabase; +class QQnxIntegration; class QQnxTheme : public QPlatformTheme { public: - QQnxTheme(QPlatformFontDatabase *fontDatabase, QQnxBpsEventFilter *eventFilter); + explicit QQnxTheme(const QQnxIntegration *); ~QQnxTheme(); static QString name() { return QStringLiteral("blackberry"); } @@ -69,9 +67,8 @@ public: const QFont *font(Font type = SystemFont) const; private: - QPlatformFontDatabase *m_fontDatabase; - QQnxBpsEventFilter *m_eventFilter; mutable QHash m_fonts; + const QQnxIntegration *m_integration; }; QT_END_NAMESPACE From b22eb09b4803fae3a003c3a007e827a53b24bd68 Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Mon, 10 Dec 2012 14:50:53 +0100 Subject: [PATCH 121/386] Fixed installation of gui examples' targets Change-Id: Ie945ffac56ed83d2dc4605a073bcab4ef6f290ac Reviewed-by: Oswald Buddenhagen --- examples/gui/analogclock/analogclock.pro | 3 +++ examples/gui/openglwindow/openglwindow.pro | 3 +++ examples/gui/rasterwindow/rasterwindow.pro | 3 +++ 3 files changed, 9 insertions(+) diff --git a/examples/gui/analogclock/analogclock.pro b/examples/gui/analogclock/analogclock.pro index 7e0360d28a..2183c6888a 100644 --- a/examples/gui/analogclock/analogclock.pro +++ b/examples/gui/analogclock/analogclock.pro @@ -2,3 +2,6 @@ include(../rasterwindow/rasterwindow.pri) SOURCES += \ main.cpp + +target.path = $$[QT_INSTALL_EXAMPLES]/gui/analogclock +INSTALLS += target diff --git a/examples/gui/openglwindow/openglwindow.pro b/examples/gui/openglwindow/openglwindow.pro index 6a664f9a96..93f18f3d3f 100644 --- a/examples/gui/openglwindow/openglwindow.pro +++ b/examples/gui/openglwindow/openglwindow.pro @@ -2,3 +2,6 @@ include(openglwindow.pri) SOURCES += \ main.cpp + +target.path = $$[QT_INSTALL_EXAMPLES]/gui/openglwindow +INSTALLS += target diff --git a/examples/gui/rasterwindow/rasterwindow.pro b/examples/gui/rasterwindow/rasterwindow.pro index 0ea830b037..8ca4f7a89d 100644 --- a/examples/gui/rasterwindow/rasterwindow.pro +++ b/examples/gui/rasterwindow/rasterwindow.pro @@ -2,3 +2,6 @@ include(rasterwindow.pri) SOURCES += \ main.cpp + +target.path = $$[QT_INSTALL_EXAMPLES]/gui/rasterwindow +INSTALLS += target From c9d40ef2c1ff9e701cd052dadfc0e515ff6b523f Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 10 Dec 2012 11:49:09 +0200 Subject: [PATCH 122/386] Add PLUGIN_CLASS_NAME to qtbase plugins Needed for automating static plugin loading. Task-number: QTBUG-28131 Change-Id: Icd993c0fc8335f29aeec30e853a408d888069399 Reviewed-by: Oswald Buddenhagen --- src/plugins/accessible/widgets/widgets.pro | 1 + src/plugins/bearer/blackberry/blackberry.pro | 1 + src/plugins/bearer/connman/connman.pro | 1 + src/plugins/bearer/corewlan/corewlan.pro | 1 + src/plugins/bearer/generic/generic.pro | 1 + src/plugins/bearer/nativewifi/nativewifi.pro | 1 + src/plugins/bearer/networkmanager/networkmanager.pro | 1 + src/plugins/bearer/nla/nla.pro | 1 + src/plugins/generic/evdevkeyboard/evdevkeyboard.pro | 1 + src/plugins/generic/evdevmouse/evdevmouse.pro | 1 + src/plugins/generic/evdevtablet/evdevtablet.pro | 1 + src/plugins/generic/evdevtouch/evdevtouch.pro | 1 + src/plugins/generic/meego/meego.pro | 1 + src/plugins/generic/tslib/tslib.pro | 1 + src/plugins/imageformats/gif/gif.pro | 1 + src/plugins/imageformats/ico/ico.pro | 1 + src/plugins/imageformats/jpeg/jpeg.pro | 1 + src/plugins/platforminputcontexts/ibus/ibus.pro | 1 + src/plugins/platforminputcontexts/maliit/maliit.pro | 1 + src/plugins/platforms/cocoa/cocoa.pro | 1 + src/plugins/platforms/directfb/directfb.pro | 1 + src/plugins/platforms/eglfs/eglfs.pro | 1 + src/plugins/platforms/kms/kms.pro | 1 + src/plugins/platforms/linuxfb/linuxfb.pro | 1 + src/plugins/platforms/minimal/minimal.pro | 1 + src/plugins/platforms/minimalegl/minimalegl.pro | 1 + src/plugins/platforms/openwfd/openwf.pro | 1 + src/plugins/platforms/qnx/qnx.pro | 1 + src/plugins/platforms/windows/windows.pro | 1 + src/plugins/platforms/xcb/xcb-plugin.pro | 1 + src/plugins/printsupport/cocoa/cocoa.pro | 1 + src/plugins/printsupport/cups/cups.pro | 1 + src/plugins/printsupport/windows/windows.pro | 1 + src/plugins/sqldrivers/db2/db2.pro | 1 + src/plugins/sqldrivers/ibase/ibase.pro | 1 + src/plugins/sqldrivers/mysql/mysql.pro | 1 + src/plugins/sqldrivers/oci/oci.pro | 1 + src/plugins/sqldrivers/odbc/odbc.pro | 1 + src/plugins/sqldrivers/psql/psql.pro | 1 + src/plugins/sqldrivers/sqlite/sqlite.pro | 1 + src/plugins/sqldrivers/sqlite2/sqlite2.pro | 1 + src/plugins/sqldrivers/tds/tds.pro | 1 + 42 files changed, 42 insertions(+) diff --git a/src/plugins/accessible/widgets/widgets.pro b/src/plugins/accessible/widgets/widgets.pro index afabbac9bc..aff60d9781 100644 --- a/src/plugins/accessible/widgets/widgets.pro +++ b/src/plugins/accessible/widgets/widgets.pro @@ -1,6 +1,7 @@ TARGET = qtaccessiblewidgets PLUGIN_TYPE = accessible +PLUGIN_CLASS_NAME = AccessibleFactory load(qt_plugin) QT += core-private gui-private widgets-private diff --git a/src/plugins/bearer/blackberry/blackberry.pro b/src/plugins/bearer/blackberry/blackberry.pro index 220a506d90..c75de3aaad 100644 --- a/src/plugins/bearer/blackberry/blackberry.pro +++ b/src/plugins/bearer/blackberry/blackberry.pro @@ -1,6 +1,7 @@ TARGET = qbbbearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QBBEnginePlugin load(qt_plugin) QT = core-private network-private diff --git a/src/plugins/bearer/connman/connman.pro b/src/plugins/bearer/connman/connman.pro index 99d9b367f2..cccdff0fdb 100644 --- a/src/plugins/bearer/connman/connman.pro +++ b/src/plugins/bearer/connman/connman.pro @@ -1,6 +1,7 @@ TARGET = qconnmanbearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QConnmanEnginePlugin load(qt_plugin) QT = core network-private dbus diff --git a/src/plugins/bearer/corewlan/corewlan.pro b/src/plugins/bearer/corewlan/corewlan.pro index 481b75c8ab..db8651de6e 100644 --- a/src/plugins/bearer/corewlan/corewlan.pro +++ b/src/plugins/bearer/corewlan/corewlan.pro @@ -1,6 +1,7 @@ TARGET = qcorewlanbearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QCoreWlanEnginePlugin load(qt_plugin) QT = core-private network-private diff --git a/src/plugins/bearer/generic/generic.pro b/src/plugins/bearer/generic/generic.pro index a1da0dddda..d0e17380e3 100644 --- a/src/plugins/bearer/generic/generic.pro +++ b/src/plugins/bearer/generic/generic.pro @@ -1,6 +1,7 @@ TARGET = qgenericbearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QGenericEnginePlugin load(qt_plugin) QT = core-private network-private diff --git a/src/plugins/bearer/nativewifi/nativewifi.pro b/src/plugins/bearer/nativewifi/nativewifi.pro index 4382cd08cd..e372c8ca05 100644 --- a/src/plugins/bearer/nativewifi/nativewifi.pro +++ b/src/plugins/bearer/nativewifi/nativewifi.pro @@ -1,6 +1,7 @@ TARGET = qnativewifibearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QNativeWifiEnginePlugin load(qt_plugin) QT = core-private network-private diff --git a/src/plugins/bearer/networkmanager/networkmanager.pro b/src/plugins/bearer/networkmanager/networkmanager.pro index 4f299e22f2..1ed9bfaa1b 100644 --- a/src/plugins/bearer/networkmanager/networkmanager.pro +++ b/src/plugins/bearer/networkmanager/networkmanager.pro @@ -1,6 +1,7 @@ TARGET = qnmbearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QNetworkManagerEnginePlugin load(qt_plugin) QT = core network-private dbus diff --git a/src/plugins/bearer/nla/nla.pro b/src/plugins/bearer/nla/nla.pro index 56c06a57b1..bac7608477 100644 --- a/src/plugins/bearer/nla/nla.pro +++ b/src/plugins/bearer/nla/nla.pro @@ -1,6 +1,7 @@ TARGET = qnlabearer PLUGIN_TYPE = bearer +PLUGIN_CLASS_NAME = QNlaEnginePlugin load(qt_plugin) QT = core core-private network network-private diff --git a/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro b/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro index 97b827b779..281515145f 100644 --- a/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro +++ b/src/plugins/generic/evdevkeyboard/evdevkeyboard.pro @@ -1,6 +1,7 @@ TARGET = qevdevkeyboardplugin PLUGIN_TYPE = generic +PLUGIN_CLASS_NAME = QEvdevKeyboardPlugin load(qt_plugin) QT += core-private platformsupport-private gui-private diff --git a/src/plugins/generic/evdevmouse/evdevmouse.pro b/src/plugins/generic/evdevmouse/evdevmouse.pro index c1356593df..9a3cc839cc 100644 --- a/src/plugins/generic/evdevmouse/evdevmouse.pro +++ b/src/plugins/generic/evdevmouse/evdevmouse.pro @@ -1,6 +1,7 @@ TARGET = qevdevmouseplugin PLUGIN_TYPE = generic +PLUGIN_CLASS_NAME = QEvdevMousePlugin load(qt_plugin) QT += core-private platformsupport-private gui-private diff --git a/src/plugins/generic/evdevtablet/evdevtablet.pro b/src/plugins/generic/evdevtablet/evdevtablet.pro index 066819be33..ee3fbb3ec1 100644 --- a/src/plugins/generic/evdevtablet/evdevtablet.pro +++ b/src/plugins/generic/evdevtablet/evdevtablet.pro @@ -1,6 +1,7 @@ TARGET = qevdevtabletplugin PLUGIN_TYPE = generic +PLUGIN_CLASS_NAME = QEvdevTabletPlugin load(qt_plugin) SOURCES = main.cpp diff --git a/src/plugins/generic/evdevtouch/evdevtouch.pro b/src/plugins/generic/evdevtouch/evdevtouch.pro index 2c1d6913ad..3d1c481c36 100644 --- a/src/plugins/generic/evdevtouch/evdevtouch.pro +++ b/src/plugins/generic/evdevtouch/evdevtouch.pro @@ -1,6 +1,7 @@ TARGET = qevdevtouchplugin PLUGIN_TYPE = generic +PLUGIN_CLASS_NAME = QEvdevTouchScreenPlugin load(qt_plugin) SOURCES = main.cpp diff --git a/src/plugins/generic/meego/meego.pro b/src/plugins/generic/meego/meego.pro index b8845418e8..c428517cd5 100644 --- a/src/plugins/generic/meego/meego.pro +++ b/src/plugins/generic/meego/meego.pro @@ -1,6 +1,7 @@ TARGET = qmeegointegration PLUGIN_TYPE = generic +PLUGIN_CLASS_NAME = QMeeGoIntegrationPlugin load(qt_plugin) SOURCES = qmeegointegration.cpp \ diff --git a/src/plugins/generic/tslib/tslib.pro b/src/plugins/generic/tslib/tslib.pro index ab0645d89a..035857bb73 100644 --- a/src/plugins/generic/tslib/tslib.pro +++ b/src/plugins/generic/tslib/tslib.pro @@ -1,6 +1,7 @@ TARGET = qtslibplugin PLUGIN_TYPE = generic +PLUGIN_CLASS_NAME = QTsLibPlugin load(qt_plugin) HEADERS = qtslib.h diff --git a/src/plugins/imageformats/gif/gif.pro b/src/plugins/imageformats/gif/gif.pro index d5acfedff7..898f06e7c7 100644 --- a/src/plugins/imageformats/gif/gif.pro +++ b/src/plugins/imageformats/gif/gif.pro @@ -1,6 +1,7 @@ TARGET = qgif PLUGIN_TYPE = imageformats +PLUGIN_CLASS_NAME = QGifPlugin load(qt_plugin) include(../../../gui/image/qgifhandler.pri) diff --git a/src/plugins/imageformats/ico/ico.pro b/src/plugins/imageformats/ico/ico.pro index 48bfd6b344..4250fcb4bc 100644 --- a/src/plugins/imageformats/ico/ico.pro +++ b/src/plugins/imageformats/ico/ico.pro @@ -1,6 +1,7 @@ TARGET = qico PLUGIN_TYPE = imageformats +PLUGIN_CLASS_NAME = QICOPlugin load(qt_plugin) QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-ico)" diff --git a/src/plugins/imageformats/jpeg/jpeg.pro b/src/plugins/imageformats/jpeg/jpeg.pro index 35153eb59c..45bf7bbd43 100644 --- a/src/plugins/imageformats/jpeg/jpeg.pro +++ b/src/plugins/imageformats/jpeg/jpeg.pro @@ -1,6 +1,7 @@ TARGET = qjpeg PLUGIN_TYPE = imageformats +PLUGIN_CLASS_NAME = QJpegPlugin load(qt_plugin) QT += core-private diff --git a/src/plugins/platforminputcontexts/ibus/ibus.pro b/src/plugins/platforminputcontexts/ibus/ibus.pro index 033d5a4d5c..75a5b5838f 100644 --- a/src/plugins/platforminputcontexts/ibus/ibus.pro +++ b/src/plugins/platforminputcontexts/ibus/ibus.pro @@ -1,6 +1,7 @@ TARGET = ibusplatforminputcontextplugin PLUGIN_TYPE = platforminputcontexts +PLUGIN_CLASS_NAME = QIbusPlatformInputContextPlugin load(qt_plugin) QT += dbus gui-private diff --git a/src/plugins/platforminputcontexts/maliit/maliit.pro b/src/plugins/platforminputcontexts/maliit/maliit.pro index dec6833196..1e50f7289b 100644 --- a/src/plugins/platforminputcontexts/maliit/maliit.pro +++ b/src/plugins/platforminputcontexts/maliit/maliit.pro @@ -1,6 +1,7 @@ TARGET = maliitplatforminputcontextplugin PLUGIN_TYPE = platforminputcontexts +PLUGIN_CLASS_NAME = QMaliitPlatformInputContextPlugin load(qt_plugin) QT += dbus gui-private diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro index f709bef633..5533650809 100644 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ b/src/plugins/platforms/cocoa/cocoa.pro @@ -1,6 +1,7 @@ TARGET = qcocoa PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QCocoaIntegrationPlugin load(qt_plugin) OBJECTIVE_SOURCES += main.mm \ diff --git a/src/plugins/platforms/directfb/directfb.pro b/src/plugins/platforms/directfb/directfb.pro index 29c5ebd99b..ec4a612b52 100644 --- a/src/plugins/platforms/directfb/directfb.pro +++ b/src/plugins/platforms/directfb/directfb.pro @@ -1,6 +1,7 @@ TARGET = qdirectfb PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QDirectFbIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro index 1223b6b133..45059a9cb9 100644 --- a/src/plugins/platforms/eglfs/eglfs.pro +++ b/src/plugins/platforms/eglfs/eglfs.pro @@ -1,6 +1,7 @@ TARGET = qeglfs PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/platforms/kms/kms.pro b/src/plugins/platforms/kms/kms.pro index 57191d8d97..c0300e0960 100644 --- a/src/plugins/platforms/kms/kms.pro +++ b/src/plugins/platforms/kms/kms.pro @@ -1,6 +1,7 @@ TARGET = qkms PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QKmsIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private opengl-private diff --git a/src/plugins/platforms/linuxfb/linuxfb.pro b/src/plugins/platforms/linuxfb/linuxfb.pro index 2482a64469..9e9f9b29b7 100644 --- a/src/plugins/platforms/linuxfb/linuxfb.pro +++ b/src/plugins/platforms/linuxfb/linuxfb.pro @@ -1,6 +1,7 @@ TARGET = qlinuxfb PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QLinuxFbIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/platforms/minimal/minimal.pro b/src/plugins/platforms/minimal/minimal.pro index 9c3d37269c..3131b16232 100644 --- a/src/plugins/platforms/minimal/minimal.pro +++ b/src/plugins/platforms/minimal/minimal.pro @@ -1,6 +1,7 @@ TARGET = qminimal PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QMinimalIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/platforms/minimalegl/minimalegl.pro b/src/plugins/platforms/minimalegl/minimalegl.pro index 23a6ad9708..00c83eb1ca 100644 --- a/src/plugins/platforms/minimalegl/minimalegl.pro +++ b/src/plugins/platforms/minimalegl/minimalegl.pro @@ -1,6 +1,7 @@ TARGET = qminimalegl PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QMinimalEglIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/platforms/openwfd/openwf.pro b/src/plugins/platforms/openwfd/openwf.pro index 1b177cba04..2dbcb282db 100644 --- a/src/plugins/platforms/openwfd/openwf.pro +++ b/src/plugins/platforms/openwfd/openwf.pro @@ -1,6 +1,7 @@ TARGET = qopenwf PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QOpenWFDIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/platforms/qnx/qnx.pro b/src/plugins/platforms/qnx/qnx.pro index 30c95b1620..32dea13d52 100644 --- a/src/plugins/platforms/qnx/qnx.pro +++ b/src/plugins/platforms/qnx/qnx.pro @@ -137,4 +137,5 @@ include (../../../platformsupport/eglconvenience/eglconvenience.pri) include (../../../platformsupport/fontdatabases/fontdatabases.pri) PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QQnxIntegrationPlugin load(qt_plugin) diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro index 248c0992bf..4f80d7739f 100644 --- a/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro @@ -1,6 +1,7 @@ TARGET = windows PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QWindowsIntegrationPlugin load(qt_plugin) QT *= core-private diff --git a/src/plugins/platforms/xcb/xcb-plugin.pro b/src/plugins/platforms/xcb/xcb-plugin.pro index b7b5650eea..27fac3538f 100644 --- a/src/plugins/platforms/xcb/xcb-plugin.pro +++ b/src/plugins/platforms/xcb/xcb-plugin.pro @@ -1,6 +1,7 @@ TARGET = xcb PLUGIN_TYPE = platforms +PLUGIN_CLASS_NAME = QXcbIntegrationPlugin load(qt_plugin) QT += core-private gui-private platformsupport-private diff --git a/src/plugins/printsupport/cocoa/cocoa.pro b/src/plugins/printsupport/cocoa/cocoa.pro index c0206fd2bc..a3b9e2dfcf 100644 --- a/src/plugins/printsupport/cocoa/cocoa.pro +++ b/src/plugins/printsupport/cocoa/cocoa.pro @@ -1,6 +1,7 @@ TARGET = cocoaprintersupport MODULE = cocoaprintersupport PLUGIN_TYPE = printsupport +PLUGIN_CLASS_NAME = QCocoaPrinterSupportPlugin load(qt_plugin) QT += gui-private printsupport-private diff --git a/src/plugins/printsupport/cups/cups.pro b/src/plugins/printsupport/cups/cups.pro index 0ea5058c00..f617738a94 100644 --- a/src/plugins/printsupport/cups/cups.pro +++ b/src/plugins/printsupport/cups/cups.pro @@ -1,6 +1,7 @@ TARGET = cupsprintersupport MODULE = cupsprintersupport PLUGIN_TYPE = printsupport +PLUGIN_CLASS_NAME = QCupsPrinterSupportPlugin load(qt_plugin) QT += core-private gui-private printsupport printsupport-private diff --git a/src/plugins/printsupport/windows/windows.pro b/src/plugins/printsupport/windows/windows.pro index 5b5dd86beb..ae9efa342b 100644 --- a/src/plugins/printsupport/windows/windows.pro +++ b/src/plugins/printsupport/windows/windows.pro @@ -1,6 +1,7 @@ TARGET = windowsprintersupport MODULE = windowsprintersupport PLUGIN_TYPE = printsupport +PLUGIN_CLASS_NAME = QWindowsPrinterSupportPlugin load(qt_plugin) QT *= core-private diff --git a/src/plugins/sqldrivers/db2/db2.pro b/src/plugins/sqldrivers/db2/db2.pro index d04e6f191b..2365c5bc0e 100644 --- a/src/plugins/sqldrivers/db2/db2.pro +++ b/src/plugins/sqldrivers/db2/db2.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += db2.json include(../../../sql/drivers/db2/qsql_db2.pri) +PLUGIN_CLASS_NAME = QDB2DriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/ibase/ibase.pro b/src/plugins/sqldrivers/ibase/ibase.pro index ca2a91aa2e..1f29597a2b 100644 --- a/src/plugins/sqldrivers/ibase/ibase.pro +++ b/src/plugins/sqldrivers/ibase/ibase.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += ibase.json include(../../../sql/drivers/ibase/qsql_ibase.pri) +PLUGIN_CLASS_NAME = QIBaseDriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/mysql/mysql.pro b/src/plugins/sqldrivers/mysql/mysql.pro index 05d1073701..c917bfca48 100644 --- a/src/plugins/sqldrivers/mysql/mysql.pro +++ b/src/plugins/sqldrivers/mysql/mysql.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += mysql.json include(../../../sql/drivers/mysql/qsql_mysql.pri) +PLUGIN_CLASS_NAME = QMYSQLDriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/oci/oci.pro b/src/plugins/sqldrivers/oci/oci.pro index 89642f3653..96a0dd9ab6 100644 --- a/src/plugins/sqldrivers/oci/oci.pro +++ b/src/plugins/sqldrivers/oci/oci.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += oci.json include(../../../sql/drivers/oci/qsql_oci.pri) +PLUGIN_CLASS_NAME = QOCIDriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/odbc/odbc.pro b/src/plugins/sqldrivers/odbc/odbc.pro index 5ebd34fd17..c0020c065f 100644 --- a/src/plugins/sqldrivers/odbc/odbc.pro +++ b/src/plugins/sqldrivers/odbc/odbc.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += odbc.json include(../../../sql/drivers/odbc/qsql_odbc.pri) +PLUGIN_CLASS_NAME = QODBCDriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/psql/psql.pro b/src/plugins/sqldrivers/psql/psql.pro index cb0d27e171..0fabe0e616 100644 --- a/src/plugins/sqldrivers/psql/psql.pro +++ b/src/plugins/sqldrivers/psql/psql.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += psql.json include(../../../sql/drivers/psql/qsql_psql.pri) +PLUGIN_CLASS_NAME = QPSQLDriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/sqlite/sqlite.pro b/src/plugins/sqldrivers/sqlite/sqlite.pro index d1f4aa7233..60b30d70c0 100644 --- a/src/plugins/sqldrivers/sqlite/sqlite.pro +++ b/src/plugins/sqldrivers/sqlite/sqlite.pro @@ -6,4 +6,5 @@ include(../../../sql/drivers/sqlite/qsql_sqlite.pri) wince*: DEFINES += HAVE_LOCALTIME_S=0 +PLUGIN_CLASS_NAME = QSQLiteDriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/sqlite2/sqlite2.pro b/src/plugins/sqldrivers/sqlite2/sqlite2.pro index 1cbd31c3dc..d69afc119f 100644 --- a/src/plugins/sqldrivers/sqlite2/sqlite2.pro +++ b/src/plugins/sqldrivers/sqlite2/sqlite2.pro @@ -4,4 +4,5 @@ SOURCES = smain.cpp OTHER_FILES += sqlite2.json include(../../../sql/drivers/sqlite2/qsql_sqlite2.pri) +PLUGIN_CLASS_NAME = QSQLite2DriverPlugin include(../qsqldriverbase.pri) diff --git a/src/plugins/sqldrivers/tds/tds.pro b/src/plugins/sqldrivers/tds/tds.pro index 9f7c2a193f..88f4b7c451 100644 --- a/src/plugins/sqldrivers/tds/tds.pro +++ b/src/plugins/sqldrivers/tds/tds.pro @@ -4,4 +4,5 @@ SOURCES = main.cpp OTHER_FILES += tds.json include(../../../sql/drivers/tds/qsql_tds.pri) +PLUGIN_CLASS_NAME = QTDSDriverPlugin include(../qsqldriverbase.pri) From f166fcd3d0931ecc08087b12fdac5940e5ccbdf7 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 10 Dec 2012 15:56:29 +0200 Subject: [PATCH 123/386] Pro-file level support for importing plugins for static Qt builds Platform plugin is needed always when gui is linked to an application. This is tedious to do manually for static builds, so provide support for generating a source file that imports static plugins for application projects. "CONFIG += import_plugins" statement in application .pro file will generate required import statements for all plugins specified with QTPLUGIN variable. The plugin class names are found from plugin's module pri generated automatically when plugin is built, as long as the plugin specifies the PLUGIN_CLASS_NAME in the plugin .pro file before loading qt_plugin.prf. Task-number: QTBUG-28131 Change-Id: I19f8ea48a3c1e9b5c81f4399c4b5d439a6d4bea1 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt.prf | 25 ++++++++++++++++++++++++- mkspecs/features/qt_plugin.prf | 4 +++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 443914e011..6b2833b09e 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -36,7 +36,30 @@ plugin { #Qt plugins } QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN -contains(QT_CONFIG, static): QT_PLUGIN_VERIFY += QTPLUGIN + +contains(QT_CONFIG, static) { + QT_PLUGIN_VERIFY += QTPLUGIN + contains(TEMPLATE, .*app) { + import_plugins:!isEmpty(QTPLUGIN) { + IMPORT_FILE_CONT = \ + "// This file is autogenerated by qmake. It imports static plugin classes for" \ + "// static plugins specified using QTPLUGIN and QT_PLUGIN_CLASS. variables." \ + "$${LITERAL_HASH}include " + for(IMPORT_PLUG, $$list($$unique(QTPLUGIN))) { + PLUG_CLASS = $$eval(QT_PLUGIN.$${IMPORT_PLUG}.CLASS_NAME) + !isEmpty(PLUG_CLASS): \ + IMPORT_FILE_CONT += "Q_IMPORT_PLUGIN($$PLUG_CLASS)" + else: \ + warning("Plugin class name could not be determined for $$IMPORT_PLUG plugin.") + } + IMPORT_CPP = $$OUT_PWD/$$lower($$basename(TARGET))_plugin_import.cpp + write_file($$IMPORT_CPP, IMPORT_FILE_CONT)|error("Aborting.") + SOURCES += $$IMPORT_CPP + QMAKE_DISTCLEAN += $$IMPORT_CPP + } + } +} + for(QT_CURRENT_VERIFY, $$list($$QT_PLUGIN_VERIFY)) { for(QTPLUG, $$list($$lower($$unique($$QT_CURRENT_VERIFY)))) { # Check if the plugin is known to Qt. We can use this to determine diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index e09e5d0a3c..f547e2d1eb 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -26,7 +26,9 @@ else:CONFIG += shared MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules/qt_plugin_$${MODULE}.pri MODULE_PRI_CONT = \ - "QT_PLUGIN.$${MODULE}.TYPE = $$PLUGIN_TYPE" + "QT_PLUGIN.$${MODULE}.TYPE = $$PLUGIN_TYPE" \ + "QT_PLUGIN.$${MODULE}.CLASS_NAME = $$PLUGIN_CLASS_NAME" + write_file($$MODULE_PRI, MODULE_PRI_CONT)|error("Aborting.") pritarget.path = $$[QT_HOST_DATA]/mkspecs/modules From 903fa2e4aa0d4e0cf0e13216dd8883b5e4a7709d Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 10 Dec 2012 16:11:47 +0200 Subject: [PATCH 124/386] Add QT_DEFAULT_QPA_PLUGIN to generated qconfig.pri Configure will now generate QT_DEFAULT_QPA_PLUGIN qmake variable to specify the default QPA plugin. "CONFIG += qpa_default_plugin" statement in application .pro file will add the default QPA plugin into QTPLUGINS. "CONFIG += qpa_minimal_plugin" statement in application .pro file will add the minimal QPA plugin into QTPLUGINS. Task-number: QTBUG-28131 Change-Id: I12a241005f30b37467d783b50f0369b47e605e68 Reviewed-by: Oswald Buddenhagen --- configure | 5 +++++ mkspecs/features/qt.prf | 4 ++++ .../doc/snippets/code/doc_src_plugins-howto.pro | 3 +++ src/corelib/doc/src/plugins-howto.qdoc | 10 ++++++++++ tools/configure/configureapp.cpp | 3 +++ 5 files changed, 25 insertions(+) diff --git a/configure b/configure index cebb5a8ea2..f2251be233 100755 --- a/configure +++ b/configure @@ -6026,6 +6026,11 @@ QT_NAMESPACE = $QT_NAMESPACE EOF +if [ "$CFG_SHARED" = "no" ]; then + echo "QT_DEFAULT_QPA_PLUGIN = $QT_QPA_DEFAULT_PLATFORM" >> "$QTCONFIG.tmp" + echo >> "$QTCONFIG.tmp" +fi + if [ -n "$PKG_CONFIG_SYSROOT_DIR" ] || [ -n "$PKG_CONFIG_LIBDIR" ]; then echo "# pkgconfig" >> "$QTCONFIG.tmp" echo "PKG_CONFIG_SYSROOT_DIR = $PKG_CONFIG_SYSROOT_DIR" >> "$QTCONFIG.tmp" diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 6b2833b09e..0735ec465c 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -40,6 +40,10 @@ QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN contains(QT_CONFIG, static) { QT_PLUGIN_VERIFY += QTPLUGIN contains(TEMPLATE, .*app) { + contains(QT, gui) { + qpa_minimal_plugin: QTPLUGIN += qminimal + qpa_default_plugin: QTPLUGIN += $$QT_DEFAULT_QPA_PLUGIN + } import_plugins:!isEmpty(QTPLUGIN) { IMPORT_FILE_CONT = \ "// This file is autogenerated by qmake. It imports static plugin classes for" \ diff --git a/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro b/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro index 20d5f7e41b..2b20811377 100644 --- a/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro +++ b/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro @@ -42,6 +42,9 @@ CONFIG += release #! [3] +#! [4] +CONFIG += qpa_default_plugin import_plugins +#! [4] #! [5] QTPLUGIN += qjpeg \ diff --git a/src/corelib/doc/src/plugins-howto.qdoc b/src/corelib/doc/src/plugins-howto.qdoc index 332b92596b..37c1c13fea 100644 --- a/src/corelib/doc/src/plugins-howto.qdoc +++ b/src/corelib/doc/src/plugins-howto.qdoc @@ -296,6 +296,16 @@ to make sure that the \c{QT_STATICPLUGIN} preprocessor macro is defined. + Qt platform adaptation plugins are not automatically linked in static + builds. To add default QPA plugin to \c QTPLUGIN variable and automatically + generate Q_IMPORT_PLUGIN statements for your application, add the following + to \c CONFIG: + + \snippet code/doc_src_plugins-howto.pro 4 + + If the minimal QPA plugin is required, use \c qpa_minimal_plugin instead of + \c qpa_default_plugin. + \section1 Deploying and Debugging Plugins The \l{Deploying Plugins} document covers the process of deploying diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 696d07ade4..2bb670dfd7 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -3099,6 +3099,9 @@ void Configure::generateQConfigPri() if (!dictionary["QT_NAMESPACE"].isEmpty()) configStream << "#namespaces" << endl << "QT_NAMESPACE = " << dictionary["QT_NAMESPACE"] << endl; + if (dictionary[ "SHARED" ] == "no") + configStream << "QT_DEFAULT_QPA_PLUGIN = " << qpaPlatformName() << endl; + configStream.flush(); configFile.close(); } From 5809485dbed884d937e01a8d6e27e9b32eed32cb Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 10 Dec 2012 15:42:18 +0100 Subject: [PATCH 125/386] Move a Q_DECLARE_METATYPE higher up in the file. Having it low in the file causes ODR violations. Change-Id: I6267c7c1b043e77b251a88cb8940a9f063160891 Reviewed-by: Lars Knoll --- .../animation/qpropertyanimation/tst_qpropertyanimation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp b/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp index f1e02c65a8..8539b76dc3 100644 --- a/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp +++ b/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp @@ -44,6 +44,8 @@ #include #include +Q_DECLARE_METATYPE(QAbstractAnimation::State) + class UncontrolledAnimation : public QPropertyAnimation { Q_OBJECT @@ -699,7 +701,6 @@ struct Number }; Q_DECLARE_METATYPE(Number) -Q_DECLARE_METATYPE(QAbstractAnimation::State) QVariant numberInterpolator(const Number &f, const Number &t, qreal progress) { From eb2688c4c4f257d0a4d978ba4bf57d6347b15252 Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Thu, 6 Dec 2012 17:03:18 +0000 Subject: [PATCH 126/386] Fix binary incompatibility between openssl versions OpenSSL changed the layout of X509_STORE_CTX between 0.9 and 1.0 So we have to consider this struct as private implementation, and use the access functions instead. This bug would cause certificate verification problems if a different version of openssl is loaded at runtime to the headers Qt was compiled against. Task-number: QTBUG-28343 Change-Id: I47fc24336f7d9c80f08f9c8ba6debc51a5591258 Reviewed-by: Richard J. Moore --- src/network/ssl/qsslsocket_openssl.cpp | 6 +++--- src/network/ssl/qsslsocket_openssl_symbols.cpp | 8 ++++++++ src/network/ssl/qsslsocket_openssl_symbols_p.h | 4 ++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp index 39b49ce09e..9e0331391b 100644 --- a/src/network/ssl/qsslsocket_openssl.cpp +++ b/src/network/ssl/qsslsocket_openssl.cpp @@ -229,12 +229,12 @@ static int q_X509Callback(int ok, X509_STORE_CTX *ctx) { if (!ok) { // Store the error and at which depth the error was detected. - _q_sslErrorList()->errors << qMakePair(ctx->error, ctx->error_depth); + _q_sslErrorList()->errors << qMakePair(q_X509_STORE_CTX_get_error(ctx), q_X509_STORE_CTX_get_error_depth(ctx)); #ifdef QSSLSOCKET_DEBUG qDebug() << "verification error: dumping bad certificate"; - qDebug() << QSslCertificatePrivate::QSslCertificate_from_X509(ctx->current_cert).toPem(); + qDebug() << QSslCertificatePrivate::QSslCertificate_from_X509(q_X509_STORE_CTX_get_current_cert(ctx)).toPem(); qDebug() << "dumping chain"; - foreach (QSslCertificate cert, QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates(ctx->chain)) { + foreach (QSslCertificate cert, QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates(q_X509_STORE_CTX_get_chain(ctx))) { QString certFormat(QStringLiteral("O=%1 CN=%2 L=%3 OU=%4 C=%5 ST=%6")); qDebug() << "Issuer:" << "O=" << cert.issuerInfo(QSslCertificate::Organization) << "CN=" << cert.issuerInfo(QSslCertificate::CommonName) diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/src/network/ssl/qsslsocket_openssl_symbols.cpp index eeae9d461f..0df77b07f7 100644 --- a/src/network/ssl/qsslsocket_openssl_symbols.cpp +++ b/src/network/ssl/qsslsocket_openssl_symbols.cpp @@ -294,6 +294,10 @@ DEFINEFUNC2(int, X509_STORE_add_cert, X509_STORE *a, a, X509 *b, b, return 0, re DEFINEFUNC(void, X509_STORE_CTX_free, X509_STORE_CTX *a, a, return, DUMMYARG) DEFINEFUNC4(int, X509_STORE_CTX_init, X509_STORE_CTX *a, a, X509_STORE *b, b, X509 *c, c, STACK_OF(X509) *d, d, return -1, return) DEFINEFUNC2(int, X509_STORE_CTX_set_purpose, X509_STORE_CTX *a, a, int b, b, return -1, return) +DEFINEFUNC(int, X509_STORE_CTX_get_error, X509_STORE_CTX *a, a, return -1, return) +DEFINEFUNC(int, X509_STORE_CTX_get_error_depth, X509_STORE_CTX *a, a, return -1, return) +DEFINEFUNC(X509 *, X509_STORE_CTX_get_current_cert, X509_STORE_CTX *a, a, return 0, return) +DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get_chain, X509_STORE_CTX *a, a, return 0, return) DEFINEFUNC(X509_STORE_CTX *, X509_STORE_CTX_new, DUMMYARG, DUMMYARG, return 0, return) #ifdef SSLEAY_MACROS DEFINEFUNC2(int, i2d_DSAPrivateKey, const DSA *a, a, unsigned char **b, b, return -1, return) @@ -714,6 +718,10 @@ bool q_resolveOpenSslSymbols() RESOLVEFUNC(X509_STORE_CTX_init) RESOLVEFUNC(X509_STORE_CTX_new) RESOLVEFUNC(X509_STORE_CTX_set_purpose) + RESOLVEFUNC(X509_STORE_CTX_get_error) + RESOLVEFUNC(X509_STORE_CTX_get_error_depth) + RESOLVEFUNC(X509_STORE_CTX_get_current_cert) + RESOLVEFUNC(X509_STORE_CTX_get_chain) RESOLVEFUNC(X509_cmp) #ifndef SSLEAY_MACROS RESOLVEFUNC(X509_dup) diff --git a/src/network/ssl/qsslsocket_openssl_symbols_p.h b/src/network/ssl/qsslsocket_openssl_symbols_p.h index 40c6522d93..2be84331e3 100644 --- a/src/network/ssl/qsslsocket_openssl_symbols_p.h +++ b/src/network/ssl/qsslsocket_openssl_symbols_p.h @@ -398,6 +398,10 @@ int q_X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain); X509_STORE_CTX *q_X509_STORE_CTX_new(); int q_X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose); +int q_X509_STORE_CTX_get_error(X509_STORE_CTX *ctx); +int q_X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx); +X509 *q_X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx); +STACK_OF(X509) *q_X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); #define q_BIO_get_mem_data(b, pp) (int)q_BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)pp) #define q_BIO_pending(b) (int)q_BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL) From 159713de3b00db199ccf08de23f93a5297491f5c Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Mon, 10 Dec 2012 12:34:29 +0200 Subject: [PATCH 127/386] QLocale: Report RTL text direction for pa_Arab and uz_Arab Change-Id: I97c785c9cbf550ef1ab330a4905ff7ae97ee6a30 Reviewed-by: Lars Knoll --- src/corelib/tools/qlocale.cpp | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 4b4c94872e..582ae9ebef 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -2240,16 +2240,23 @@ QLocale::MeasurementSystem QLocale::measurementSystem() const */ Qt::LayoutDirection QLocale::textDirection() const { - Language lang = language(); - if (lang == QLocale::Arabic || - lang == QLocale::Hebrew || - lang == QLocale::Persian || - lang == QLocale::Pashto || - lang == QLocale::Urdu || - lang == QLocale::Syriac || - lang == QLocale::Divehi) + switch (language()) { + case QLocale::Arabic: + case QLocale::Hebrew: + case QLocale::Persian: + case QLocale::Pashto: + case QLocale::Urdu: + case QLocale::Syriac: + case QLocale::Divehi: return Qt::RightToLeft; - + case QLocale::Punjabi: + case QLocale::Uzbek: + if (script() == QLocale::ArabicScript) + return Qt::RightToLeft; + // fall through + default: + break; + } return Qt::LeftToRight; } From 2a9144541577d24ca010fe6a219f514a2cf208dc Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 10 Dec 2012 13:23:10 +0100 Subject: [PATCH 128/386] Mark \brief comments in thread examples. Change-Id: Ib496b1e500820774354c20003edb22748324cb5f Reviewed-by: Jerome Pasion --- examples/threads/doc/src/mandelbrot.qdoc | 2 +- examples/threads/doc/src/queuedcustomtype.qdoc | 2 +- examples/threads/doc/src/semaphores.qdoc | 2 +- examples/threads/doc/src/waitconditions.qdoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/threads/doc/src/mandelbrot.qdoc b/examples/threads/doc/src/mandelbrot.qdoc index 45ef2ba9f7..a76b856616 100644 --- a/examples/threads/doc/src/mandelbrot.qdoc +++ b/examples/threads/doc/src/mandelbrot.qdoc @@ -29,7 +29,7 @@ \example mandelbrot \title Mandelbrot Example - The Mandelbrot example shows how to use a worker thread to + \brief The Mandelbrot example shows how to use a worker thread to perform heavy computations without blocking the main thread's event loop. diff --git a/examples/threads/doc/src/queuedcustomtype.qdoc b/examples/threads/doc/src/queuedcustomtype.qdoc index 35e6185d3b..43d47d42cc 100644 --- a/examples/threads/doc/src/queuedcustomtype.qdoc +++ b/examples/threads/doc/src/queuedcustomtype.qdoc @@ -29,7 +29,7 @@ \example queuedcustomtype \title Queued Custom Type Example - The Queued Custom Type example shows how to send custom types between + \brief The Queued Custom Type example shows how to send custom types between threads with queued signals and slots. \image queuedcustomtype-example.png diff --git a/examples/threads/doc/src/semaphores.qdoc b/examples/threads/doc/src/semaphores.qdoc index bea0447f02..0b811f9466 100644 --- a/examples/threads/doc/src/semaphores.qdoc +++ b/examples/threads/doc/src/semaphores.qdoc @@ -29,7 +29,7 @@ \example semaphores \title Semaphores Example - The Semaphores example shows how to use QSemaphore to control + \brief The Semaphores example shows how to use QSemaphore to control access to a circular buffer shared by a producer thread and a consumer thread. diff --git a/examples/threads/doc/src/waitconditions.qdoc b/examples/threads/doc/src/waitconditions.qdoc index 6d42719f8d..ea49a93d60 100644 --- a/examples/threads/doc/src/waitconditions.qdoc +++ b/examples/threads/doc/src/waitconditions.qdoc @@ -29,7 +29,7 @@ \example waitconditions \title Wait Conditions Example - The Wait Conditions example shows how to use QWaitCondition and + \brief The Wait Conditions example shows how to use QWaitCondition and QMutex to control access to a circular buffer shared by a producer thread and a consumer thread. From a5bca210965fb31e998477c15fb0b1f41ee1ca18 Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Fri, 16 Nov 2012 15:41:16 +0100 Subject: [PATCH 129/386] SQL: Change in QSqlResultPrivate::positionalToNamedBinding() With the change cff46983a, prepared queries can now store a named paramater to be used more than once. When using ?, thus positional binding, there is no named parameter, thus there is no need to store it. When prepare is called from a query with ?, it currently causes an error when the feature QSqlDriver::NamedPlaceholders is true. Because holders values are called while holders is actually empty. QSqlDriver::NamedPlaceholders is true for QOCI plugin only but the problem is independant of the plugin used. Adding a test case with a test driver to make the test runnable without Oracle installed. Change-Id: I6d7491f7e09a7b62d2d4d216b40fedd67e927e27 Reviewed-by: Matt Newell Reviewed-by: Andy Shaw Reviewed-by: Mark Brand --- src/sql/kernel/qsqlresult.cpp | 2 - tests/auto/sql/kernel/kernel.pro | 1 + .../auto/sql/kernel/qsqlresult/qsqlresult.pro | 9 ++ .../sql/kernel/qsqlresult/testsqldriver.h | 95 +++++++++++++++++++ .../sql/kernel/qsqlresult/tst_qsqlresult.cpp | 72 ++++++++++++++ 5 files changed, 177 insertions(+), 2 deletions(-) create mode 100644 tests/auto/sql/kernel/qsqlresult/qsqlresult.pro create mode 100644 tests/auto/sql/kernel/qsqlresult/testsqldriver.h create mode 100644 tests/auto/sql/kernel/qsqlresult/tst_qsqlresult.cpp diff --git a/src/sql/kernel/qsqlresult.cpp b/src/sql/kernel/qsqlresult.cpp index 0396e127ec..1259360dd4 100644 --- a/src/sql/kernel/qsqlresult.cpp +++ b/src/sql/kernel/qsqlresult.cpp @@ -162,8 +162,6 @@ QString QSqlResultPrivate::positionalToNamedBinding() for (int i = 0; i < n; ++i) { QChar ch = sql.at(i); if (ch == QLatin1Char('?') && !inQuote) { - // Update the holder position since we are changing the holder name lengths - holders[count].holderPos = result.size(); result += qFieldSerial(count++); } else { if (ch == QLatin1Char('\'')) diff --git a/tests/auto/sql/kernel/kernel.pro b/tests/auto/sql/kernel/kernel.pro index 74e98c0dde..312f8fcfde 100644 --- a/tests/auto/sql/kernel/kernel.pro +++ b/tests/auto/sql/kernel/kernel.pro @@ -8,3 +8,4 @@ SUBDIRS=\ qsqlrecord \ qsqlthread \ qsql \ + qsqlresult \ diff --git a/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro b/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro new file mode 100644 index 0000000000..d43b644138 --- /dev/null +++ b/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro @@ -0,0 +1,9 @@ +TARGET = tst_qsqlresult +CONFIG += testcase + +QT = core sql testlib + +SOURCES += tst_qsqlresult.cpp +HEADERS += testsqldriver.h + +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/sql/kernel/qsqlresult/testsqldriver.h b/tests/auto/sql/kernel/qsqlresult/testsqldriver.h new file mode 100644 index 0000000000..bf088354f1 --- /dev/null +++ b/tests/auto/sql/kernel/qsqlresult/testsqldriver.h @@ -0,0 +1,95 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef TESTSQLDRIVER_H +#define TESTSQLDRIVER_H + +#include +#include +#include + +class TestSqlDriverResult : public QSqlResult +{ +public: + TestSqlDriverResult(const QSqlDriver *driver) + : QSqlResult(driver) {} + ~TestSqlDriverResult() {} + + bool savePrepare(const QString& sqlquery) + { + return QSqlResult::savePrepare(sqlquery); + } + +protected: + QVariant data(int /* index */) { return QVariant(); } + bool isNull(int /* index */) { return false; } + bool reset(const QString & /* query */) { return false; } + bool fetch(int /* index */) { return false; } + bool fetchFirst() { return false; } + bool fetchLast() { return false; } + int size() { return 0; } + int numRowsAffected() { return 0; } + QSqlRecord record() const { return QSqlRecord(); } +}; + +class TestSqlDriver : public QSqlDriver +{ +public: + TestSqlDriver() {} + ~TestSqlDriver() {} + + bool hasFeature(DriverFeature f) const { + switch (f) { + case QSqlDriver::PreparedQueries: + case QSqlDriver::NamedPlaceholders: + return true; + } + return false; + } + bool open(const QString & /* db */, const QString & /* user */, + const QString & /* password */, const QString & /* host */, + int /* port */, const QString & /* options */) + { return false; } + void close() {} + QSqlResult *createResult() const { return new TestSqlDriverResult(this); } +}; + +#endif // TESTSQLDRIVER_H diff --git a/tests/auto/sql/kernel/qsqlresult/tst_qsqlresult.cpp b/tests/auto/sql/kernel/qsqlresult/tst_qsqlresult.cpp new file mode 100644 index 0000000000..6f2d0ab941 --- /dev/null +++ b/tests/auto/sql/kernel/qsqlresult/tst_qsqlresult.cpp @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include +#include + +#include "testsqldriver.h" + +class tst_QSqlResult : public QObject +{ + Q_OBJECT + +public: + tst_QSqlResult(); + +private slots: + void positionalToNamedBinding(); + +}; + +tst_QSqlResult::tst_QSqlResult() +{ +} + +void tst_QSqlResult::positionalToNamedBinding() +{ + TestSqlDriver testDriver; + TestSqlDriverResult result(&testDriver); + QString query("INSERT INTO MYTABLE (ID, NAME, BIRTH) VALUES(?, ?, ?)"); + QVERIFY(result.savePrepare(query)); +} + +QTEST_MAIN( tst_QSqlResult ) +#include "tst_qsqlresult.moc" From fac02ddc39145963646ad0f36b9e41573e49e6c5 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Thu, 6 Dec 2012 16:17:43 +0100 Subject: [PATCH 130/386] Doc: Restored CSS images for the offline HTML and QCH build Revert "Doc: Removing entry in CSS for adding icons to HTTP links" This reverts commit ceb2799163c7e80148ef0bffafac9b05269514d7. Also: -edited image to use Qt Project brand colors -removed breadcrumbs from CSS Change-Id: I3c2e655f8eac463677b20b68bc2ffa0efd2fd468 Reviewed-by: Martin Smith Reviewed-by: Eike Ziller --- doc/global/qt-html-templates-offline.qdocconf | 20 +++++ doc/global/qt-module-defaults.qdocconf | 3 - doc/global/template/images/btn_next.png | Bin 689 -> 695 bytes doc/global/template/images/btn_next_green.png | Bin 695 -> 0 bytes doc/global/template/images/btn_prev.png | Bin 676 -> 687 bytes doc/global/template/images/btn_prev_green.png | Bin 687 -> 0 bytes doc/global/template/images/ico_out.png | Bin 362 -> 388 bytes doc/global/template/style/offline.css | 78 +++--------------- 8 files changed, 31 insertions(+), 70 deletions(-) mode change 100755 => 100644 doc/global/template/images/btn_next.png delete mode 100644 doc/global/template/images/btn_next_green.png mode change 100755 => 100644 doc/global/template/images/btn_prev.png delete mode 100644 doc/global/template/images/btn_prev_green.png diff --git a/doc/global/qt-html-templates-offline.qdocconf b/doc/global/qt-html-templates-offline.qdocconf index abe7e5e349..5f989d2fa8 100644 --- a/doc/global/qt-html-templates-offline.qdocconf +++ b/doc/global/qt-html-templates-offline.qdocconf @@ -1,6 +1,26 @@ HTML.nobreadcrumbs = "true" HTML.stylesheets = template/style/offline.css +HTML.extraimages += template/images/ico_out.png \ + template/images/ico_note.png \ + template/images/ico_note_attention.png \ + template/images/btn_prev.png \ + template/images/btn_next.png \ + template/images/bullet_dn.png \ + template/images/bullet_sq.png \ + template/images/bgrContent.png + +#specify which files in the output directory should be packed into the qch file. +qhp.extraFiles += style/offline.css \ + images/ico_out.png \ + images/ico_note.png \ + images/ico_note_attention.png \ + images/btn_prev.png \ + images/btn_next.png \ + images/bullet_dn.png \ + images/bullet_sq.png \ + images/bgrContent.png + HTML.headerstyles = \ " \n" diff --git a/doc/global/qt-module-defaults.qdocconf b/doc/global/qt-module-defaults.qdocconf index 7d0705c475..8c8df29437 100644 --- a/doc/global/qt-module-defaults.qdocconf +++ b/doc/global/qt-module-defaults.qdocconf @@ -25,8 +25,5 @@ versionsym = QT_VERSION_STR macro.raisedaster.HTML = "*" -#for including files into the qch file -qhp.extraFiles += style/offline.css - #include the external websites sourcedirs += externalsites diff --git a/doc/global/template/images/btn_next.png b/doc/global/template/images/btn_next.png old mode 100755 new mode 100644 index f7bc2b7170a51ae5ddda0c72959c7f54a96bdc3b..c649f18572e23f65f8485e7fe35c21bee8973831 GIT binary patch delta 636 zcmV-?0)zdr1-Au|B#}8Ke_2UHK~#9!d{awk6Hyes@6ESKTSx1scA=x9NU;!5>Q1J$ z_`y#FS9aBnbyHXV&_!Zh6od*9aU&=qsOU!MLTjO>E5U*=pbLMYaZ`dJ?KGK8=JRHr zGouZOnfT!F-n;Lfdk^>Bi=f3iH+59@H~H^1_x$qPT$CUB*Dx}5e{9qi^^`5>GGWco z#@lgVowgirwNE^|H1jwzfS*yK9LX5cuLKc{NL8F2gP68O1)CZ06=}5qAz5@X#>RYt zA`kwz5XI15>``g;PY@g!F=kTE`qczR7#Lt-YkV6_4m^P&`D}QvN8n>gD+!L_Q(?d$ zJ9OBKrnD@rW!W6>e}OwkUO=4dfO`u`$mFJ*l*CG#G;fvJ5hzHwF;fbpt)ZajA^C0$ zDozt*+Wez%V$VppSL`yBt+MY|=M!+KUq9D#=8+|U>(T~{e;-W2;LejF`Nr%Rg$<60k8~7Go{X9GhXl;iGuBD@aV(+ z7L9~}*E?0>a=Gb-Rz7}nNOFO^GGaxAuvR3QB?5?*uJ^9PoXJei6(Wa8xqfKW#^x25 zGkd+@tAbATIKY;W#Y9MFm-Gkur>fm@8f$}ddVAOY-Q9h``Q!KeCujO+G0N|^00RK4 Wyd%f3+a2Zr0000B*i#8+E7wsz_ww& zAQV1Pp!)7WW^sD6*?`Lp8??HbM>L*5zr0=e@_l8t>{a()fB^veTn*4GG+Fcj O0000XN diff --git a/doc/global/template/images/btn_next_green.png b/doc/global/template/images/btn_next_green.png deleted file mode 100644 index c649f18572e23f65f8485e7fe35c21bee8973831..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 695 zcmV;o0!aOdP)wtR;Nyy};o0P;#n>25g*%2s6xG_@- zq^+T#=OOuS3@T0;F81GoL3tSJ-vcg$<60k8~7Go{X9GhXl; ziGuBD@aV(+7L9~}*E?0>x#@;hK7MmZa)G=uVnv0pRwS7v0*IBa_pZa7$xO}_B8N%2 zerVLj<`tJSd%fVRf==}~z?P83L`Y|s^auH;s@-xLYlCxod)NNm-F?CNaRXo|#UaXhu#Xt1WwIT(fhdp}|K?N^@2d#y6dr&VTEGSacr7J=SZdccCHk)K7 ziJ2(7jiwHK%*=c5d-LY~AXsCaojR-poAT#ceRTOnHO>zGEf|?Pf0B13qu_{!LU}8c zC7cxSq^Fv&(-RLbP2Y=k5WFb+0xg;HH=fUh%r|n>wc;jVc>v|U`ROwlY{qRQ))|iXEwI{LlwA0A>^{x zy;M8z@iYjBiy)_*e};?M+b|&Sj>ws~G3pBsgm zp-1#YGG&36R30I$QB1-2y9F7LcfnY8B0P`Jo`=Q8$A1b&F@b=jVT?HNgS`13>Y!;i zq2)9~!(%%~BDyXZKgfaWk$Gf`;JSVX`pOdAm>CV7+d|i`fQqK|KvGZ&BtMd@1^q*aZX+Q`7`U-@H?o?@VwiY`~+Vz8Z2U}NM!OD27RIJ-P z0kADrFcpiHCF8FCpzN$Ujh(?cxwUWqj*WZS`RynD9eMht9%uJUfB^v1O*Z{877&gA O0000Ya3~6h!||aUsSX=@e)W%wU#O#8bPX;ik?)oC+kJ8dh#raUbGZiFReLAvT*T7TY#0DaIE^Ln!c9wyasG%gox0!GxbweVn^6-=>(k(YRyyYPm%~e zNFoW~?8!lRcz*)Yscyc<9Oqwk4|0$z;pqhEanGfHJfYLZh7ZB*>p7^K4u~6qXqbx} zxR$BSZ+0Pvs86%(W)@#+^l2uNcso)1aniTa7%4$JMM$Z4d;Zjr{|?oQ!sp zk-rtIfj9y=$mKO{4%SV|Pe#k1KDs5|0&l8g+wbLw!j^s;YvsQ%eRq+IjAjqOt*hBU z9Dy8vTJ39eXJjuV*@b% z@*@~^oBJd=0?}Avx$t!2gw*tC=M>dnb)3p>-}3?jpTCwl+M`Pd8}062$O(+{_~oTO z*RfVjL+_)G9Xf^h-!UywmLk!^g~w;gp^qs_cYgK>>+cx5re5k&UZE_>t|%)yTQ0qw zo4mB`Yi!xj$b+7qWE$HK)!(IeAC{-9VR`=r7y#qc4KVMD;e!AG002ovPDHLkV1ga_ BE%X2Y diff --git a/doc/global/template/images/btn_prev_green.png b/doc/global/template/images/btn_prev_green.png deleted file mode 100644 index d1d29895b27ef56c21b6a1e185fe0ca584f00601..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 687 zcmV;g0#N;lP)amOMlpeaq+yIW z@PoYh9_pZJH=*S;L&IY`Myde6i{QF`2l~nq+?W{+o#eJ1hp_{Nh@OFQ z5D4=u2W8YwG+gSzYJ9FOz_sV+LMMl|pMXsNzK9;Rr3UegGWUL_V(rl~JvL`*)OW%2 z{0{1^Wq9-T6?`|B;pO5SSi}zHi0~j9>+d|i`fQqK|KvGZ&BtMd@1^q*a zZX+Q`7`KSz2TMAj3SYw&pD1BV zpaeHyi4t}@K=L6{E|ZIih^0i%mn>_>{(tP5Ux)|*+NuT^fdOcM{j}eKn>WFcpb!zX zRV}ar3$S_<_VXoe)diTM$bapJf{4)1wd?1)6A}Je{am+cu8h@pZ^A|fv{k#dYC7Ty zXn`zp?8gSYYpXh7tTKscs|KJ09PkWW0hcWhCv-i#ZZu4%dT8f>0Cyf4M;30T-?)w0;rp zODv6uv>yr-SZ+=R(9C}UHAQ%q%Ig-&eG(C{;T-oOK9K%*wOe@+}AQlF~M0`gV(t( zI8{TVa4~){ksg@vGhTV4?4~W3R=L7b&R&xmPU%}9cufn5(T5~Io&pR25V(e79HbsF P00000NkvXXu0mjfX0wOI diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index f13e8805e4..3370f7142c 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -63,6 +63,16 @@ color: #44a51c; text-align:left; } +a[href*="http://"], a[href*="ftp://"],a[href*="https://"] +{ +text-decoration: none; +background-image:url(../images/ico_out.png); +background-repeat:no-repeat; +background-position:left; +padding-left:20px; +text-align:left; +} + .flags{ text-decoration:none; text-height:24px; @@ -155,71 +165,6 @@ height:20px; margin-left:30px; } -.breadcrumb{ -display: block; -position: relative; -top:-20px; -/*border-top:2px solid #ffffff;*/ -border-bottom: 1px solid #cecece; -background-color:#F2F2F2; -z-index:1; -height:20px; -padding:0px; -margin:0px; -padding-left:10px; -padding-top:2px; -margin-left:-5px; -margin-right:-5px; -} - -.breadcrumb ul{ - margin:0px; - padding:0px; -} - -.breadcrumb ul li{ -background-color:#F2F2F2; -list-style-type:none; -padding:0; -margin:0; -height:20px; -} - -.breadcrumb li{ -float:left; -} - -.breadcrumb .first { -background:url(../images/home.png); -background-position:left; -background-repeat:no-repeat; -padding-left:20px; -} - - -.breadcrumb li a{ -color:#2C418D; -display:block; -text-decoration:none; -background:url(../images/arrow.png); -background-repeat:no-repeat; -background-position:right; -padding-right:25px; -padding-left:10px; -} - -.breadcrumb li a:hover{ -color:#909090; -display:block; -text-decoration:none; -background:url(../images/arrow.png); -background-repeat:no-repeat; -background-position:right; -padding-right:20px; -padding-left:10px; -} - - /* table of content no display */ @@ -566,8 +511,7 @@ padding-right:5px; .toc ul li{ margin-left:15px; -list-style-image:url(../images/blu_dot.png); -list-style:outside; +list-style-image:url(../images/bullet_dn.png); marker-offset: 0px; margin-bottom:8px; padding-left:0px; From 5b3e7c8dfa4856b04013ace24d19bbd104dc3bd0 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Fri, 30 Nov 2012 11:51:05 +0100 Subject: [PATCH 131/386] Generate the introspection string during parsing Commit 0696071316b3dacb8d1ca15a269e4f4215642b9d moved away from QDom but also lost the ability to fill the introspection field of the created QDBusIntrospection::Interface instances. This commit now generate the string again as we proceed with the QXmlStreamReader based parsing. Task-number: QTBUG-26668 Change-Id: I8f406e1f4e9d3e667a8557db69da36cac369ba4f Reviewed-by: Thiago Macieira --- src/dbus/qdbusxmlparser.cpp | 156 ++++++++++++------ .../dbus/qdbusxmlparser/qdbusxmlparser.pro | 2 +- .../qdbusxmlparser/tst_qdbusxmlparser.cpp | 99 +++++++---- 3 files changed, 173 insertions(+), 84 deletions(-) diff --git a/src/dbus/qdbusxmlparser.cpp b/src/dbus/qdbusxmlparser.cpp index 315b4a2e24..c2c1b8daff 100644 --- a/src/dbus/qdbusxmlparser.cpp +++ b/src/dbus/qdbusxmlparser.cpp @@ -59,7 +59,8 @@ QT_BEGIN_NAMESPACE -static bool parseArg(const QXmlStreamAttributes &attributes, QDBusIntrospection::Argument &argData) +static bool parseArg(const QXmlStreamAttributes &attributes, QDBusIntrospection::Argument &argData, + QDBusIntrospection::Interface *ifaceData) { const QString argType = attributes.value(QLatin1String("type")).toString(); @@ -72,10 +73,21 @@ static bool parseArg(const QXmlStreamAttributes &attributes, QDBusIntrospection: argData.name = attributes.value(QLatin1String("name")).toString(); argData.type = argType; + ifaceData->introspection += QLatin1String(" introspection += QLatin1String(" direction=\"") + direction + QLatin1String("\""); + } + ifaceData->introspection += QLatin1String(" type=\"") + argData.type + QLatin1String("\""); + if (!argData.name.isEmpty()) + ifaceData->introspection += QLatin1String(" name=\"") + argData.name + QLatin1String("\""); + ifaceData->introspection += QLatin1String("/>\n"); + return ok; } -static bool parseAnnotation(const QXmlStreamReader &xml, QDBusIntrospection::Annotations &annotations) +static bool parseAnnotation(const QXmlStreamReader &xml, QDBusIntrospection::Annotations &annotations, + QDBusIntrospection::Interface *ifaceData, bool interfaceAnnotation = false) { Q_ASSERT(xml.isStartElement() && xml.name() == QLatin1String("annotation")); @@ -87,12 +99,16 @@ static bool parseAnnotation(const QXmlStreamReader &xml, QDBusIntrospection::Ann qPrintable(name)); return false; } - annotations.insert(name, attributes.value(QLatin1String("value")).toString()); + const QString value = attributes.value(QLatin1String("value")).toString(); + annotations.insert(name, value); + if (!interfaceAnnotation) + ifaceData->introspection += QLatin1String(" "); + ifaceData->introspection += QLatin1String(" \n"); return true; } static bool parseProperty(QXmlStreamReader &xml, QDBusIntrospection::Property &propertyData, - const QString &ifaceName) + QDBusIntrospection::Interface *ifaceData) { Q_ASSERT(xml.isStartElement() && xml.name() == QLatin1String("property")); @@ -100,7 +116,7 @@ static bool parseProperty(QXmlStreamReader &xml, QDBusIntrospection::Property &p const QString propertyName = attributes.value(QLatin1String("name")).toString(); if (!QDBusUtil::isValidMemberName(propertyName)) { qDBusParserError("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", - qPrintable(propertyName), qPrintable(ifaceName)); + qPrintable(propertyName), qPrintable(ifaceData->name)); xml.skipCurrentElement(); return false; } @@ -112,7 +128,7 @@ static bool parseProperty(QXmlStreamReader &xml, QDBusIntrospection::Property &p if (!QDBusUtil::isValidSingleSignature(propertyData.type)) { // cannot be! qDBusParserError("Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection", - qPrintable(propertyData.type), qPrintable(ifaceName), + qPrintable(propertyData.type), qPrintable(ifaceData->name), qPrintable(propertyName)); } @@ -125,18 +141,28 @@ static bool parseProperty(QXmlStreamReader &xml, QDBusIntrospection::Property &p propertyData.access = QDBusIntrospection::Property::ReadWrite; else { qDBusParserError("Invalid D-BUS property access '%s' found in property '%s.%s' while parsing introspection", - qPrintable(access), qPrintable(ifaceName), + qPrintable(access), qPrintable(ifaceData->name), qPrintable(propertyName)); return false; // invalid one! } - while (xml.readNextStartElement()) { - if (xml.name() == QLatin1String("annotation")) { - parseAnnotation(xml, propertyData.annotations); - } else if (xml.prefix().isEmpty()) { - qDBusParserError() << "Unknown element" << xml.name() << "while checking for annotations"; - } - xml.skipCurrentElement(); + ifaceData->introspection += QLatin1String(" introspection += QLatin1String("/>\n"); + } else { + ifaceData->introspection += QLatin1String(">\n"); + + do { + if (xml.name() == QLatin1String("annotation")) { + parseAnnotation(xml, propertyData.annotations, ifaceData); + } else if (xml.prefix().isEmpty()) { + qDBusParserError() << "Unknown element" << xml.name() << "while checking for annotations"; + } + xml.skipCurrentElement(); + } while (xml.readNextStartElement()); + + ifaceData->introspection += QLatin1String(" \n"); } if (!xml.isEndElement() || xml.name() != QLatin1String("property")) { @@ -148,7 +174,7 @@ static bool parseProperty(QXmlStreamReader &xml, QDBusIntrospection::Property &p } static bool parseMethod(QXmlStreamReader &xml, QDBusIntrospection::Method &methodData, - const QString &ifaceName) + QDBusIntrospection::Interface *ifaceData) { Q_ASSERT(xml.isStartElement() && xml.name() == QLatin1String("method")); @@ -156,35 +182,44 @@ static bool parseMethod(QXmlStreamReader &xml, QDBusIntrospection::Method &metho const QString methodName = attributes.value(QLatin1String("name")).toString(); if (!QDBusUtil::isValidMemberName(methodName)) { qDBusParserError("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", - qPrintable(methodName), qPrintable(ifaceName)); + qPrintable(methodName), qPrintable(ifaceData->name)); return false; } methodData.name = methodName; + ifaceData->introspection += QLatin1String(" introspection += QLatin1String("/>\n"); + } else { + ifaceData->introspection += QLatin1String(">\n"); + + do { + if (xml.name() == QLatin1String("annotation")) { + parseAnnotation(xml, annotations, ifaceData); + } else if (xml.name() == QLatin1String("arg")) { + const QXmlStreamAttributes attributes = xml.attributes(); + const QString direction = attributes.value(QLatin1String("direction")).toString(); + QDBusIntrospection::Argument argument; + if (!attributes.hasAttribute(QLatin1String("direction")) + || direction == QLatin1String("in")) { + parseArg(attributes, argument, ifaceData); + inArguments << argument; + } else if (direction == QLatin1String("out")) { + parseArg(attributes, argument, ifaceData); + outArguments << argument; + } + } else if (xml.prefix().isEmpty()) { + qDBusParserError() << "Unknown element" << xml.name() << "while checking for method arguments"; } - } else if (xml.prefix().isEmpty()) { - qDBusParserError() << "Unknown element" << xml.name() << "while checking for method arguments"; - } - xml.skipCurrentElement(); + xml.skipCurrentElement(); + } while (xml.readNextStartElement()); + + ifaceData->introspection += QLatin1String(" \n"); } methodData.inputArgs = inArguments; @@ -196,7 +231,7 @@ static bool parseMethod(QXmlStreamReader &xml, QDBusIntrospection::Method &metho static bool parseSignal(QXmlStreamReader &xml, QDBusIntrospection::Signal &signalData, - const QString &ifaceName) + QDBusIntrospection::Interface *ifaceData) { Q_ASSERT(xml.isStartElement() && xml.name() == QLatin1String("signal")); @@ -205,31 +240,39 @@ static bool parseSignal(QXmlStreamReader &xml, QDBusIntrospection::Signal &signa if (!QDBusUtil::isValidMemberName(signalName)) { qDBusParserError("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", - qPrintable(signalName), qPrintable(ifaceName)); + qPrintable(signalName), qPrintable(ifaceData->name)); return false; } signalData.name = signalName; - + ifaceData->introspection += QLatin1String(" introspection += QLatin1String("/>\n"); + } else { + ifaceData->introspection += QLatin1String(">\n"); + + do { + if (xml.name() == QLatin1String("annotation")) { + parseAnnotation(xml, annotations, ifaceData); + } else if (xml.name() == QLatin1String("arg")) { + const QXmlStreamAttributes attributes = xml.attributes(); + QDBusIntrospection::Argument argument; + if (!attributes.hasAttribute(QLatin1String("direction")) || + attributes.value(QLatin1String("direction")) == QLatin1String("out")) { + parseArg(attributes, argument, ifaceData); + arguments << argument; + } + } else { + qDBusParserError() << "Unknown element" << xml.name() << "while checking for signal arguments"; } - } else { - qDBusParserError() << "Unknown element" << xml.name() << "while checking for signal arguments"; - } - xml.skipCurrentElement(); + xml.skipCurrentElement(); + } while (xml.readNextStartElement()); + + ifaceData->introspection += QLatin1String(" \n"); } signalData.outputArgs = arguments; @@ -252,22 +295,23 @@ static void readInterface(QXmlStreamReader &xml, QDBusIntrospection::Object *obj QDBusIntrospection::Interface *ifaceData = new QDBusIntrospection::Interface; ifaceData->name = ifaceName; + ifaceData->introspection += QLatin1String(" \n"); while (xml.readNextStartElement()) { if (xml.name() == QLatin1String("method")) { QDBusIntrospection::Method methodData; - if (parseMethod(xml, methodData, ifaceName)) + if (parseMethod(xml, methodData, ifaceData)) ifaceData->methods.insert(methodData.name, methodData); } else if (xml.name() == QLatin1String("signal")) { QDBusIntrospection::Signal signalData; - if (parseSignal(xml, signalData, ifaceName)) + if (parseSignal(xml, signalData, ifaceData)) ifaceData->signals_.insert(signalData.name, signalData); } else if (xml.name() == QLatin1String("property")) { QDBusIntrospection::Property propertyData; - if (parseProperty(xml, propertyData, ifaceName)) + if (parseProperty(xml, propertyData, ifaceData)) ifaceData->properties.insert(propertyData.name, propertyData); } else if (xml.name() == QLatin1String("annotation")) { - parseAnnotation(xml, ifaceData->annotations); + parseAnnotation(xml, ifaceData->annotations, ifaceData, true); xml.skipCurrentElement(); // skip over annotation object } else { if (xml.prefix().isEmpty()) { @@ -277,6 +321,8 @@ static void readInterface(QXmlStreamReader &xml, QDBusIntrospection::Object *obj } } + ifaceData->introspection += QLatin1String(" "); + interfaces->insert(ifaceName, QSharedDataPointer(ifaceData)); if (!xml.isEndElement() || xml.name() != QLatin1String("interface")) { diff --git a/tests/auto/dbus/qdbusxmlparser/qdbusxmlparser.pro b/tests/auto/dbus/qdbusxmlparser/qdbusxmlparser.pro index 4b3415612a..a7186c341b 100644 --- a/tests/auto/dbus/qdbusxmlparser/qdbusxmlparser.pro +++ b/tests/auto/dbus/qdbusxmlparser/qdbusxmlparser.pro @@ -1,5 +1,5 @@ CONFIG += testcase TARGET = tst_qdbusxmlparser -QT = core-private dbus-private testlib +QT = core-private dbus-private xml testlib SOURCES += tst_qdbusxmlparser.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp index 5f03600b89..35cf989753 100644 --- a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp +++ b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp @@ -44,6 +44,7 @@ #include #include #include +#include #define USE_PRIVATE_CODE #include "../qdbusmarshall/common.h" @@ -54,6 +55,7 @@ class tst_QDBusXmlParser: public QObject private: void parsing_common(const QString&); + QString clean_xml(const QString&); private slots: void parsing_data(); @@ -75,36 +77,58 @@ void tst_QDBusXmlParser::parsing_data() QTest::addColumn("interfaceCount"); QTest::addColumn("objectCount"); QTest::addColumn("annotationCount"); + QTest::addColumn("introspection"); - QTest::newRow("null") << QString() << 0 << 0 << 0; - QTest::newRow("empty") << QString("") << 0 << 0 << 0; + QStringList introspection; + + QTest::newRow("null") << QString() << 0 << 0 << 0 << introspection; + QTest::newRow("empty") << QString("") << 0 << 0 << 0 << introspection; - QTest::newRow("junk") << "" << 0 << 0 << 0; + QTest::newRow("junk") << "" << 0 << 0 << 0 << introspection; QTest::newRow("interface-inside-junk") << "" - << 0 << 0 << 0; + << 0 << 0 << 0 << introspection; QTest::newRow("object-inside-junk") << "" - << 0 << 0 << 0; + << 0 << 0 << 0 << introspection; - QTest::newRow("zero-interfaces") << "" << 0 << 0 << 0; - QTest::newRow("one-interface") << "" << 1 << 0 << 0; + QTest::newRow("zero-interfaces") << "" << 0 << 0 << 0 << introspection; - + introspection << ""; + QTest::newRow("one-interface") << "" + << 1 << 0 << 0 << introspection; + introspection.clear(); + + introspection << "" + << ""; QTest::newRow("two-interfaces") << "" "" - << 2 << 0 << 0; + << 2 << 0 << 0 << introspection; + introspection.clear(); - QTest::newRow("one-object") << "" << 0 << 1 << 0; - QTest::newRow("two-objects") << "" << 0 << 2 << 0; + QTest::newRow("one-object") << "" + << 0 << 1 << 0 << introspection; + QTest::newRow("two-objects") << "" + << 0 << 2 << 0 << introspection; - QTest::newRow("i1o1") << "" << 1 << 1 << 0; + introspection << ""; + QTest::newRow("i1o1") << "" + << 1 << 1 << 0 << introspection; + introspection.clear(); + introspection << "" + " " + ""; QTest::newRow("one-interface-annotated") << "" "" - "" << 1 << 0 << 1; + "" << 1 << 0 << 1 << introspection; + introspection.clear(); + + + introspection << ""; QTest::newRow("one-interface-docnamespace") << "" "" - "" << 1 << 0 << 0; + "" << 1 << 0 << 0 << introspection; + introspection.clear(); } void tst_QDBusXmlParser::parsing_common(const QString &xmlData) @@ -114,20 +138,36 @@ void tst_QDBusXmlParser::parsing_common(const QString &xmlData) QFETCH(int, interfaceCount); QFETCH(int, objectCount); QFETCH(int, annotationCount); + QFETCH(QStringList, introspection); QCOMPARE(obj.interfaces.count(), interfaceCount); QCOMPARE(obj.childObjects.count(), objectCount); QCOMPARE(QDBusIntrospection::parseInterface(xmlData).annotations.count(), annotationCount); + QDBusIntrospection::Interfaces ifaces = QDBusIntrospection::parseInterfaces(xmlData); + // also verify the naming int i = 0; - foreach (QString name, obj.interfaces) - QCOMPARE(name, QString("iface.iface%1").arg(++i)); + foreach (QString name, obj.interfaces) { + const QString expectedName = QString("iface.iface%1").arg(i+1); + QCOMPARE(name, expectedName); + + const QString expectedIntrospection = clean_xml(introspection.at(i++)); + const QString resultIntrospection = clean_xml(ifaces.value(expectedName)->introspection); + QCOMPARE(resultIntrospection, expectedIntrospection); + } i = 0; foreach (QString name, obj.childObjects) QCOMPARE(name, QString("obj%1").arg(++i)); } +QString tst_QDBusXmlParser::clean_xml(const QString &xmlData) +{ + QDomDocument dom; + dom.setContent(xmlData); + return dom.toString(); +} + void tst_QDBusXmlParser::parsing() { QFETCH(QString, xmlData); @@ -304,10 +344,10 @@ void tst_QDBusXmlParser::methods_data() void tst_QDBusXmlParser::methods() { - QString xmlHeader = "" - "", - xmlFooter = "" - ""; + QString intHeader = "", + intFooter = "", + xmlHeader = "" + intHeader, + xmlFooter = intFooter + ""; QFETCH(QString, xmlDataFragment); @@ -315,6 +355,7 @@ void tst_QDBusXmlParser::methods() QDBusIntrospection::parseInterface(xmlHeader + xmlDataFragment + xmlFooter); QCOMPARE(iface.name, QString("iface.iface1")); + QCOMPARE(clean_xml(iface.introspection), clean_xml(intHeader + xmlDataFragment + intFooter)); QFETCH(MethodMap, methodMap); MethodMap parsedMap = iface.methods; @@ -417,10 +458,10 @@ void tst_QDBusXmlParser::signals__data() void tst_QDBusXmlParser::signals_() { - QString xmlHeader = "" - "", - xmlFooter = "" - ""; + QString intHeader = "", + intFooter = "", + xmlHeader = "" + intHeader, + xmlFooter = intFooter + ""; QFETCH(QString, xmlDataFragment); @@ -428,6 +469,7 @@ void tst_QDBusXmlParser::signals_() QDBusIntrospection::parseInterface(xmlHeader + xmlDataFragment + xmlFooter); QCOMPARE(iface.name, QString("iface.iface1")); + QCOMPARE(clean_xml(iface.introspection), clean_xml(intHeader + xmlDataFragment + intFooter)); QFETCH(SignalMap, signalMap); SignalMap parsedMap = iface.signals_; @@ -506,10 +548,10 @@ void tst_QDBusXmlParser::properties_data() void tst_QDBusXmlParser::properties() { - QString xmlHeader = "" - "", - xmlFooter = "" - ""; + QString intHeader = "", + intFooter = "", + xmlHeader = "" + intHeader, + xmlFooter = intFooter + ""; QFETCH(QString, xmlDataFragment); @@ -517,6 +559,7 @@ void tst_QDBusXmlParser::properties() QDBusIntrospection::parseInterface(xmlHeader + xmlDataFragment + xmlFooter); QCOMPARE(iface.name, QString("iface.iface1")); + QCOMPARE(clean_xml(iface.introspection), clean_xml(intHeader + xmlDataFragment + intFooter)); QFETCH(PropertyMap, propertyMap); PropertyMap parsedMap = iface.properties; From 6a9eb8ed01e002393b2fb26838cefadf8d41f036 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Thu, 6 Dec 2012 19:27:20 +0100 Subject: [PATCH 132/386] Doc: Added documentation for the examples - Moved documentation for the Qt XML, Qt Widgets, Qt Concurrent, and Qt Network examples from qtdoc. - Grouped the documentation pages under relevant groups - Fixed \snippet paths Task-number: QTBUG-27515 Change-Id: I43c22a679e2eefbb48e3cd5893aa2afd3d905863 Reviewed-by: Eskil Abrahamsen Blomfeldt --- .../doc/src/blockingfortuneclient.qdoc | 4 +- .../network/doc/src/broadcastreceiver.qdoc | 5 +- examples/network/doc/src/broadcastsender.qdoc | 5 +- examples/network/doc/src/fortuneclient.qdoc | 4 +- examples/network/doc/src/fortuneserver.qdoc | 6 +- examples/network/doc/src/googlesuggest.qdoc | 6 +- examples/network/doc/src/http.qdoc | 5 +- examples/network/doc/src/loopback.qdoc | 5 +- .../network/doc/src/multicastreceiver.qdoc | 5 +- examples/network/doc/src/multicastsender.qdoc | 5 +- examples/network/doc/src/network-chat.qdoc | 6 +- .../network/doc/src/network-download.qdoc | 41 ++++ .../doc/src/network-downloadmanager.qdoc | 41 ++++ .../network/doc/src/securesocketclient.qdoc | 8 +- examples/network/doc/src/torrent.qdoc | 5 +- .../doc/images/imagescaling_example.png | Bin 0 -> 23710 bytes .../doc/src/qtconcurrent-imagescaling.qdoc | 38 ++++ .../map/doc/src/qtconcurrent-map.qdoc | 38 ++++ .../images/qtconcurrent-progressdialog.png | Bin 0 -> 4608 bytes .../doc/src/qtconcurrent-progressdialog.qdoc | 38 ++++ .../doc/src/qtconcurrent-runfunction.qdoc | 39 ++++ .../doc/src/qtconcurrent-wordcount.qdoc | 39 ++++ examples/threads/doc/src/mandelbrot.qdoc | 2 + .../threads/doc/src/queuedcustomtype.qdoc | 2 + examples/threads/doc/src/semaphores.qdoc | 2 + examples/threads/doc/src/waitconditions.qdoc | 2 + .../images/graphicsanchorlayout-example.png | Bin 0 -> 11592 bytes .../doc/images/graphicsflowlayout-example.png | Bin 0 -> 15345 bytes .../graphicssimpleanchorlayout-example.png | Bin 0 -> 13715 bytes .../images/weatheranchorlayout-example.png | Bin 0 -> 88805 bytes .../widgets/doc/src/basicgraphicslayouts.qdoc | 4 +- examples/widgets/doc/src/blurpicker.qdoc | 2 +- examples/widgets/doc/src/boxes.qdoc | 3 +- examples/widgets/doc/src/chip.qdoc | 5 +- .../doc/src/collidingmice-example.qdoc | 2 + examples/widgets/doc/src/diagramscene.qdoc | 2 +- examples/widgets/doc/src/dragdroprobot.qdoc | 4 +- examples/widgets/doc/src/elasticnodes.qdoc | 6 +- examples/widgets/doc/src/embeddeddialogs.qdoc | 6 +- examples/widgets/doc/src/fademessage.qdoc | 4 +- .../doc/src/graphicsview-anchorlayout.qdoc | 4 +- .../doc/src/graphicsview-flowlayout.qdoc | 4 +- .../src/graphicsview-simpleanchorlayout.qdoc | 4 +- .../src/graphicsview-weatheranchorlayout.qdoc | 4 +- examples/widgets/doc/src/lighting.qdoc | 2 +- examples/widgets/doc/src/padnavigator.qdoc | 4 +- .../doc/images/xmlstreamexample-filemenu.png | Bin 0 -> 9380 bytes .../doc/images/xmlstreamexample-helpmenu.png | Bin 0 -> 10856 bytes .../images/xmlstreamexample-screenshot.png | Bin 0 -> 22323 bytes examples/xml/doc/src/qxmlstreambookmarks.qdoc | 194 ++++++++++++++++++ examples/xml/doc/src/saxbookmarks.qdoc | 7 +- 51 files changed, 552 insertions(+), 60 deletions(-) create mode 100644 examples/network/doc/src/network-download.qdoc create mode 100644 examples/network/doc/src/network-downloadmanager.qdoc create mode 100644 examples/qtconcurrent/imagescaling/doc/images/imagescaling_example.png create mode 100644 examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc create mode 100644 examples/qtconcurrent/map/doc/src/qtconcurrent-map.qdoc create mode 100644 examples/qtconcurrent/progressdialog/doc/images/qtconcurrent-progressdialog.png create mode 100644 examples/qtconcurrent/progressdialog/doc/src/qtconcurrent-progressdialog.qdoc create mode 100644 examples/qtconcurrent/runfunction/doc/src/qtconcurrent-runfunction.qdoc create mode 100644 examples/qtconcurrent/wordcount/doc/src/qtconcurrent-wordcount.qdoc create mode 100644 examples/widgets/doc/images/graphicsanchorlayout-example.png create mode 100644 examples/widgets/doc/images/graphicsflowlayout-example.png create mode 100644 examples/widgets/doc/images/graphicssimpleanchorlayout-example.png create mode 100644 examples/widgets/doc/images/weatheranchorlayout-example.png create mode 100644 examples/xml/doc/images/xmlstreamexample-filemenu.png create mode 100644 examples/xml/doc/images/xmlstreamexample-helpmenu.png create mode 100644 examples/xml/doc/images/xmlstreamexample-screenshot.png create mode 100644 examples/xml/doc/src/qxmlstreambookmarks.qdoc diff --git a/examples/network/doc/src/blockingfortuneclient.qdoc b/examples/network/doc/src/blockingfortuneclient.qdoc index 4e105b50a7..c16fd60248 100644 --- a/examples/network/doc/src/blockingfortuneclient.qdoc +++ b/examples/network/doc/src/blockingfortuneclient.qdoc @@ -29,9 +29,7 @@ \example blockingfortuneclient \title Blocking Fortune Client Example \ingroup examples-network - - \brief The Blocking Fortune Client example shows how to create a client for a - network service using QTcpSocket's synchronous API in a non-GUI thread. + \brief Demonstrates how to create a client for a network service \image blockingfortuneclient-example.png diff --git a/examples/network/doc/src/broadcastreceiver.qdoc b/examples/network/doc/src/broadcastreceiver.qdoc index 374bc29244..2ab3c6be67 100644 --- a/examples/network/doc/src/broadcastreceiver.qdoc +++ b/examples/network/doc/src/broadcastreceiver.qdoc @@ -29,9 +29,10 @@ \example broadcastreceiver \title Broadcast Receiver Example \ingroup examples-network + \brief Demonstrates how to receive information broadcasted over a local network. - \brief The Broadcast Receiver example shows how to receive information that is broadcasted - over a local network. + This example uses the Qt Network APIs to demonstrate how to receive + messages broadcasted over a local network. \image broadcastreceiver-example.png */ diff --git a/examples/network/doc/src/broadcastsender.qdoc b/examples/network/doc/src/broadcastsender.qdoc index a587c5fddd..a9aa1f96d8 100644 --- a/examples/network/doc/src/broadcastsender.qdoc +++ b/examples/network/doc/src/broadcastsender.qdoc @@ -29,9 +29,10 @@ \example broadcastsender \title Broadcast Sender Example \ingroup examples-network + \brief Demonstrates how to broadcast information to multiple clients on a local network. - \brief The Broadcast Sender example shows how to broadcast information to multiple clients - on a local network. + This example uses Qt Network APIs to demonstrate how to broadcast messages + to multiple clients over a local network. \image broadcastsender-example.png */ diff --git a/examples/network/doc/src/fortuneclient.qdoc b/examples/network/doc/src/fortuneclient.qdoc index f7a4c56020..1d69415f3c 100644 --- a/examples/network/doc/src/fortuneclient.qdoc +++ b/examples/network/doc/src/fortuneclient.qdoc @@ -29,9 +29,9 @@ \example fortuneclient \title Fortune Client Example \ingroup examples-network + \brief Demonstrates how to create a client for a network service - \brief The Fortune Client example shows how to create a client for a simple - network service using QTcpSocket. It is intended to be run alongside the + This example uses QTcpSocket, and is intended to be run alongside the \l{fortuneserver}{Fortune Server} example or the \l{threadedfortuneserver}{Threaded Fortune Server} example. diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc index d702bc6bb1..7422120975 100644 --- a/examples/network/doc/src/fortuneserver.qdoc +++ b/examples/network/doc/src/fortuneserver.qdoc @@ -29,15 +29,15 @@ \example fortuneserver \title Fortune Server Example \ingroup examples-network + \brief Demonstrates how to create a server for a network service. - \brief The Fortune Server example shows how to create a server for a simple - network service. It is intended to be run alongside the + This example is intended to be run alongside the \l{fortuneclient}{Fortune Client} example or the \l{blockingfortuneclient}{Blocking Fortune Client} example. \image fortuneserver-example.png Screenshot of the Fortune Server example - This example uses QTcpServer to accept incoming TCP connections, and a + It uses QTcpServer to accept incoming TCP connections, and a simple QDataStream based data transfer protocol to write a fortune to the connecting client (from the \l{fortuneclient}{Fortune Client} example), before closing the connection. diff --git a/examples/network/doc/src/googlesuggest.qdoc b/examples/network/doc/src/googlesuggest.qdoc index c04e65c3f9..b53c394d76 100644 --- a/examples/network/doc/src/googlesuggest.qdoc +++ b/examples/network/doc/src/googlesuggest.qdoc @@ -29,10 +29,10 @@ \example googlesuggest \title Google Suggest Example \ingroup examples-network + \brief Obtains the list of search recommendations by the Google search engine - \brief The Google Suggest example demonstrates how to use the QNetworkAccessManager - class to obtain a list of suggestions from the Google search engine as the - user types into a QLineEdit. + The example uses the QNetworkAccessManager to obtain the list of search + recommendations by Google as the user types into a QLineEdit. \image googlesuggest-example.png diff --git a/examples/network/doc/src/http.qdoc b/examples/network/doc/src/http.qdoc index 89223b7894..62cfffd603 100644 --- a/examples/network/doc/src/http.qdoc +++ b/examples/network/doc/src/http.qdoc @@ -29,9 +29,10 @@ \example http \title HTTP Example \ingroup examples-network + \brief Demonstrates a simple HTTP client - \brief The HTTP example demonstrates a simple HTTP client that shows how to fetch files - specified by URLs from remote hosts. + This example demonstrates how a simple HTTP client can fetch files + from remote hosts. \image http-example.png */ diff --git a/examples/network/doc/src/loopback.qdoc b/examples/network/doc/src/loopback.qdoc index e278a9e9bd..6d74a187fd 100644 --- a/examples/network/doc/src/loopback.qdoc +++ b/examples/network/doc/src/loopback.qdoc @@ -29,9 +29,10 @@ \example loopback \title Loopback Example \ingroup examples-network + \brief Demonstrates the client-server communication on a local host - \brief The Loopback example shows how to communicate between simple clients and servers on a local - host. + The example demonstrates how the clients and servers on a local host + communicate with each other. \image loopback-example.png */ diff --git a/examples/network/doc/src/multicastreceiver.qdoc b/examples/network/doc/src/multicastreceiver.qdoc index 88ed6020d4..62174f5d4d 100644 --- a/examples/network/doc/src/multicastreceiver.qdoc +++ b/examples/network/doc/src/multicastreceiver.qdoc @@ -29,9 +29,8 @@ \example multicastreceiver \title Multicast Receiver Example \ingroup examples-network + \brief Demonstrates how to receive information sent to a multicast group - \brief The Multicast Receiever example shows how to receive information that is - sent to a multicast group. - + This example demonstrates how to receive messages sent to a multicast group \image multicastreceiver-example.png */ diff --git a/examples/network/doc/src/multicastsender.qdoc b/examples/network/doc/src/multicastsender.qdoc index 4ec9defb53..c4b93ea0a6 100644 --- a/examples/network/doc/src/multicastsender.qdoc +++ b/examples/network/doc/src/multicastsender.qdoc @@ -29,9 +29,10 @@ \example multicastsender \title Multicast Sender Example \ingroup examples-network + \brief Demonstrates how to send messages to a multicast group - \brief The Multicast Sender example shows how to send information to multiple - clients in a multicast group. + This example demonstrates how to send messages to the clients of a + multicast group. \image multicastsender-example.png */ diff --git a/examples/network/doc/src/network-chat.qdoc b/examples/network/doc/src/network-chat.qdoc index cd5ec4b348..b95a13098f 100644 --- a/examples/network/doc/src/network-chat.qdoc +++ b/examples/network/doc/src/network-chat.qdoc @@ -29,10 +29,10 @@ \example network-chat \title Network Chat Example \ingroup examples-network + \brief Demonstrates a stateful peer-to-peer Chat client - \brief The Network Chat example demonstrates a stateful peer-to-peer Chat client - that uses broadcasting with QUdpSocket and QNetworkInterface to discover - its peers. + This example uses broadcasting with QUdpSocket and QNetworkInterface to + discover its peers. \image network-chat-example.png */ diff --git a/examples/network/doc/src/network-download.qdoc b/examples/network/doc/src/network-download.qdoc new file mode 100644 index 0000000000..1144361fb5 --- /dev/null +++ b/examples/network/doc/src/network-download.qdoc @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example network/download + \title Network Download Example + \brief Demonstrates how to use networking APIs for multiple downloads + \ingroup examples-network + + The Network Download example shows how to perform multiple downloads in + parallel using the QNetworkAccessManager class. + + This example is designed to be run from the command-line. + + The \l{Network Download Manager Example} implements a more complex system + that places files in a queue for sequential downloading. +*/ diff --git a/examples/network/doc/src/network-downloadmanager.qdoc b/examples/network/doc/src/network-downloadmanager.qdoc new file mode 100644 index 0000000000..9722996d30 --- /dev/null +++ b/examples/network/doc/src/network-downloadmanager.qdoc @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example network/downloadmanager + \title Network Download Manager Example + \brief Demonstrates how to use the networking APIs for multiple downloads + \ingroup examples-network + + The Network Download example shows how to implement a queue for multiple + downloads using the QNetworkAccessManager class. + + This example is designed to be run from the command-line. + + See the \l{Network Download Example} for a simpler version of this example + that obtains multiple files in parallel. +*/ diff --git a/examples/network/doc/src/securesocketclient.qdoc b/examples/network/doc/src/securesocketclient.qdoc index a61a00e833..e025b51931 100644 --- a/examples/network/doc/src/securesocketclient.qdoc +++ b/examples/network/doc/src/securesocketclient.qdoc @@ -29,11 +29,11 @@ \example securesocketclient \title Secure Socket Client Example \ingroup examples-network + \brief Demonstrates how to communicate over an encrypted (SSL) connection - \brief The Secure Socket Client example shows how to use QSslSocket to - communicate over an encrypted (SSL) connection. It also demonstrates how - to deal with authenticity problems, and how to display security and - certificate information. + This example uses QSslSocket to demonstrate how to communicate over an + encrypted connection, deal with authenticity problems, and display security + and certificate information. \image securesocketclient.png \image securesocketclient2.png diff --git a/examples/network/doc/src/torrent.qdoc b/examples/network/doc/src/torrent.qdoc index 791464c9a4..939ebcbc6b 100644 --- a/examples/network/doc/src/torrent.qdoc +++ b/examples/network/doc/src/torrent.qdoc @@ -29,9 +29,10 @@ \example torrent \title Torrent Example \ingroup examples-network + \brief Demonstrates complex TCP/IP operations - \brief The Torrent example is a functional BitTorrent client that - illustrates how to write a complex TCP/IP application using Qt. + This example demonstrates some of the complex TCP/IP operations + supported by the Qt Network APIs. \image torrent-example.png diff --git a/examples/qtconcurrent/imagescaling/doc/images/imagescaling_example.png b/examples/qtconcurrent/imagescaling/doc/images/imagescaling_example.png new file mode 100644 index 0000000000000000000000000000000000000000..7c6794132a9ad493a512d42cccb0b6d0146b3565 GIT binary patch literal 23710 zcmb6BWk6Kl7d8wdEg{lKcbDYQ(p>@~jndNHGju9QGeap#N=U=d(p^eRN_R67^BnyB z@8^Erk1rpHbIzQ-_u4D2b*;6D)zMPM$DzbQK|#S+RZ)0}f`Z0~f`aOejR{;~sZuBa zexQ5Gsp?|`UqRT`F~Hx?ycA!1>ABi^`M&Y6L9ugjb++O0wDPdAaq+Zw^*TapmqtOM zM^ROf)%VNZ|LvR2Y?E_+qFs=X;+d-%VK!^_dKQJ7UW^0B?gin5#EFiU&JpP7{QP`0 z@BX|fHvm&|LT}8gP%t|r?oX{#h>g)AwH@2m&W`@hm9q9PpRw~{FIS4$jT^A;u!iq1 zJ#8ri{IQ0-uOIv7abGnf%*o}j86uv_#k`d|`6F&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1V2HwIw#X$Zvva66{UF7`K9Y(h>MU38fxQSu6xYS? zrUsV%6Ze}}hH5<75<=0c899!*CL2{vHFVE^DsKy)=`)5Bj0{?eG{+*DVi%26y8=^A zCrtG(r8>)PgYx5&!9hPpfL7j;{s zypC_NbKdi*J`nM(P+VU9zD%n5e2`Px{-=p9;`>DuP7^`ieyInip>FDehWUK?c^y83 z;Bzp1W`fU*`2RB< literal 0 HcmV?d00001 diff --git a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc new file mode 100644 index 0000000000..4cf07e8edb --- /dev/null +++ b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example qtconcurrent/imagescaling + \title Image Scaling Example + \bried Demonstrates how to asynchronously scale images. + \ingroup qtconcurrentexamples + + The QtConcurrent Map example shows how to use the asynchronous + QtConcurrent API to load and scale a collection of images. + + \image imagescaling_example.png +*/ diff --git a/examples/qtconcurrent/map/doc/src/qtconcurrent-map.qdoc b/examples/qtconcurrent/map/doc/src/qtconcurrent-map.qdoc new file mode 100644 index 0000000000..7522baf2c4 --- /dev/null +++ b/examples/qtconcurrent/map/doc/src/qtconcurrent-map.qdoc @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example qtconcurrent/map + \title Map Example + \brief Demonstrates how to scale images synchronously. + \ingroup qtconcurrentexamples + + The QtConcurrent Map example shows how to use the synchronous (blocking) + QtConcurrent API to scale a collection of images. + + This is a command-line application. +*/ diff --git a/examples/qtconcurrent/progressdialog/doc/images/qtconcurrent-progressdialog.png b/examples/qtconcurrent/progressdialog/doc/images/qtconcurrent-progressdialog.png new file mode 100644 index 0000000000000000000000000000000000000000..2e8b7735ad3e8d081f8a95919c6eaf68736372f5 GIT binary patch literal 4608 zcmaJ_WmuF=+oo#?0bNR3*rmH0DOX}aN=oSlN$HT1Mp;?ul9Dc2Bvx=0SmKfHkdlt2 z`-A6szW2v>yvO(BzV2g=nJZ?_Yv!D5VxijVWF+(?SXfwOPc&5YZvQj4UnCLEt@K_Q z(!|1|?0TZ2r0+MiolR)`%!r}uBIx+c1Q$G&->shz7l)hjyEH=D#CfxH?6c2!Z2ib! zbzHemEl$$s7o%TT0*Tm!+2VvbaOfUc#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zS)w70e}bL}S15#83bYEdssWC{Y4yHf-B z0*7%9n&NL0iYGWvR~s3!f61;GO+c@3zCL&#;MQ$6@peg#-VwAD_cwtsKaYGz=>yj6 z!Js!|AS940f3hFz&D+-#de7hB|5fqc5T_C*yd-tRpRYcqr+xR&%zRq&pL}in-#4QF zSDtbD6Vq8*|L*7aSkAW_U;k$p{K2Ol``MgT<=`*L#-n;OJv1_J=D+BHz=HmFs@k7C z0}y{?u!%gBGIxpzaF`{Vlqs0CUjQ^7(bBFOF?%p zFTmm5Tmi5L7g$RRrLxvaz+yyH;BY=j5&FD`XMpKTMfq^9o4s2#khWp(27B%y2L{7| zcEu-P^+h8rx_9{LWS}^g5^BFcE%7w$-5UorGIuj}FZSx@e<~IMMqj_DiYs{!t_GG^*GF!=0c6HHRzHC8TcbfQwqIO}qJEFW z2ju}`7#FjZ{W)Jq2rXrBJ%Gr=ls&Mja5^W7l7HQ4s72BIJb%C?Xx$cYE9Pu2dL)~v z!-OjZWOs5kI`X-8bHArzUrG~3eEGQXsF7b0e(7HQjxhN@EwG|K?0>aBBotOc+H~l{ z-UDX$(53Fj^8+K`R4jJG5HSb5cB21(wJMBL8f{TCB)0!xZtgFKo#H~rV-c-?E!{@* zqFlR+R~u@;9Aix;0}hoJ$gz-aZ(che0S+iv!|mvma_%sB6D@nwwt4Ku8!$?+I8(+OA3!dOh*ndJa%CWQe6myj%mF9#(0s{Yg=R&y z+j0f{W_guUt!`o}OrBNi(an$ZMr>Uf?^scpYxAbicyKw-qB{0_00!e#>`e}ozbO7E zyZ-NNHoNIRHdxy*>cG40ta?&h`$j8c`x>r+D#_|+f%&yG1M#(9eDGDs$zp5}4WK^W9-kE&)KLEkU7&HI? literal 0 HcmV?d00001 diff --git a/examples/widgets/doc/images/weatheranchorlayout-example.png b/examples/widgets/doc/images/weatheranchorlayout-example.png new file mode 100644 index 0000000000000000000000000000000000000000..59d3b55b7a072b2efd202bd1b3723c7e25709795 GIT binary patch literal 88805 zcma&NbzD^6_d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AlOmZ%{y$wUjW57VrKCmKp$1 literal 0 HcmV?d00001 diff --git a/examples/widgets/doc/src/basicgraphicslayouts.qdoc b/examples/widgets/doc/src/basicgraphicslayouts.qdoc index 2ff9a90680..70f92a838a 100644 --- a/examples/widgets/doc/src/basicgraphicslayouts.qdoc +++ b/examples/widgets/doc/src/basicgraphicslayouts.qdoc @@ -29,9 +29,9 @@ \example graphicsview/basicgraphicslayouts \title Basic Graphics Layouts Example \ingroup examples-graphicsview-layout - \brief This example shows how to use some basic layouts. + \brief Demonstrates how to create basic graphics layout - \brief The Basic Graphics Layouts example shows how to use the layout classes + The Basic Graphics Layouts example shows how to use the layout classes in QGraphicsView: QGraphicsLinearLayout and QGraphicsGridLayout. In addition to that it shows how to write your own custom layout item. diff --git a/examples/widgets/doc/src/blurpicker.qdoc b/examples/widgets/doc/src/blurpicker.qdoc index bacd7474e3..06426c2ab3 100644 --- a/examples/widgets/doc/src/blurpicker.qdoc +++ b/examples/widgets/doc/src/blurpicker.qdoc @@ -29,7 +29,7 @@ \example effects/blurpicker \title Blur Picker Effect Example \ingroup examples-graphicsview-graphicseffects - \brief This example shows the use of QGraphicsBlurEffect. + \brief Demonstrates how to apply graphical effects on items in the view \image blurpickereffect-example.png */ diff --git a/examples/widgets/doc/src/boxes.qdoc b/examples/widgets/doc/src/boxes.qdoc index b3ed1f68c8..6ad50fff9f 100644 --- a/examples/widgets/doc/src/boxes.qdoc +++ b/examples/widgets/doc/src/boxes.qdoc @@ -29,8 +29,7 @@ \example graphicsview/boxes \title Boxes \ingroup examples-graphicsview - \brief This demo shows Qt's ability to combine advanced OpenGL rendering with the - the \l{Graphics View Framework}. + \brief Combines advanced OpenGL rendering with the Graphics View framework \image boxes-demo.png diff --git a/examples/widgets/doc/src/chip.qdoc b/examples/widgets/doc/src/chip.qdoc index e3adb26ced..6fd15ac09c 100644 --- a/examples/widgets/doc/src/chip.qdoc +++ b/examples/widgets/doc/src/chip.qdoc @@ -29,10 +29,9 @@ \example graphicsview/chip \title 40000 Chips \ingroup examples-graphicsview - \brief This demo shows how to visualize a huge scene with 40000 chip items - using Graphics View. + \brief Visualizes a huge graphic view scene with 40000 chip items - It also shows Graphics View's powerful navigation + This examples demonstrates Graphics View's powerful navigation and interaction features, allowing you to zoom and rotate each of four views independently, and you can select and move items around the scene. diff --git a/examples/widgets/doc/src/collidingmice-example.qdoc b/examples/widgets/doc/src/collidingmice-example.qdoc index 3994d75c2b..b6187677b8 100644 --- a/examples/widgets/doc/src/collidingmice-example.qdoc +++ b/examples/widgets/doc/src/collidingmice-example.qdoc @@ -28,6 +28,8 @@ /*! \example graphicsview/collidingmice \title Colliding Mice Example + \brief Demonstrates how to animate items on a graphics view + \ingroup examples-graphicsview The Colliding Mice example shows how to use the Graphics View framework to implement animated items and detect collision between diff --git a/examples/widgets/doc/src/diagramscene.qdoc b/examples/widgets/doc/src/diagramscene.qdoc index 55043df475..4ad74cfee9 100644 --- a/examples/widgets/doc/src/diagramscene.qdoc +++ b/examples/widgets/doc/src/diagramscene.qdoc @@ -29,7 +29,7 @@ \example graphicsview/diagramscene \title Diagram Scene Example \ingroup examples-graphicsview - \brief This example shows use of Qt's graphics framework. + \brief Demonstrate how to use the Graphics View framework \image diagramscene.png diff --git a/examples/widgets/doc/src/dragdroprobot.qdoc b/examples/widgets/doc/src/dragdroprobot.qdoc index 8187cbfd46..f58f3cfdf2 100644 --- a/examples/widgets/doc/src/dragdroprobot.qdoc +++ b/examples/widgets/doc/src/dragdroprobot.qdoc @@ -29,7 +29,9 @@ \example graphicsview/dragdroprobot \title Drag and Drop Robot Example \ingroup examples-graphicsview - \brief The Drag and Drop Robot example shows how to implement Drag and Drop in a + \brief Demonstrates how to drag and drop items in a graphics view + + The Drag and Drop Robot example shows how to implement Drag and Drop in a QGraphicsItem subclass, as well as how to animate items using Qt's \l{Animation Framework}. diff --git a/examples/widgets/doc/src/elasticnodes.qdoc b/examples/widgets/doc/src/elasticnodes.qdoc index 75ad496592..bfca70d2f1 100644 --- a/examples/widgets/doc/src/elasticnodes.qdoc +++ b/examples/widgets/doc/src/elasticnodes.qdoc @@ -29,10 +29,10 @@ \example graphicsview/elasticnodes \title Elastic Nodes Example \ingroup examples-graphicsview - \brief The Elastic Nodes example shows how to implement edges between nodes in a - graph, with basic interaction. + \brief Demonstrates how to interact with graphical items in a scene - You can click to drag a node around, and + The Elastic Nodes example shows how to implement edges between nodes in a + graph, with basic interaction. You can click to drag a node around, and zoom in and out using the mouse wheel or the keyboard. Hitting the space bar will randomize the nodes. The example is also resolution independent; as you zoom in, the graphics remain crisp. diff --git a/examples/widgets/doc/src/embeddeddialogs.qdoc b/examples/widgets/doc/src/embeddeddialogs.qdoc index 1dbb7dc83a..34e800d75a 100644 --- a/examples/widgets/doc/src/embeddeddialogs.qdoc +++ b/examples/widgets/doc/src/embeddeddialogs.qdoc @@ -29,10 +29,10 @@ \example graphicsview/embeddeddialogs \title Embedded Dialogs \ingroup examples-graphicsview-layout - \brief This example shows how to embed standard dialogs into - Graphics View. + \brief Demonstrates how to embed dialogs into a graphics view - It also shows how you can customize the + This example shows how to embed standard dialogs into + Graphics View. It also shows how you can customize the proxy class and add window shadows. \image embeddeddialogs-demo.png diff --git a/examples/widgets/doc/src/fademessage.qdoc b/examples/widgets/doc/src/fademessage.qdoc index 335384d5bd..dcd429521d 100644 --- a/examples/widgets/doc/src/fademessage.qdoc +++ b/examples/widgets/doc/src/fademessage.qdoc @@ -29,9 +29,9 @@ \example effects/fademessage \title Fade Message Effect Example \ingroup examples-graphicsview-graphicseffects - \brief This example shows the use of QGraphicsColorizeEffect. + \brief Demonstrates how to appliy effects on items in the view - \div { style="text-align: center"} + \div { style="text-align: left"} \inlineimage fademessageeffect-example.png \inlineimage fademessageeffect-example-faded.png \enddiv diff --git a/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc b/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc index 78aa1feb95..98c0958918 100644 --- a/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc +++ b/examples/widgets/doc/src/graphicsview-anchorlayout.qdoc @@ -29,8 +29,10 @@ \example graphicsview/anchorlayout \title Anchor Layout Example \ingroup examples-graphicsview-layout - \brief This example shows how to use QGraphicsAnchorLayout. + \brief Demonstrates anchor layout in a graphics view scene The Anchor Layout example demonstrates the use of the QGraphicsAnchorLayout class. + + \image graphicsanchorlayout-example.png */ diff --git a/examples/widgets/doc/src/graphicsview-flowlayout.qdoc b/examples/widgets/doc/src/graphicsview-flowlayout.qdoc index c754fa2d53..52d97164c3 100644 --- a/examples/widgets/doc/src/graphicsview-flowlayout.qdoc +++ b/examples/widgets/doc/src/graphicsview-flowlayout.qdoc @@ -29,10 +29,12 @@ \example graphicsview/flowlayout \title Graphics View Flow Layout Example \ingroup examples-graphicsview-layout - \brief This example shows how to make a flow layout in Graphics View. + \brief Demonstrates flow layout on a graphics view scene. The Graphics View Flow Layout example shows the use of a flow layout in a Graphics View widget. + \image graphicsflowlayout-example.png + See the \l{Flow Layout Example} for a corresponding widget-based example. */ diff --git a/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc b/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc index 2ff804ab46..480c7c4e0c 100644 --- a/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc +++ b/examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc @@ -29,8 +29,10 @@ \example graphicsview/simpleanchorlayout \title Simple Anchor Layout Example \ingroup examples-graphicsview-layout - \brief This example shows how basic use of QGraphicsAnchorLayout. + \brief Demonstrates anchor layout on a graphics view scene The Simple Anchor Layout example shows the basic use of the QGraphicsAnchorLayout class. + + \image graphicssimpleanchorlayout-example.png */ diff --git a/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc b/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc index 8b7b9c498d..88a5c60fb5 100644 --- a/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc +++ b/examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc @@ -29,8 +29,10 @@ \example graphicsview/weatheranchorlayout \title Weather Anchor Layout Example \ingroup examples-graphicsview-layout - \brief This example shows advanced use of QGraphicsAnchorLayout. + \brief Demonstrates anchor layout on a graphics view scene The Weather Anchor Layout example shows more complex use of the QGraphicsAnchorLayout class to create a real-world window layout. + + \image weatheranchorlayout-example.png */ diff --git a/examples/widgets/doc/src/lighting.qdoc b/examples/widgets/doc/src/lighting.qdoc index 8277f0e5b8..e519bacb91 100644 --- a/examples/widgets/doc/src/lighting.qdoc +++ b/examples/widgets/doc/src/lighting.qdoc @@ -29,7 +29,7 @@ \example effects/lighting \title Lighting Effect Example \ingroup examples-graphicsview-graphicseffects - \brief This example shows the use of QGraphicsDropShadowEffect. + \brief Demonstrates how to apply effects on items in the view \image lightingeffect-example.png */ diff --git a/examples/widgets/doc/src/padnavigator.qdoc b/examples/widgets/doc/src/padnavigator.qdoc index 90c7c00952..7b5e54e5ff 100644 --- a/examples/widgets/doc/src/padnavigator.qdoc +++ b/examples/widgets/doc/src/padnavigator.qdoc @@ -29,7 +29,9 @@ \example graphicsview/padnavigator \title Pad Navigator Example \ingroup examples-graphicsview - \brief The Pad Navigator Example shows how you can use Graphics View together with + \brief Demonstrates how to create animated user interface + + The Pad Navigator Example shows how you can use Graphics View together with embedded widgets and Qt's \l{State Machine Framework} to create a simple but useful, dynamic, animated user interface. diff --git a/examples/xml/doc/images/xmlstreamexample-filemenu.png b/examples/xml/doc/images/xmlstreamexample-filemenu.png new file mode 100644 index 0000000000000000000000000000000000000000..e074fb7c41f8661ae4696cc6b730a330de6c2a8e GIT binary patch literal 9380 zcmY*U&>VO^x_RFy?rKzWBlLLMh`(t&{RQCd+(QpXE^l#Ag@wBR=+Kco~* z|8Gz=I=eZ)G=JVLh|Km=f(fnc$DAyC34d zm^zS*dLH7^i=I3**{nnWcZc>eAK&ff4L0j`y|?}<{uV!{!CzntgWq{vWPj`rK0>11 z?T$?n1~<>)oMtR17cwE$hDWjG6^G_Y4 zA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9q2u8ry1sn@rm&5x(cs(-)?lNCZ(VIQKvsm3`DQh$G5Gh`smdz xFUSbXB}KwBwcS-@r_oIV@iXm|@-AO8&9tqHaNbJ3{$YfmD61w@D`gh+e*i^tl^y^9 literal 0 HcmV?d00001 diff --git a/examples/xml/doc/images/xmlstreamexample-helpmenu.png b/examples/xml/doc/images/xmlstreamexample-helpmenu.png new file mode 100644 index 0000000000000000000000000000000000000000..0dc4392b94c3bc947862927de563c521aecf7dbf GIT binary patch literal 10856 zcmZ{Kbx<5nv^7p}3%?4uQoUzxUPq z^P8%kTRq*=eQuxIHMdSrl)9<{7CIR^92^{$lA^5Un>~Fi!|xE@?vnVl_iqNxSy9go z4i1ChzXA`JkxBCQ5Y=5tMGkclnFxynu+^m_1qa89sw69=<+XB}h2j1ll3uESPZyUh zYERew*Z!CET)0zsNfGN=dT$vCbSnu&YUU(FuSuL`K1R6xf64*Nfex(+|n{umticH-vf)9z0M>-HVUwr;u-d0jl(pF+cA7@!ueoa+Y()xBC z9e2H!!`i-j)ZXr98>|Mv5=(vnOQR=>IP8%%o>vL!F;+-f+RDHBsr=aqx78+o_;u$6 zww>pgkLH{&Xqp-gx+KDPu{#KCW+$vkv* zMIl+gM7(068LNa+DTR%Aq3wLRtuE2FFe)SZHM4N{qcpoy1u1R9Ya{!T04Kf@mM&o? zgBxn!XT+IcA3rpfgCd!gn50!oulxlRGf}3qB#j_{LD2MWR+0~|zaccY<2YQV&NB!- zSvLCPZCpV)GEx7fDFK~ml5hs8w3QOzP&u0aIC0R z{}Kv(*;u}zLKBuR#5WYqpgKpByCUQ^LQV85Q&%c<1{CPwV7jP|7d;v_?#`#z+l^;@ zb$em_)Ps>i%9Y_}tCB&MXe;Au`A6xt-gCZ~bH1x7W(i+QMxB((U-Vz-kT=#qyaWc|M&MX9cRzd*%HjN2A#v#$iXY+BXA(ZhupYjFeGYTtG5nLhOx z!{Jx@Po@|Ke7#i^q9d`utkr#-b8@qEn5g8FuKP{JdkZ}83pSqm@~}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^ll_@8Wy%4vEvF)Y;YK3i@Pn+P6{5}(%O>aoc< zcnXfu6DntYH4E~a7iQi~URdD#Q3mAiLjR}NBQ|?JJYFdP*P?SlHD%jVNyDWUB8ul9 zRPSIV2a-o*HL46B{%~<8%PG6UiZ%1X+_AB*01l%S#VFMw?i(Wx=pKU*xRL=QSx@?1 z{UrKaII}0AV7Q)HLa+vnlg0i*EO$p!ux3QI6c_O4oeDGX=0{;ZXZpo1fj$DW!0uxX%c>NaTXAilQ z__-5C)HVOqK8QoQKSv1h7sT+p>uB@cyG^NgrxB766 z?ZMbrf*RHcGvNTfU$yo0I`dx0^Oo-H-j_q0J)gJftuhItg0nsoaSP?eb%?g7?uN7_ z_p1#RSBA1lW~s0lQ1cuD9YySb(@)d2h;1Osd%B^Y&*!hVQ)gttAX3VqW^&9pZIg4u z6NxgYGY!Da6M6p&#?K7lpW?0s zf;_~0(j_~&R1mR-tH2hWm=P@;zX91Riw# Y+2k4VN%X|GzeM4bX?451RHrV*mgE literal 0 HcmV?d00001 diff --git a/examples/xml/doc/images/xmlstreamexample-screenshot.png b/examples/xml/doc/images/xmlstreamexample-screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..bbaa423061a944df7b7cfc1d142f2fd5c783087c GIT binary patch literal 22323 zcmbrlXINCtvoAU`3@~H{Bu57jkR&<7pdct92m+FWB1n#sVU!G#1(Z07h~%7e29ca| z&N*kei}&68?EiW0IUnwGKg?R)y*gA^cU4#YswY_Wg**W+H7*DQB6y}Cs|Er=azG$( zBn$$SEbXOp0xujp1#L$V2#@sc2L>f1Q38e7PS2F(utzb;2}r09`Dt!IAkBeivNEq+ zC$^JuzS3zVpV&4FlpL&QpwUcS=ubgtsOmlZ%VxYZCWojPu?Zak|bMRvON`+mkNmwY`^9 zb^7Hynd;8H2P3yhVz%=>DV|p|)f5Jf$1HLT{^}{_;>XV#o1Xa`xE@4D4#ttaFf=$j z%4+)DI9IyeRLaPjx&4G%B|xQLwwFh>1SO$_Av~(UYtF*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3pS>^+H!A;>{CN@A3b%V%88`Owvkedl=T!o1SHK z(17!WE!Hv)ih0T@^<}%Z1){R$ipO+KNEs#Fh1Uv+A99m}jxYz6do@ci1ciR&0M$>< z@6ZP}6mRCqHz3cuCcaR0X-l6ijm2Ec$W7j%oxo+tiDuh-KT0q2PbJH{?Kl)oZkS|L z?-CtcnOsam8rLWRz2|okQ*Z{#dEjpO+@ub|B8>)mqxx%gsDFlz#uatqMVp9!0n}^M AY5)KL literal 0 HcmV?d00001 diff --git a/examples/xml/doc/src/qxmlstreambookmarks.qdoc b/examples/xml/doc/src/qxmlstreambookmarks.qdoc new file mode 100644 index 0000000000..dd7708a290 --- /dev/null +++ b/examples/xml/doc/src/qxmlstreambookmarks.qdoc @@ -0,0 +1,194 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example xml/streambookmarks + \title QXmlStream Bookmarks Example + \brief Demonstrates how to read and write to XBEL files + \ingroup xml-examples + + The QXmlStream Bookmarks example provides a reader for XML Bookmark + Exchange Language (XBEL) files using Qt's QXmlStreamReader class + for reading, and QXmlStreamWriter class for writing the files. + + \image xmlstreamexample-screenshot.png + + \section1 XbelWriter Class Definition + + The \c XbelWriter class contains a private instance of QXmlStreamWriter, + which provides an XML writer with a streaming API. \c XbelWriter also + has a reference to the QTreeWidget instance where the bookmark hierarchy + is stored. + + \snippet streambookmarks/xbelwriter.h 0 + + \section1 XbelWriter Class Implementation + + The \c XbelWriter constructor accepts a \a treeWidget to initialize within + its definition. We enable \l{QXmlStreamWriter}'s auto-formatting property + to ensure line-breaks and indentations are added automatically to empty + sections between elements, increasing readability as the data is split into + several lines. + + \snippet streambookmarks/xbelwriter.cpp 0 + + The \c writeFile() function accepts a QIODevice object and sets it using + \c setDevice(). This function then writes the document type + definition(DTD), the start element, the version, and \c{treeWidget}'s + top-level items. + + \snippet streambookmarks/xbelwriter.cpp 1 + + The \c writeItem() function accepts a QTreeWidgetItem object and writes it + to the stream, depending on its \c tagName, which can either be a "folder", + "bookmark", or "separator". + + \snippet streambookmarks/xbelwriter.cpp 2 + + \section1 XbelReader Class Definition + + The \c XbelReader contains a private instance of QXmlStreamReader, the + companion class to QXmlStreamWriter. \c XbelReader also contains a + reference to the QTreeWidget that is used to group the bookmarks according + to their hierarchy. + + \snippet streambookmarks/xbelreader.h 0 + + \section1 XbelReader Class Implementation + + The \c XbelReader constructor accepts a QTreeWidget to initialize the + \c treeWidget within its definition. A QStyle object is used to set + \c{treeWidget}'s style property. The \c folderIcon is set to QIcon::Normal + mode where the pixmap is only displayed when the user is not interacting + with the icon. The QStyle::SP_DirClosedIcon, QStyle::SP_DirOpenIcon, and + QStyle::SP_FileIcon correspond to standard pixmaps that follow the style + of your GUI. + + \snippet streambookmarks/xbelreader.cpp 0 + + The \c read() function accepts a QIODevice and sets it using + \l{QXmlStreamReader::}{setDevice()}. The actual process of reading only + takes place if the file is a valid XBEL 1.0 file. Note that the XML input + needs to be well-formed to be accepted by QXmlStreamReader. Otherwise, the + \l{QXmlStreamReader::}{raiseError()} function is used to display an error + message. Since the XBEL reader is only concerned with reading XML elements, + it makes extensive use of the \l{QXmlStreamReader::}{readNextStartElement()} + convenience function. + + \snippet streambookmarks/xbelreader.cpp 1 + + The \c errorString() function is used if an error occurred, in order to + obtain a description of the error complete with line and column number + information. + + \snippet streambookmarks/xbelreader.cpp 2 + + The \c readXBEL() function reads the name of a startElement and calls + the appropriate function to read it, depending on whether if its a + "folder", "bookmark" or "separator". Otherwise, it calls + \l{QXmlStreamReader::}{skipCurrentElement()}. The Q_ASSERT() macro is used + to provide a pre-condition for the function. + + \snippet streambookmarks/xbelreader.cpp 3 + + The \c readTitle() function reads the bookmark's title. + + \snippet streambookmarks/xbelreader.cpp 4 + + The \c readSeparator() function creates a separator and sets its flags. + The text is set to 30 "0xB7", the HEX equivalent for period. The element + is then skipped using \l{QXmlStreamReader::}{skipCurrentElement()}. + + \snippet streambookmarks/xbelreader.cpp 5 + + \section1 MainWindow Class Definition + + The \c MainWindow class is a subclass of QMainWindow, with a + \c File menu and a \c Help menu. + + \snippet streambookmarks/mainwindow.h 0 + + \section1 MainWindow Class Implementation + + The \c MainWindow constructor instantiates the QTreeWidget object, \c + treeWidget and sets its header with a QStringList object, \c labels. + The constructor also invokes \c createActions() and \c createMenus() + to set up the menus and their corresponding actions. The \c statusBar() + is used to display the message "Ready" and the window's size is fixed + to 480x320 pixels. + + \snippet streambookmarks/mainwindow.cpp 0 + + The \c open() function enables the user to open an XBEL file using + QFileDialog::getOpenFileName(). A warning message is displayed along + with the \c fileName and \c errorString if the file cannot be read or + if there is a parse error. + + \snippet streambookmarks/mainwindow.cpp 1 + + The \c saveAs() function displays a QFileDialog, prompting the user for + a \c fileName using QFileDialog::getSaveFileName(). Similar to the + \c open() function, this function also displays a warning message if + the file cannot be written to. + + \snippet streambookmarks/mainwindow.cpp 2 + + The \c about() function displays a QMessageBox with a brief description + of the example. + + \snippet streambookmarks/mainwindow.cpp 3 + + In order to implement the \c open(), \c saveAs(), \c exit(), \c about() + and \c aboutQt() functions, we connect them to QAction objects and + add them to the \c fileMenu and \c helpMenu. The connections are as shown + below: + + \snippet streambookmarks/mainwindow.cpp 4 + + The \c createMenus() function creates the \c fileMenu and \c helpMenu + and adds the QAction objects to them in order to create the menu shown + in the screenshot below: + + \table + \row + \li \inlineimage xmlstreamexample-filemenu.png + \li \inlineimage xmlstreamexample-helpmenu.png + \endtable + + \snippet streambookmarks/mainwindow.cpp 5 + + \section1 \c{main()} Function + + The \c main() function instantiates \c MainWindow and invokes the \c show() + function. + + \snippet streambookmarks/main.cpp 0 + + See the \l{http://pyxml.sourceforge.net/topics/xbel/} + {XML Bookmark Exchange Language Resource Page} for more information + about XBEL files. +*/ diff --git a/examples/xml/doc/src/saxbookmarks.qdoc b/examples/xml/doc/src/saxbookmarks.qdoc index 9ed7611184..d45549bc1e 100644 --- a/examples/xml/doc/src/saxbookmarks.qdoc +++ b/examples/xml/doc/src/saxbookmarks.qdoc @@ -28,13 +28,14 @@ /*! \example saxbookmarks \title SAX Bookmarks Example + \brief Demonstrates how to read XBEL files + \ingroup xml-examples - \brief The SAX Bookmarks example provides a reader for XML Bookmark Exchange Language (XBEL) - files that uses Qt's SAX-based API to read and parse the files. The DOM Bookmarks + This example uses Qt's SAX API to read and parse the files. The DOM Bookmarks example provides an alternative way to read this type of file. \image saxbookmarks-example.png See the \l{XML Bookmark Exchange Language Resource Page} for more - information about XBEL files. + information about XBEL files. */ From 8c2a51b5867e563e3e3b4c5bd05d6bab24965edf Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Mon, 10 Dec 2012 13:39:51 +0100 Subject: [PATCH 133/386] test: Remove CONFIG += testcase from manual tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Manual tests are not supposed to be run by "make check" Change-Id: I0539b94f5286e89ddad2edf487d4b0d82fc2f374 Reviewed-by: Oswald Buddenhagen Reviewed-by: Simo Fält --- .../network_remote_stresstest/network_remote_stresstest.pro | 1 - tests/manual/network_stresstest/network_stresstest.pro | 1 - tests/manual/qhttpnetworkconnection/qhttpnetworkconnection.pro | 1 - .../qnetworkconfigurationmanager.pro | 1 - tests/manual/qnetworkreply/qnetworkreply.pro | 1 - tests/manual/qssloptions/qssloptions.pro | 1 - tests/manual/socketengine/socketengine.pro | 1 - 7 files changed, 7 deletions(-) diff --git a/tests/manual/network_remote_stresstest/network_remote_stresstest.pro b/tests/manual/network_remote_stresstest/network_remote_stresstest.pro index 02836f0a5d..736747e486 100644 --- a/tests/manual/network_remote_stresstest/network_remote_stresstest.pro +++ b/tests/manual/network_remote_stresstest/network_remote_stresstest.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TARGET = tst_network_remote_stresstest QT = core core-private network network-private testlib diff --git a/tests/manual/network_stresstest/network_stresstest.pro b/tests/manual/network_stresstest/network_stresstest.pro index 15a9156597..cefb064020 100644 --- a/tests/manual/network_stresstest/network_stresstest.pro +++ b/tests/manual/network_stresstest/network_stresstest.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TARGET = tst_network_stresstest QT = core-private network-private testlib diff --git a/tests/manual/qhttpnetworkconnection/qhttpnetworkconnection.pro b/tests/manual/qhttpnetworkconnection/qhttpnetworkconnection.pro index c33c87cd04..8440453cb7 100644 --- a/tests/manual/qhttpnetworkconnection/qhttpnetworkconnection.pro +++ b/tests/manual/qhttpnetworkconnection/qhttpnetworkconnection.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TEMPLATE = app TARGET = tst_qhttpnetworkconnection diff --git a/tests/manual/qnetworkconfigurationmanager/qnetworkconfigurationmanager.pro b/tests/manual/qnetworkconfigurationmanager/qnetworkconfigurationmanager.pro index 09cf2255f2..79de15933e 100644 --- a/tests/manual/qnetworkconfigurationmanager/qnetworkconfigurationmanager.pro +++ b/tests/manual/qnetworkconfigurationmanager/qnetworkconfigurationmanager.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TEMPLATE = app TARGET = tst_qnetworkconfigurationmanager diff --git a/tests/manual/qnetworkreply/qnetworkreply.pro b/tests/manual/qnetworkreply/qnetworkreply.pro index 2897e55857..3d98ee429f 100644 --- a/tests/manual/qnetworkreply/qnetworkreply.pro +++ b/tests/manual/qnetworkreply/qnetworkreply.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TEMPLATE = app TARGET = tst_qnetworkreply diff --git a/tests/manual/qssloptions/qssloptions.pro b/tests/manual/qssloptions/qssloptions.pro index c3487aa844..d4325b0fd1 100644 --- a/tests/manual/qssloptions/qssloptions.pro +++ b/tests/manual/qssloptions/qssloptions.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TARGET = tst_qssloptions QT -= gui diff --git a/tests/manual/socketengine/socketengine.pro b/tests/manual/socketengine/socketengine.pro index d9ac4cd2ca..3da17c2d49 100644 --- a/tests/manual/socketengine/socketengine.pro +++ b/tests/manual/socketengine/socketengine.pro @@ -1,4 +1,3 @@ -CONFIG += testcase TEMPLATE = app TARGET = tst_socketengine From 41a503bb756124a69f99dd9241bf777b1eda762d Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 11 Dec 2012 08:48:09 +0100 Subject: [PATCH 134/386] Hardcoded url to RFC3174 QTBUG-28500 Corrected in torrent.qdoc Change-Id: Idb1bf1ed869c0db80e557832a61d6eb28585c77a Reviewed-by: Jerome Pasion --- examples/network/doc/src/torrent.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/network/doc/src/torrent.qdoc b/examples/network/doc/src/torrent.qdoc index 939ebcbc6b..4bd70eed97 100644 --- a/examples/network/doc/src/torrent.qdoc +++ b/examples/network/doc/src/torrent.qdoc @@ -39,7 +39,7 @@ \section1 License Information The implementation of the US Secure Hash Algorithm 1 (SHA1) in this example is - derived from the original description in \l{RFC 3174}. + derived from the original description in \l{http://www.rfc-editor.org/rfc/rfc3174.txt}{RFC 3174}. \legalese Copyright (C) The Internet Society (2001). All Rights Reserved. From 5aa01643f8e7fe798434e1bf75b6ffea788d898b Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 11 Dec 2012 10:17:06 +0100 Subject: [PATCH 135/386] Entered hardcoded urls QTBUG-28500 Hardcoded urls for rfc 2109 and 2965 Corrected in qnetworkcookie.cpp Change-Id: Id3668fec24c3c658437f22a977ea9e631a423aed Reviewed-by: Jerome Pasion --- src/network/access/qnetworkcookie.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/access/qnetworkcookie.cpp b/src/network/access/qnetworkcookie.cpp index bfc439ef74..f07516c3fd 100644 --- a/src/network/access/qnetworkcookie.cpp +++ b/src/network/access/qnetworkcookie.cpp @@ -90,9 +90,9 @@ QT_BEGIN_NAMESPACE This class implements cookies as described by the \l{Netscape Cookie Specification}{initial cookie specification by - Netscape}, which is somewhat similar to the \l{RFC 2109} specification, + Netscape}, which is somewhat similar to the \l{http://www.rfc-editor.org/rfc/rfc2109.txt}{RFC 2109} specification, plus the \l{Mitigating Cross-site Scripting With HTTP-only Cookies} - {"HttpOnly" extension}. The more recent \l{RFC 2965} specification + {"HttpOnly" extension}. The more recent \l{http://www.rfc-editor.org/rfc/rfc2965.txt}{RFC 2965} specification (which uses the Set-Cookie2 header) is not supported. \sa QNetworkCookieJar, QNetworkRequest, QNetworkReply From d46198e74db770d481357ca509b9228b3f7b84d0 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 12:13:01 +0100 Subject: [PATCH 136/386] Qdoc: put hardcoded url as workaround QTBUG-28500 Change-Id: Ic9d0805897278d6caaf4cd763352d2d2d98d65f6 Reviewed-by: Mitch Curtis Reviewed-by: Jerome Pasion --- src/network/doc/src/ssl.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/doc/src/ssl.qdoc b/src/network/doc/src/ssl.qdoc index 0a07e72f93..0797e3f91b 100644 --- a/src/network/doc/src/ssl.qdoc +++ b/src/network/doc/src/ssl.qdoc @@ -33,7 +33,7 @@ \keyword SSL The classes below provide support for secure network communication using - the Secure Sockets Layer (SSL) protocol, using the \l{OpenSSL Toolkit} to + the Secure Sockets Layer (SSL) protocol, using the \l{www.openssl.org}{OpenSSL Toolkit} to perform encryption and protocol handling. See the \l{General Qt Requirements} page for information about the From 6fbc9c9a241bd5ceec3ced413f94c082051009df Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 12:34:44 +0100 Subject: [PATCH 137/386] Qdoc: workaround, put hardcoded url QTBUG 28500 Change-Id: Iab38307459eff8c20a66f8f41240075aaff1b086 Reviewed-by: Jerome Pasion --- src/corelib/doc/src/threads.qdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/corelib/doc/src/threads.qdoc b/src/corelib/doc/src/threads.qdoc index 9b8fe527d2..bcabfc3c8c 100644 --- a/src/corelib/doc/src/threads.qdoc +++ b/src/corelib/doc/src/threads.qdoc @@ -74,10 +74,10 @@ to threading see our Recommended Reading list: \list - \li \l{Threads Primer: A Guide to Multithreaded Programming} - \li \l{Thread Time: The Multithreaded Programming Guide} - \li \l{Pthreads Programming: A POSIX Standard for Better Multiprocessing} - \li \l{Win32 Multithreaded Programming} + \li \l {http://www.amazon.com/Threads-Primer-Guide-Multithreaded-Programming/dp/0134436989}{Threads Primer: A Guide to Multithreaded Programming} + \li \l {http://www.amazon.com/Thread-Time-MultiThreaded-Programming-Guide/dp/0131900676}{Thread Time: The Multithreaded Programming Guide} + \li \l {http://www.amazon.com/Pthreads-Programming-Standard-Multiprocessing-Nutshell/dp/1565921151a}{Pthreads Programming: A POSIX Standard for Better Multiprocessing} + \li \l {http://www.amazon.com/WIN32-Multithreaded-Programming-Aaron-Cohen/dp/1565922964}{Win32 Multithreaded Programming} \endlist \section1 The Threading Classes From 207b990ae1ae35940c310653f56f1ff6269d007d Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 13:25:00 +0100 Subject: [PATCH 138/386] Workaround with hardcoded url QT-BUG 28500 Change-Id: I385c14401ced85b12ce65446b224de6910bf3b37 Reviewed-by: Jerome Pasion --- src/sql/doc/src/sql-driver.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/doc/src/sql-driver.qdoc b/src/sql/doc/src/sql-driver.qdoc index 57efa5c4cc..d8a468222b 100644 --- a/src/sql/doc/src/sql-driver.qdoc +++ b/src/sql/doc/src/sql-driver.qdoc @@ -494,7 +494,7 @@ \snippet code/doc_src_sql-driver.qdoc 15 Users of MinGW may wish to consult the following online document: - \l{PostgreSQL MinGW/Native Windows}. + \l{http://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-NOTES-MINGW}{PostgreSQL MinGW/Native Windows}. \b{Note:} This database plugin is not supported for Windows CE. From 4d1d30d90d293d1323133d47858638329615f325 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 13:54:57 +0100 Subject: [PATCH 139/386] Hardcoded url Item View Classes QTBUG-28500 Removed link to Item View Classes in Qt4 Change-Id: Ic3c38a33edc88faf072b8fe7e3accfe1ee75ac78 Reviewed-by: Jerome Pasion --- src/widgets/doc/src/model-view-programming.qdoc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/widgets/doc/src/model-view-programming.qdoc b/src/widgets/doc/src/model-view-programming.qdoc index 804c91cea4..c665a8dba6 100644 --- a/src/widgets/doc/src/model-view-programming.qdoc +++ b/src/widgets/doc/src/model-view-programming.qdoc @@ -1943,9 +1943,6 @@ other components and applications can understand. \endlist - For more information, see the \l - {"Item View Classes" Chapter of C++ GUI Programming with Qt 4}. - \section2 Item data handling Models can provide varying levels of access to the data they provide: They can be From 7334cae9a5f95f6b524e272ea8741c0af1b6e03a Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 14:36:02 +0100 Subject: [PATCH 140/386] Hardcoded url for Mac Os X Aqua QTBUG-28500 Change-Id: I83d87d155b7ca502098a53e955fdde3c908e3300 Reviewed-by: Jerome Pasion --- src/widgets/kernel/qformlayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/kernel/qformlayout.cpp b/src/widgets/kernel/qformlayout.cpp index f875de16df..05f03dc97a 100644 --- a/src/widgets/kernel/qformlayout.cpp +++ b/src/widgets/kernel/qformlayout.cpp @@ -1022,7 +1022,7 @@ QStyle* QFormLayoutPrivate::getStyle() const \li \b{Adherence to the different platform's look and feel guidelines.} For example, the - \l{Mac OS X Aqua} and KDE guidelines specify that the + \l{https://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/Intro/Intro.html}{Mac OS X Aqua} and KDE guidelines specify that the labels should be right-aligned, whereas Windows and GNOME applications normally use left-alignment. @@ -1065,7 +1065,7 @@ QStyle* QFormLayoutPrivate::getStyle() const corresponds to what we would get using a two-column QGridLayout.) \li Style based on the - \l{Mac OS X Aqua} guidelines. Labels are right-aligned, + \l{https://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/Intro/Intro.html}{Mac OS X Aqua} guidelines. Labels are right-aligned, the fields don't grow beyond their size hint, and the form is horizontally centered. \li Recommended style for From c27b33ada0cdfcea3888bfbb70069b6269ba0589 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 15:30:37 +0100 Subject: [PATCH 141/386] Added hardcoded url QTBUG-28500 Change-Id: Ida2bcd8e470cc336db69dcec6130ad942e14d3a0 Reviewed-by: Jerome Pasion --- src/gui/doc/src/richtext.qdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/doc/src/richtext.qdoc b/src/gui/doc/src/richtext.qdoc index b4ba4ba6c4..448c42631b 100644 --- a/src/gui/doc/src/richtext.qdoc +++ b/src/gui/doc/src/richtext.qdoc @@ -851,7 +851,7 @@ \contentspage richtext.html Contents \previouspage Common Rich Text Editing Tasks - Qt's text widgets are able to display rich text, specified using a subset of \l{HTML 4} + Qt's text widgets are able to display rich text, specified using a subset of \l {http://www.w3.org/TR/html401/}{HTML 4} markup. Widgets that use QTextDocument, such as QLabel and QTextEdit, are able to display rich text specified in this way. @@ -863,7 +863,7 @@ setting a label's \l{QLabel::}{text} property with the string \c{"Hello Qt!"} will result in the label displaying text like this: \b{Hello} \e{Qt!} - When HTML markup is used for text, Qt follows the rules defined by the \l{HTML 4} + When HTML markup is used for text, Qt follows the rules defined by the \l{http://www.w3.org/TR/html401/}{HTML 4} specification. This includes default properties for text layout, such as the direction of the text flow (left-to-right) which can be changed by applying the \l{#Block Attributes}{\c dir} attribute to blocks of text. From de8b1ff8843d16aab45de104e932134fa3fa3ab1 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 15:29:07 +0100 Subject: [PATCH 142/386] Added url for SVG Color Keyword Names QTBUG-28500 Change-Id: I7aaf2cbd9b4bf4e6ff35fa39c5340e3dbc4225ff Reviewed-by: Jerome Pasion --- src/gui/painting/qcolor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp index 72ca7ad8a8..e7d68f6df8 100644 --- a/src/gui/painting/qcolor.cpp +++ b/src/gui/painting/qcolor.cpp @@ -503,7 +503,7 @@ QString QColor::name() const \li #RRGGBB \li #RRRGGGBBB \li #RRRRGGGGBBBB - \li A name from the list of colors defined in the list of \l{SVG color keyword names} + \li A name from the list of colors defined in the list of \l{http://www.w3.org/TR/SVG/types.html#ColorKeywords}{SVG color keyword names} provided by the World Wide Web Consortium; for example, "steelblue" or "gainsboro". These color names work on all platforms. Note that these color names are \e not the same as defined by the Qt::GlobalColor enums, e.g. "green" and Qt::green does not From 90c3340356e641958528007e838eab981f090fdf Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 7 Dec 2012 11:43:50 +0100 Subject: [PATCH 143/386] QDoc: Fix generated anchors for c++ class signals Add a missing 's' for plural form for signals. This fixes the linking to Signals topic in class references. Task-number: QTBUG-28450 Change-Id: Ic666e608b4b5b40b1f886ea581e54227e1a94678 Reviewed-by: Martin Smith Reviewed-by: Jerome Pasion --- src/tools/qdoc/cppcodemarker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qdoc/cppcodemarker.cpp b/src/tools/qdoc/cppcodemarker.cpp index ccff1c18ca..74036f4011 100644 --- a/src/tools/qdoc/cppcodemarker.cpp +++ b/src/tools/qdoc/cppcodemarker.cpp @@ -484,7 +484,7 @@ QList

    CppCodeMarker::sections(const InnerNode *inner, QString(), "public function", "public functions"); - FastSection publicSignals(classNode, "Signals", QString(), "signal", "signal"); + FastSection publicSignals(classNode, "Signals", QString(), "signal", "signals"); FastSection publicSlots(classNode, "Public Slots", QString(), "public slot", "public slots"); FastSection publicTypes(classNode, "Public Types", QString(), "public type", "public types"); FastSection publicVariables(classNode, From 98b77f9faa14822479deb20cd6fe0ce4fe9b56da Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 25 Jul 2012 09:08:33 +0200 Subject: [PATCH 144/386] QMetaType: remember whether a type was registered with Q_DECLARE_METATYPE There are two ways to register a type: using Q_DECLARE_METATYPE(T) and using qRegisterMetaType("T"). Doing one thing in one translation unit and another thing in another TU constitutes an ODR violation, because the value of QMetaTypeId::Defined will differ in the two TUs. By adding the information whether a type was declared with Q_DECLARE_METATYPE to the typeFlags(), such a use will trigger the existing binary-incompatibility failure that checks for equality of the incoming type flags with the stored ones (if any). I had to encode the type as a defaulted function argument in order to avoid the linker merging instantiations of the function templates and therefore rendering the detection moot. Change-Id: I82017caf300458b411cc8ac2f6653536fac64117 Reviewed-by: Lars Knoll --- src/corelib/kernel/qmetatype.h | 17 +++++- .../qmetatype/declare_metatype_noninline.cpp | 49 +++++++++++++++++ .../qmetatype/declare_metatype_noninline.h | 52 ++++++++++++++++++ tests/manual/qmetatype/qmetatype.pro | 5 ++ tests/manual/qmetatype/tst_qmetatype.cpp | 55 +++++++++++++++++++ 5 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 tests/manual/qmetatype/declare_metatype_noninline.cpp create mode 100644 tests/manual/qmetatype/declare_metatype_noninline.h create mode 100644 tests/manual/qmetatype/qmetatype.pro create mode 100644 tests/manual/qmetatype/tst_qmetatype.cpp diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index 06d325f383..09c641e4a3 100644 --- a/src/corelib/kernel/qmetatype.h +++ b/src/corelib/kernel/qmetatype.h @@ -252,7 +252,8 @@ public: IsEnumeration = 0x10, SharedPointerToQObject = 0x20, WeakPointerToQObject = 0x40, - TrackingPointerToQObject = 0x80 + TrackingPointerToQObject = 0x80, + WasDeclaredAsMetaType = 0x100 }; Q_DECLARE_FLAGS(TypeFlags, TypeFlag) @@ -563,12 +564,19 @@ namespace QtPrivate { | (Q_IS_ENUM(T) ? QMetaType::IsEnumeration : 0) }; }; + + template + struct MetaTypeDefinedHelper + { + enum DefinedType { Defined = defined }; + }; } template int qRegisterNormalizedMetaType(const QT_PREPEND_NAMESPACE(QByteArray) &normalizedTypeName #ifndef qdoc , T * dummy = 0 + , typename QtPrivate::MetaTypeDefinedHelper::Defined && !QMetaTypeId2::IsBuiltIn>::DefinedType defined = QtPrivate::MetaTypeDefinedHelper::Defined && !QMetaTypeId2::IsBuiltIn>::Defined #endif ) { @@ -580,6 +588,10 @@ int qRegisterNormalizedMetaType(const QT_PREPEND_NAMESPACE(QByteArray) &normaliz return QMetaType::registerNormalizedTypedef(normalizedTypeName, typedefOf); QMetaType::TypeFlags flags(QtPrivate::QMetaTypeTypeFlags::Flags); + + if (defined) + flags |= QMetaType::WasDeclaredAsMetaType; + return QMetaType::registerNormalizedType(normalizedTypeName, QtMetaTypePrivate::QMetaTypeFunctionHelper::Delete, QtMetaTypePrivate::QMetaTypeFunctionHelper::Create, @@ -594,6 +606,7 @@ template int qRegisterMetaType(const char *typeName #ifndef qdoc , T * dummy = 0 + , typename QtPrivate::MetaTypeDefinedHelper::Defined && !QMetaTypeId2::IsBuiltIn>::DefinedType defined = QtPrivate::MetaTypeDefinedHelper::Defined && !QMetaTypeId2::IsBuiltIn>::Defined #endif ) { @@ -602,7 +615,7 @@ int qRegisterMetaType(const char *typeName #else QT_PREPEND_NAMESPACE(QByteArray) normalizedTypeName = QMetaObject::normalizedType(typeName); #endif - return qRegisterNormalizedMetaType(normalizedTypeName, dummy); + return qRegisterNormalizedMetaType(normalizedTypeName, dummy, defined); } #ifndef QT_NO_DATASTREAM diff --git a/tests/manual/qmetatype/declare_metatype_noninline.cpp b/tests/manual/qmetatype/declare_metatype_noninline.cpp new file mode 100644 index 0000000000..8054daba06 --- /dev/null +++ b/tests/manual/qmetatype/declare_metatype_noninline.cpp @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz +** Contact: http://www.qt-project.org/legal +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "declare_metatype_noninline.h" + +Q_DECLARE_METATYPE(ToBeDeclaredMetaTypeNonInline) + +int ToBeDeclaredMetaTypeNonInline::triggerRegistration() +{ + return qMetaTypeId(); +} diff --git a/tests/manual/qmetatype/declare_metatype_noninline.h b/tests/manual/qmetatype/declare_metatype_noninline.h new file mode 100644 index 0000000000..74244a3fcf --- /dev/null +++ b/tests/manual/qmetatype/declare_metatype_noninline.h @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz +** Contact: http://www.qt-project.org/legal +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef DECLARE_METATYPE_NONINLINE_H +#define DECLARE_METATYPE_NONINLINE_H + +#include + +struct ToBeDeclaredMetaTypeNonInline { + static int triggerRegistration(); +}; + +#endif // DECLARE_METATYPE_NONINLINE_H + diff --git a/tests/manual/qmetatype/qmetatype.pro b/tests/manual/qmetatype/qmetatype.pro new file mode 100644 index 0000000000..a4f941e577 --- /dev/null +++ b/tests/manual/qmetatype/qmetatype.pro @@ -0,0 +1,5 @@ +CONFIG += testcase +TARGET = tst_qmetatype_expect_fail +QT = core +HEADERS = declare_metatype_noninline.h +SOURCES = tst_qmetatype.cpp declare_metatype_noninline.cpp diff --git a/tests/manual/qmetatype/tst_qmetatype.cpp b/tests/manual/qmetatype/tst_qmetatype.cpp new file mode 100644 index 0000000000..bd17ca260c --- /dev/null +++ b/tests/manual/qmetatype/tst_qmetatype.cpp @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz +** Contact: http://www.qt-project.org/legal +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include + +#include "declare_metatype_noninline.h" + +int main(int argc, char **argv) +{ + qDebug("expect no warning here"); + const int id = qRegisterMetaType("ToBeDeclaredMetaTypeNonInline"); + qDebug("expect a qfatal now"); + const int result = ToBeDeclaredMetaTypeNonInline::triggerRegistration(); + Q_ASSERT(id == result); + qDebug("if you read this, check that a qFatal was seen, " + "otherwise the test failed."); +} From 6dd9cc8aa8f85a00f1c6448eaf1382af23284195 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Dec 2012 16:36:57 +0100 Subject: [PATCH 145/386] don't use testlib for headersclean test this is a compile-only test, and it's not even marked as a testcase in the autotest system. Change-Id: I9b48ddad3c8e3e953d0e6fcfa010bab73289bc6f Reviewed-by: Thiago Macieira Reviewed-by: Joerg Bornemann --- .../auto/other/headersclean/headersclean.pri | 1 - .../other/headersclean/tst_headersclean.cpp | 17 ++++-- .../other/headersclean/tst_headersclean.h | 61 ------------------- 3 files changed, 11 insertions(+), 68 deletions(-) delete mode 100644 tests/auto/other/headersclean/tst_headersclean.h diff --git a/tests/auto/other/headersclean/headersclean.pri b/tests/auto/other/headersclean/headersclean.pri index c95380e3b9..c56d432a42 100644 --- a/tests/auto/other/headersclean/headersclean.pri +++ b/tests/auto/other/headersclean/headersclean.pri @@ -34,7 +34,6 @@ QMAKE_CXXFLAGS += -DQT_NO_CAST_TO_ASCII \ TARGET = tst_headersclean SOURCES += $$PWD/tst_headersclean.cpp -HEADERS += $$PWD/tst_headersclean.h # qt_headersclean_headers.h should be alongside the .pro file INCLUDEPATH += $$_PRO_FILE_PWD_ diff --git a/tests/auto/other/headersclean/tst_headersclean.cpp b/tests/auto/other/headersclean/tst_headersclean.cpp index 01661a32ea..91abca4373 100644 --- a/tests/auto/other/headersclean/tst_headersclean.cpp +++ b/tests/auto/other/headersclean/tst_headersclean.cpp @@ -39,12 +39,17 @@ ** ****************************************************************************/ -#include "tst_headersclean.h" -#include +#define signals int +#define slots int +#define emit public:; +#define foreach public:; +#define forever public:; -void tst_HeadersClean::initTestCase() +#include +#include + +int main() { - QWARN("This is a compile test only"); + qWarning("This is a compile test only"); + return 0; } - -QTEST_MAIN(tst_HeadersClean) diff --git a/tests/auto/other/headersclean/tst_headersclean.h b/tests/auto/other/headersclean/tst_headersclean.h deleted file mode 100644 index 591689f424..0000000000 --- a/tests/auto/other/headersclean/tst_headersclean.h +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef TST_HEADERSCLEAN_H -#define TST_HEADERSCLEAN_H - -#define signals int -#define slots int -#define emit public:; -#define foreach public:; -#define forever public:; - -#include -#include - -class tst_HeadersClean: public QObject -{ - Q_OBJECT -private Q_SLOTS: - void initTestCase(); -}; - -#endif From 6694d391316a490674ecb97f64e1c2e82328d2ce Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 6 Dec 2012 17:16:56 +0100 Subject: [PATCH 146/386] centralize headersclean test so other modules can actually re-use the code without referencing qtbase sources. Change-Id: Id66f07b476e539273dd32455e7642a17d7e5d0ef Reviewed-by: Thiago Macieira Reviewed-by: Joerg Bornemann --- .../data/headersclean/tst_headersclean.cpp.in | 4 +- .../features/qt_headersclean.prf | 24 +++++-- .../auto/other/headersclean/headersclean.pro | 4 +- .../headersclean/qt_headersclean_headers.h | 70 ------------------- 4 files changed, 22 insertions(+), 80 deletions(-) rename tests/auto/other/headersclean/tst_headersclean.cpp => mkspecs/features/data/headersclean/tst_headersclean.cpp.in (96%) rename tests/auto/other/headersclean/headersclean.pri => mkspecs/features/qt_headersclean.prf (70%) delete mode 100644 tests/auto/other/headersclean/qt_headersclean_headers.h diff --git a/tests/auto/other/headersclean/tst_headersclean.cpp b/mkspecs/features/data/headersclean/tst_headersclean.cpp.in similarity index 96% rename from tests/auto/other/headersclean/tst_headersclean.cpp rename to mkspecs/features/data/headersclean/tst_headersclean.cpp.in index 91abca4373..1784615dd5 100644 --- a/tests/auto/other/headersclean/tst_headersclean.cpp +++ b/mkspecs/features/data/headersclean/tst_headersclean.cpp.in @@ -45,11 +45,11 @@ #define foreach public:; #define forever public:; -#include +$${includes} #include int main() { - qWarning("This is a compile test only"); + qWarning(\"This is a compile test only\"); return 0; } diff --git a/tests/auto/other/headersclean/headersclean.pri b/mkspecs/features/qt_headersclean.prf similarity index 70% rename from tests/auto/other/headersclean/headersclean.pri rename to mkspecs/features/qt_headersclean.prf index c56d432a42..4128392997 100644 --- a/tests/auto/other/headersclean/headersclean.pri +++ b/mkspecs/features/qt_headersclean.prf @@ -1,9 +1,9 @@ # The headersclean test attempts to ensure all public Qt headers # abide by various rules. # -# To reuse this test outside of the qtbase module, -# include this .pri and create a qt_headersclean_headers.h which includes -# the headers you'd like to test. +# To use this test, create a project which contains nothing else than a +# QT= line with the modules you want to test (no presence conditionals needed), +# followed by load(qt_headersclean). *-g++*: QMAKE_CXXFLAGS += -W -Wall -Wextra -Werror @@ -33,7 +33,19 @@ QMAKE_CXXFLAGS += -DQT_NO_CAST_TO_ASCII \ -DQT_USE_FAST_OPERATOR_PLUS TARGET = tst_headersclean -SOURCES += $$PWD/tst_headersclean.cpp -# qt_headersclean_headers.h should be alongside the .pro file -INCLUDEPATH += $$_PRO_FILE_PWD_ +includes = +for(q, QT) { + qn = $$eval(QT.$${q}.name) + isEmpty(qn): \ + QT -= $$q + else: \ + includes += "$${LITERAL_HASH}include <$$qn/$$qn>" +} +includes = $$join(includes, $$escape_expand(\\n)) + +testfile.input = $$PWD/data/headersclean/tst_headersclean.cpp.in +testfile.output = $$OUT_PWD/tst_headersclean.cpp +QMAKE_SUBSTITUTES += testfile + +SOURCES += $$testfile.output diff --git a/tests/auto/other/headersclean/headersclean.pro b/tests/auto/other/headersclean/headersclean.pro index 419c2e97d5..4965064b88 100644 --- a/tests/auto/other/headersclean/headersclean.pro +++ b/tests/auto/other/headersclean/headersclean.pro @@ -1,3 +1,3 @@ -QT = core testlib gui widgets -include(headersclean.pri) +QT = core concurrent network dbus xml sql testlib gui opengl widgets printsupport platformsupport +load(qt_headersclean) DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/other/headersclean/qt_headersclean_headers.h b/tests/auto/other/headersclean/qt_headersclean_headers.h deleted file mode 100644 index cab5770790..0000000000 --- a/tests/auto/other/headersclean/qt_headersclean_headers.h +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef QT_HEADERSCLEAN_HEADERS -#define QT_HEADERSCLEAN_HEADERS - -/* - This file should include all the headers to be tested by the headersclean - test. It may be copied and customized for each module. -*/ - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#ifndef QT_NO_OPENGL -#include -#endif - -#if !defined(QT_NO_DBUS) && defined(Q_OS_UNIX) -#include -#endif - -#endif From be0ef46b1d1aae1eeef399aae3c5f9853b9e1925 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 11 Dec 2012 10:42:11 +0100 Subject: [PATCH 147/386] Inserted hardcoded urls for State Charts and S. C. XML Corrected in qstatemachine QTBUG-28500 Change-Id: I45b2ffea983ee5754b080b8a6faa18d4d163e578 Reviewed-by: Jerome Pasion --- src/corelib/statemachine/qstatemachine.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index bf33500676..0d0bb45738 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -86,17 +86,15 @@ QT_BEGIN_NAMESPACE \ingroup statemachine QStateMachine is based on the concepts and notation of - \l{Statecharts: A visual formalism for complex - systems}{Statecharts}. QStateMachine is part of \l{The State - Machine Framework}. + \l{http://www.wisdom.weizmann.ac.il/~dharel/SCANNED.PAPERS/Statecharts.pdf}{Statecharts}. + QStateMachine is part of \l{The State Machine Framework}. A state machine manages a set of states (classes that inherit from QAbstractState) and transitions (descendants of QAbstractTransition) between those states; these states and transitions define a state graph. Once a state graph has been built, the state machine can execute it. QStateMachine's - execution algorithm is based on the \l{State Chart XML: State - Machine Notation for Control Abstraction}{State Chart XML (SCXML)} + execution algorithm is based on the \l{http://www.w3.org/TR/scxml/}{State Chart XML (SCXML)} algorithm. The framework's \l{The State Machine Framework}{overview} gives several state graphs and the code to build them. From 95a158d40f83db04ac8c7fd857215cef306d99a9 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 8 Dec 2012 11:47:31 +0100 Subject: [PATCH 148/386] fix static lib dep addition leave MODULE_LIBS unmodified - MODULE_LIBS_ADD takes the role of the filtered variable. Change-Id: I2a67078bbc453eccc08317a1ca8e3228cbc3a8f7 Reviewed-by: Davide Pesavento Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_functions.prf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index ec5becbdde..0bae5f3f87 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -63,7 +63,8 @@ defineTest(qtAddModule) { qtProcessModuleFlags(DEFINES, QT.$${1}.DEFINES) MODULE_INCLUDES -= $$QMAKE_DEFAULT_INCDIRS - MODULE_LIBS -= $$QMAKE_DEFAULT_LIBDIRS + MODULE_LIBS_ADD = $$MODULE_LIBS + MODULE_LIBS_ADD -= $$QMAKE_DEFAULT_LIBDIRS INCLUDEPATH *= $$MODULE_INCLUDES auto_use_privates|isEqual(2, UsePrivate) { # Tests function parameter 2 ($$2) being equal to 'UsePrivate' @@ -100,7 +101,7 @@ defineTest(qtAddModule) { } isEmpty(LINKAGE) { - !isEmpty(MODULE_LIBS): LINKAGE = -L$$MODULE_LIBS + !isEmpty(MODULE_LIBS_ADD): LINKAGE = -L$$MODULE_LIBS_ADD lib = if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { win32: lib = $${MODULE_NAME}$${QT_LIBINFIX}d @@ -115,7 +116,7 @@ defineTest(qtAddModule) { PRE_TARGETDEPS *= $$MODULE_LIBS/$${QMAKE_PREFIX_STATICLIB}$${lib}.$${QMAKE_EXTENSION_STATICLIB} # Make sure we can link to uninstalled libraries - !isEmpty(QT.$${1}.libs) { # Use unmodified path, so /usr/lib also works + !isEmpty(MODULE_LIBS) { for(rpl, QT.$${1}.rpath_link): \ QMAKE_RPATHLINKDIR *= $$rpl !auto_use_privates:!isEqual(2, UsePrivate): \ @@ -125,9 +126,9 @@ defineTest(qtAddModule) { } # Only link to this module if a libs directory is set, else this is just a module # to give access to sources or include files, and not for linking. - !isEmpty(QT.$${1}.libs) { # Use unmodified path, so /usr/lib also works + !isEmpty(MODULE_LIBS) { !isEmpty(QMAKE_LSB) { - !isEmpty(MODULE_LIBS): QMAKE_LFLAGS *= --lsb-libpath=$$MODULE_LIBS + !isEmpty(MODULE_LIBS_ADD): QMAKE_LFLAGS *= --lsb-libpath=$$MODULE_LIBS_ADD QMAKE_LIBDIR *= /opt/lsb/lib QMAKE_LFLAGS *= --lsb-shared-libs=$${MODULE_NAME}$${QT_LIBINFIX} } From 70eef84b18092548c5b85b5910f4b262048cbd07 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 10 Dec 2012 11:13:05 +0100 Subject: [PATCH 149/386] re-enable "check" targets for all projects, but with opt-out possibility the feature was backported to qt 4.8, and people apparently started to rely on it. it doesn't add too much overhead when not used, so enable it by default again. Change-Id: I15890027603ede733347f2c05b36ad1389c649cf Reviewed-by: Sergio Ahumada Reviewed-by: Nikolai Kosjar Reviewed-by: Joerg Bornemann --- mkspecs/features/default_pre.prf | 2 +- mkspecs/features/qt_build_config.prf | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf index 0dd82ee072..9268747978 100644 --- a/mkspecs/features/default_pre.prf +++ b/mkspecs/features/default_pre.prf @@ -1,2 +1,2 @@ load(exclusive_builds) -CONFIG = lex yacc warn_on debug exceptions depend_includepath $$CONFIG +CONFIG = lex yacc warn_on debug exceptions testcase_targets depend_includepath $$CONFIG diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf index 29dd354a31..df07630ffa 100644 --- a/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf @@ -27,7 +27,6 @@ mac { CONFIG += \ create_prl link_prl \ - testcase_targets \ prepare_docs qt_docs_targets \ no_private_qt_headers_warning QTDIR_build \ # Qt modules get compiled without exceptions enabled by default. From e0d72efbe7f4056a88e6c25a0866806603e4b944 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 7 Dec 2012 20:17:59 +0100 Subject: [PATCH 150/386] remove bizarre jsc source reference it compiles just fine without it. if this was meant to inject a newer version of JSC than what is in QtScript, it can be redone without creating a bizarre hybrid. Change-Id: I61fe60bfa6a9bdb6423e8a7135250e332a5835ec Reviewed-by: Joerg Bornemann --- tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index 140c93bd81..d62b5b1c11 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -6,8 +6,7 @@ CONFIG += release exceptions SOURCES += main.cpp RESOURCES += qregexp.qrc -!isEmpty(QT.webkit.sources):exists($${QT.webkit.sources}/../JavaScriptCore/JavaScriptCore.pri) { - include( $${QT.webkit.sources}/../JavaScriptCore/JavaScriptCore.pri ) +!isEmpty(QT.script.name) { DEFINES += HAVE_JSC QT += script } From b8d0bde59c00471b915c8f876e16fda9fd5f435e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 10 Dec 2012 19:29:33 +0100 Subject: [PATCH 151/386] install a sane top-level examples.pro file generally, don't install anything from the top-level examples dirs automatically. the global README and the aggregator examples.pro are installed explicitly. Change-Id: I5f6b8760f37d917b800fa85979896a471778cac0 Reviewed-by: hjk Reviewed-by: Joerg Bornemann --- examples/aggregate/examples.pro | 6 ++++++ examples/examples.pro | 6 ++++++ mkspecs/features/qt_example_installs.prf | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 examples/aggregate/examples.pro diff --git a/examples/aggregate/examples.pro b/examples/aggregate/examples.pro new file mode 100644 index 0000000000..bf5e48fd59 --- /dev/null +++ b/examples/aggregate/examples.pro @@ -0,0 +1,6 @@ +TEMPLATE = subdirs + +sd = $$files(*) +for(d, sd): \ + exists($$d/$${d}.pro): \ + SUBDIRS += $$d diff --git a/examples/examples.pro b/examples/examples.pro index db444b5d12..06ef0adcab 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -25,3 +25,9 @@ contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl contains(QT_CONFIG, dbus): SUBDIRS += dbus contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= linguist + +aggregate.files = aggregate/examples.pro +aggregate.path = $$[QT_INSTALL_EXAMPLES] +readme.files = README +readme.path = $$[QT_INSTALL_EXAMPLES] +INSTALLS += aggregate readme diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf index 281552acb6..de1176ef96 100644 --- a/mkspecs/features/qt_example_installs.prf +++ b/mkspecs/features/qt_example_installs.prf @@ -1,5 +1,5 @@ probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples) -!contains(probase, ^\\..*) { +!isEmpty(probase):!contains(probase, ^\\..*) { for(ex, EXAMPLE_FILES): \ sourcefiles += $$files($$absolute_path($$ex, $$_PRO_FILE_PWD_)) for(res, RESOURCES) { From 7a7d9628f307706238e9043c053472a5575c3b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lund=20Martsum?= Date: Tue, 11 Dec 2012 06:42:28 +0100 Subject: [PATCH 152/386] QGraphicsView - remove reference to avoid weird code. Even though the code before theoretic is ok, we really shouldn't have a reference since mapFromScene returns a QPointF and not a const QPointF&. Change-Id: I5ea8fd238bdbdd21fb1e3b6b5f280d45e3bc43ef Reviewed-by: Andy Shaw Reviewed-by: Marc Mutz --- src/widgets/graphicsview/qgraphicsview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp index 2012f980db..411297edd3 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -3238,7 +3238,7 @@ void QGraphicsView::mouseMoveEvent(QMouseEvent *event) } // Update rubberband position - const QPoint &mp = mapFromScene(d->mousePressScenePoint); + const QPoint mp = mapFromScene(d->mousePressScenePoint); QPoint ep = event->pos(); d->rubberBandRect = QRect(qMin(mp.x(), ep.x()), qMin(mp.y(), ep.y()), qAbs(mp.x() - ep.x()) + 1, qAbs(mp.y() - ep.y()) + 1); From 3e7e61f856c265504ded63f777f1df111a78269d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lund=20Martsum?= Date: Tue, 11 Dec 2012 07:29:44 +0100 Subject: [PATCH 153/386] QGraphicsView - add const to a not modified local variable The QPointF ep is not modified. There is no reason it shouldn't be const. Change-Id: I41fb8f9ae5296a7a40f7eb8be13fc14d56915e3f Reviewed-by: Andy Shaw Reviewed-by: Marc Mutz --- src/widgets/graphicsview/qgraphicsview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp index 411297edd3..2147e2ac2b 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -3239,7 +3239,7 @@ void QGraphicsView::mouseMoveEvent(QMouseEvent *event) // Update rubberband position const QPoint mp = mapFromScene(d->mousePressScenePoint); - QPoint ep = event->pos(); + const QPoint ep = event->pos(); d->rubberBandRect = QRect(qMin(mp.x(), ep.x()), qMin(mp.y(), ep.y()), qAbs(mp.x() - ep.x()) + 1, qAbs(mp.y() - ep.y()) + 1); From 1278b3cb8a2ca926ffb2a0919d8646d0f5d9f320 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 7 Dec 2012 12:39:12 +0100 Subject: [PATCH 154/386] Remove QT_DLL and QT_NODLL defines. Task-number: QTBUG-28044 Change-Id: Ib8c4e1e8e52703aa6590875c34f05b6bc71db808 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt.prf | 5 ----- src/widgets/widgets/qmenu_wince.rc | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 0735ec465c..30bbae7c64 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -2,17 +2,12 @@ CONFIG *= thread #handle defines win32 { - # ### QT_NODLL and QT_DLL are compatibility, remove before the Qt 5.0 release contains(QT_CONFIG, shared) { - DEFINES += QT_DLL - # this variable is read by qmake in qmake/generators/win32/msvc_vcproj.cpp # function VcprojGenerator::initDeploymentTool(), which contains some hardcoded # library names (the ones that were static in Qt 4) # it probably doesn't work anymore and should not be in this file QMAKE_QT_DLL = 1 - } else { - DEFINES += QT_NODLL } } CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG diff --git a/src/widgets/widgets/qmenu_wince.rc b/src/widgets/widgets/qmenu_wince.rc index 50624eef57..631cd9d47a 100644 --- a/src/widgets/widgets/qmenu_wince.rc +++ b/src/widgets/widgets/qmenu_wince.rc @@ -3,9 +3,9 @@ #include #include "winuser.h" -#if defined (_DEBUG) && defined(QT_DLL) +#if defined (_DEBUG) && defined(QT_SHARED) #include "Qt5Widgetsd_resource.rc" -#elif defined(QT_DLL) +#elif defined(QT_SHARED) #include "Qt5Widgets_resource.rc" #endif From fc3618fe5cda6e80b382b07ffcdcb7aa8b334320 Mon Sep 17 00:00:00 2001 From: Elvis Lee Date: Thu, 29 Nov 2012 17:38:05 +0900 Subject: [PATCH 155/386] configure : remove .qmake.vars after status message. Change-Id: I3a4c1c10ce0d27d05faf64049224e0022a414fa4 Reviewed-by: Oswald Buddenhagen --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index f2251be233..0ca47d7298 100755 --- a/configure +++ b/configure @@ -6114,7 +6114,7 @@ fi # cmdline args cat "$QMAKE_VARS_FILE" >> "$QTMODULE.tmp" -rm -f "$QMAKE_VARS_FILE" 2>/dev/null +# QMAKE_VARS_FILE will be still needed for a status message. # replace qmodule.pri if it differs from the newly created temp file if cmp -s "$QTMODULE.tmp" "$QTMODULE"; then @@ -6343,6 +6343,7 @@ sepath=`echo "$relpath" | sed -e 's/\\./\\\\./g'` PROCS=1 EXEC="" +rm -f "$QMAKE_VARS_FILE" 2>/dev/null #------------------------------------------------------------------------------- # build makefiles based on the configuration From 9914aa333ad7a3998c2b84207e4f4cb78bf42bf9 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 10 Dec 2012 13:08:40 +0100 Subject: [PATCH 156/386] Fixed leading tab Change-Id: I357bf802cde3d842a7af0c13845cfda55b9c7b59 Reviewed-by: Leena Miettinen --- src/corelib/doc/snippets/code/src_corelib_kernel_qobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/doc/snippets/code/src_corelib_kernel_qobject.cpp b/src/corelib/doc/snippets/code/src_corelib_kernel_qobject.cpp index c462083328..1735efbfde 100644 --- a/src/corelib/doc/snippets/code/src_corelib_kernel_qobject.cpp +++ b/src/corelib/doc/snippets/code/src_corelib_kernel_qobject.cpp @@ -377,7 +377,7 @@ Q_PROPERTY(type name [DESIGNABLE bool] [SCRIPTABLE bool] [STORED bool] - [USER bool] + [USER bool] [CONSTANT] [FINAL]) //! [36] From c57f60ffa9bf6ff77dfb3449a40420e15458f5ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lund=20Martsum?= Date: Mon, 3 Dec 2012 21:37:16 +0100 Subject: [PATCH 157/386] QGraphicsView - move rubberband-handling into a private function This patch moves the rubberband-handling from QGraphicsView::mouseMoveEvent to QGraphicsViewPrivate::updateRubberBand. This function is then called from QGraphicsView::mouseMoveEvent. I have removed some d-> and added some q-> but beside that nothing is changed in the code. Change-Id: Iab70c55635c43733e0e02bb70e2bb03b90bf62f0 Reviewed-by: Andy Shaw Reviewed-by: Marc Mutz --- src/widgets/graphicsview/qgraphicsview.cpp | 102 +++++++++++---------- src/widgets/graphicsview/qgraphicsview_p.h | 1 + 2 files changed, 55 insertions(+), 48 deletions(-) diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp index 2147e2ac2b..3da202c986 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -701,6 +701,58 @@ QRegion QGraphicsViewPrivate::rubberBandRegion(const QWidget *widget, const QRec tmp &= mask.region; return tmp; } + +void QGraphicsViewPrivate::updateRubberBand(QMouseEvent *event) +{ + Q_Q(QGraphicsView); + if (dragMode == QGraphicsView::RubberBandDrag && sceneInteractionAllowed) { + storeMouseEvent(event); + if (rubberBanding) { + // Check for enough drag distance + if ((mousePressViewPoint - event->pos()).manhattanLength() + < QApplication::startDragDistance()) { + return; + } + + // Update old rubberband + if (viewportUpdateMode != QGraphicsView::NoViewportUpdate && !rubberBandRect.isEmpty()) { + if (viewportUpdateMode != QGraphicsView::FullViewportUpdate) + q->viewport()->update(rubberBandRegion(q->viewport(), rubberBandRect)); + else + updateAll(); + } + + // Stop rubber banding if the user has let go of all buttons (even + // if we didn't get the release events). + if (!event->buttons()) { + rubberBanding = false; + rubberBandRect = QRect(); + return; + } + + // Update rubberband position + const QPoint mp = q->mapFromScene(mousePressScenePoint); + const QPoint ep = event->pos(); + rubberBandRect = QRect(qMin(mp.x(), ep.x()), qMin(mp.y(), ep.y()), + qAbs(mp.x() - ep.x()) + 1, qAbs(mp.y() - ep.y()) + 1); + + // Update new rubberband + if (viewportUpdateMode != QGraphicsView::NoViewportUpdate){ + if (viewportUpdateMode != QGraphicsView::FullViewportUpdate) + q->viewport()->update(rubberBandRegion(q->viewport(), rubberBandRect)); + else + updateAll(); + } + // Set the new selection area + QPainterPath selectionArea; + selectionArea.addPolygon(mapToScene(rubberBandRect)); + selectionArea.closeSubpath(); + if (scene) + scene->setSelectionArea(selectionArea, rubberBandSelectionMode, + q->viewportTransform()); + } + } +} #endif /*! @@ -3212,55 +3264,9 @@ void QGraphicsView::mouseMoveEvent(QMouseEvent *event) Q_D(QGraphicsView); #ifndef QT_NO_RUBBERBAND - if (d->dragMode == QGraphicsView::RubberBandDrag && d->sceneInteractionAllowed) { - d->storeMouseEvent(event); - if (d->rubberBanding) { - // Check for enough drag distance - if ((d->mousePressViewPoint - event->pos()).manhattanLength() - < QApplication::startDragDistance()) { - return; - } + d->updateRubberBand(event); +#endif - // Update old rubberband - if (d->viewportUpdateMode != QGraphicsView::NoViewportUpdate && !d->rubberBandRect.isEmpty()) { - if (d->viewportUpdateMode != FullViewportUpdate) - viewport()->update(d->rubberBandRegion(viewport(), d->rubberBandRect)); - else - d->updateAll(); - } - - // Stop rubber banding if the user has let go of all buttons (even - // if we didn't get the release events). - if (!event->buttons()) { - d->rubberBanding = false; - d->rubberBandRect = QRect(); - return; - } - - // Update rubberband position - const QPoint mp = mapFromScene(d->mousePressScenePoint); - const QPoint ep = event->pos(); - d->rubberBandRect = QRect(qMin(mp.x(), ep.x()), qMin(mp.y(), ep.y()), - qAbs(mp.x() - ep.x()) + 1, qAbs(mp.y() - ep.y()) + 1); - - // Update new rubberband - if (d->viewportUpdateMode != QGraphicsView::NoViewportUpdate){ - if (d->viewportUpdateMode != FullViewportUpdate) - viewport()->update(d->rubberBandRegion(viewport(), d->rubberBandRect)); - else - d->updateAll(); - } - // Set the new selection area - QPainterPath selectionArea; - selectionArea.addPolygon(mapToScene(d->rubberBandRect)); - selectionArea.closeSubpath(); - if (d->scene) - d->scene->setSelectionArea(selectionArea, d->rubberBandSelectionMode, - viewportTransform()); - return; - } - } else -#endif // QT_NO_RUBBERBAND if (d->dragMode == QGraphicsView::ScrollHandDrag) { if (d->handScrolling) { QScrollBar *hBar = horizontalScrollBar(); diff --git a/src/widgets/graphicsview/qgraphicsview_p.h b/src/widgets/graphicsview/qgraphicsview_p.h index 6b15fb61f2..bb6b44af19 100644 --- a/src/widgets/graphicsview/qgraphicsview_p.h +++ b/src/widgets/graphicsview/qgraphicsview_p.h @@ -138,6 +138,7 @@ public: #ifndef QT_NO_RUBBERBAND QRect rubberBandRect; QRegion rubberBandRegion(const QWidget *widget, const QRect &rect) const; + void updateRubberBand(QMouseEvent *event); bool rubberBanding; Qt::ItemSelectionMode rubberBandSelectionMode; #endif From 2bf14740a72eb3b85c887f85b1586515582319f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 11 Dec 2012 09:32:24 +0100 Subject: [PATCH 158/386] Consistently prefix all platform plugin libraries with "q". This means the xcb plugin library will be named libqxcb.so instead of libxcb.so, which doesn't clash with the system's libxcb.so. We need to consistently apply this on all platforms for static linking to work. Change-Id: I1640a7cae7b9846bbe62b19ab1c2c5bad7d02b4c Reviewed-by: Miikka Heikkinen Reviewed-by: Sean Harmer Reviewed-by: Friedemann Kleint Reviewed-by: Rafael Roquetto Reviewed-by: Lars Knoll --- configure | 2 +- src/plugins/platforms/qnx/qnx.pro | 2 +- src/plugins/platforms/windows/windows.pro | 2 +- src/plugins/platforms/xcb/xcb-plugin.pro | 2 +- tools/configure/configureapp.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 0ca47d7298..341f1977c5 100755 --- a/configure +++ b/configure @@ -6027,7 +6027,7 @@ QT_NAMESPACE = $QT_NAMESPACE EOF if [ "$CFG_SHARED" = "no" ]; then - echo "QT_DEFAULT_QPA_PLUGIN = $QT_QPA_DEFAULT_PLATFORM" >> "$QTCONFIG.tmp" + echo "QT_DEFAULT_QPA_PLUGIN = q$QT_QPA_DEFAULT_PLATFORM" >> "$QTCONFIG.tmp" echo >> "$QTCONFIG.tmp" fi diff --git a/src/plugins/platforms/qnx/qnx.pro b/src/plugins/platforms/qnx/qnx.pro index 32dea13d52..8367513fc5 100644 --- a/src/plugins/platforms/qnx/qnx.pro +++ b/src/plugins/platforms/qnx/qnx.pro @@ -1,4 +1,4 @@ -TARGET = qnx +TARGET = qqnx QT += platformsupport platformsupport-private diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro index 4f80d7739f..7f73465135 100644 --- a/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro @@ -1,4 +1,4 @@ -TARGET = windows +TARGET = qwindows PLUGIN_TYPE = platforms PLUGIN_CLASS_NAME = QWindowsIntegrationPlugin diff --git a/src/plugins/platforms/xcb/xcb-plugin.pro b/src/plugins/platforms/xcb/xcb-plugin.pro index 27fac3538f..20ec5701b9 100644 --- a/src/plugins/platforms/xcb/xcb-plugin.pro +++ b/src/plugins/platforms/xcb/xcb-plugin.pro @@ -1,4 +1,4 @@ -TARGET = xcb +TARGET = qxcb PLUGIN_TYPE = platforms PLUGIN_CLASS_NAME = QXcbIntegrationPlugin diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 2bb670dfd7..88f7acfb5b 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -3100,7 +3100,7 @@ void Configure::generateQConfigPri() configStream << "#namespaces" << endl << "QT_NAMESPACE = " << dictionary["QT_NAMESPACE"] << endl; if (dictionary[ "SHARED" ] == "no") - configStream << "QT_DEFAULT_QPA_PLUGIN = " << qpaPlatformName() << endl; + configStream << "QT_DEFAULT_QPA_PLUGIN = q" << qpaPlatformName() << endl; configStream.flush(); configFile.close(); From d0a6d6a21516ff8b300ad1181625005b60982f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 11 Dec 2012 11:53:46 +0100 Subject: [PATCH 159/386] Remove incorrect and confusing documentation from qplatformwindow.cpp Change-Id: If3fd383bf7ff08a04df2e11c727c11aeef05a6de Reviewed-by: Gunnar Sletta --- src/gui/kernel/qplatformwindow.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp index a1a06a6021..88dccdb6ce 100644 --- a/src/gui/kernel/qplatformwindow.cpp +++ b/src/gui/kernel/qplatformwindow.cpp @@ -444,9 +444,6 @@ bool QPlatformWindow::frameStrutEventsEnabled() const QPlatformWindow is also the way QPA defines how native child windows should be supported through the setParent function. - The only way to retrieve a QPlatformOpenGLContext in QPA is by calling the glContext() function - on QPlatformWindow. - \section1 Implementation Aspects \list 1 From 9cf56b3e09114f65f23bb4a8062d632df94b8a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lund=20Martsum?= Date: Sun, 2 Dec 2012 17:04:47 +0100 Subject: [PATCH 160/386] QGraphicsView - fix rubberband to expand on wheel event In SHA 51914375b615ddcac711171ac31779fea01b4323 the rubberband selection was fixed, so it followed the scene-point on mousemove. However wheelEvent could move the view - but avoid update of the rubberband (that would not be updated until next mouse-move). This patch fixes that (and generally improves rubberband behavior) since QGraphicsViewPrivate::mouseMoveEventHandler is called by replayLastMouseEvent, which is called from various places, where we need to update the rubberband (e.g scrollContentsBy). Change-Id: I1b78c27edaaecea797a2319086d7a11d437d2bd3 Reviewed-by: Andy Shaw Reviewed-by: Marc Mutz --- src/widgets/graphicsview/qgraphicsview.cpp | 8 +++---- .../rubberband/rubberbandtest.cpp | 21 ++++++++++++------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp index 3da202c986..a1ee562807 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -616,6 +616,10 @@ void QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent *event) { Q_Q(QGraphicsView); +#ifndef QT_NO_RUBBERBAND + updateRubberBand(event); +#endif + storeMouseEvent(event); lastMouseEvent.setAccepted(false); @@ -3263,10 +3267,6 @@ void QGraphicsView::mouseMoveEvent(QMouseEvent *event) { Q_D(QGraphicsView); -#ifndef QT_NO_RUBBERBAND - d->updateRubberBand(event); -#endif - if (d->dragMode == QGraphicsView::ScrollHandDrag) { if (d->handScrolling) { QScrollBar *hBar = horizontalScrollBar(); diff --git a/tests/manual/widgets/qgraphicsview/rubberband/rubberbandtest.cpp b/tests/manual/widgets/qgraphicsview/rubberband/rubberbandtest.cpp index d8c2de6398..186203e7d8 100644 --- a/tests/manual/widgets/qgraphicsview/rubberband/rubberbandtest.cpp +++ b/tests/manual/widgets/qgraphicsview/rubberband/rubberbandtest.cpp @@ -69,11 +69,17 @@ public: protected: void mouseMoveEvent(QMouseEvent *event) { + QGraphicsView::mouseMoveEvent(event); + int rightmostInView = viewport()->mapToGlobal(viewport()->geometry().topRight()).x(); int xglobal = event->globalX(); if (xglobal > rightmostInView) horizontalScrollBar()->setValue(horizontalScrollBar()->value() + 10); - QGraphicsView::mouseMoveEvent(event); + + int bottomPos = viewport()->mapToGlobal(viewport()->geometry().bottomRight()).y(); + int yglobal = event->globalY(); + if (yglobal > bottomPos) + verticalScrollBar()->setValue(verticalScrollBar()->value() + 10); } }; @@ -82,17 +88,18 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); MyGraphicsView v; - QGraphicsScene s(0.0, 0.0, 10000.0, 100.0); + QGraphicsScene s(0.0, 0.0, 5000.0, 5000.0); v.setScene(&s); v.setInteractive(true); v.setRubberBandSelectionMode(Qt::IntersectsItemBoundingRect); s.addRect( (qreal) 0.0, 0.0, 1000.0, 50.0, QPen(),QBrush(QColor(0,0,255))); - for (int u = 0; u < 100; ++u) { - MyGraphicsItem *item = new MyGraphicsItem(); - item->setRect(QRectF(u * 100, 50.0, 50.0, 20.0)); - s.addItem(item); - } + for (int u = 0; u < 100; ++u) + for (int v = 0; v < 100; ++v) { + MyGraphicsItem *item = new MyGraphicsItem(); + item->setRect(QRectF(v * 80.0, u * 80.0, 50.0, 20.0)); + s.addItem(item); + } v.show(); app.exec(); return 0; From 143352396051ee34a4eba1f0db8f1fe63366f95f Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 11 Dec 2012 09:04:01 +0100 Subject: [PATCH 161/386] Hardcoded url for RFC 1929 QTBUG-28500 Entered hardcoded url for RFC 1928 QTBUG-28500 Corrected in qtnetworkproxy.cpp Change-Id: Idad0e2294e610095990a65ffc7d5c9c881b09329 Reviewed-by: Jerome Pasion --- src/network/kernel/qnetworkproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/kernel/qnetworkproxy.cpp b/src/network/kernel/qnetworkproxy.cpp index 60139dcc8a..7f1e66a2ce 100644 --- a/src/network/kernel/qnetworkproxy.cpp +++ b/src/network/kernel/qnetworkproxy.cpp @@ -84,7 +84,7 @@ \section1 SOCKS5 - The SOCKS5 support in Qt 4 is based on \l{RFC 1928} and \l{RFC 1929}. + The SOCKS5 support in Qt 4 is based on \l{http://www.rfc-editor.org/rfc/rfc1928.txt}{RFC 1928} and \l{http://www.rfc-editor.org/rfc/rfc1929.txt}{RFC 1929}. The supported authentication methods are no authentication and username/password authentication. Both IPv4 and IPv6 are supported. Domain names are resolved through the SOCKS5 server if From d4d2e4b39d1162a45f372a02cce662754424d8cc Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 11 Dec 2012 16:02:45 +0200 Subject: [PATCH 162/386] Automatically import plugins in all applications with static Qt Since all gui applications already need some QPA plugin added, we might as well add the default plugin and generate the code to import the plugins automatically. User can opt out from the automation by removing relevant items from CONFIG variable: link_qpa_plugin or import_plugins. Task-number: QTBUG-28131 Change-Id: Ic171c363464c099143374d3e39bcc28f6edf73d2 Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- mkspecs/features/default_pre.prf | 5 +++- mkspecs/features/qt.prf | 8 +++--- .../snippets/code/doc_src_plugins-howto.cpp | 17 ------------- .../snippets/code/doc_src_plugins-howto.pro | 10 +++++++- src/corelib/doc/src/plugins-howto.qdoc | 25 +++++++++++-------- 5 files changed, 33 insertions(+), 32 deletions(-) diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf index 9268747978..b6019047d1 100644 --- a/mkspecs/features/default_pre.prf +++ b/mkspecs/features/default_pre.prf @@ -1,2 +1,5 @@ load(exclusive_builds) -CONFIG = lex yacc warn_on debug exceptions testcase_targets depend_includepath $$CONFIG +CONFIG = \ + lex yacc warn_on debug exceptions depend_includepath \ + testcase_targets import_plugins import_qpa_plugin \ + $$CONFIG diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 30bbae7c64..7b41859d09 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -35,9 +35,11 @@ QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN contains(QT_CONFIG, static) { QT_PLUGIN_VERIFY += QTPLUGIN contains(TEMPLATE, .*app) { - contains(QT, gui) { - qpa_minimal_plugin: QTPLUGIN += qminimal - qpa_default_plugin: QTPLUGIN += $$QT_DEFAULT_QPA_PLUGIN + contains(QT, gui):import_qpa_plugin { + qpa_minimal_plugin: \ + QTPLUGIN += qminimal + else: \ + QTPLUGIN += $$QT_DEFAULT_QPA_PLUGIN } import_plugins:!isEmpty(QTPLUGIN) { IMPORT_FILE_CONT = \ diff --git a/src/corelib/doc/snippets/code/doc_src_plugins-howto.cpp b/src/corelib/doc/snippets/code/doc_src_plugins-howto.cpp index ca6e64a90e..a86441c822 100644 --- a/src/corelib/doc/snippets/code/doc_src_plugins-howto.cpp +++ b/src/corelib/doc/snippets/code/doc_src_plugins-howto.cpp @@ -65,20 +65,3 @@ QStyle *MyStylePlugin::create(const QString &key) //! [2] QApplication::setStyle(QStyleFactory::create("MyStyle")); //! [2] - - -//! [4] -#include -#include - -Q_IMPORT_PLUGIN(qjpeg) -Q_IMPORT_PLUGIN(qgif) -Q_IMPORT_PLUGIN(qkrcodecs) - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - ... - return app.exec(); -} -//! [4] diff --git a/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro b/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro index 2b20811377..b33db7942f 100644 --- a/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro +++ b/src/corelib/doc/snippets/code/doc_src_plugins-howto.pro @@ -43,7 +43,7 @@ CONFIG += release #! [3] #! [4] -CONFIG += qpa_default_plugin import_plugins +CONFIG += qpa_minimal_plugin #! [4] #! [5] @@ -51,3 +51,11 @@ QTPLUGIN += qjpeg \ qgif \ qkrcodecs #! [5] + +#! [6] +CONFIG -= import_qpa_plugin +#! [6] + +#! [7] +CONFIG -= import_plugins +#! [7] diff --git a/src/corelib/doc/src/plugins-howto.qdoc b/src/corelib/doc/src/plugins-howto.qdoc index 37c1c13fea..d94bf2eadc 100644 --- a/src/corelib/doc/src/plugins-howto.qdoc +++ b/src/corelib/doc/src/plugins-howto.qdoc @@ -266,18 +266,22 @@ \row \li \c qsqltds \li SQL driver \li Sybase Adaptive Server (TDS) \endtable - To link statically against those plugins, you need to use the - Q_IMPORT_PLUGIN() macro in your application and you need to add + To link statically against those plugins, you need to add the required plugins to your build using \c QTPLUGIN. - For example, in your \c main.cpp: - - \snippet code/doc_src_plugins-howto.cpp 4 + Q_IMPORT_PLUGIN() macros are also needed in application code, + but those are automatically generated by qmake and added to + your application project. In the \c .pro file for your application, you need the following entry: \snippet code/doc_src_plugins-howto.pro 5 + If you do not want all plugins added to QTPLUGIN to be automatically + linked, remove \c import_plugins from the \c CONFIG variable: + + \snippet code/doc_src_plugins-howto.pro 7 + It is also possible to create your own static plugins, by following these steps: @@ -296,15 +300,16 @@ to make sure that the \c{QT_STATICPLUGIN} preprocessor macro is defined. - Qt platform adaptation plugins are not automatically linked in static - builds. To add default QPA plugin to \c QTPLUGIN variable and automatically - generate Q_IMPORT_PLUGIN statements for your application, add the following + The default Qt platform adaptation plugin is automatically added to QTPLUGIN + in static builds. If you want to add the minimal plugin instead, add \c qpa_minimal_plugin to \c CONFIG: \snippet code/doc_src_plugins-howto.pro 4 - If the minimal QPA plugin is required, use \c qpa_minimal_plugin instead of - \c qpa_default_plugin. + If you want neither the default nor the minimal QPA plugin to be linked automatically, + remove \c import_qpa_plugin from \c CONFIG: + + \snippet code/doc_src_plugins-howto.pro 6 \section1 Deploying and Debugging Plugins From 529110343d8067597b12a822126a2eb569295095 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Tue, 11 Dec 2012 16:13:28 +0100 Subject: [PATCH 163/386] Doc CSS: Edited CSS line-height of paragraphs and landing page. -value copied from qt-project.org -more room between lines of text and the list at the landing page. Change-Id: Iee995325ded0c803feca44d112c5e73a024917bb Reviewed-by: hjk --- doc/global/template/style/offline.css | 5 ++++- doc/global/template/style/online.css | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index 3370f7142c..8b8a7d9ae1 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -8,6 +8,9 @@ margin-left:5px; margin-right:5px; } +p { +line-height: 20px; +} img{ -moz-box-shadow: 3px 3px 3px #ccc; -webkit-box-shadow: 3px 3px 3px #ccc; @@ -587,7 +590,7 @@ margin-bottom: 20px; .indexboxcont .sectionlist ul li { -line-height: 12px; +line-height: 1.5; } .content .indexboxcont li diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 8bb66c6330..f933bac5eb 100644 --- a/doc/global/template/style/online.css +++ b/doc/global/template/style/online.css @@ -8,6 +8,9 @@ margin-right:5px; background: none repeat scroll 0% 0% rgb(230,231,232); } +p { +line-height: 20px; +} img{ -moz-box-shadow: 3px 3px 3px #ccc; -webkit-box-shadow: 3px 3px 3px #ccc; @@ -701,7 +704,7 @@ margin-bottom: 20px; .indexboxcont .sectionlist ul li { -line-height: 12px; +line-height: 1.5; } .content .indexboxcont li From cf728e60a71629096188f5d680047414dbb4956b Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 11 Dec 2012 10:46:56 +0100 Subject: [PATCH 164/386] Fix compilation with (all versions of) MinGW Commit 320b16110f0f9cef032a64846dc792d40ccd367b changed the arguments of swprintf to be compliant with latest MinGW-w64 headers: The headers now excludes the non-standard swprintf(wchar*t,wchar_t*,...) version for C++11. However, the swprintf(wchar_t*,size_t,wchar_t*,...) version is actually not supported by e.g. stock Mingw-32 from mingw.org. Instead, use _snwprintf(wchar_t*,size_t,wchar_t*,...), which both MSVC, and all MinGW versions should support. Task-number: QTBUG-28520 Change-Id: Icadd11773a25143e46a72c898adfd1c324f9c468 Reviewed-by: Joerg Bornemann --- src/corelib/io/qprocess_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qprocess_win.cpp b/src/corelib/io/qprocess_win.cpp index 780efda7fc..bd2ca4c325 100644 --- a/src/corelib/io/qprocess_win.cpp +++ b/src/corelib/io/qprocess_win.cpp @@ -82,7 +82,7 @@ static void qt_create_pipe(Q_PIPE *pipe, bool isInputPipe) forever { // ### The user must make sure to call qsrand() to make the pipe names less predictable. // ### Replace the call to qrand() with a secure version, once we have it in Qt. - swprintf(pipeName, sizeof(pipeName) / sizeof(pipeName[0]), + _snwprintf(pipeName, sizeof(pipeName) / sizeof(pipeName[0]), L"\\\\.\\pipe\\qt-%X", qrand()); DWORD dwPipeFlags = PIPE_TYPE_BYTE | PIPE_WAIT; From a31dd2e995c91a5e3e429ad76afc90c0a2af3dcf Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 10 Dec 2012 14:31:50 +0100 Subject: [PATCH 165/386] QScrollBar::initStyleOption(): fix QStyle::State_On handling QWindowsStyle considers QStyle::State_On as pressed, whereas QMacStyle uses the same state for transient scrollbars. Thus, to indicate transient scrollbars, QScrollBar::initStyleOption() must set QStyle::State_On only when the current style actually supports transient scrollbars. Task-number: QTBUG-28523 Change-Id: I94d207b1e8c5c4bd6f4b99e8b4f1661197fbe9dd Reviewed-by: Marc Mutz Reviewed-by: Jens Bache-Wiig --- src/widgets/widgets/qscrollbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/widgets/qscrollbar.cpp b/src/widgets/widgets/qscrollbar.cpp index be3d2db670..d59d7cdd55 100644 --- a/src/widgets/widgets/qscrollbar.cpp +++ b/src/widgets/widgets/qscrollbar.cpp @@ -325,7 +325,7 @@ void QScrollBar::initStyleOption(QStyleOptionSlider *option) const option->upsideDown = d->invertedAppearance; if (d->orientation == Qt::Horizontal) option->state |= QStyle::State_Horizontal; - if (d->flashed || !d->transient) + if ((d->flashed || !d->transient) && style()->styleHint(QStyle::SH_ScrollBar_Transient)) option->state |= QStyle::State_On; } From e481ea595e97456aec35e6a62d3ada62cddd0c2b Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 10 Dec 2012 14:09:55 +0100 Subject: [PATCH 166/386] QApplication docs: restore console mode -snippet Change-Id: I1f8ce949ae660a209a2092a2863d5c25e2908004 Reviewed-by: Jerome Pasion --- .../code/src_gui_kernel_qapplication.cpp | 28 ++++++++++--------- src/widgets/kernel/qapplication.cpp | 9 ++++++ 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp b/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp index aa562078a6..b4b1eb5a00 100644 --- a/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp +++ b/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp @@ -39,23 +39,25 @@ ****************************************************************************/ //! [0] -int main(int argc, char **argv) +QCoreApplication* createApplication(int &argc, char *argv[]) { -#ifdef Q_WS_X11 - bool useGUI = getenv("DISPLAY") != 0; -#else - bool useGUI = true; -#endif - QApplication app(argc, argv, useGUI); + for (int i = 1; i < argc; ++i) + if (!qstrcmp(argv[i], "-no-gui")) + return new QCoreApplication(argc, argv); + return new QApplication(argc, argv); +} - if (useGUI) { - // start GUI version - ... +int main(int argc, char* argv[]) +{ + QScopedPointer app(createApplication(argc, argv)); + + if (qobject_cast(app.data())) { + // start GUI version... } else { - // start non-GUI version - ... + // start non-GUI version... } - return app.exec(); + + return app->exec(); } //! [0] diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 80912ff409..4922e2e778 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -190,6 +190,15 @@ QApplicationPrivate::~QApplicationPrivate() any given time. For non-QWidget based Qt applications, use QGuiApplication instead, as it does not depend on the \l QtWidgets library. + Some GUI applications provide a special batch mode ie. provide command line + arguments for executing tasks without manual intervention. In such non-GUI + mode, it is often sufficient to instantiate a plain QCoreApplication to + avoid unnecessarily initializing resources needed for a graphical user + interface. The following example shows how to dynamically create an + appropriate type of application instance: + + \snippet code/src_gui_kernel_qapplication.cpp 0 + The QApplication object is accessible through the instance() function that returns a pointer equivalent to the global qApp pointer. From 05f5f194f597723cfa67db04f31814cb5ccabd0c Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 11 Dec 2012 15:44:14 +0100 Subject: [PATCH 167/386] Mac: disable transient scrollbar animations for non-QScrollBars Task-number: QTBUG-28389 Task-number: QTBUG-28380 Change-Id: I91edd9c8aba60118d722bbf9ad5b85f994398823 Reviewed-by: J-P Nurmi Reviewed-by: Gabriel de Dietrich --- src/widgets/styles/qmacstyle_mac.mm | 6 +++++- src/widgets/widgets/qabstractscrollarea.cpp | 4 ++-- src/widgets/widgets/qscrollbar.cpp | 10 +++++----- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/widgets/styles/qmacstyle_mac.mm b/src/widgets/styles/qmacstyle_mac.mm index 649e7f267d..b6adc38687 100644 --- a/src/widgets/styles/qmacstyle_mac.mm +++ b/src/widgets/styles/qmacstyle_mac.mm @@ -2706,6 +2706,10 @@ int QMacStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget *w ret = false; break; case SH_ScrollBar_Transient: + if (!qobject_cast(w)) { + ret = false; + break; + } ret = QSysInfo::MacintoshVersion >= QSysInfo::MV_10_7; #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_7) @@ -4906,7 +4910,7 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex } #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 - if (cc == CC_ScrollBar && proxy()->styleHint(SH_ScrollBar_Transient)) { + if (cc == CC_ScrollBar && proxy()->styleHint(SH_ScrollBar_Transient, 0, widget)) { bool wasActive = false; CGFloat opacity = 1.0; CGFloat expandScale = 1.0; diff --git a/src/widgets/widgets/qabstractscrollarea.cpp b/src/widgets/widgets/qabstractscrollarea.cpp index 2a3bdb0a59..ae363fe71f 100644 --- a/src/widgets/widgets/qabstractscrollarea.cpp +++ b/src/widgets/widgets/qabstractscrollarea.cpp @@ -490,7 +490,7 @@ void QAbstractScrollAreaPrivate::layoutChildren() horizontalScrollBarRect.adjust(vsbExt, 0, 0, 0); #endif #ifdef Q_OS_MAC - if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) + if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, hbar)) horizontalScrollBarRect.adjust(0, 0, cornerOffset.x(), 0); #endif scrollBarContainers[Qt::Horizontal]->setGeometry(QStyle::visualRect(opt.direction, opt.rect, horizontalScrollBarRect)); @@ -500,7 +500,7 @@ void QAbstractScrollAreaPrivate::layoutChildren() if (needv) { QRect verticalScrollBarRect (QPoint(cornerPoint.x(), controlsRect.top() + hHeaderBottom), QPoint(controlsRect.right(), cornerPoint.y() - 1)); #ifdef Q_OS_MAC - if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) + if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, vbar)) verticalScrollBarRect.adjust(0, 0, 0, cornerOffset.y()); #endif scrollBarContainers[Qt::Vertical]->setGeometry(QStyle::visualRect(opt.direction, opt.rect, verticalScrollBarRect)); diff --git a/src/widgets/widgets/qscrollbar.cpp b/src/widgets/widgets/qscrollbar.cpp index d59d7cdd55..491f54ebd9 100644 --- a/src/widgets/widgets/qscrollbar.cpp +++ b/src/widgets/widgets/qscrollbar.cpp @@ -235,7 +235,7 @@ void QScrollBarPrivate::setTransient(bool value) if (transient != value) { transient = value; if (q->isVisible()) { - if (q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) + if (q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, q)) q->update(); } else if (!transient) { q->show(); @@ -246,7 +246,7 @@ void QScrollBarPrivate::setTransient(bool value) void QScrollBarPrivate::flash() { Q_Q(QScrollBar); - if (!flashed && q->style()->styleHint(QStyle::SH_ScrollBar_Transient)) { + if (!flashed && q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, q)) { flashed = true; q->show(); } @@ -384,7 +384,7 @@ void QScrollBarPrivate::init() invertedControls = true; pressedControl = hoverControl = QStyle::SC_None; pointerOutsidePressedControl = false; - transient = q->style()->styleHint(QStyle::SH_ScrollBar_Transient); + transient = q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, q); flashed = false; q->setFocusPolicy(Qt::NoFocus); QSizePolicy sp(QSizePolicy::Minimum, QSizePolicy::Fixed, QSizePolicy::Slider); @@ -484,7 +484,7 @@ bool QScrollBar::event(QEvent *event) d_func()->updateHoverControl(he->pos()); break; case QEvent::StyleChange: - d_func()->setTransient(style()->styleHint(QStyle::SH_ScrollBar_Transient)); + d_func()->setTransient(style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, this)); break; default: break; @@ -531,7 +531,7 @@ void QScrollBar::paintEvent(QPaintEvent *) opt.activeSubControls = (QStyle::SubControl)d->hoverControl; } style()->drawComplexControl(QStyle::CC_ScrollBar, &opt, &p, this); - if (d->flashed && style()->styleHint(QStyle::SH_ScrollBar_Transient)) { + if (d->flashed && style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, this)) { d->flashed = false; update(); } From 03e1e4138ccf6b73c73b2fed6db0e740af43ef76 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 11 Dec 2012 11:31:41 +0100 Subject: [PATCH 168/386] qmake: fix manifest embedding for DLLs Manifests must be embedded into DLLs with the resource id 2, not 1. This fixes a regression introduced in commit c9406bcf. Task-number: QTBUG-28524 Change-Id: I93b1dfe4614d0535f47fd881b8688a23e83e845f Reviewed-by: Oswald Buddenhagen Reviewed-by: Ismo Haataja Reviewed-by: Joerg Bornemann --- qmake/generators/win32/msvc_nmake.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qmake/generators/win32/msvc_nmake.cpp b/qmake/generators/win32/msvc_nmake.cpp index 3fed7b4b7b..6a1d6d1fa3 100644 --- a/qmake/generators/win32/msvc_nmake.cpp +++ b/qmake/generators/win32/msvc_nmake.cpp @@ -441,7 +441,9 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t) // directly embed the manifest in the executable after linking t << "\n\t"; writeLinkCommand(t, extraLFlags); - t << "\n\t" << "mt.exe /nologo /manifest " << manifest << " /outputresource:$(DESTDIR_TARGET);1"; + const QString resourceId = (templateName == "app") ? "1" : "2"; + t << "\n\t" << "mt.exe /nologo /manifest " << manifest + << " /outputresource:$(DESTDIR_TARGET);" << resourceId; } } else { t << "\n\t"; From ced154500de1dde42033579a7b29494934d8a02d Mon Sep 17 00:00:00 2001 From: Jan Arve Saether Date: Fri, 7 Dec 2012 15:29:06 +0100 Subject: [PATCH 169/386] a11y: Do not refer to destructed QObject in Windows bridge The crash could happen if a QWidget in the UI got deleted, and the AT client later tried to access the widget through the cache (qAccessibleRecentSentEvents()). Solution: Use a QPointer as a guard. Task-number: QTBUG-26187 Change-Id: I1aa716766626cf171757e76ba255a6d5ae4fd854 Reviewed-by: Frederik Gladhorn --- .../accessible/qwindowsaccessibility.cpp | 30 +++++++++++++------ .../accessible/qwindowsmsaaaccessible.cpp | 2 +- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/plugins/platforms/windows/accessible/qwindowsaccessibility.cpp b/src/plugins/platforms/windows/accessible/qwindowsaccessibility.cpp index db2d5f949f..b94fef56ba 100644 --- a/src/plugins/platforms/windows/accessible/qwindowsaccessibility.cpp +++ b/src/plugins/platforms/windows/accessible/qwindowsaccessibility.cpp @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -87,10 +88,9 @@ // This stuff is used for widgets/items with no window handle: -typedef QMap > NotifyMap; +typedef QMap,int> > NotifyMap; Q_GLOBAL_STATIC(NotifyMap, qAccessibleRecentSentEvents) - QT_BEGIN_NAMESPACE @@ -193,14 +193,25 @@ void QWindowsAccessibility::notifyAccessibilityUpdate(QAccessibleEvent *event) HWND hWnd = (HWND)platform->nativeResourceForWindow("handle", window); static int eventNum = 0; - if (event->type() != QAccessible::MenuCommand) { // MenuCommand is faked - // See comment "SENDING EVENTS TO OBJECTS WITH NO WINDOW HANDLE" + if (event->type() != QAccessible::MenuCommand && // MenuCommand is faked + event->type() != QAccessible::ObjectDestroyed) { + /* In some rare occasions, the server (Qt) might get a ::get_accChild call with a + childId that references an entry in the cache where there was a dangling + QObject-pointer. Previously we crashed on this. + + There is no point in actually notifying the AT client that the object got destroyed, + because the AT client won't query for get_accChild if the event is ObjectDestroyed + anyway, and we have no other way of mapping the eventId argument to the actual + child/descendant object. (Firefox seems to simply completely ignore + EVENT_OBJECT_DESTROY). + + We therefore guard each QObject in the cache with a QPointer, and only notify the AT + client if the type is not ObjectDestroyed. + */ eventNum %= 50; //[0..49] int eventId = - (eventNum - 1); - - qAccessibleRecentSentEvents()->insert(eventId, qMakePair(event->object(), event->child())); - ptrNotifyWinEvent(event->type(), hWnd, OBJID_CLIENT, eventId ); - + qAccessibleRecentSentEvents()->insert(eventId, qMakePair(QPointer(event->object()), event->child())); + ptrNotifyWinEvent(event->type(), hWnd, OBJID_CLIENT, eventId); ++eventNum; } #endif // Q_OS_WINCE @@ -244,7 +255,8 @@ IAccessible *QWindowsAccessibility::wrap(QAccessibleInterface *acc) */ QPair QWindowsAccessibility::getCachedObject(int entryId) { - return qAccessibleRecentSentEvents()->value(entryId); + QPair, int> pair = qAccessibleRecentSentEvents()->value(entryId); + return qMakePair(pair.first.data(), pair.second); } /* diff --git a/src/plugins/platforms/windows/accessible/qwindowsmsaaaccessible.cpp b/src/plugins/platforms/windows/accessible/qwindowsmsaaaccessible.cpp index 328053604e..f1bdc77303 100644 --- a/src/plugins/platforms/windows/accessible/qwindowsmsaaaccessible.cpp +++ b/src/plugins/platforms/windows/accessible/qwindowsmsaaaccessible.cpp @@ -757,7 +757,7 @@ HRESULT STDMETHODCALLTYPE QWindowsMsaaAccessible::get_accChild(VARIANT varChildI acc = res; } } else { - qWarning("get_accChild got a negative varChildID, but did not find it in cache"); + qWarning("get_accChild got a negative varChildID (%d), but did not find it in cache", childIndex); } } else { if (childIndex) { From 4afc88b381128302c383a1d82ed93e6274bac9f1 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Tue, 11 Dec 2012 13:37:40 +0100 Subject: [PATCH 170/386] Partially revert e84e86dc. Make tst_qquickview::resizemodeitem pass. Returning on equal geometry breaks for non-top-level windows. Change-Id: I3b361655e25b6cf2d5e29410dc1f3567ab8f54d9 Reviewed-by: Gabriel de Dietrich --- src/plugins/platforms/cocoa/qnsview.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/cocoa/qnsview.mm b/src/plugins/platforms/cocoa/qnsview.mm index cfd12cfb61..678f88baa0 100644 --- a/src/plugins/platforms/cocoa/qnsview.mm +++ b/src/plugins/platforms/cocoa/qnsview.mm @@ -185,7 +185,7 @@ static QTouchDevice *touchDevice = 0; geometry = qt_mac_toQRect([self frame]); } - if (geometry == m_platformWindow->geometry()) + if (m_platformWindow->m_nsWindow && geometry == m_platformWindow->geometry()) return; #ifdef QT_COCOA_ENABLE_WINDOW_DEBUG From b17e030ef516fc3a62ee705697cd6f803c3f083b Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Tue, 11 Dec 2012 21:28:51 +0100 Subject: [PATCH 171/386] test: Mark cmake tests as insignificant when -no-widgets is used Task-number: QTBUG-28540 Change-Id: Iaa238ce8fb857ec8856dd9d6f3adc49795db1de1 Reviewed-by: Stephen Kelly --- mkspecs/features/ctest_testcase.prf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkspecs/features/ctest_testcase.prf b/mkspecs/features/ctest_testcase.prf index de61ae96cb..555a0bbe5c 100644 --- a/mkspecs/features/ctest_testcase.prf +++ b/mkspecs/features/ctest_testcase.prf @@ -53,4 +53,6 @@ insignificant_test:!isEmpty(check.commands) { check.commands = -$${check.commands} } +isEmpty(QT.widgets.name):CONFIG += insignificant_test # QTBUG-28540 + QMAKE_EXTRA_TARGETS *= check From 817bec7a23cb8ee20947547eefa3b4cca70525c9 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 11 Dec 2012 12:06:31 -0800 Subject: [PATCH 172/386] Doc: Remove the mention of non-atomic convenience operators in QAtomic For two reasons: 1) those operators are gone and 2) the ones that remain are atomic. Task-number: QTBUG-28532 Task-number: QTBUG-24627 Change-Id: I1e9d1b076d923546c1ee3d45f312066590f97416 Reviewed-by: Olivier Goffart --- dist/changes-5.0.0 | 6 ++++++ src/corelib/thread/qatomic.cpp | 12 ------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 3749f18d64..a969fc84d5 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -11,6 +11,12 @@ information about a particular change. * Source incompatible changes * **************************************************************************** +- QAtomicInt's and QAtomicPointer's non-atomic convenience methods + (i.e., operator=, operator int / operator T*, operator!, operator==, + operator!= and operator->) have been removed as they did implicit + loads and stores of unspecified memory ordering. Code dealing with + is expected to use load(), loadAquire(), store() and storeRelease() + as necessary instead. - QObject * The signatures of the connectNotify() and disconnectNotify() functions diff --git a/src/corelib/thread/qatomic.cpp b/src/corelib/thread/qatomic.cpp index 87f1d84d4d..791f41074d 100644 --- a/src/corelib/thread/qatomic.cpp +++ b/src/corelib/thread/qatomic.cpp @@ -53,12 +53,6 @@ The QAtomicInt class provides atomic reference counting, test-and-set, fetch-and-store, and fetch-and-add for integers. - \section1 Non-atomic convenience operators - - For convenience, QAtomicInt provides integer comparison, cast, and - assignment operators. Note that a combination of these operators - is \e not an atomic operation. - \section1 The Atomic API \section2 Reference counting @@ -610,12 +604,6 @@ An \e atomic operation is a complex operation that completes without interruption. The QAtomicPointer class provides atomic test-and-set, fetch-and-store, and fetch-and-add for pointers. - \section1 Non-atomic convenience operators - - For convenience, QAtomicPointer provides pointer comparison, cast, - dereference, and assignment operators. Note that these operators - are \e not atomic. - \section1 The Atomic API \section2 Memory ordering From 4955cd8539dd23ad568daa1dad004677078d15c9 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 11 Dec 2012 14:24:05 -0800 Subject: [PATCH 173/386] Document the new load / store methods in QAtomic{Int,Pointer} Task-number: QTBUG-24627 Change-Id: Iaa2573aa8f0f36cac81efa73020c2f365bfcba53 Reviewed-by: Olivier Goffart --- src/corelib/thread/qatomic.cpp | 76 ++++++++++++++++++++++++++++++++++ src/corelib/thread/qatomic.h | 10 +++++ 2 files changed, 86 insertions(+) diff --git a/src/corelib/thread/qatomic.cpp b/src/corelib/thread/qatomic.cpp index 791f41074d..ef74ac40e8 100644 --- a/src/corelib/thread/qatomic.cpp +++ b/src/corelib/thread/qatomic.cpp @@ -216,6 +216,44 @@ this QAtomicInt. */ +/*! + \fn int QAtomicInt::load() const + + Atomically loads the value of this QAtomicInt using relaxed memory + ordering. The value is not modified in any way, but note that there's no + guarantee that it remains so. + + \sa store(), loadAcquire() +*/ + +/*! + \fn int QAtomicInt::loadAcquire() const + + Atomically loads the value of this QAtomicInt using the "Acquire" memory + ordering. The value is not modified in any way, but note that there's no + guarantee that it remains so. + + \sa store(), load() +*/ + +/*! + \fn void QAtomicInt::store(int newValue) + + Atomically stores the \a newValue value into this atomic type, using + relaxed memory ordering. + + \sa storeRelease(), load() +*/ + +/*! + \fn void QAtomicInt::storeRelease(int newValue) + + Atomically stores the \a newValue value into this atomic type, using + the "Release" memory ordering. + + \sa store(), load() +*/ + /*! \fn bool QAtomicInt::isReferenceCountingNative() Returns true if reference counting is implemented using atomic @@ -750,6 +788,44 @@ this QAtomicPointer. */ +/*! + \fn T *QAtomicPointer::load() const + + Atomically loads the value of this QAtomicPointer using relaxed memory + ordering. The value is not modified in any way, but note that there's no + guarantee that it remains so. + + \sa store(), loadAcquire() +*/ + +/*! + \fn T *QAtomicPointer::loadAcquire() const + + Atomically loads the value of this QAtomicPointerusing the "Acquire" memory + ordering. The value is not modified in any way, but note that there's no + guarantee that it remains so. + + \sa store(), load() +*/ + +/*! + \fn void QAtomicPointer::store(T *newValue) + + Atomically stores the \a newValue value into this atomic type, using + relaxed memory ordering. + + \sa storeRelease(), load() +*/ + +/*! + \fn void QAtomicPointer::storeRelease(T *newValue) + + Atomically stores the \a newValue value into this atomic type, using + the "Release" memory ordering. + + \sa store(), load() +*/ + /*! \fn bool QAtomicPointer::isTestAndSetNative() Returns true if test-and-set is implemented using atomic processor diff --git a/src/corelib/thread/qatomic.h b/src/corelib/thread/qatomic.h index 076cfba159..10001802ba 100644 --- a/src/corelib/thread/qatomic.h +++ b/src/corelib/thread/qatomic.h @@ -82,6 +82,11 @@ public: } #ifdef qdoc + int load() const; + int loadAcquire() const; + void store(int newValue); + void storeRelease(int newValue); + static Q_DECL_CONSTEXPR bool isReferenceCountingNative(); static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree(); @@ -139,6 +144,11 @@ public: } #ifdef qdoc + T *load() const; + T *loadAcquire() const; + void store(T *newValue); + void storeRelease(T *newValue); + static Q_DECL_CONSTEXPR bool isTestAndSetNative(); static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree(); From 968b11737564572ef5939400ed70f281556d167b Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Mon, 10 Dec 2012 11:29:54 +0100 Subject: [PATCH 174/386] Improve Cocoa platform plugin loading. Loading both the debug and release version of the cocoa plugins causes the objective-c runtime to print "duplicate class definitions" warnings. Fix this by directing the plugin loader to only load one of the cocoa plugins if both are available. Implement this as a special case directly in QFactoryLoader. Define QT_NO_DEBUG_PLUGIN_CHECK to allow mixing debug and release builds. Task-number: QTBUG-28155 Change-Id: Ie1927b219cc501a821f91b7e4b56f0589e0acbf5 Reviewed-by: Lars Knoll Reviewed-by: Thiago Macieira --- src/corelib/corelib.pro | 1 - src/corelib/plugin/qfactoryloader.cpp | 21 +++++++++++++++++++++ src/corelib/plugin/qlibrary.cpp | 2 +- src/plugins/platforms/cocoa/cocoa.pro | 7 ------- 4 files changed, 22 insertions(+), 9 deletions(-) diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index 1059d0defe..f95ee545c0 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -41,7 +41,6 @@ mac|darwin { } LIBS_PRIVATE += -framework CoreFoundation } -mac:lib_bundle:DEFINES += QT_NO_DEBUG_PLUGIN_CHECK win32:DEFINES-=QT_NO_CAST_TO_ASCII DEFINES += $$MODULE_DEFINES diff --git a/src/corelib/plugin/qfactoryloader.cpp b/src/corelib/plugin/qfactoryloader.cpp index 75652b0902..aeb78e88b4 100644 --- a/src/corelib/plugin/qfactoryloader.cpp +++ b/src/corelib/plugin/qfactoryloader.cpp @@ -126,9 +126,30 @@ void QFactoryLoader::update() QStringList plugins = QDir(path).entryList(QDir::Files); QLibraryPrivate *library = 0; + +#ifdef Q_OS_MAC + // Loading both the debug and release version of the cocoa plugins causes the objective-c runtime + // to print "duplicate class definitions" warnings. Detect if QFactoryLoader is about to load both, + // skip one of them (below). + // + // ### FIXME find a proper solution + // + const bool isLoadingDebugAndReleaseCocoa = plugins.contains("libqcocoa_debug.dylib") && plugins.contains("libqcocoa.dylib"); +#endif for (int j = 0; j < plugins.count(); ++j) { QString fileName = QDir::cleanPath(path + QLatin1Char('/') + plugins.at(j)); +#ifdef Q_OS_MAC + if (isLoadingDebugAndReleaseCocoa) { +#ifdef QT_DEBUG + if (fileName.contains(QStringLiteral("libqcocoa.dylib"))) + continue; // Skip release plugin in debug mode +#else + if (fileName.contains(QStringLiteral("libqcocoa_debug.dylib"))) + continue; // Skip debug plugin in release mode +#endif + } +#endif if (qt_debug_component()) { qDebug() << "QFactoryLoader::QFactoryLoader() looking at" << fileName; } diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp index 26692ca3d4..8d2e890d87 100644 --- a/src/corelib/plugin/qlibrary.cpp +++ b/src/corelib/plugin/qlibrary.cpp @@ -73,7 +73,7 @@ QT_BEGIN_NAMESPACE # define QLIBRARY_AS_DEBUG true #endif -#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC) +#if defined(Q_OS_UNIX) // We don't use separate debug and release libs on UNIX, so we want // to allow loading plugins, regardless of how they were built. # define QT_NO_DEBUG_PLUGIN_CHECK diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro index 5533650809..85e3f0007c 100644 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ b/src/plugins/platforms/cocoa/cocoa.pro @@ -98,13 +98,6 @@ QT += core-private gui-private platformsupport-private OTHER_FILES += cocoa.json -# Build the release libqcocoa.dylib only, skip the debug version. -# The Qt plugin loader will dlopen both if found, causing duplicate -# Objective-c class definitions for the classes defined in the plugin. -contains(QT_CONFIG,release):CONFIG -= debug -contains(QT_CONFIG,debug_and_release):CONFIG -= debug_and_release -contains(QT_CONFIG,build_all):CONFIG -= build_all - # Acccessibility debug support # DEFINES += QT_COCOA_ENABLE_ACCESSIBILITY_INSPECTOR # include ($$PWD/../../../../util/accessibilityinspector/accessibilityinspector.pri) From f65c85c004b6413d30fb438f3874f706f4d8ed9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=A4nel?= Date: Fri, 28 Sep 2012 15:00:48 +0200 Subject: [PATCH 175/386] FreeType bitmaps interpreted in wrong format We ask grayscale or mono bitmaps from FreeType but in some cases treat the output as ARGB without conversion. This surfaces using QGLWidget as a viewport to QDeclarative content. The offending glyphs are then generated through QTextureGlyphCache::textureMapForGlyph. This adds a fix for converting to the expected ARGB32 data. Change-Id: Ia219582ebd76b7e4e9379111a42312b4d97718de Reviewed-by: Eskil Abrahamsen Blomfeldt Reviewed-by: Frederik Gladhorn --- src/gui/text/qfontengine_ft.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp index fe72df64bd..af458c11a2 100644 --- a/src/gui/text/qfontengine_ft.cpp +++ b/src/gui/text/qfontengine_ft.cpp @@ -588,6 +588,16 @@ static void convertRGBToARGB_V(const uchar *src, uint *dst, int width, int heigh } } +static void convertGRAYToARGB(const uchar *src, uint *dst, int width, int height, int src_pitch) { + for (int y = 0; y < height; ++y) { + int readpos = (y * src_pitch); + int writepos = (y * width); + for (int x = 0; x < width; ++x) { + dst[writepos + x] = (0xFF << 24) + (src[readpos + x] << 16) + (src[readpos + x] << 8) + src[readpos + x]; + } + } +} + static void convoluteBitmap(const uchar *src, uchar *dst, int width, int height, int pitch) { // convolute the bitmap with a triangle filter to get rid of color fringes @@ -1016,7 +1026,7 @@ QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, bitmap.rows = info.height*vfactor; bitmap.width = hpixels; bitmap.pitch = format == Format_Mono ? (((info.width + 31) & ~31) >> 3) : ((bitmap.width + 3) & ~3); - if (!hsubpixel && vfactor == 1) + if (!hsubpixel && vfactor == 1 && format != Format_A32) bitmap.buffer = glyph_buffer; else bitmap.buffer = new uchar[bitmap.rows*bitmap.pitch]; @@ -1047,6 +1057,8 @@ QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, delete [] convoluted; } else if (vfactor != 1) { convertRGBToARGB_V(bitmap.buffer, (uint *)glyph_buffer, info.width, info.height, bitmap.pitch, subpixelType != QFontEngineFT::Subpixel_VRGB, true); + } else if (format == Format_A32 && bitmap.pixel_mode == FT_PIXEL_MODE_GRAY) { + convertGRAYToARGB(bitmap.buffer, (uint *)glyph_buffer, info.width, info.height, bitmap.pitch); } if (bitmap.buffer != glyph_buffer) From 2efaee43f7c916919507860ab17e9b1d86b2f508 Mon Sep 17 00:00:00 2001 From: Alejandro Exojo Date: Tue, 20 Nov 2012 10:12:32 +0100 Subject: [PATCH 176/386] Add directory to xcb-static.pro's INCLUDEPATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In src/3rdparty/xcb/xcb-util-image/xcb_image.c, the includes require all this directories, or otherwise compiliation fails when -qt-xcb is used in the configure step. Change-Id: I8566bea662eced144cb9a2b1ce1dbfdb65654dea Reviewed-by: Kai Koehne Reviewed-by: Samuel Rødal --- src/plugins/platforms/xcb/xcb-static/xcb-static.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/xcb-static/xcb-static.pro b/src/plugins/platforms/xcb/xcb-static/xcb-static.pro index d7530fe42e..01667d41db 100644 --- a/src/plugins/platforms/xcb/xcb-static/xcb-static.pro +++ b/src/plugins/platforms/xcb/xcb-static/xcb-static.pro @@ -8,7 +8,7 @@ CONFIG += staticlib XCB_DIR = ../../../../3rdparty/xcb -INCLUDEPATH += $$XCB_DIR/include/xcb $$XCB_DIR/sysinclude +INCLUDEPATH += $$XCB_DIR/include $$XCB_DIR/include/xcb $$XCB_DIR/sysinclude # ignore compiler warnings in 3rdparty code QMAKE_CFLAGS_STATIC_LIB+=-w From 508db17de38b2940d95742319abcb84ee4ca8b86 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Tue, 11 Dec 2012 16:58:14 +0100 Subject: [PATCH 177/386] Some fixes to the OpenGL docs in GUI Change-Id: I6415ff16b1765a5814d50a4cd39db00495d43073 Reviewed-by: Paul Olav Tvete --- .../gui/doc}/images/openglwindow-example.png | Bin src/gui/kernel/qopenglcontext.cpp | 2 +- src/gui/opengl/qopenglpaintdevice.cpp | 44 ++++++++++++++++-- 3 files changed, 41 insertions(+), 5 deletions(-) rename {doc/src => examples/gui/doc}/images/openglwindow-example.png (100%) diff --git a/doc/src/images/openglwindow-example.png b/examples/gui/doc/images/openglwindow-example.png similarity index 100% rename from doc/src/images/openglwindow-example.png rename to examples/gui/doc/images/openglwindow-example.png diff --git a/src/gui/kernel/qopenglcontext.cpp b/src/gui/kernel/qopenglcontext.cpp index d2de6aa125..f16f29718d 100644 --- a/src/gui/kernel/qopenglcontext.cpp +++ b/src/gui/kernel/qopenglcontext.cpp @@ -121,7 +121,7 @@ QMutex QOpenGLContextPrivate::makeCurrentTrackerMutex; \l{OpenGL documentation}. For an example of how to use QOpenGLContext see the - \l{gui/openglwindow}{OpenGL Window} example. + \l{OpenGL Window Example}{OpenGL Window} example. \section1 Thread affinity diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp index b2ffac69ca..79e692b8cf 100644 --- a/src/gui/opengl/qopenglpaintdevice.cpp +++ b/src/gui/opengl/qopenglpaintdevice.cpp @@ -63,11 +63,47 @@ QT_BEGIN_NAMESPACE \ingroup painting-3D + The QOpenGLPaintDevice uses the current QOpenGL context to render + QPainter draw commands. It requires OpenGL (ES) 2.0 support or + higher. + + \section1 Performance + + The QOpenGLPaintDevice is almost always hardware accelerated and + has the potential of being much faster than software + rasterization. However, it is more sensitive to state changes, and + therefore requires the drawing commands to be carefully ordered to + achieve optimal performance. + + \section1 Antialiasing and Quality + + Antialiasing in the OpenGL paint engine is done using + multisampling. Most hardware require significantly more memory to + do multisampling and the resulting quality is not on par with the + quality of the software paint engine. The OpenGL paint engine's + strenght lies in its performance, not its visual rendering + quality. + + \section1 State Changes + When painting to a QOpenGLPaintDevice using QPainter, the state of - the current OpenGL context will be altered by the paint engine to reflect - its needs. Applications should not rely upon the OpenGL state being reset - to its original conditions, particularly the current shader program, - OpenGL viewport, texture units, and drawing modes. + the current OpenGL context will be altered by the paint engine to + reflect its needs. Applications should not rely upon the OpenGL + state being reset to its original conditions, particularly the + current shader program, OpenGL viewport, texture units, and + drawing modes. + + \section1 Mixing QPainter and OpenGL + + When intermixing QPainter and OpenGL, it is important to notify + QPainter that the OpenGL state may have been cluttered so it can + restore its internal state. This is acheived by calling \l + QPainter::beginNativePainting() before starting the OpenGL + rendering and calling \l QPainter::endNativePainting() after + finishing. + + \sa {OpenGL Window Example} + */ class QOpenGLPaintDevicePrivate From 49ba35b9904a05ec1c7d768f8c079ce3c7d283fe Mon Sep 17 00:00:00 2001 From: Vitaliy Kharin Date: Mon, 10 Dec 2012 18:45:31 +0400 Subject: [PATCH 178/386] QSpanData: use isAffine() instead of rolling your own test QSpanData did not properly check that whether the matrix is an affine transformation or not. Therefore, qt paint engine chose the wrong algorithm for drawing in case of a perpective matrix. Change-Id: If0523bd45e86679a08874713da3fbe33a9852551 Reviewed-by: Gunnar Sletta --- src/gui/painting/qpaintengine_raster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 46648fe297..0e9129f8c0 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -4588,7 +4588,7 @@ void QSpanData::setupMatrix(const QTransform &matrix, int bilin) txop = inv.type(); bilinear = bilin; - const bool affine = !m13 && !m23; + const bool affine = inv.isAffine(); fast_matrix = affine && m11 * m11 + m21 * m21 < 1e4 && m12 * m12 + m22 * m22 < 1e4 From 0549a4b6f52e6929daec4b0c97df2085739bc719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 12 Dec 2012 09:15:14 +0100 Subject: [PATCH 179/386] Made QWidget::setWindowOpacity work with the XCB platform plugin. Ported the rather trivial implementation from Qt 4. Task-number: QTBUG-28477 Change-Id: I44e14a3c150af43c6b9b880242b655fe06084fd7 Reviewed-by: Lars Knoll Reviewed-by: Friedemann Kleint --- src/plugins/platforms/xcb/qxcbwindow.cpp | 17 +++++++++++++++++ src/plugins/platforms/xcb/qxcbwindow.h | 2 ++ 2 files changed, 19 insertions(+) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 5e4e749c83..0db4176607 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -1786,6 +1786,23 @@ static inline xcb_rectangle_t qRectToXCBRectangle(const QRect &r) return result; } +void QXcbWindow::setOpacity(qreal level) +{ + if (!m_window) + return; + + quint32 value = qRound64(qBound(qreal(0), level, qreal(1)) * 0xffffffff); + + Q_XCB_CALL(xcb_change_property(xcb_connection(), + XCB_PROP_MODE_REPLACE, + m_window, + atom(QXcbAtom::_NET_WM_WINDOW_OPACITY), + XCB_ATOM_CARDINAL, + 32, + 1, + (uchar *)&value)); +} + void QXcbWindow::setMask(const QRegion ®ion) { if (!connection()->hasXShape()) diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h index bd4d18a175..07ac0e0fcb 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.h +++ b/src/plugins/platforms/xcb/qxcbwindow.h @@ -109,6 +109,8 @@ public: bool startSystemResize(const QPoint &pos, Qt::Corner corner); + void setOpacity(qreal level); + #if !defined(QT_NO_SHAPE) void setMask(const QRegion ®ion); #endif // !QT_NO_SHAPE From f03f8431ef19606940a528e903c0d0cb82264c94 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 11 Dec 2012 14:53:29 +0100 Subject: [PATCH 180/386] qdoc: Make links to \target work intermodule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit \target sets up a unique target that should be accessible with \l across module boundaries. This was not working across module boundaries. Now it has been fixed, and it is one way of handling the problem described in the referenced bug report. Task-number: QTBUG-28244 Change-Id: I541f409b998f84b2b8dcf66751762cf07f9f108b Reviewed-by: Topi Reiniö Reviewed-by: Jerome Pasion --- src/tools/qdoc/htmlgenerator.cpp | 4 ++++ src/tools/qdoc/qdocdatabase.cpp | 35 ++++++++++++++++--------------- src/tools/qdoc/qdocdatabase.h | 32 +++++++++++++++------------- src/tools/qdoc/qdocindexfiles.cpp | 6 +++--- 4 files changed, 42 insertions(+), 35 deletions(-) diff --git a/src/tools/qdoc/htmlgenerator.cpp b/src/tools/qdoc/htmlgenerator.cpp index 1a8425b5ce..6c0248362c 100644 --- a/src/tools/qdoc/htmlgenerator.cpp +++ b/src/tools/qdoc/htmlgenerator.cpp @@ -3502,6 +3502,10 @@ QString HtmlGenerator::getLink(const Atom *atom, const Node *relative, const Nod } if (!*node) { *node = qdb_->findUnambiguousTarget(first, ref, relative); + if (*node && !(*node)->url().isEmpty() && !ref.isEmpty()) { + QString final = (*node)->url() + "#" + ref; + return final; + } } } if (*node) { diff --git a/src/tools/qdoc/qdocdatabase.cpp b/src/tools/qdoc/qdocdatabase.cpp index fa5b2c013f..806b7b1d48 100644 --- a/src/tools/qdoc/qdocdatabase.cpp +++ b/src/tools/qdoc/qdocdatabase.cpp @@ -684,14 +684,15 @@ const Node* QDocDatabase::findNodeForTarget(const QString& target, const Node* r Inserts a new target into the target table with the specified \a name, \a node, and \a priority. */ -void QDocDatabase::insertTarget(const QString& name, Node* node, int priority) +void QDocDatabase::insertTarget(const QString& name, TargetRec::Type type, Node* node, int priority) { - Target target; + TargetRec target; + target.type_ = type; target.node_ = node; target.priority_ = priority; Atom a = Atom(Atom::Target, name); target.ref_ = refForAtom(&a); - targetMultiMap_.insert(name, target); + targetRecMultiMap_.insert(name, target); } /*! @@ -701,16 +702,16 @@ void QDocDatabase::insertTarget(const QString& name, Node* node, int priority) const Node* QDocDatabase::findUnambiguousTarget(const QString& target, QString& ref, const Node* relative) { - Target bestTarget; + TargetRec bestTarget; int numBestTargets = 0; - QList bestTargetList; + QList bestTargetList; QString key = Doc::canonicalTitle(target); - TargetMultiMap::iterator i = targetMultiMap_.find(key); - while (i != targetMultiMap_.end()) { + TargetRecMultiMap::iterator i = targetRecMultiMap_.find(key); + while (i != targetRecMultiMap_.end()) { if (i.key() != key) break; - const Target& candidate = i.value(); + const TargetRec& candidate = i.value(); if (candidate.priority_ < bestTarget.priority_) { bestTarget = candidate; bestTargetList.clear(); @@ -808,14 +809,14 @@ const DocNode* QDocDatabase::findDocNodeByTitle(const QString& title, const Node QString QDocDatabase::findTarget(const QString& target, const Node* node) const { QString key = Doc::canonicalTitle(target); - TargetMultiMap::const_iterator i = targetMultiMap_.constFind(key); + TargetRecMultiMap::const_iterator i = targetRecMultiMap_.constFind(key); - if (i != targetMultiMap_.constEnd()) { + if (i != targetRecMultiMap_.constEnd()) { do { if (i.value().node_ == node) return i.value().ref_; ++i; - } while (i != targetMultiMap_.constEnd() && i.key() == key); + } while (i != targetRecMultiMap_.constEnd() && i.key() == key); } return QString(); } @@ -840,7 +841,7 @@ void QDocDatabase::resolveTargets(InnerNode* root) if (child->doc().hasTableOfContents()) { const QList& toc = child->doc().tableOfContents(); - Target target; + TargetRec target; target.node_ = child; target.priority_ = 3; @@ -849,32 +850,32 @@ void QDocDatabase::resolveTargets(InnerNode* root) QString title = Text::sectionHeading(toc.at(i)).toString(); if (!title.isEmpty()) { QString key = Doc::canonicalTitle(title); - targetMultiMap_.insert(key, target); + targetRecMultiMap_.insert(key, target); } } } if (child->doc().hasKeywords()) { const QList& keywords = child->doc().keywords(); - Target target; + TargetRec target; target.node_ = child; target.priority_ = 1; for (int i = 0; i < keywords.size(); ++i) { target.ref_ = refForAtom(keywords.at(i)); QString key = Doc::canonicalTitle(keywords.at(i)->string()); - targetMultiMap_.insert(key, target); + targetRecMultiMap_.insert(key, target); } } if (child->doc().hasTargets()) { const QList& toc = child->doc().targets(); - Target target; + TargetRec target; target.node_ = child; target.priority_ = 2; for (int i = 0; i < toc.size(); ++i) { target.ref_ = refForAtom(toc.at(i)); QString key = Doc::canonicalTitle(toc.at(i)->string()); - targetMultiMap_.insert(key, target); + targetRecMultiMap_.insert(key, target); } } } diff --git a/src/tools/qdoc/qdocdatabase.h b/src/tools/qdoc/qdocdatabase.h index 2a91693c02..d715b71e23 100644 --- a/src/tools/qdoc/qdocdatabase.h +++ b/src/tools/qdoc/qdocdatabase.h @@ -65,21 +65,23 @@ enum FindFlag { NonFunction = 0x4 }; +struct TargetRec +{ + public: + enum Type { Unknown, Target, Keyword, Contents, Class, Function, Page, Subtitle }; + TargetRec() : node_(0), priority_(INT_MAX), type_(Unknown) { } + bool isEmpty() const { return ref_.isEmpty(); } + //void debug(int idx, const QString& key); + Node* node_; + QString ref_; + int priority_; + Type type_; +}; +typedef QMultiMap TargetRecMultiMap; + + class QDocDatabase { - - struct Target - { - public: - Target() : node_(0), priority_(INT_MAX) { } - bool isEmpty() const { return ref_.isEmpty(); } - //void debug(int idx, const QString& key); - Node* node_; - QString ref_; - int priority_; - }; - typedef QMultiMap TargetMultiMap; - public: static QDocDatabase* qdocDB(); static void destroyQdocDB(); @@ -127,7 +129,7 @@ class QDocDatabase const Node* resolveTarget(const QString& target, const Node* relative, const Node* self=0); const Node* findNodeForTarget(const QString& target, const Node* relative); - void insertTarget(const QString& name, Node* node, int priority); + void insertTarget(const QString& name, TargetRec::Type type, Node* node, int priority); /* convenience functions Many of these will be either eliminated or replaced. @@ -226,7 +228,7 @@ class QDocDatabase NodeMapMap funcIndex_; TextToNodeMap legaleseTexts_; DocNodeMultiMap docNodesByTitle_; - TargetMultiMap targetMultiMap_; + TargetRecMultiMap targetRecMultiMap_; }; QT_END_NAMESPACE diff --git a/src/tools/qdoc/qdocindexfiles.cpp b/src/tools/qdoc/qdocindexfiles.cpp index 2db5db3714..fec4f304e3 100644 --- a/src/tools/qdoc/qdocindexfiles.cpp +++ b/src/tools/qdoc/qdocindexfiles.cpp @@ -381,15 +381,15 @@ void QDocIndexFiles::readIndexSection(const QDomElement& element, location = Location(parent->name().toLower() + ".html"); } else if (element.nodeName() == "keyword") { - qdb_->insertTarget(name, parent,1); + qdb_->insertTarget(name, TargetRec::Keyword, parent, 1); return; } else if (element.nodeName() == "target") { - qdb_->insertTarget(name, parent,2); + qdb_->insertTarget(name, TargetRec::Target, parent, 2); return; } else if (element.nodeName() == "contents") { - qdb_->insertTarget(name, parent,3); + qdb_->insertTarget(name, TargetRec::Contents, parent, 3); return; } else From 303ff1bb1267322a730a5e7ac5a71a12d69d906a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 12 Dec 2012 10:43:29 +0100 Subject: [PATCH 181/386] test: Skip tst_QMdiArea::nativeSubWindows() on Windows/ANGLE. Task-number: QTBUG-28545 Change-Id: Ifa698b9efe38654c8f8fbcc184db5d176df7ba47 Reviewed-by: Sergio Ahumada Reviewed-by: Mitch Curtis --- tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp index 5aa7b19917..4bd04d6bee 100644 --- a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp +++ b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp @@ -2594,7 +2594,10 @@ void tst_QMdiArea::nativeSubWindows() const QString platformName = QGuiApplication::platformName(); if (platformName != QLatin1String("xcb") && platformName != QLatin1String("windows")) QSKIP(qPrintable(QString::fromLatin1("nativeSubWindows() does not work on this platform (%1).").arg(platformName))); - +#ifdef QT_OPENGL_ES_2_ANGLE + if (platformName == QLatin1String("windows")) + QSKIP("nativeSubWindows() does not work with ANGLE on Windows, QTBUG-28545."); +#endif { // Add native widgets after show. QMdiArea mdiArea; mdiArea.addSubWindow(new QWidget); From f97c8d40c3eafa4360d6c2e51978c8de551e809a Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Wed, 12 Dec 2012 12:55:21 +0100 Subject: [PATCH 182/386] De-inline all setters in QWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we don't do this, we can have binary compatibility issues later. For example https://codereview.qt-project.org/#change,41700 will change the behavior of setWidth and setHeight to call setSize instead of setGeometry, because we don't want changing the height to also set the position of a window; if x and y are left uninitialized it needs to remember that fact. But if setWidth is left as an inline method, calling setGeometry, then an application which was built with 5.0 would behave differently than an application built with 5.1, even if Qt is upgraded after the application was built. To generalize, setters should never be inlined. Change-Id: I1ec42cb61a45fe541b3f3bb99d1b1ca24ad2a517 Reviewed-by: Samuel Rødal --- src/gui/kernel/qwindow.cpp | 118 ++++++++++++++++++++++--------------- src/gui/kernel/qwindow.h | 43 ++++---------- 2 files changed, 84 insertions(+), 77 deletions(-) diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index b1fd2d3f6b..68687577b3 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -934,11 +934,59 @@ void QWindow::setMinimumSize(const QSize &size) emit minimumHeightChanged(d->minimumSize.height()); } +/*! + \property QWindow::x + \brief the x position of the window's geometry +*/ +void QWindow::setX(int arg) +{ + if (x() != arg) + setGeometry(QRect(arg, y(), width(), height())); +} + +/*! + \property QWindow::y + \brief the y position of the window's geometry +*/ +void QWindow::setY(int arg) +{ + if (y() != arg) + setGeometry(QRect(x(), arg, width(), height())); +} + +/*! + \property QWindow::width + \brief the width of the window's geometry +*/ +void QWindow::setWidth(int arg) +{ + if (width() != arg) + setGeometry(QRect(x(), y(), arg, height())); +} + +/*! + \property QWindow::height + \brief the height of the window's geometry +*/ +void QWindow::setHeight(int arg) +{ + if (height() != arg) + setGeometry(QRect(x(), y(), width(), arg)); +} + +/*! + \property QWindow::minimumWidth + \brief the minimum width of the window's geometry +*/ void QWindow::setMinimumWidth(int w) { setMinimumSize(QSize(w, minimumHeight())); } +/*! + \property QWindow::minimumHeight + \brief the minimum height of the window's geometry +*/ void QWindow::setMinimumHeight(int h) { setMinimumSize(QSize(minimumWidth(), h)); @@ -967,11 +1015,19 @@ void QWindow::setMaximumSize(const QSize &size) emit maximumHeightChanged(d->maximumSize.height()); } +/*! + \property QWindow::maximumWidth + \brief the maximum width of the window's geometry +*/ void QWindow::setMaximumWidth(int w) { setMaximumSize(QSize(w, maximumHeight())); } +/*! + \property QWindow::maximumHeight + \brief the maximum height of the window's geometry +*/ void QWindow::setMaximumHeight(int h) { setMaximumSize(QSize(maximumWidth(), h)); @@ -1020,13 +1076,15 @@ void QWindow::setSizeIncrement(const QSize &size) } /*! - \fn void QWindow::setGeometry(int posx, int posy, int w, int h) - Sets the geometry of the window, excluding its window frame, to a rectangle constructed from \a posx, \a posy, \a w and \a h. \sa geometry() */ +void QWindow::setGeometry(int posx, int posy, int w, int h) +{ + setGeometry(QRect(posx, posy, w, h)); +} /*! \brief Sets the geometry of the window, excluding its window frame, to \a rect. @@ -1057,46 +1115,6 @@ void QWindow::setGeometry(const QRect &rect) emit heightChanged(rect.height()); } -/*! - \property QWindow::x - \brief the x position of the window's geometry -*/ - -/*! - \property QWindow::y - \brief the y position of the window's geometry -*/ - -/*! - \property QWindow::width - \brief the width of the window's geometry -*/ - -/*! - \property QWindow::height - \brief the height of the window's geometry -*/ - -/*! - \property QWindow::minimumWidth - \brief the minimum width of the window's geometry -*/ - -/*! - \property QWindow::minimumHeight - \brief the minimum height of the window's geometry -*/ - -/*! - \property QWindow::maximumWidth - \brief the maximum width of the window's geometry -*/ - -/*! - \property QWindow::maximumHeight - \brief the maximum height of the window's geometry -*/ - /*! Returns the geometry of the window, excluding its window frame. @@ -1172,18 +1190,24 @@ void QWindow::setFramePosition(const QPoint &point) } /*! - \fn void QWindow::setPosition(const QPoint &pt) \brief set the position of the window on the desktop to \a pt \sa position() */ +void QWindow::setPosition(const QPoint &pt) +{ + setGeometry(QRect(pt, size())); +} /*! - \fn void QWindow::setPosition(int posx, int posy) \brief set the position of the window on the desktop to \a posx, \a posy \sa position() */ +void QWindow::setPosition(int posx, int posy) +{ + setPosition(QPoint(posx, posy)); +} /*! \fn QPoint QWindow::position() const @@ -1200,13 +1224,15 @@ void QWindow::setFramePosition(const QPoint &point) */ /*! - \fn void QWindow::resize(int w, int h) - set the size of the window, excluding any window frame, to a QSize constructed from width \a w and height \a h \sa size(), geometry() */ +void QWindow::resize(int w, int h) +{ + resize(QSize(w, h)); +} /*! \brief set the size of the window, excluding any window frame, to \a newSize diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 6dcd4ed477..c1a8e7971a 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -172,10 +172,10 @@ public: bool isExposed() const; - int minimumWidth() const { return minimumSize().width(); } - int minimumHeight() const { return minimumSize().height(); } - int maximumWidth() const { return maximumSize().width(); } - int maximumHeight() const { return maximumSize().height(); } + inline int minimumWidth() const { return minimumSize().width(); } + inline int minimumHeight() const { return minimumSize().height(); } + inline int maximumWidth() const { return maximumSize().width(); } + inline int maximumHeight() const { return maximumSize().height(); } QSize minimumSize() const; QSize maximumSize() const; @@ -187,7 +187,7 @@ public: void setBaseSize(const QSize &size); void setSizeIncrement(const QSize &size); - void setGeometry(int posx, int posy, int w, int h) { setGeometry(QRect(posx, posy, w, h)); } + void setGeometry(int posx, int posy, int w, int h); void setGeometry(const QRect &rect); QRect geometry() const; @@ -205,11 +205,11 @@ public: inline QSize size() const { return geometry().size(); } inline QPoint position() const { return geometry().topLeft(); } - inline void setPosition(const QPoint &pt) { setGeometry(QRect(pt, size())); } - inline void setPosition(int posx, int posy) { setPosition(QPoint(posx, posy)); } + void setPosition(const QPoint &pt); + void setPosition(int posx, int posy); void resize(const QSize &newSize); - inline void resize(int w, int h) { resize(QSize(w, h)); } + void resize(int w, int h); void setFilePath(const QString &filePath); QString filePath() const; @@ -256,29 +256,10 @@ public Q_SLOTS: void setTitle(const QString &); - void setX(int arg) - { - if (x() != arg) - setGeometry(QRect(arg, y(), width(), height())); - } - - void setY(int arg) - { - if (y() != arg) - setGeometry(QRect(x(), arg, width(), height())); - } - - void setWidth(int arg) - { - if (width() != arg) - setGeometry(QRect(x(), y(), arg, height())); - } - - void setHeight(int arg) - { - if (height() != arg) - setGeometry(QRect(x(), y(), width(), arg)); - } + void setX(int arg); + void setY(int arg); + void setWidth(int arg); + void setHeight(int arg); void setMinimumWidth(int w); void setMinimumHeight(int h); From 1ef0470a5c67c76fba1b7ffb21dfd89f3f07dae3 Mon Sep 17 00:00:00 2001 From: Christiaan Janssen Date: Wed, 12 Dec 2012 11:26:04 +0100 Subject: [PATCH 183/386] OpenGL Examples: added example path for QtCreator This was introduced in patch 8534bb3d, then overwritten by c85ca8d1. Change-Id: I6b7489e2b2f3311822c282f50c74bd68c787229d Reviewed-by: hjk --- src/opengl/doc/qtopengl.qdocconf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opengl/doc/qtopengl.qdocconf b/src/opengl/doc/qtopengl.qdocconf index a605e8bd4c..9ba0c1a797 100644 --- a/src/opengl/doc/qtopengl.qdocconf +++ b/src/opengl/doc/qtopengl.qdocconf @@ -23,6 +23,8 @@ imagedirs += images \ depends += qtcore qtgui qtwidgets +examplesinstallpath = opengl + # The following parameters are for creating a qhp file, the qhelpgenerator # program can convert the qhp file into a qch file which can be opened in # Qt Assistant and/or Qt Creator. From 40fb2ea92a906b2c295d978555b25ea2794d4306 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Mon, 10 Dec 2012 21:34:48 +0100 Subject: [PATCH 184/386] Add directwrite support to the configure script The configure.exe already supported the -directwrite flag for some time. This commit adds this flag to the configure script as well so environments which use MinGW as cross-compiler can now also optionally enable DirectWrite support. The original configure.exe pieces were added in commit c0fed43b04dec8bd549043d3ea5e28908128082c of the Qt4 repository. The directwrite argument which this commit adds to the configure script and the behaviour of it should be exactly the same as the current configure.exe. To get Qt built with DirectWrite support using the MinGW-w64 toolchain at least mingw-w64 trunk revision 5451 (Nov 10 2012) is needed Change-Id: I519718068cf5732c7ebcbf0a0fafb6b747db0bcf Reviewed-by: Oswald Buddenhagen --- configure | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/configure b/configure index 341f1977c5..2fbe7a1006 100755 --- a/configure +++ b/configure @@ -874,6 +874,7 @@ CFG_FORCE_ASSERTS=no CFG_PCRE=auto QPA_PLATFORM_GUARD=yes CFG_CXX11=auto +CFG_DIRECTWRITE=no # initalize variables used for installation QT_INSTALL_PREFIX= @@ -2116,6 +2117,17 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; + directwrite) + if [ "$XPLATFORM_MINGW" = "yes" ] ; then + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then + CFG_DIRECTWRITE="$VAL" + else + UNKNOWN_OPT=yes + fi + else + UNKNOWN_OPT=yes + fi + ;; *) UNKNOWN_OPT=yes ;; @@ -5468,6 +5480,7 @@ fi [ "$CFG_XCB" != "no" ] && QT_CONFIG="$QT_CONFIG xcb" [ "$CFG_XINPUT2" = "yes" ] && QT_CONFIG="$QT_CONFIG xinput2" [ "$CFG_SYSTEM_PROXIES" = "yes" ] && QT_CONFIG="$QT_CONFIG system-proxies" +[ "$CFG_DIRECTWRITE" = "yes" ] && QT_CONFIG="$QT_CONFIG directwrite" [ '!' -z "$DEFINES" ] && QMakeVar add DEFINES "$DEFINES" [ '!' -z "$L_FLAGS" ] && QMakeVar add LIBS "$L_FLAGS" @@ -6277,6 +6290,10 @@ echo "FontConfig support ..... $CFG_FONTCONFIG" echo "XKB Support ............ $CFG_XKB" echo "GTK theme support ...... $CFG_QGTKSTYLE" +if [ "$XPLATFORM_MINGW" = "yes" ] ; then + echo "DirectWrite support .... $CFG_DIRECTWRITE" +fi + [ "$CFG_SQL_mysql" != "no" ] && echo "MySQL support .......... $CFG_SQL_mysql" [ "$CFG_SQL_psql" != "no" ] && echo "PostgreSQL support ..... $CFG_SQL_psql" [ "$CFG_SQL_odbc" != "no" ] && echo "ODBC support ........... $CFG_SQL_odbc" From 225a8357776dea2fc469bc51fe8b04092b7e84dd Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Tue, 11 Dec 2012 23:58:19 +0100 Subject: [PATCH 185/386] DirectWrite support on MinGW needs _WIN32_WINNT to be set to 0x0600 The file qwindowsfontenginedirectwrite.cpp uses the Win32 API function GetUserDefaultLocaleName which requires _WIN32_WINNT to be set to 0x0600 as it only became available in Windows Vista Change-Id: I704705d3fc729bb0167121de991d01c957e1e7e4 Reviewed-by: Oswald Buddenhagen --- .../platforms/windows/qwindowsfontenginedirectwrite.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp b/src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp index add36c78cf..83f9e1db74 100644 --- a/src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp +++ b/src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp @@ -41,6 +41,11 @@ #ifndef QT_NO_DIRECTWRITE +#if _WIN32_WINNT < 0x0600 +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x0600 +#endif + #include "qwindowsfontenginedirectwrite.h" #include "qwindowsfontdatabase.h" #include "qwindowscontext.h" From 22c234a34e8af6a26b374ef810630ba9e82c696a Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Sat, 3 Nov 2012 19:21:12 +0100 Subject: [PATCH 186/386] Accessible: Improve value interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The stepSize property was missing in Qt 4 and is a sensible addition to the value interface. Change-Id: I7571800d50ee7e4194c09c4db40300809a1ce45a Reviewed-by: Jan Arve Sæther Reviewed-by: Frederik Gladhorn --- src/gui/accessible/qaccessible2.cpp | 13 +++++ src/gui/accessible/qaccessible2.h | 1 + .../linuxaccessibility/atspiadaptor.cpp | 54 ++++++++----------- .../accessible/widgets/rangecontrols.cpp | 10 ++++ .../accessible/widgets/rangecontrols.h | 2 + .../accessible/widgets/simplewidgets.cpp | 8 +++ .../accessible/widgets/simplewidgets.h | 1 + .../qaccessibility/tst_qaccessibility.cpp | 3 ++ 8 files changed, 60 insertions(+), 32 deletions(-) diff --git a/src/gui/accessible/qaccessible2.cpp b/src/gui/accessible/qaccessible2.cpp index 7f871f9c5a..f21c74e74f 100644 --- a/src/gui/accessible/qaccessible2.cpp +++ b/src/gui/accessible/qaccessible2.cpp @@ -438,6 +438,19 @@ QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible2::Boundar \sa maximumValue(), currentValue() */ +/*! + \fn QVariant QAccessibleValueInterface::minimumStepSize() const + + Returns the minimum step size for the accessible. + This is the smalles increment that makes sense when changing the value. + When programatically changing the value it should always be a multiple + of the minimum step size. + + Some tools use this value even when the setCurrentValue does not + perform any action. Progress bars for example are read-only but + should return their range divided by 100. +*/ + /*! \class QAccessibleImageInterface \inmodule QtGui diff --git a/src/gui/accessible/qaccessible2.h b/src/gui/accessible/qaccessible2.h index e93324b4f8..86a01c0730 100644 --- a/src/gui/accessible/qaccessible2.h +++ b/src/gui/accessible/qaccessible2.h @@ -117,6 +117,7 @@ public: virtual void setCurrentValue(const QVariant &value) = 0; virtual QVariant maximumValue() const = 0; virtual QVariant minimumValue() const = 0; + virtual QVariant minimumStepSize() const = 0; }; class Q_GUI_EXPORT QAccessibleTableCellInterface diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index 6926f546a2..1eda1dfab9 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -1049,7 +1049,7 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) break; } case QAccessible::ValueChanged: { - if (sendObject || sendObject_value_changed) { + if (sendObject || sendObject_value_changed || sendObject_property_change_accessible_value) { QAIPointer iface = QAIPointer(event->accessibleInterface()); Q_ASSERT(iface->valueInterface()); QString path = pathForInterface(iface); @@ -2093,44 +2093,34 @@ bool AtSpiAdaptor::editableTextInterface(const QAIPointer &interface, const QStr // Value interface bool AtSpiAdaptor::valueInterface(const QAIPointer &interface, const QString &function, const QDBusMessage &message, const QDBusConnection &connection) { - if (0) { - } else if (function == QLatin1String("SetCurrentValue")) { + if (function == QLatin1String("SetCurrentValue")) { QDBusVariant v = message.arguments().at(2).value(); double value = v.variant().toDouble(); //Temporary fix //See https://bugzilla.gnome.org/show_bug.cgi?id=652596 interface->valueInterface()->setCurrentValue(value); connection.send(message.createReply()); // FIXME is the reply needed? - } else if (function == QLatin1String("GetCurrentValue")) { - bool success; - double val = interface->valueInterface()->currentValue().toDouble(&success); - if (!success) { - qAtspiDebug ("AtSpiAdaptor::valueInterface: Could not convert current value to double."); - } - connection.send(message.createReply( - QVariant::fromValue(QDBusVariant(QVariant::fromValue(val))))); - } else if (function == QLatin1String("GetMaximumValue")) { - bool success; - double val = interface->valueInterface()->maximumValue().toDouble(&success); - if (!success) { - qAtspiDebug ("AtSpiAdaptor::valueInterface: Could not convert current value to double."); - } - connection.send(message.createReply( - QVariant::fromValue(QDBusVariant(QVariant::fromValue(val))))); - } else if (function == QLatin1String("GetMinimumIncrement")) { - connection.send(message.createReply( - QVariant::fromValue(QDBusVariant(QVariant::fromValue(0.0))))); - } else if (function == QLatin1String("GetMinimumValue")) { - bool success; - double val = interface->valueInterface()->minimumValue().toDouble(&success); - if (!success) { - qAtspiDebug ("AtSpiAdaptor::valueInterface: Could not convert current value to double."); - } - connection.send(message.createReply( - QVariant::fromValue(QDBusVariant(QVariant::fromValue(val))))); } else { - qAtspiDebug() << "WARNING: AtSpiAdaptor::valueInterface does not implement " << function << message.path(); - return false; + QVariant value; + if (function == QLatin1String("GetCurrentValue")) + value = interface->valueInterface()->currentValue(); + else if (function == QLatin1String("GetMaximumValue")) + value = interface->valueInterface()->maximumValue(); + else if (function == QLatin1String("GetMinimumIncrement")) + value = interface->valueInterface()->minimumStepSize(); + else if (function == QLatin1String("GetMinimumValue")) + value = interface->valueInterface()->minimumValue(); + else { + qAtspiDebug() << "WARNING: AtSpiAdaptor::valueInterface does not implement " << function << message.path(); + return false; + } + if (!value.canConvert(QVariant::Double)) + qAtspiDebug() << "AtSpiAdaptor::valueInterface: Could not convert to double: " << function; + + // explicitly convert to dbus-variant containing one double since atspi expects that + // everything else might fail to convert back on the other end + connection.send(message.createReply( + QVariant::fromValue(QDBusVariant(QVariant::fromValue(value.toDouble()))))); } return true; } diff --git a/src/plugins/accessible/widgets/rangecontrols.cpp b/src/plugins/accessible/widgets/rangecontrols.cpp index 954369b6b3..d03130f148 100644 --- a/src/plugins/accessible/widgets/rangecontrols.cpp +++ b/src/plugins/accessible/widgets/rangecontrols.cpp @@ -122,6 +122,11 @@ QVariant QAccessibleAbstractSpinBox::minimumValue() const return abstractSpinBox()->property("minimum"); } +QVariant QAccessibleAbstractSpinBox::minimumStepSize() const +{ + return abstractSpinBox()->property("stepSize"); +} + /*! \class QAccessibleSpinBox \brief The QAccessibleSpinBox class implements the QAccessibleInterface for spinbox widgets. @@ -278,6 +283,11 @@ QVariant QAccessibleAbstractSlider::minimumValue() const return abstractSlider()->minimum(); } +QVariant QAccessibleAbstractSlider::minimumStepSize() const +{ + return abstractSlider()->singleStep(); +} + QAbstractSlider *QAccessibleAbstractSlider::abstractSlider() const { return static_cast(object()); diff --git a/src/plugins/accessible/widgets/rangecontrols.h b/src/plugins/accessible/widgets/rangecontrols.h index b26d97421a..a370ada199 100644 --- a/src/plugins/accessible/widgets/rangecontrols.h +++ b/src/plugins/accessible/widgets/rangecontrols.h @@ -71,6 +71,7 @@ public: void setCurrentValue(const QVariant &value); QVariant maximumValue() const; QVariant minimumValue() const; + QVariant minimumStepSize() const; // FIXME Action interface @@ -110,6 +111,7 @@ public: void setCurrentValue(const QVariant &value); QVariant maximumValue() const; QVariant minimumValue() const; + QVariant minimumStepSize() const; protected: QAbstractSlider *abstractSlider() const; diff --git a/src/plugins/accessible/widgets/simplewidgets.cpp b/src/plugins/accessible/widgets/simplewidgets.cpp index 1bd509dc41..8bf71da6e1 100644 --- a/src/plugins/accessible/widgets/simplewidgets.cpp +++ b/src/plugins/accessible/widgets/simplewidgets.cpp @@ -832,6 +832,14 @@ QVariant QAccessibleProgressBar::minimumValue() const return progressBar()->minimum(); } +QVariant QAccessibleProgressBar::minimumStepSize() const +{ + // This is arbitrary since any value between min and max is valid. + // Some screen readers (orca use it to calculate how many digits to display though, + // so it makes sense to return a "sensible" value. Providing 100 increments seems ok. + return (progressBar()->maximum() - progressBar()->minimum()) / 100.0; +} + QProgressBar *QAccessibleProgressBar::progressBar() const { return qobject_cast(object()); diff --git a/src/plugins/accessible/widgets/simplewidgets.h b/src/plugins/accessible/widgets/simplewidgets.h index 2e1bca88b4..dbea8d4f09 100644 --- a/src/plugins/accessible/widgets/simplewidgets.h +++ b/src/plugins/accessible/widgets/simplewidgets.h @@ -188,6 +188,7 @@ public: QVariant currentValue() const; QVariant maximumValue() const; QVariant minimumValue() const; + QVariant minimumStepSize() const; inline void setCurrentValue(const QVariant &) {} protected: diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index 242dacb55e..ba173dff81 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -453,6 +453,7 @@ void tst_QAccessibility::sliderTest() QVERIFY(valueIface != 0); QCOMPARE(valueIface->minimumValue().toInt(), slider->minimum()); QCOMPARE(valueIface->maximumValue().toInt(), slider->maximum()); + QCOMPARE(valueIface->minimumStepSize().toInt(), slider->singleStep()); slider->setValue(50); QCOMPARE(valueIface->currentValue().toInt(), slider->value()); slider->setValue(0); @@ -461,6 +462,8 @@ void tst_QAccessibility::sliderTest() QCOMPARE(valueIface->currentValue().toInt(), slider->value()); valueIface->setCurrentValue(77); QCOMPARE(77, slider->value()); + slider->setSingleStep(2); + QCOMPARE(valueIface->minimumStepSize().toInt(), 2); delete slider; } From 8e36b8de02548310570ea6b45a68801d0f035880 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 11 Dec 2012 22:08:15 +0100 Subject: [PATCH 187/386] mark a bunch of features as internal Change-Id: I5ad28827ff317985414e859263af85ceec31207c Reviewed-by: Stephen Kelly --- mkspecs/features/create_cmake.prf | 10 ++++++++++ mkspecs/features/dbuscommon.pri | 11 +++++++++++ mkspecs/features/qml1_module.prf | 11 +++++++++++ mkspecs/features/qml1_plugin.prf | 11 +++++++++++ mkspecs/features/qml_module.prf | 11 +++++++++++ mkspecs/features/qml_plugin.prf | 11 +++++++++++ mkspecs/features/qt_build_config.prf | 11 +++++++++++ mkspecs/features/qt_build_paths.prf | 11 +++++++++++ mkspecs/features/qt_docs.prf | 11 +++++++++++ mkspecs/features/qt_docs_targets.prf | 11 +++++++++++ mkspecs/features/qt_example_installs.prf | 11 +++++++++++ mkspecs/features/qt_installs.prf | 11 +++++++++++ mkspecs/features/qt_module.prf | 11 +++++++++++ mkspecs/features/qt_module_fwdpri.prf | 11 +++++++++++ mkspecs/features/qt_module_headers.prf | 11 +++++++++++ mkspecs/features/qt_parts.prf | 11 +++++++++++ mkspecs/features/qt_plugin.prf | 11 +++++++++++ mkspecs/features/qt_tool.prf | 11 +++++++++++ mkspecs/features/resolve_target.prf | 11 +++++++++++ mkspecs/features/simd.prf | 11 +++++++++++ 20 files changed, 219 insertions(+) diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index 29c8cadfff..8c8079b3bd 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -1,3 +1,13 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# defineReplace(cmakeModuleName) { _module = $$1 diff --git a/mkspecs/features/dbuscommon.pri b/mkspecs/features/dbuscommon.pri index fce2d04967..4608fb6ca2 100644 --- a/mkspecs/features/dbuscommon.pri +++ b/mkspecs/features/dbuscommon.pri @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(moc) qtPrepareTool(QMAKE_QDBUSXML2CPP, qdbusxml2cpp) diff --git a/mkspecs/features/qml1_module.prf b/mkspecs/features/qml1_module.prf index 8bacddc549..33c3e44808 100644 --- a/mkspecs/features/qml1_module.prf +++ b/mkspecs/features/qml1_module.prf @@ -1,2 +1,13 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + CONFIG += qml1_target load(qml_module) diff --git a/mkspecs/features/qml1_plugin.prf b/mkspecs/features/qml1_plugin.prf index 2914c78ea3..cb1f0ce267 100644 --- a/mkspecs/features/qml1_plugin.prf +++ b/mkspecs/features/qml1_plugin.prf @@ -1,2 +1,13 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + CONFIG += qml1_target load(qml_plugin) diff --git a/mkspecs/features/qml_module.prf b/mkspecs/features/qml_module.prf index a452592c9b..e7d0b386b1 100644 --- a/mkspecs/features/qml_module.prf +++ b/mkspecs/features/qml_module.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + equals(TEMPLATE, app): TEMPLATE = aux isEmpty(TARGETPATH): error("Must set TARGETPATH (QML import name)") diff --git a/mkspecs/features/qml_plugin.prf b/mkspecs/features/qml_plugin.prf index c700dda41f..7abd372e49 100644 --- a/mkspecs/features/qml_plugin.prf +++ b/mkspecs/features/qml_plugin.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_config) TEMPLATE = lib diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf index df07630ffa..48d6001aa9 100644 --- a/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) { QMAKE_QT_MODULE = $$[QT_HOST_DATA/get]/mkspecs/qmodule.pri !exists($$QMAKE_QT_MODULE)|!include($$QMAKE_QT_MODULE, "", true) { diff --git a/mkspecs/features/qt_build_paths.prf b/mkspecs/features/qt_build_paths.prf index 5f6f08c3db..123c87de3b 100644 --- a/mkspecs/features/qt_build_paths.prf +++ b/mkspecs/features/qt_build_paths.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + # Find the module's source root dir. isEmpty(_QMAKE_CONF_): error("Project has no top-level .qmake.conf file.") MODULE_PROFILE_DIR = $$dirname(_QMAKE_CONF_) diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf index d195004077..99759c6da1 100644 --- a/mkspecs/features/qt_docs.prf +++ b/mkspecs/features/qt_docs.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !exists($$QMAKE_DOCS): error("Cannot find documentation specification file $$QMAKE_DOCS") load(qt_build_paths) diff --git a/mkspecs/features/qt_docs_targets.prf b/mkspecs/features/qt_docs_targets.prf index 1af9fd9019..89f080cc5e 100644 --- a/mkspecs/features/qt_docs_targets.prf +++ b/mkspecs/features/qt_docs_targets.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + DOC_TARGETS = \ install_html_docs uninstall_html_docs \ install_qch_docs uninstall_qch_docs \ diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf index de1176ef96..5417469909 100644 --- a/mkspecs/features/qt_example_installs.prf +++ b/mkspecs/features/qt_example_installs.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples) !isEmpty(probase):!contains(probase, ^\\..*) { for(ex, EXAMPLE_FILES): \ diff --git a/mkspecs/features/qt_installs.prf b/mkspecs/features/qt_installs.prf index 0e860cccca..cc720ac8c0 100644 --- a/mkspecs/features/qt_installs.prf +++ b/mkspecs/features/qt_installs.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + #library !qt_no_install_library { win32 { diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index ad8d9aab55..cb799711c9 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !no_qt_module_warning:!contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) { QMAKE_ACTUAL_PRO_FILE = $$basename(_PRO_FILE_) isEmpty(QMAKE_ACTUAL_PRO_FILE): QMAKE_ACTUAL_PRO_FILE=.pro diff --git a/mkspecs/features/qt_module_fwdpri.prf b/mkspecs/features/qt_module_fwdpri.prf index 0b203b5a90..ce0b09d616 100644 --- a/mkspecs/features/qt_module_fwdpri.prf +++ b/mkspecs/features/qt_module_fwdpri.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !build_pass { load(qt_build_paths) diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf index 6acff23460..10d3fe3c0b 100644 --- a/mkspecs/features/qt_module_headers.prf +++ b/mkspecs/features/qt_module_headers.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_paths) !build_pass { diff --git a/mkspecs/features/qt_parts.prf b/mkspecs/features/qt_parts.prf index 75fa2966bc..12ba312bcd 100644 --- a/mkspecs/features/qt_parts.prf +++ b/mkspecs/features/qt_parts.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_config) TEMPLATE = subdirs diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index f547e2d1eb..e58a6d2679 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_paths) isEmpty(PLUGIN_TYPE): error("PLUGIN_TYPE (plugins/ subdirectory) needs to be defined.") diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf index 3510582c8e..f665479795 100644 --- a/mkspecs/features/qt_tool.prf +++ b/mkspecs/features/qt_tool.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + TEMPLATE = app load(qt_build_paths) diff --git a/mkspecs/features/resolve_target.prf b/mkspecs/features/resolve_target.prf index 455dd3b985..c60faf22c0 100644 --- a/mkspecs/features/resolve_target.prf +++ b/mkspecs/features/resolve_target.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + QMAKE_RESOLVED_TARGET = $$absolute_path($$DESTDIR, $$OUT_PWD)/ win32 { diff --git a/mkspecs/features/simd.prf b/mkspecs/features/simd.prf index 6d729a66a7..b430e59ff0 100644 --- a/mkspecs/features/simd.prf +++ b/mkspecs/features/simd.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + # Get the SIMD flags load(qt_build_config) From bf178c77dda1db56ae698c1d31a6e3f685f4830f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 11 Dec 2012 13:47:26 +0100 Subject: [PATCH 188/386] QMenu: Do not set snapToMouse if a caused-widget exists. When clicking at the bottom-right corner of a menu in a menu bar, it appears at the wrong position. Add test and stabilize RTL-tests by making sure the layout direction is cleared should they fail. Task-number: QTBUG-28031 Task-number: QTBUG-2596 Change-Id: Ibc5ae916388753908e9f3ee98e8859faaa0c8723 Reviewed-by: Olivier Goffart --- src/widgets/widgets/qmenu.cpp | 2 +- .../widgets/widgets/qmenubar/tst_qmenubar.cpp | 41 +++++++++++++++++-- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/src/widgets/widgets/qmenu.cpp b/src/widgets/widgets/qmenu.cpp index 4d431868ac..17f9ca7911 100644 --- a/src/widgets/widgets/qmenu.cpp +++ b/src/widgets/widgets/qmenu.cpp @@ -1856,7 +1856,7 @@ void QMenu::popup(const QPoint &p, QAction *atAction) QPoint mouse = QCursor::pos(); d->mousePopupPos = mouse; - const bool snapToMouse = (QRect(p.x() - 3, p.y() - 3, 6, 6).contains(mouse)); + const bool snapToMouse = !d->causedPopup.widget && (QRect(p.x() - 3, p.y() - 3, 6, 6).contains(mouse)); const QSize menuSize(sizeHint()); if (adjustToDesktop) { diff --git a/tests/auto/widgets/widgets/qmenubar/tst_qmenubar.cpp b/tests/auto/widgets/widgets/qmenubar/tst_qmenubar.cpp index 2535e23ab8..3aefe26b1c 100644 --- a/tests/auto/widgets/widgets/qmenubar/tst_qmenubar.cpp +++ b/tests/auto/widgets/widgets/qmenubar/tst_qmenubar.cpp @@ -1016,6 +1016,25 @@ void tst_QMenuBar::check_shortcutPress() } #endif +class LayoutDirectionSaver +{ + Q_DISABLE_COPY(LayoutDirectionSaver) +public: + explicit LayoutDirectionSaver(Qt::LayoutDirection direction) + : m_oldDirection(qApp->layoutDirection()) + { + qApp->setLayoutDirection(direction); + } + + ~LayoutDirectionSaver() + { + qApp->setLayoutDirection(m_oldDirection); + } + +private: + const Qt::LayoutDirection m_oldDirection; +}; + // Qt/Mac,WinCE does not use the native popups/menubar #if !defined(Q_OS_MAC) && !defined(Q_OS_WINCE) void tst_QMenuBar::check_menuPosition() @@ -1070,10 +1089,9 @@ void tst_QMenuBar::check_menuPosition() menu.close(); } - //in RTL, the menu should be stuck at the right of the action geometry + // QTBUG-2596: in RTL, the menu should be stuck at the right of the action geometry { - Qt::LayoutDirection dir = qApp->layoutDirection(); - qApp->setLayoutDirection(Qt::RightToLeft); + LayoutDirectionSaver directionSaver(Qt::RightToLeft); menu.clear(); QObject::connect(&menu, SIGNAL(aboutToShow()), &menu, SLOT(addActions())); QRect mbItemRect = mw->menuBar()->actionGeometry(menu_action); @@ -1082,8 +1100,23 @@ void tst_QMenuBar::check_menuPosition() QVERIFY(menu.isActiveWindow()); QCOMPARE(menu.geometry().right(), mbItemRect.right()); menu.close(); - qApp->setLayoutDirection(dir); } + +# ifndef QTEST_NO_CURSOR + // QTBUG-28031: Click at bottom-right corner. + { + mw->move(400, 200); + LayoutDirectionSaver directionSaver(Qt::RightToLeft); + QMenuBar *mb = mw->menuBar(); + const QPoint localPos = mb->actionGeometry(menu.menuAction()).bottomRight() - QPoint(1, 1); + const QPoint globalPos = mb->mapToGlobal(localPos); + QCursor::setPos(globalPos); + QTest::mouseClick(mb, Qt::LeftButton, 0, localPos); + QTRY_VERIFY(menu.isActiveWindow()); + QCOMPARE(menu.geometry().right() - 1, globalPos.x()); + menu.close(); + } +# endif // QTEST_NO_CURSOR } #endif From 76ce3e6419f9b816359c0995ac7f1828e9291d7e Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 12 Dec 2012 17:16:54 +0100 Subject: [PATCH 189/386] Fix QWidget::setWindowOpacity() when called before show(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pass opacity from the QWidget to QWindow and to the platform windows. Task-number: QTBUG-28477 Change-Id: If5a85d9183bd1ca33dac2052936ecd1e6c0b5f6c Reviewed-by: Samuel Rødal --- src/gui/kernel/qwindow.cpp | 6 ++++-- src/gui/kernel/qwindow_p.h | 2 ++ src/plugins/platforms/cocoa/qcocoawindow.mm | 5 +++++ src/plugins/platforms/windows/qwindowswindow.cpp | 3 +++ src/plugins/platforms/xcb/qxcbwindow.cpp | 4 ++++ src/widgets/kernel/qwidget.cpp | 3 +-- 6 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 68687577b3..b6d592e050 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -654,9 +654,11 @@ void QWindow::lower() void QWindow::setOpacity(qreal level) { Q_D(QWindow); - if (d->platformWindow) { + if (level == d->opacity) // #fixme: Add property for 5.1 + return; + d->opacity = level; + if (d->platformWindow) d->platformWindow->setOpacity(level); - } } /*! diff --git a/src/gui/kernel/qwindow_p.h b/src/gui/kernel/qwindow_p.h index 93179d99b6..305888d02c 100644 --- a/src/gui/kernel/qwindow_p.h +++ b/src/gui/kernel/qwindow_p.h @@ -89,6 +89,7 @@ public: , receivedExpose(false) , positionPolicy(WindowFrameExclusive) , contentOrientation(Qt::PrimaryOrientation) + , opacity(qreal(1.0)) , minimumSize(0, 0) , maximumSize(QWINDOWSIZE_MAX, QWINDOWSIZE_MAX) , modality(Qt::NonModal) @@ -135,6 +136,7 @@ public: bool receivedExpose; PositionPolicy positionPolicy; Qt::ScreenOrientation contentOrientation; + qreal opacity; QSize minimumSize; QSize maximumSize; diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm index ffee8528f0..b545844a24 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.mm +++ b/src/plugins/platforms/cocoa/qcocoawindow.mm @@ -49,6 +49,7 @@ #include #include #include +#include #include #include @@ -649,6 +650,10 @@ void QCocoaWindow::recreateWindow(const QPlatformWindow *parentWindow) NSRect frame = NSMakeRect(rect.x(), rect.y(), rect.width(), rect.height()); [m_contentView setFrame:frame]; } + + const qreal opacity = qt_window_private(window())->opacity; + if (!qFuzzyCompare(opacity, qreal(1.0))) + setOpacity(opacity); } NSWindow * QCocoaWindow::createNSWindow() diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp index 1f6253438f..2f2588bc4a 100644 --- a/src/plugins/platforms/windows/qwindowswindow.cpp +++ b/src/plugins/platforms/windows/qwindowswindow.cpp @@ -731,6 +731,9 @@ QWindowsWindow::QWindowsWindow(QWindow *aWindow, const WindowData &data) : if (QWindowsContext::instance()->systemInfo() & QWindowsContext::SI_SupportsTouch) QWindowsContext::user32dll.registerTouchWindow(m_data.hwnd, 0); setWindowState(aWindow->windowState()); + const qreal opacity = qt_window_private(aWindow)->opacity; + if (!qFuzzyCompare(opacity, qreal(1.0))) + setOpacity(opacity); } QWindowsWindow::~QWindowsWindow() diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 0db4176607..23e59f0735 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -385,6 +385,10 @@ void QXcbWindow::create() #ifndef QT_NO_DRAGANDDROP connection()->drag()->dndEnable(this, true); #endif + + const qreal opacity = qt_window_private(window())->opacity; + if (!qFuzzyCompare(opacity, qreal(1.0))) + setOpacity(opacity); } QXcbWindow::~QXcbWindow() diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 232524bbb2..ab7330594f 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -10266,6 +10266,7 @@ void QWidget::setWindowOpacity(qreal opacity) QTLWExtra *extra = d->topData(); extra->opacity = uint(opacity * 255); setAttribute(Qt::WA_WState_WindowOpacitySet); + d->setWindowOpacity_sys(opacity); if (!testAttribute(Qt::WA_WState_Created)) return; @@ -10280,8 +10281,6 @@ void QWidget::setWindowOpacity(qreal opacity) return; } #endif - - d->setWindowOpacity_sys(opacity); } /*! From e262f221aa706146b4c1349dc0ced3ea59108e18 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 12 Dec 2012 16:56:53 +0100 Subject: [PATCH 190/386] Docs: Fix references Change-Id: I48173186afb874d307010f4f303d0e4f97ec0287 Reviewed-by: Jerome Pasion --- examples/widgets/doc/src/plugandpaint.qdoc | 2 +- src/corelib/itemmodels/qabstractitemmodel.cpp | 2 +- src/corelib/itemmodels/qsortfilterproxymodel.cpp | 4 ++-- src/corelib/kernel/qobject.cpp | 6 +++--- src/corelib/kernel/qtimer.cpp | 6 +++--- src/corelib/tools/qregexp.cpp | 4 ++-- src/network/doc/src/ssl.qdoc | 4 ++-- src/opengl/qgl_qpa.cpp | 3 ++- src/testlib/qtestcase.cpp | 5 +++-- 9 files changed, 19 insertions(+), 17 deletions(-) diff --git a/examples/widgets/doc/src/plugandpaint.qdoc b/examples/widgets/doc/src/plugandpaint.qdoc index 86fc202974..cf068e92c3 100644 --- a/examples/widgets/doc/src/plugandpaint.qdoc +++ b/examples/widgets/doc/src/plugandpaint.qdoc @@ -48,7 +48,7 @@ through plugins, we recommend that you start by reading this overview, which explains how to make an application use plugins. Afterward, you can read the - \l{plugandpaintplugins/basictools}{Basic Tools} and + \l{tools/plugandpaintplugins/basictools}{Basic Tools} and \l{plugandpaintplugins/extrafilters}{Extra Filters} overviews, which show how to implement static and dynamic plugins, respectively. diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index e2361e11f9..db1db9aaed 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -1437,7 +1437,7 @@ QAbstractItemModel::~QAbstractItemModel() For example: - \snippet itemviews/simpledommodel/dommodel.cpp 2 + \snippet ../widgets/itemviews/simpledommodel/dommodel.cpp 2 \note When implementing a table based model, columnCount() should return 0 when the parent is valid. diff --git a/src/corelib/itemmodels/qsortfilterproxymodel.cpp b/src/corelib/itemmodels/qsortfilterproxymodel.cpp index 6ab32a9366..857054558f 100644 --- a/src/corelib/itemmodels/qsortfilterproxymodel.cpp +++ b/src/corelib/itemmodels/qsortfilterproxymodel.cpp @@ -1616,7 +1616,7 @@ void QSortFilterProxyModelPrivate::_q_sourceColumnsMoved( QSortFilterProxyModel and reimplementing lessThan(), which is used to compare items. For example: - \snippet itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 5 + \snippet ../widgets/itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 5 (This code snippet comes from the \l{itemviews/customsortfiltermodel}{Custom Sort/Filter Model} @@ -1659,7 +1659,7 @@ void QSortFilterProxyModelPrivate::_q_sourceColumnsMoved( the \l{QSortFilterProxyModel::filterKeyColumn}{filterKeyColumn} property and performs filtering on columns 0, 1, and 2: - \snippet itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 3 + \snippet ../widgets/itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp 3 (This code snippet comes from the \l{itemviews/customsortfiltermodel}{Custom Sort/Filter Model} diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 9d0854f3a9..0a3db0cd06 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -1945,7 +1945,7 @@ void QObject::deleteLater() is available. Example: - \snippet mainwindows/sdi/mainwindow.cpp implicit tr context + \snippet ../widgets/mainwindows/sdi/mainwindow.cpp implicit tr context \dots If the same \a sourceText is used in different roles within the @@ -3864,9 +3864,9 @@ QDebug operator<<(QDebug dbg, const QObject *o) { Example: - \snippet tools/plugandpaintplugins/basictools/basictoolsplugin.h 1 + \snippet ../widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h 1 \dots - \snippet tools/plugandpaintplugins/basictools/basictoolsplugin.h 3 + \snippet ../widgets/tools/plugandpaintplugins/basictools/basictoolsplugin.h 3 See the \l{tools/plugandpaintplugins/basictools}{Plug & Paint Basic Tools} example for details. diff --git a/src/corelib/kernel/qtimer.cpp b/src/corelib/kernel/qtimer.cpp index 9dea666363..9126d7ea17 100644 --- a/src/corelib/kernel/qtimer.cpp +++ b/src/corelib/kernel/qtimer.cpp @@ -62,9 +62,9 @@ QT_BEGIN_NAMESPACE Example for a one second (1000 millisecond) timer (from the \l{widgets/analogclock}{Analog Clock} example): - \snippet widgets/analogclock/analogclock.cpp 4 - \snippet widgets/analogclock/analogclock.cpp 5 - \snippet widgets/analogclock/analogclock.cpp 6 + \snippet ../widgets/widgets/analogclock/analogclock.cpp 4 + \snippet ../widgets/widgets/analogclock/analogclock.cpp 5 + \snippet ../widgets/widgets/analogclock/analogclock.cpp 6 From then on, the \c update() slot is called every second. diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp index 4d73fc7478..e441d5320b 100644 --- a/src/corelib/tools/qregexp.cpp +++ b/src/corelib/tools/qregexp.cpp @@ -3920,7 +3920,7 @@ static void invalidateEngine(QRegExpPrivate *priv) \value Wildcard This provides a simple pattern matching syntax similar to that used by shells (command interpreters) for "file - globbing". See \l{Wildcard Matching}. + globbing". See \l{QRegExp wildcard matching}. \value WildcardUnix This is similar to Wildcard but with the behavior of a Unix shell. The wildcard characters can be escaped @@ -4150,7 +4150,7 @@ QRegExp::PatternSyntax QRegExp::patternSyntax() const QRegExp::RegExp. Setting \a syntax to QRegExp::Wildcard enables simple shell-like - \l{wildcard matching}. For example, \b{r*.txt} matches the + \l{QRegExp wildcard matching}. For example, \b{r*.txt} matches the string \c{readme.txt} in wildcard mode, but does not match \c{readme}. diff --git a/src/network/doc/src/ssl.qdoc b/src/network/doc/src/ssl.qdoc index 0797e3f91b..751c7cd668 100644 --- a/src/network/doc/src/ssl.qdoc +++ b/src/network/doc/src/ssl.qdoc @@ -33,8 +33,8 @@ \keyword SSL The classes below provide support for secure network communication using - the Secure Sockets Layer (SSL) protocol, using the \l{www.openssl.org}{OpenSSL Toolkit} to - perform encryption and protocol handling. + the Secure Sockets Layer (SSL) protocol, using the OpenSSL Toolkit (\l{http://www.openssl.org/}) + to perform encryption and protocol handling. See the \l{General Qt Requirements} page for information about the versions of OpenSSL that are known to work with Qt. diff --git a/src/opengl/qgl_qpa.cpp b/src/opengl/qgl_qpa.cpp index 0e8b8abb4f..88736ecdb7 100644 --- a/src/opengl/qgl_qpa.cpp +++ b/src/opengl/qgl_qpa.cpp @@ -421,7 +421,8 @@ QOpenGLContext *QGLContext::contextHandle() const } /*! - Returns a OpenGL context for the window context specified by \a windowContext + Returns a OpenGL context for the window context specified by the \a context + parameter. */ QGLContext *QGLContext::fromOpenGLContext(QOpenGLContext *context) { diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index d4266c0f9d..2bfd3412c7 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -185,7 +185,7 @@ QT_BEGIN_NAMESPACE \relates QTest - Invokes QTRY_VERIFY_WITH_TIMEOUT() with a timeout of five seconds. + Checks the \a condition by invoking QTRY_VERIFY_WITH_TIMEOUT() with a timeout of five seconds. \note This macro can only be used in a test function that is invoked by the test framework. @@ -215,7 +215,8 @@ QT_BEGIN_NAMESPACE \relates QTest - Invokes QTRY_COMPARE_WITH_TIMEOUT() with a timeout of five seconds. + Performs a comparison of the \a actual and \a expected values by + invoking QTRY_COMPARE_WITH_TIMEOUT() with a timeout of five seconds. \note This macro can only be used in a test function that is invoked by the test framework. From 692de02818d574dbfb510ed66ee358fa9af5a36a Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 11 Dec 2012 22:22:23 +0100 Subject: [PATCH 191/386] add some docu about the project loading sequence Change-Id: Icb6bb58247724aeb6b9433a8d032718f1ba4babe Reviewed-by: Joerg Bornemann --- mkspecs/features/default_post.prf | 2 ++ mkspecs/features/default_pre.prf | 4 ++++ mkspecs/features/device_config.prf | 2 ++ mkspecs/features/qt_config.prf | 2 ++ mkspecs/features/spec_post.prf | 6 ++++++ mkspecs/features/spec_pre.prf | 4 ++++ 6 files changed, 20 insertions(+) diff --git a/mkspecs/features/default_post.prf b/mkspecs/features/default_post.prf index 5359953d90..3afab5240e 100644 --- a/mkspecs/features/default_post.prf +++ b/mkspecs/features/default_post.prf @@ -1,3 +1,5 @@ +# This file is loaded by qmake right after loading the actual project file. + contains(TEMPLATE, ".*(lib|app)"):CONFIG += have_target !have_target:!force_qt: CONFIG -= qt diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf index b6019047d1..4323910e4a 100644 --- a/mkspecs/features/default_pre.prf +++ b/mkspecs/features/default_pre.prf @@ -1,3 +1,7 @@ +# This file is loaded by qmake right before each actual project file. +# Note that evaluating variable assignments from the command line +# still happens in between these two steps. + load(exclusive_builds) CONFIG = \ lex yacc warn_on debug exceptions depend_includepath \ diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf index a4dd6253cc..cb1de0b947 100644 --- a/mkspecs/features/device_config.prf +++ b/mkspecs/features/device_config.prf @@ -1,3 +1,5 @@ +# This file is loaded by some qmakespecs to get early configuration data. + # Load generated qdevice.pri DEVICE_PRI = $$[QT_HOST_DATA/get]/mkspecs/qdevice.pri exists($$DEVICE_PRI):include($$DEVICE_PRI) diff --git a/mkspecs/features/qt_config.prf b/mkspecs/features/qt_config.prf index 3b2b62e139..061399d78c 100644 --- a/mkspecs/features/qt_config.prf +++ b/mkspecs/features/qt_config.prf @@ -1,3 +1,5 @@ +# This file is loaded as one of the last things by all qmakespecs. + QMAKE_QT_CONFIG = $$[QT_HOST_DATA/get]/mkspecs/qconfig.pri !exists($$QMAKE_QT_CONFIG)|!include($$QMAKE_QT_CONFIG, "", true) { debug(1, "Cannot load qconfig.pri!") diff --git a/mkspecs/features/spec_post.prf b/mkspecs/features/spec_post.prf index a58690e8a6..46a512bf17 100644 --- a/mkspecs/features/spec_post.prf +++ b/mkspecs/features/spec_post.prf @@ -1,3 +1,9 @@ +# This file is loaded by qmake right after loading the qmakespec. +# Afterwards, the project's .qmake.conf and .qmake.cache are loaded +# (if present). +# Note that up to this point, nothing specific to a particular SUBDIRS +# project or build pass can be done. + isEmpty(MAKEFILE_GENERATOR):error("Qmake spec does not set MAKEFILE_GENERATOR.") isEmpty(QMAKE_PLATFORM) { isEmpty(TARGET_PLATFORM) { diff --git a/mkspecs/features/spec_pre.prf b/mkspecs/features/spec_pre.prf index 14e3ac90de..844fa35579 100644 --- a/mkspecs/features/spec_pre.prf +++ b/mkspecs/features/spec_pre.prf @@ -1,3 +1,7 @@ +# This file is loaded by qmake right before loading the qmakespec. +# At this point, the built-in variables have been set up and the project's +# .qmake.super was read (if present). + QMAKE_DIR_SEP = $$DIR_SEPARATOR QMAKE_DIRLIST_SEP = $$DIRLIST_SEPARATOR From a8b7553e469be7af7c8380954e7efebf380b8fa8 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 12 Dec 2012 12:06:21 +0100 Subject: [PATCH 192/386] remove phonon vestiges Change-Id: Id345fdd986dd60d4e7212fde265bd7357794bd9a Reviewed-by: Joerg Bornemann --- bin/syncqt | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bin/syncqt b/bin/syncqt index 01a24ad9df..ff55a9a8f1 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -291,8 +291,7 @@ sub classNames { foreach my $symbol (@symbols) { $symbol = (join("::", @namespaces) . "::" . $symbol) if (scalar @namespaces); - if ($symbol =~ /^Q[^:]*$/ # no-namespace, starting with Q - || $symbol =~ /^Phonon::/) { # or in the Phonon namespace + if ($symbol =~ /^Q[^:]*$/) { # no-namespace, starting with Q push @ret, $symbol; } elsif (defined($publicclassregexp)) { push @ret, $symbol if ($symbol =~ $publicclassregexp); @@ -946,11 +945,6 @@ foreach my $lib (@modules_to_sync) { $class_lib_map_contents .= "QT_CLASS_LIB($full_class, $lib, $header_base)\n"; $header_copies++ if(syncHeader($lib, "$out_basedir/include/$lib/$class", "$out_basedir/include/$lib/$header", 0, $ts)); } - - # KDE-Compat headers for Phonon - if ($lib eq "phonon") { - $header_copies++ if (syncHeader($lib, "$out_basedir/include/phonon_compat/Phonon/$class", "$out_basedir/include/$lib/$header", 0, $ts)); - } } if ($explicitheaders{$lib}{basename($header)}) { @@ -1094,11 +1088,6 @@ foreach my $lib (@modules_to_sync) { $pri_install_files .= fixPaths($vheader, $dir) . " "; $pri_install_classes .= fixPaths($VHeader, $dir) . " "; - # KDE-Compat master header for Phonon - if ($lib eq "phonon") { - syncHeader($lib, "$out_basedir/include/phonon_compat/Phonon/Phonon", "$out_basedir/include/phonon/phonon", 0); - } - #handle the headers.pri for each module my $headers_pri_contents = ""; $headers_pri_contents .= "SYNCQT.HEADER_FILES = $pri_install_files\n"; From cc90d4a563c070a58dadba7f0e98f252a080d225 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 12 Dec 2012 12:16:09 +0100 Subject: [PATCH 193/386] fix installation of aux headers the source paths need to be made relative to the main source dir Change-Id: I98d74eca7e54d1179ab602bb87b96b66f3193ce4 Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- bin/syncqt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/syncqt b/bin/syncqt index ff55a9a8f1..ac81b0a8e2 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -964,7 +964,7 @@ foreach my $lib (@modules_to_sync) { if($public_header) { #deal with the install directives if($public_header) { - my $pri_install_iheader = fixPaths($iheader, $current_dir); + my $pri_install_iheader = fixPaths($iheader, $dir); foreach my $class (@classes) { # Strip namespaces: $class =~ s/^.*:://; @@ -972,23 +972,24 @@ foreach my $lib (@modules_to_sync) { # $class =~ s,::,/,g; # } my $class_header = fixPaths("$out_basedir/include/$lib/$class", - $current_dir) . " "; + $dir) . " "; $pri_install_classes .= $class_header unless($pri_install_classes =~ $class_header); } if ($explicitheaders{$lib}{basename($iheader)}) { - my $compat_header = fixPaths("$out_basedir/include/$lib/$explicitheaders{$lib}{basename($iheader)}", $current_dir) . " "; + my $compat_header = fixPaths("$out_basedir/include/$lib/$explicitheaders{$lib}{basename($iheader)}", + $dir) . " "; $pri_install_files .= $compat_header unless($pri_install_files =~ $compat_header); } $pri_install_files.= "$pri_install_iheader ";; } } elsif ($qpa_header) { - my $pri_install_iheader = fixPaths($iheader, $current_dir); + my $pri_install_iheader = fixPaths($iheader, $dir); $pri_install_qpafiles.= "$pri_install_iheader ";; } else { - my $pri_install_iheader = fixPaths($iheader, $current_dir); + my $pri_install_iheader = fixPaths($iheader, $dir); $pri_install_pfiles.= "$pri_install_iheader ";; } } From 7b507c581ccf345efcb3ba9c757d8d06bb5e4349 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Sun, 25 Nov 2012 12:18:58 +0100 Subject: [PATCH 194/386] Fix some WS errors Fix whitespace errors in qabstractsocket.cpp and qlocalsocket_win.cpp Change-Id: Ifd0cb86a8e63a1d0ef8a5846a7f893acf9f63542 Reviewed-by: Thiago Macieira Reviewed-by: Oswald Buddenhagen --- src/network/socket/qabstractsocket.cpp | 4 ++-- src/network/socket/qlocalsocket_win.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp index 5ff7da9e9d..124f15e586 100644 --- a/src/network/socket/qabstractsocket.cpp +++ b/src/network/socket/qabstractsocket.cpp @@ -195,7 +195,7 @@ \fn void QAbstractSocket::disconnected() This signal is emitted when the socket has been disconnected. - + \warning If you need to delete the sender() of this signal in a slot connected to it, use the \l{QObject::deleteLater()}{deleteLater()} function. @@ -639,7 +639,7 @@ bool QAbstractSocketPrivate::initSocketLayer(QAbstractSocket::NetworkLayerProtoc socketEngine->errorString().toLatin1().constData()); #endif socketError = socketEngine->error(); - q->setErrorString(socketEngine->errorString()); + q->setErrorString(socketEngine->errorString()); return false; } diff --git a/src/network/socket/qlocalsocket_win.cpp b/src/network/socket/qlocalsocket_win.cpp index cb264a4c83..0138a96261 100644 --- a/src/network/socket/qlocalsocket_win.cpp +++ b/src/network/socket/qlocalsocket_win.cpp @@ -67,7 +67,7 @@ void QLocalSocketPrivate::_q_winError(ulong windowsError, const QString &functio Q_Q(QLocalSocket); QLocalSocket::LocalSocketState currentState = state; - // If the connectToServer fails due to WaitNamedPipe() time-out, assume ConnectionError + // If the connectToServer fails due to WaitNamedPipe() time-out, assume ConnectionError if (state == QLocalSocket::ConnectingState && windowsError == ERROR_SEM_TIMEOUT) windowsError = ERROR_NO_DATA; From 0b0b74a563d1513e7857000526d5c0fa462ff6af Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 13 Dec 2012 13:16:42 +0100 Subject: [PATCH 195/386] Fix QGtkPainter::reset() to reset the clip rect Due to preparation for GTK3 support, QGtkStyle::drawXxx() no longer creates a local instance of QGtkPainter upon every call, but QGtkStylePrivate::gtkPainter() will (in the future) dynamically choose between QGtk[2|3]Painter. The same painter instance is now re-used between the calls, but wasn't properly reseted between. Task-number: QTBUG-28557 Change-Id: I29be318dbb54d97ed23dfb88d406a3a833db4369 Reviewed-by: Jens Bache-Wiig --- src/widgets/styles/qgtkpainter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/styles/qgtkpainter.cpp b/src/widgets/styles/qgtkpainter.cpp index a5c408f20d..206dbf7e0f 100644 --- a/src/widgets/styles/qgtkpainter.cpp +++ b/src/widgets/styles/qgtkpainter.cpp @@ -63,6 +63,7 @@ void QGtkPainter::reset(QPainter *painter) m_hflipped = false; m_vflipped = false; m_usePixmapCache = true; + m_cliprect = QRect(); } QString QGtkPainter::uniqueName(const QString &key, GtkStateType state, GtkShadowType shadow, From 04f25ac46ca0956dfd1209b14a1eee9e2e1274c2 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 13 Dec 2012 08:30:29 +0100 Subject: [PATCH 196/386] Mark QGlyphRun and QStaticText tests as insignificant on Linux These tests have been failing on certain setups for a while, but some new critical changes causes the failure to trigger on the CI system as well. We mark them as insignificant until they can be fixed. Change-Id: I467e7030c55d6f23515275b4062c17068d2b688c Reviewed-by: Andy Shaw --- tests/auto/gui/text/qglyphrun/qglyphrun.pro | 2 ++ tests/auto/gui/text/qstatictext/qstatictext.pro | 1 + 2 files changed, 3 insertions(+) diff --git a/tests/auto/gui/text/qglyphrun/qglyphrun.pro b/tests/auto/gui/text/qglyphrun/qglyphrun.pro index 67eb1d1b2b..45680febf3 100644 --- a/tests/auto/gui/text/qglyphrun/qglyphrun.pro +++ b/tests/auto/gui/text/qglyphrun/qglyphrun.pro @@ -3,6 +3,8 @@ CONFIG += parallel_test TARGET = tst_qglyphrun QT = core gui testlib +linux: CONFIG += insignificant_test + SOURCES += \ tst_qglyphrun.cpp diff --git a/tests/auto/gui/text/qstatictext/qstatictext.pro b/tests/auto/gui/text/qstatictext/qstatictext.pro index 38ab120985..772b68cfff 100644 --- a/tests/auto/gui/text/qstatictext/qstatictext.pro +++ b/tests/auto/gui/text/qstatictext/qstatictext.pro @@ -1,5 +1,6 @@ CONFIG += testcase CONFIG += parallel_test +linux: CONFIG += insignificant_test TARGET = tst_qstatictext QT += testlib QT += core core-private gui gui-private From 20d6a0bfbcd10c3954e675adbcbd22b524ba7f04 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 13 Dec 2012 16:32:45 +0100 Subject: [PATCH 197/386] Add missing WARNING header. Change-Id: I6565bda336c152dfdc0cb49f168d90bdceacb2b1 Reviewed-by: Oswald Buddenhagen Reviewed-by: Stephen Kelly --- src/corelib/Qt5CTestMacros.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/corelib/Qt5CTestMacros.cmake b/src/corelib/Qt5CTestMacros.cmake index fc39c708f3..c5d10c9b5b 100644 --- a/src/corelib/Qt5CTestMacros.cmake +++ b/src/corelib/Qt5CTestMacros.cmake @@ -1,4 +1,7 @@ - +# +# W A R N I N G +# ------------- +# # This file is not part of the Qt API. It exists purely as an # implementation detail. This file, and its contents may change from version to # version without notice, or even be removed. From 6b5b5d4e530eef3f5a7025f753d6f54e76ad008f Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Mon, 4 Jun 2012 18:48:51 +0200 Subject: [PATCH 198/386] Added missing detach() to QJsonObject::take() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We also need to detach() the taken value in case the compaction triggers and modifies the underlaying data. Change-Id: Idcdeba4236b8e208d107d41be2decbdfc5721300 Reviewed-by: Bjørn Erik Nilsen Reviewed-by: Denis Dzyubenko --- src/corelib/json/qjsonobject.cpp | 5 +++-- tests/auto/corelib/json/tst_qtjson.cpp | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/corelib/json/qjsonobject.cpp b/src/corelib/json/qjsonobject.cpp index e595753fec..1bdd872e78 100644 --- a/src/corelib/json/qjsonobject.cpp +++ b/src/corelib/json/qjsonobject.cpp @@ -390,13 +390,14 @@ QJsonValue QJsonObject::take(const QString &key) if (!keyExists) return QJsonValue(QJsonValue::Undefined); - QJsonPrivate::Entry *e = o->entryAt(index); + QJsonValue v(d, o, o->entryAt(index)->value); + detach(); o->removeItems(index, 1); ++d->compactionCounter; if (d->compactionCounter > 32u && d->compactionCounter >= unsigned(o->length) / 2u) compact(); - return QJsonValue(d, o, e->value); + return v; } /*! diff --git a/tests/auto/corelib/json/tst_qtjson.cpp b/tests/auto/corelib/json/tst_qtjson.cpp index 82656d6309..4a8ef293ff 100644 --- a/tests/auto/corelib/json/tst_qtjson.cpp +++ b/tests/auto/corelib/json/tst_qtjson.cpp @@ -303,12 +303,27 @@ void tst_QtJson::testObjectSimple() QVERIFY2(!object.contains("boolean"), "key boolean should have been removed"); QJsonValue taken = object.take("value"); -// QCOMPARE(taken, value); + QCOMPARE(taken, value); QVERIFY2(!object.contains("value"), "key value should have been removed"); QString before = object.value("string").toString(); object.insert("string", QString::fromLatin1("foo")); QVERIFY2(object.value("string").toString() != before, "value should have been updated"); + + size = object.size(); + QJsonObject subobject; + subobject.insert("number", 42); + subobject.insert(QLatin1String("string"), QLatin1String("foobar")); + object.insert("subobject", subobject); + QCOMPARE(object.size(), size+1); + QJsonValue subvalue = object.take(QLatin1String("subobject")); + QCOMPARE(object.size(), size); + QCOMPARE(subvalue.toObject(), subobject); + // make object detach by modifying it many times + for (int i = 0; i < 64; ++i) + object.insert(QLatin1String("string"), QLatin1String("bar")); + QCOMPARE(object.size(), size); + QCOMPARE(subvalue.toObject(), subobject); } void tst_QtJson::testObjectSmallKeys() From 02032fb229e4a26b2848db60e90820e2daeb3363 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 13 Dec 2012 10:07:48 +0100 Subject: [PATCH 199/386] Mark QAbstractTextDocumentLayout test as insignificant This test fails on some setups and a pending critical change causes the existing bug to trigger in CI. To avoid blocking other changes because of this bug, it's been marked as insignificant until such a time when it can be fixed. Change-Id: Ide41f7b1c76209f9c05f95f996b2364d5dea5e67 Reviewed-by: Liang Qi Reviewed-by: Andy Shaw --- .../qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro b/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro index 801e9dc7be..bb6457853e 100644 --- a/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro +++ b/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro @@ -7,6 +7,6 @@ CONFIG += parallel_test TARGET = tst_qabstracttextdocumentlayout QT += testlib SOURCES += tst_qabstracttextdocumentlayout.cpp - +linux: CONFIG += insignificant_test DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From d466a171d46a6b6b171fd89589d5ed1e2a6f2bd9 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Wed, 12 Dec 2012 16:57:08 +0100 Subject: [PATCH 200/386] Fix warning - unused variable (d-pointer) Change-Id: I6bc47f12e60bfbda60e3f242d3b680d5684903ea Reviewed-by: Oliver Wolff --- src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp b/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp index b8f4475d9e..3154e65ec8 100644 --- a/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp +++ b/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp @@ -119,8 +119,6 @@ QPAEventDispatcherGlib::~QPAEventDispatcherGlib() bool QPAEventDispatcherGlib::processEvents(QEventLoop::ProcessEventsFlags flags) { - Q_D(QPAEventDispatcherGlib); - m_flags = flags; return QEventDispatcherGlib::processEvents(m_flags); } From 1a653225f6c73d7ca32aa6cdcde45ba9462a7b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 12 Dec 2012 15:47:32 +0100 Subject: [PATCH 201/386] Fixed incorrect handling of extra mouse buttons in XCB platform plugin. translateMouseButtons() was only able to correctly handle the left, right, and mid mouse buttons. Thus, if any buttons outside of those were pressed, the motion notify event would basically unset the mouse button mask, leading to a release event being sent instead. Later on, when the actual release event arrives, that button gets xor'ed into the empty button mask generating another press, and later another motion event will generate a release. In the end that means two press-release sequences are sent for any extra mouse buttons. Instead of getting the mask of the buttons currently being pressed from the event, we need to keep track of the mask ourselves. Task-number: QTBUG-28561 Change-Id: Iaa67e784a13d792deef8fc29dbd5456a5471a861 Reviewed-by: Oliver Wolff Reviewed-by: Friedemann Kleint Reviewed-by: Shawn Rutledge Reviewed-by: Rick Stockton Reviewed-by: Lars Knoll --- src/plugins/platforms/xcb/qxcbconnection.cpp | 70 ++++++++++++++++++++ src/plugins/platforms/xcb/qxcbconnection.h | 6 ++ src/plugins/platforms/xcb/qxcbwindow.cpp | 68 +++---------------- src/plugins/platforms/xcb/qxcbwindow.h | 2 +- 4 files changed, 87 insertions(+), 59 deletions(-) diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp index 4c4df137a3..b4f1a278a2 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.cpp +++ b/src/plugins/platforms/xcb/qxcbconnection.cpp @@ -257,6 +257,7 @@ QXcbConnection::QXcbConnection(QXcbNativeInterface *nativeInterface, const char , has_shape_extension(false) , has_randr_extension(false) , has_input_shape(false) + , m_buttons(0) { #ifdef XCB_USE_XLIB Display *dpy = XOpenDisplay(m_displayName.constData()); @@ -662,6 +663,73 @@ void QXcbConnection::handleXcbError(xcb_generic_error_t *error) #endif } +static Qt::MouseButtons translateMouseButtons(int s) +{ + Qt::MouseButtons ret = 0; + if (s & XCB_BUTTON_MASK_1) + ret |= Qt::LeftButton; + if (s & XCB_BUTTON_MASK_2) + ret |= Qt::MidButton; + if (s & XCB_BUTTON_MASK_3) + ret |= Qt::RightButton; + return ret; +} + +static Qt::MouseButton translateMouseButton(xcb_button_t s) +{ + switch (s) { + case 1: return Qt::LeftButton; + case 2: return Qt::MidButton; + case 3: return Qt::RightButton; + // Button values 4-7 were already handled as Wheel events, and won't occur here. + case 8: return Qt::BackButton; // Also known as Qt::ExtraButton1 + case 9: return Qt::ForwardButton; // Also known as Qt::ExtraButton2 + case 10: return Qt::ExtraButton3; + case 11: return Qt::ExtraButton4; + case 12: return Qt::ExtraButton5; + case 13: return Qt::ExtraButton6; + case 14: return Qt::ExtraButton7; + case 15: return Qt::ExtraButton8; + case 16: return Qt::ExtraButton9; + case 17: return Qt::ExtraButton10; + case 18: return Qt::ExtraButton11; + case 19: return Qt::ExtraButton12; + case 20: return Qt::ExtraButton13; + case 21: return Qt::ExtraButton14; + case 22: return Qt::ExtraButton15; + case 23: return Qt::ExtraButton16; + case 24: return Qt::ExtraButton17; + case 25: return Qt::ExtraButton18; + case 26: return Qt::ExtraButton19; + case 27: return Qt::ExtraButton20; + case 28: return Qt::ExtraButton21; + case 29: return Qt::ExtraButton22; + case 30: return Qt::ExtraButton23; + case 31: return Qt::ExtraButton24; + default: return Qt::NoButton; + } +} + +void QXcbConnection::handleButtonPress(xcb_generic_event_t *ev) +{ + xcb_button_press_event_t *event = (xcb_button_press_event_t *)ev; + + // the event explicitly contains the state of the three first buttons, + // the rest we need to manage ourselves + m_buttons = (m_buttons & ~0x7) | translateMouseButtons(event->state); + m_buttons |= translateMouseButton(event->detail); +} + +void QXcbConnection::handleButtonRelease(xcb_generic_event_t *ev) +{ + xcb_button_release_event_t *event = (xcb_button_release_event_t *)ev; + + // the event explicitly contains the state of the three first buttons, + // the rest we need to manage ourselves + m_buttons = (m_buttons & ~0x7) | translateMouseButtons(event->state); + m_buttons &= ~translateMouseButton(event->detail); +} + void QXcbConnection::handleXcbEvent(xcb_generic_event_t *event) { #ifdef Q_XCB_DEBUG @@ -686,8 +754,10 @@ void QXcbConnection::handleXcbEvent(xcb_generic_event_t *event) case XCB_EXPOSE: HANDLE_PLATFORM_WINDOW_EVENT(xcb_expose_event_t, window, handleExposeEvent); case XCB_BUTTON_PRESS: + handleButtonPress(event); HANDLE_PLATFORM_WINDOW_EVENT(xcb_button_press_event_t, event, handleButtonPressEvent); case XCB_BUTTON_RELEASE: + handleButtonRelease(event); HANDLE_PLATFORM_WINDOW_EVENT(xcb_button_release_event_t, event, handleButtonReleaseEvent); case XCB_MOTION_NOTIFY: HANDLE_PLATFORM_WINDOW_EVENT(xcb_motion_notify_event_t, event, handleMotionNotifyEvent); diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index c67acb3218..f1e707e0cd 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -380,6 +380,8 @@ public: xcb_timestamp_t getTimestamp(); + Qt::MouseButtons buttons() const { return m_buttons; } + private slots: void processXcbEvents(); @@ -400,6 +402,8 @@ private: QXcbScreen* findOrCreateScreen(QList& newScreens, int screenNumber, xcb_screen_t* xcbScreen, xcb_randr_get_output_info_reply_t *output = NULL); void updateScreens(); + void handleButtonPress(xcb_generic_event_t *event); + void handleButtonRelease(xcb_generic_event_t *event); bool m_xi2Enabled; int m_xi2Minor; @@ -501,6 +505,8 @@ private: bool has_shape_extension; bool has_randr_extension; bool has_input_shape; + + Qt::MouseButtons m_buttons; }; #define DISPLAY_FROM_XCB(object) ((Display *)(object->connection()->xlib_display())) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 23e59f0735..05d7dc4da9 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -1464,53 +1464,6 @@ void QXcbWindow::handleUnmapNotifyEvent(const xcb_unmap_notify_event_t *event) } } -static Qt::MouseButtons translateMouseButtons(int s) -{ - Qt::MouseButtons ret = 0; - if (s & XCB_BUTTON_MASK_1) - ret |= Qt::LeftButton; - if (s & XCB_BUTTON_MASK_2) - ret |= Qt::MidButton; - if (s & XCB_BUTTON_MASK_3) - ret |= Qt::RightButton; - return ret; -} - -static Qt::MouseButton translateMouseButton(xcb_button_t s) -{ - switch (s) { - case 1: return Qt::LeftButton; - case 2: return Qt::MidButton; - case 3: return Qt::RightButton; - // Button values 4-7 were already handled as Wheel events, and won't occur here. - case 8: return Qt::BackButton; // Also known as Qt::ExtraButton1 - case 9: return Qt::ForwardButton; // Also known as Qt::ExtraButton2 - case 10: return Qt::ExtraButton3; - case 11: return Qt::ExtraButton4; - case 12: return Qt::ExtraButton5; - case 13: return Qt::ExtraButton6; - case 14: return Qt::ExtraButton7; - case 15: return Qt::ExtraButton8; - case 16: return Qt::ExtraButton9; - case 17: return Qt::ExtraButton10; - case 18: return Qt::ExtraButton11; - case 19: return Qt::ExtraButton12; - case 20: return Qt::ExtraButton13; - case 21: return Qt::ExtraButton14; - case 22: return Qt::ExtraButton15; - case 23: return Qt::ExtraButton16; - case 24: return Qt::ExtraButton17; - case 25: return Qt::ExtraButton18; - case 26: return Qt::ExtraButton19; - case 27: return Qt::ExtraButton20; - case 28: return Qt::ExtraButton21; - case 29: return Qt::ExtraButton22; - case 30: return Qt::ExtraButton23; - case 31: return Qt::ExtraButton24; - default: return Qt::NoButton; - } -} - void QXcbWindow::handleButtonPressEvent(const xcb_button_press_event_t *event) { updateNetWmUserTime(event->time); @@ -1532,7 +1485,7 @@ void QXcbWindow::handleButtonPressEvent(const xcb_button_press_event_t *event) return; } - handleMouseEvent(event->detail, event->state, event->time, local, global, modifiers); + handleMouseEvent(event->time, local, global, modifiers); } void QXcbWindow::handleButtonReleaseEvent(const xcb_button_release_event_t *event) @@ -1541,7 +1494,12 @@ void QXcbWindow::handleButtonReleaseEvent(const xcb_button_release_event_t *even QPoint global(event->root_x, event->root_y); Qt::KeyboardModifiers modifiers = connection()->keyboard()->translateModifiers(event->state); - handleMouseEvent(event->detail, event->state, event->time, local, global, modifiers); + if (event->detail >= 4 && event->detail <= 7) { + // mouse wheel, handled in handleButtonPressEvent() + return; + } + + handleMouseEvent(event->time, local, global, modifiers); } void QXcbWindow::handleMotionNotifyEvent(const xcb_motion_notify_event_t *event) @@ -1550,19 +1508,13 @@ void QXcbWindow::handleMotionNotifyEvent(const xcb_motion_notify_event_t *event) QPoint global(event->root_x, event->root_y); Qt::KeyboardModifiers modifiers = connection()->keyboard()->translateModifiers(event->state); - handleMouseEvent(event->detail, event->state, event->time, local, global, modifiers); + handleMouseEvent(event->time, local, global, modifiers); } -void QXcbWindow::handleMouseEvent(xcb_button_t detail, uint16_t state, xcb_timestamp_t time, const QPoint &local, const QPoint &global, Qt::KeyboardModifiers modifiers) +void QXcbWindow::handleMouseEvent(xcb_timestamp_t time, const QPoint &local, const QPoint &global, Qt::KeyboardModifiers modifiers) { connection()->setTime(time); - - Qt::MouseButtons buttons = translateMouseButtons(state); - Qt::MouseButton button = translateMouseButton(detail); - - buttons ^= button; // X event uses state *before*, Qt uses state *after* - - QWindowSystemInterface::handleMouseEvent(window(), time, local, global, buttons, modifiers); + QWindowSystemInterface::handleMouseEvent(window(), time, local, global, connection()->buttons(), modifiers); } class EnterEventChecker diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h index 07ac0e0fcb..c624841a17 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.h +++ b/src/plugins/platforms/xcb/qxcbwindow.h @@ -134,7 +134,7 @@ public: void handleFocusOutEvent(const xcb_focus_out_event_t *event); void handlePropertyNotifyEvent(const xcb_property_notify_event_t *event); - void handleMouseEvent(xcb_button_t detail, uint16_t state, xcb_timestamp_t time, const QPoint &local, const QPoint &global, Qt::KeyboardModifiers modifiers); + void handleMouseEvent(xcb_timestamp_t time, const QPoint &local, const QPoint &global, Qt::KeyboardModifiers modifiers); void updateSyncRequestCounter(); void updateNetWmUserTime(xcb_timestamp_t timestamp); From 92bd9aecfb69ebe525ba88dc78ce85e3ca7ed9c2 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 30 Nov 2012 19:37:02 +0100 Subject: [PATCH 202/386] Fix empty window title regression, add application display name to window title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This increases consistency a lot: all windows and dialogs from a Qt application will show the app display name in the caption, on Windows and X11. This helps identifying which app a dialog belongs to, which is especially useful when the dialog is very generic and shows up unexpectedly. For compatibility reasons, the app name is added to the caption only if setApplicationDisplayName() was called -- or if the caption would be completely empty. The standard Qt4 case (setWindowTitle + no display name) is unchanged. Change-Id: Ib284c62c1f4c0bc923e5bc2d10247d95e9aa76c1 Reviewed-by: Samuel Rødal --- dist/changes-5.0.0 | 5 +++ .../widgets/dialogs/configdialog/main.cpp | 1 + src/gui/kernel/qplatformwindow.cpp | 7 +++- .../platforms/windows/qwindowswindow.cpp | 18 ++++++++- src/plugins/platforms/xcb/qxcbwindow.cpp | 13 ++++++- src/widgets/kernel/qwidget.cpp | 39 ++++--------------- .../qwidget_window/tst_qwidget_window.cpp | 18 ++------- 7 files changed, 51 insertions(+), 50 deletions(-) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index a969fc84d5..84f0224bad 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -985,6 +985,11 @@ Qt for Windows CE Please, notice that QMetaType::UnknownType has value 0, which previously was reserved for QMetaType::Void. +- QWidget + + * No need to set the application name in setWindowTitle() anymore, this is done + automatically, on Windows and Unix/X11, provided that the (possibly translated) + application display name is set with QGuiApplication::setApplicationDisplayName(). - QMessageBox diff --git a/examples/widgets/dialogs/configdialog/main.cpp b/examples/widgets/dialogs/configdialog/main.cpp index 20a2709a1e..b23c64a56f 100644 --- a/examples/widgets/dialogs/configdialog/main.cpp +++ b/examples/widgets/dialogs/configdialog/main.cpp @@ -47,6 +47,7 @@ int main(int argc, char *argv[]) Q_INIT_RESOURCE(configdialog); QApplication app(argc, argv); + app.setApplicationDisplayName("Qt Example"); ConfigDialog dialog; return dialog.exec(); } diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp index 88dccdb6ce..82547b04ec 100644 --- a/src/gui/kernel/qplatformwindow.cpp +++ b/src/gui/kernel/qplatformwindow.cpp @@ -247,7 +247,12 @@ void QPlatformWindow::setParent(const QPlatformWindow *parent) } /*! - Reimplement to set the window title to \a title + Reimplement to set the window title to \a title. + + The implementation might want to append the application display name to + the window title, like Windows and Linux do. + + \sa QGuiApplication::applicationDisplayName() */ void QPlatformWindow::setWindowTitle(const QString &title) { Q_UNUSED(title); } diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp index 2f2588bc4a..40e0cf7dda 100644 --- a/src/plugins/platforms/windows/qwindowswindow.cpp +++ b/src/plugins/platforms/windows/qwindowswindow.cpp @@ -55,6 +55,7 @@ #include #include #include +#include #include #include @@ -1188,8 +1189,21 @@ void QWindowsWindow::setWindowTitle(const QString &title) { if (QWindowsContext::verboseWindows) qDebug() << __FUNCTION__ << this << window() <resolveLocale(); } -static QString constructWindowTitleFromFilePath(const QString &filePath) -{ - QFileInfo fi(filePath); - QString windowTitle = fi.fileName() + QLatin1String("[*]"); -#ifndef Q_WS_MAC - QString appName = QApplication::applicationName(); - if (!appName.isEmpty()) - windowTitle += QLatin1Char(' ') + QChar(0x2014) + QLatin1Char(' ') + appName; -#endif - return windowTitle; -} - /*! \property QWidget::windowTitle \brief the window title (caption) @@ -5502,6 +5490,11 @@ static QString constructWindowTitleFromFilePath(const QString &filePath) windowModified property is false (the default), the placeholder is simply removed. + On some desktop platforms (including Windows and Unix), the application name + (from QGuiApplication::applicationDisplayName) is added at the end of the + window title, if set. This is done by the QPA plugin, so it is shown to the + user, but isn't part of the \l windowTitle string. + \sa windowIcon, windowIconText, windowModified, windowFilePath */ QString QWidget::windowTitle() const @@ -5511,7 +5504,7 @@ QString QWidget::windowTitle() const if (!d->extra->topextra->caption.isEmpty()) return d->extra->topextra->caption; if (!d->extra->topextra->filePath.isEmpty()) - return constructWindowTitleFromFilePath(d->extra->topextra->filePath); + return QFileInfo(d->extra->topextra->filePath).fileName() + QLatin1String("[*]"); } return QString(); } @@ -5683,24 +5676,8 @@ QString QWidget::windowIconText() const This property only makes sense for windows. It associates a file path with a window. If you set the file path, but have not set the window title, Qt - sets the window title to contain a string created using the following - components. - - On Mac OS X: - - \list - \li The file name of the specified path, obtained using QFileInfo::fileName(). - \endlist - - On Windows and X11: - - \list - \li The file name of the specified path, obtained using QFileInfo::fileName(). - \li An optional \c{*} character, if the \l windowModified property is set. - \li The \c{0x2014} unicode character, padded either side by spaces. - \li The application name, obtained from the application's - \l{QCoreApplication::}{applicationName} property. - \endlist + sets the window title to the file name of the specified path, obtained using + QFileInfo::fileName(). If the window title is set at any point, then the window title takes precedence and will be shown instead of the file path string. diff --git a/tests/auto/widgets/kernel/qwidget_window/tst_qwidget_window.cpp b/tests/auto/widgets/kernel/qwidget_window/tst_qwidget_window.cpp index 230fcebfcb..058831af2e 100644 --- a/tests/auto/widgets/kernel/qwidget_window/tst_qwidget_window.cpp +++ b/tests/auto/widgets/kernel/qwidget_window/tst_qwidget_window.cpp @@ -230,28 +230,16 @@ void tst_QWidget_window::tst_windowFilePathAndwindowTitle_data() QString validPath = QApplication::applicationFilePath(); QString fileNameOnly = QFileInfo(validPath).fileName() + QLatin1String("[*]"); - QString fileAndSep = fileNameOnly + QLatin1String(" ") + QChar(0x2014) + QLatin1String(" "); QString windowTitle = QLatin1String("Here is a Window Title"); - - QString defaultPlatString = -#if 0 // was ifdef Q_OS_MAC, but that code is disabled in qwidget.cpp and caption handling should move to QPA anyway - fileNameOnly; -#else - fileAndSep + "tst_qwidget_window"; // default app name in Qt5 -#endif + QString defaultPlatString = fileNameOnly; QTest::newRow("never Set Title nor AppName") << false << false << validPath << QString() << windowTitle << defaultPlatString << defaultPlatString; QTest::newRow("set title after only, but no AppName") << false << true << validPath << QString() << windowTitle << defaultPlatString << windowTitle; QTest::newRow("set title before only, not AppName") << true << false << validPath << QString() << windowTitle << windowTitle << windowTitle; QTest::newRow("always set title, not appName") << true << true << validPath << QString() << windowTitle << windowTitle << windowTitle; - QString appName = QLatin1String("Killer App"); - QString platString = -#if 0 // was ifdef Q_OS_MAC, but that code is disabled in qwidget.cpp and caption handling should move to QPA anyway - fileNameOnly; -#else - fileAndSep + appName; -#endif + QString appName = QLatin1String("Killer App"); // Qt4 used to make it part of windowTitle(), Qt5 doesn't anymore, the QPA plugin takes care of it. + QString platString = fileNameOnly; QTest::newRow("never Set Title, yes AppName") << false << false << validPath << appName << windowTitle << platString << platString; QTest::newRow("set title after only, yes AppName") << false << true << validPath << appName << windowTitle << platString << windowTitle; From 60bd2156f81b154a47c95989b0266944fd2f2859 Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 4 Dec 2012 16:57:17 +0100 Subject: [PATCH 203/386] XCB: add support for getting and setting appTime and appUserTime. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The QX11Info class needs this. This required adding the missing nativeResourceFunctionForScreen in QPlatformNativeInterface. Change-Id: I2c6e91c7f122f3ecdf769a177deafd2aa3896e2f Reviewed-by: Richard J. Moore Reviewed-by: Alberto Mardegan Reviewed-by: Samuel Rødal --- src/gui/kernel/qplatformnativeinterface.cpp | 6 +++ src/gui/kernel/qplatformnativeinterface.h | 2 + src/plugins/platforms/xcb/qxcbconnection.cpp | 1 + src/plugins/platforms/xcb/qxcbconnection.h | 4 ++ .../platforms/xcb/qxcbnativeinterface.cpp | 46 +++++++++++++++++-- .../platforms/xcb/qxcbnativeinterface.h | 11 ++++- src/plugins/platforms/xcb/qxcbwindow.cpp | 1 + src/plugins/platforms/xcb/qxcbwindow.h | 1 - 8 files changed, 66 insertions(+), 6 deletions(-) diff --git a/src/gui/kernel/qplatformnativeinterface.cpp b/src/gui/kernel/qplatformnativeinterface.cpp index 925b2ad3de..cf487b2235 100644 --- a/src/gui/kernel/qplatformnativeinterface.cpp +++ b/src/gui/kernel/qplatformnativeinterface.cpp @@ -100,6 +100,12 @@ QPlatformNativeInterface::NativeResourceForContextFunction QPlatformNativeInterf return 0; } +QPlatformNativeInterface::NativeResourceForScreenFunction QPlatformNativeInterface::nativeResourceFunctionForScreen(const QByteArray &resource) +{ + Q_UNUSED(resource); + return 0; +} + QPlatformNativeInterface::NativeResourceForWindowFunction QPlatformNativeInterface::nativeResourceFunctionForWindow(const QByteArray &resource) { Q_UNUSED(resource); diff --git a/src/gui/kernel/qplatformnativeinterface.h b/src/gui/kernel/qplatformnativeinterface.h index cbf997bec4..8dd661f67e 100644 --- a/src/gui/kernel/qplatformnativeinterface.h +++ b/src/gui/kernel/qplatformnativeinterface.h @@ -78,10 +78,12 @@ public: typedef void * (*NativeResourceForIntegrationFunction)(); typedef void * (*NativeResourceForContextFunction)(QOpenGLContext *context); + typedef void * (*NativeResourceForScreenFunction)(QScreen *screen); typedef void * (*NativeResourceForWindowFunction)(QWindow *window); typedef void * (*NativeResourceForBackingStoreFunction)(QBackingStore *backingStore); virtual NativeResourceForIntegrationFunction nativeResourceFunctionForIntegration(const QByteArray &resource); virtual NativeResourceForContextFunction nativeResourceFunctionForContext(const QByteArray &resource); + virtual NativeResourceForScreenFunction nativeResourceFunctionForScreen(const QByteArray &resource); virtual NativeResourceForWindowFunction nativeResourceFunctionForWindow(const QByteArray &resource); virtual NativeResourceForBackingStoreFunction nativeResourceFunctionForBackingStore(const QByteArray &resource); diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp index b4f1a278a2..1192894693 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.cpp +++ b/src/plugins/platforms/xcb/qxcbconnection.cpp @@ -313,6 +313,7 @@ QXcbConnection::QXcbConnection(QXcbNativeInterface *nativeInterface, const char initializeAllAtoms(); m_time = XCB_CURRENT_TIME; + m_netWmUserTime = XCB_CURRENT_TIME; initializeXRandr(); updateScreens(); diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index f1e707e0cd..464d918adf 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -370,6 +370,9 @@ public: inline xcb_timestamp_t time() const { return m_time; } inline void setTime(xcb_timestamp_t t) { if (t > m_time) m_time = t; } + inline xcb_timestamp_t netWmUserTime() const { return m_netWmUserTime; } + inline void setNetWmUserTime(xcb_timestamp_t t) { if (t > m_netWmUserTime) m_netWmUserTime = t; } + bool hasGLX() const { return has_glx_extension; } bool hasXFixes() const { return xfixes_first_event > 0; } bool hasXShape() const { return has_shape_extension; } @@ -452,6 +455,7 @@ private: xcb_atom_t m_allAtoms[QXcbAtom::NAtoms]; xcb_timestamp_t m_time; + xcb_timestamp_t m_netWmUserTime; QByteArray m_displayName; diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp index a44e7fb959..9c360df900 100644 --- a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp +++ b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp @@ -71,6 +71,8 @@ public: insert("screen",QXcbNativeInterface::Screen); insert("eglcontext",QXcbNativeInterface::EglContext); insert("glxcontext",QXcbNativeInterface::GLXContext); + insert("apptime",QXcbNativeInterface::AppTime); + insert("appusertime",QXcbNativeInterface::AppUserTime); } }; @@ -109,18 +111,24 @@ void *QXcbNativeInterface::nativeResourceForScreen(const QByteArray &resource, Q const QXcbResourceMap::const_iterator it = qXcbResourceMap()->constFind(resource.toLower()); if (it == qXcbResourceMap()->constEnd() || !screen->handle()) return 0; + void *result = 0; const QXcbScreen *xcbScreen = static_cast(screen->handle()); switch (it.value()) { case Display: #ifdef XCB_USE_XLIB - return xcbScreen->connection()->xlib_display(); -#else - break; + result = xcbScreen->connection()->xlib_display(); #endif + break; + case AppTime: + result = appTime(xcbScreen); + break; + case AppUserTime: + result = appUserTime(xcbScreen); + break; default: break; } - return 0; + return result; } void *QXcbNativeInterface::nativeResourceForWindow(const QByteArray &resourceString, QWindow *window) @@ -151,6 +159,36 @@ void *QXcbNativeInterface::nativeResourceForWindow(const QByteArray &resourceStr return result; } +QPlatformNativeInterface::NativeResourceForScreenFunction QXcbNativeInterface::nativeResourceFunctionForScreen(const QByteArray &resource) +{ + const QByteArray lowerCaseResource = resource.toLower(); + if (lowerCaseResource == "setapptime") + return NativeResourceForScreenFunction(setAppTime); + else if (lowerCaseResource == "setappusertime") + return NativeResourceForScreenFunction(setAppUserTime); + return 0; +} + +void *QXcbNativeInterface::appTime(const QXcbScreen *screen) +{ + return reinterpret_cast(quintptr(screen->connection()->time())); +} + +void *QXcbNativeInterface::appUserTime(const QXcbScreen *screen) +{ + return reinterpret_cast(quintptr(screen->connection()->netWmUserTime())); +} + +void QXcbNativeInterface::setAppTime(QScreen* screen, xcb_timestamp_t time) +{ + static_cast(screen->handle())->connection()->setTime(time); +} + +void QXcbNativeInterface::setAppUserTime(QScreen* screen, xcb_timestamp_t time) +{ + static_cast(screen->handle())->connection()->setNetWmUserTime(time); +} + QPlatformNativeInterface::NativeResourceForContextFunction QXcbNativeInterface::nativeResourceFunctionForContext(const QByteArray &resource) { QByteArray lowerCaseResource = resource.toLower(); diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.h b/src/plugins/platforms/xcb/qxcbnativeinterface.h index a7e0a207cb..e2e03fce8f 100644 --- a/src/plugins/platforms/xcb/qxcbnativeinterface.h +++ b/src/plugins/platforms/xcb/qxcbnativeinterface.h @@ -43,11 +43,13 @@ #define QXCBNATIVEINTERFACE_H #include +#include QT_BEGIN_NAMESPACE class QWidget; class QXcbScreen; +class QXcbConnection; class QXcbNativeInterface : public QPlatformNativeInterface { @@ -59,7 +61,9 @@ public: Screen, GraphicsDevice, EglContext, - GLXContext + GLXContext, + AppTime, + AppUserTime }; QXcbNativeInterface(); @@ -69,6 +73,7 @@ public: void *nativeResourceForWindow(const QByteArray &resourceString, QWindow *window); NativeResourceForContextFunction nativeResourceFunctionForContext(const QByteArray &resource); + NativeResourceForScreenFunction nativeResourceFunctionForScreen(const QByteArray &resource) Q_DECL_OVERRIDE; inline const QByteArray &genericEventFilterType() const { return m_genericEventFilterType; } @@ -77,6 +82,10 @@ public: void *connectionForWindow(QWindow *window); void *screenForWindow(QWindow *window); void *graphicsDeviceForWindow(QWindow *window); + void *appTime(const QXcbScreen *screen); + void *appUserTime(const QXcbScreen *screen); + static void setAppTime(QScreen *screen, xcb_timestamp_t time); + static void setAppUserTime(QScreen *screen, xcb_timestamp_t time); static void *eglContextForContext(QOpenGLContext *context); static void *glxContextForContext(QOpenGLContext *context); diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 21254e4b3b..528c4c6580 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -1028,6 +1028,7 @@ void QXcbWindow::updateNetWmStateBeforeMap() void QXcbWindow::updateNetWmUserTime(xcb_timestamp_t timestamp) { xcb_window_t wid = m_window; + connection()->setNetWmUserTime(timestamp); const bool isSupportedByWM = connection()->wmSupport()->isSupportedByWM(atom(QXcbAtom::_NET_WM_USER_TIME_WINDOW)); if (m_netWmUserTimeWindow || isSupportedByWM) { diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h index c624841a17..b2c637281d 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.h +++ b/src/plugins/platforms/xcb/qxcbwindow.h @@ -138,7 +138,6 @@ public: void updateSyncRequestCounter(); void updateNetWmUserTime(xcb_timestamp_t timestamp); - void netWmUserTime() const; #if defined(XCB_USE_EGL) QXcbEGLSurface *eglSurface() const; From 0ce317826f4fbef0e9297856322e1883e112a362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 13 Dec 2012 11:58:42 +0100 Subject: [PATCH 204/386] Fixed deadlock situation in QtOpenGL's texture management. QGLTextureCache::remove(qint64 key) locks the QGLContextGroupList mutex before removing a texture. Removing the texture might cause the QGLShareContextScope construct to be invoked, which calls QGLContext::currentContext(), which will wrap a current QOpenGLContext in a newly created QGLContext. That also triggers the creation of a QGLContextGroup object, which will register itself with the QGLContextGroupList, an operation that again will lock the QGLContextGroupList mutex. To prevent this from deadlocking we make the mutex recursive. The whole QGLShareContextScope approach is really broken and should be replaced, but for now it's what we have in QtOpenGL (QtGui has the replacement QOpenGLSharedResource). Change-Id: Id1ff69035af3f31b690892c03f74748d052a278b Reviewed-by: Zeno Albisser Reviewed-by: Sean Harmer --- src/opengl/qgl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 69f4871c6b..9489762516 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -1477,6 +1477,11 @@ bool operator!=(const QGLFormat& a, const QGLFormat& b) } struct QGLContextGroupList { + QGLContextGroupList() + : m_mutex(QMutex::Recursive) + { + } + void append(QGLContextGroup *group) { QMutexLocker locker(&m_mutex); m_list.append(group); From 3c09f6bc9aee0c97427fe8da6efdc73b4ac473aa Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Tue, 30 Oct 2012 14:01:12 +0100 Subject: [PATCH 205/386] Mac: fix bugs for font selection in QFontDialog Use localized family name and style name when selecting font with non-English locale Task-number: QTBUG-27415 Change-Id: Ie81507ed011fc096e0f5edad146e97c392e86494 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/text/qfontdatabase.cpp | 2 +- .../platforms/cocoa/qcocoafontdialoghelper.mm | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index b59966012c..a560b41570 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -595,7 +595,7 @@ QtFontFamily *QFontDatabasePrivate::family(const QString &f, bool create) if (res < 0) pos++; - // qDebug("adding family %s at %d total=%d", f.latin1(), pos, count); + // qDebug() << "adding family " << f.toLatin1() << " at " << pos << " total=" << count; if (!(count % 8)) { QtFontFamily **newFamilies = (QtFontFamily **) realloc(families, diff --git a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm index 5ccd019a9b..ff3ba63931 100644 --- a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm +++ b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm @@ -92,20 +92,16 @@ static QFont qfontForCocoaFont(NSFont *cocoaFont, const QFont &resolveFont) QFont newFont; if (cocoaFont) { int pSize = qRound([cocoaFont pointSize]); - QString family(QCFString::toQString([cocoaFont familyName])); - QString typeface(QCFString::toQString([cocoaFont fontName])); + CTFontDescriptorRef font = CTFontCopyFontDescriptor((CTFontRef)cocoaFont); + // QCoreTextFontDatabase::populateFontDatabase() is using localized names + QString family = QCFString::toQString((CFStringRef) CTFontDescriptorCopyLocalizedAttribute(font, kCTFontFamilyNameAttribute, NULL)); + QString style = QCFString::toQString((CFStringRef) CTFontDescriptorCopyLocalizedAttribute(font, kCTFontStyleNameAttribute, NULL)); - int hyphenPos = typeface.indexOf(QLatin1Char('-')); - if (hyphenPos != -1) { - typeface.remove(0, hyphenPos + 1); - } else { - typeface = QLatin1String("Normal"); - } - - newFont = QFontDatabase().font(family, typeface, pSize); + newFont = QFontDatabase().font(family, style, pSize); newFont.setUnderline(resolveFont.underline()); newFont.setStrikeOut(resolveFont.strikeOut()); + CFRelease(font); } return newFont; } From fa7661d8b25fa338649a301010e1b5a2b63da731 Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Wed, 11 Jul 2012 14:39:54 +0200 Subject: [PATCH 206/386] Fix styleName support in QPA font database Font styleName support was disconnected since Qt switched to QPA fontdatabase. Now add the code from Qt 4.8 back to enable this in QPA. Change-Id: Iab2cbfd5468f87542183348c2123ca4b2c270692 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/text/qfontdatabase.cpp | 25 +++++-------------- src/gui/text/qfontdatabase_qpa.cpp | 5 ++-- src/gui/text/qplatformfontdatabase.cpp | 10 +++++--- src/gui/text/qplatformfontdatabase.h | 3 ++- .../basic/qbasicfontdatabase.cpp | 2 +- .../fontconfig/qfontconfigdatabase.cpp | 14 +++++++---- .../mac/qcoretextfontdatabase.mm | 3 ++- .../windows/qwindowsfontdatabase.cpp | 8 +++--- .../windows/qwindowsfontdatabase_ft.cpp | 8 +++--- 9 files changed, 37 insertions(+), 41 deletions(-) diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index a560b41570..d06bf217cb 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -274,27 +274,15 @@ struct QtFontFoundry QtFontStyle *QtFontFoundry::style(const QtFontStyle::Key &key, const QString &styleName, bool create) { int pos = 0; - if (count) { - // if styleName for searching first if possible - if (!styleName.isEmpty()) { - for (; pos < count; pos++) { - if (styles[pos]->styleName == styleName) - return styles[pos]; - } - } - int low = 0; - int high = count; - pos = count / 2; - while (high > low) { + for (; pos < count; pos++) { + bool hasStyleName = !styleName.isEmpty(); // search styleName first if available + if (hasStyleName && !styles[pos]->styleName.isEmpty()) { + if (styles[pos]->styleName == styleName) + return styles[pos]; + } else { if (styles[pos]->key == key) return styles[pos]; - if (styles[pos]->key < key) - low = pos + 1; - else - high = pos; - pos = (high + low) / 2; } - pos = low; } if (!create) return 0; @@ -309,7 +297,6 @@ QtFontStyle *QtFontFoundry::style(const QtFontStyle::Key &key, const QString &st QtFontStyle *style = new QtFontStyle(key); style->styleName = styleName; - memmove(styles + pos + 1, styles + pos, (count-pos)*sizeof(QtFontStyle *)); styles[pos] = style; count++; return styles[pos]; diff --git a/src/gui/text/qfontdatabase_qpa.cpp b/src/gui/text/qfontdatabase_qpa.cpp index 22aacf1dcd..2ecab9ebf9 100644 --- a/src/gui/text/qfontdatabase_qpa.cpp +++ b/src/gui/text/qfontdatabase_qpa.cpp @@ -52,7 +52,8 @@ QT_BEGIN_NAMESPACE -Q_GUI_EXPORT void qt_registerFont(const QString &familyName, const QString &foundryname, int weight, +Q_GUI_EXPORT void qt_registerFont(const QString &familyName, const QString &stylename, + const QString &foundryname, int weight, QFont::Style style, int stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *handle) @@ -75,7 +76,7 @@ Q_GUI_EXPORT void qt_registerFont(const QString &familyName, const QString &fou } QtFontFoundry *foundry = f->foundry(foundryname, true); - QtFontStyle *fontStyle = foundry->style(styleKey, QString(), true); + QtFontStyle *fontStyle = foundry->style(styleKey, stylename, true); fontStyle->smoothScalable = scalable; fontStyle->antialiased = antialiased; QtFontSize *size = fontStyle->pixelSize(pixelSize ? pixelSize : SMOOTH_SCALABLE, true); diff --git a/src/gui/text/qplatformfontdatabase.cpp b/src/gui/text/qplatformfontdatabase.cpp index 6fd145d921..972e0b1a09 100644 --- a/src/gui/text/qplatformfontdatabase.cpp +++ b/src/gui/text/qplatformfontdatabase.cpp @@ -47,7 +47,8 @@ QT_BEGIN_NAMESPACE -extern void qt_registerFont(const QString &familyname, const QString &foundryname, int weight, +extern void qt_registerFont(const QString &familyname, const QString &stylename, + const QString &foundryname, int weight, QFont::Style style, int stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *hanlde); @@ -89,7 +90,7 @@ void QPlatformFontDatabase::registerQPF2Font(const QByteArray &dataArray, void * } } QFont::Stretch stretch = QFont::Unstretched; - registerFont(fontName,QString(),fontWeight,fontStyle,stretch,true,false,pixelSize,false,writingSystems,handle); + registerFont(fontName,QString(),QString(),fontWeight,fontStyle,stretch,true,false,pixelSize,false,writingSystems,handle); } } else { qDebug() << "header verification of QPF2 font failed. maybe it is corrupt?"; @@ -117,7 +118,8 @@ void QPlatformFontDatabase::registerQPF2Font(const QByteArray &dataArray, void * \sa registerQPF2Font() */ -void QPlatformFontDatabase::registerFont(const QString &familyname, const QString &foundryname, QFont::Weight weight, +void QPlatformFontDatabase::registerFont(const QString &familyname, const QString &stylename, + const QString &foundryname, QFont::Weight weight, QFont::Style style, QFont::Stretch stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *usrPtr) @@ -125,7 +127,7 @@ void QPlatformFontDatabase::registerFont(const QString &familyname, const QStrin if (scalable) pixelSize = 0; - qt_registerFont(familyname, foundryname, weight, style, + qt_registerFont(familyname, stylename, foundryname, weight, style, stretch, antialiased, scalable, pixelSize, fixedPitch, writingSystems, usrPtr); } diff --git a/src/gui/text/qplatformfontdatabase.h b/src/gui/text/qplatformfontdatabase.h index 8c2e4cf5f7..5ff2542982 100644 --- a/src/gui/text/qplatformfontdatabase.h +++ b/src/gui/text/qplatformfontdatabase.h @@ -116,7 +116,8 @@ public: //callback static void registerQPF2Font(const QByteArray &dataArray, void *handle); - static void registerFont(const QString &familyname, const QString &foundryname, QFont::Weight weight, + static void registerFont(const QString &familyname, const QString &stylename, + const QString &foundryname, QFont::Weight weight, QFont::Style style, QFont::Stretch stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *handle); diff --git a/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp b/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp index dd6f04f74d..996ea85249 100644 --- a/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp +++ b/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp @@ -452,7 +452,7 @@ QStringList QBasicFontDatabase::addTTFile(const QByteArray &fontData, const QByt QFont::Stretch stretch = QFont::Unstretched; - registerFont(family,QString(),weight,style,stretch,true,true,0,fixedPitch,writingSystems,fontFile); + registerFont(family,QString::fromLatin1(face->style_name),QString(),weight,style,stretch,true,true,0,fixedPitch,writingSystems,fontFile); families.append(family); diff --git a/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp b/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp index cf6ff11acd..d23588d22d 100644 --- a/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp +++ b/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp @@ -318,6 +318,7 @@ void QFontconfigDatabase::populateFontDatabase() FcChar8 *file_value; int indexValue; FcChar8 *foundry_value; + FcChar8 *style_value; FcBool scalable; FcBool antialias; @@ -325,7 +326,7 @@ void QFontconfigDatabase::populateFontDatabase() FcObjectSet *os = FcObjectSetCreate(); FcPattern *pattern = FcPatternCreate(); const char *properties [] = { - FC_FAMILY, FC_WEIGHT, FC_SLANT, + FC_FAMILY, FC_STYLE, FC_WEIGHT, FC_SLANT, FC_SPACING, FC_FILE, FC_INDEX, FC_LANG, FC_CHARSET, FC_FOUNDRY, FC_SCALABLE, FC_PIXEL_SIZE, FC_WEIGHT, FC_WIDTH, @@ -371,6 +372,8 @@ void QFontconfigDatabase::populateFontDatabase() scalable = FcTrue; if (FcPatternGetString(fonts->fonts[i], FC_FOUNDRY, 0, &foundry_value) != FcResultMatch) foundry_value = 0; + if (FcPatternGetString(fonts->fonts[i], FC_STYLE, 0, &style_value) != FcResultMatch) + style_value = 0; if(FcPatternGetBool(fonts->fonts[i],FC_ANTIALIAS,0,&antialias) != FcResultMatch) antialias = true; @@ -438,7 +441,8 @@ void QFontconfigDatabase::populateFontDatabase() bool fixedPitch = spacing_value >= FC_MONO; QFont::Stretch stretch = QFont::Unstretched; - QPlatformFontDatabase::registerFont(familyName,QLatin1String((const char *)foundry_value),weight,style,stretch,antialias,scalable,pixel_size,fixedPitch,writingSystems,fontFile); + QString styleName = style_value ? QString::fromUtf8((const char *) style_value) : QString(); + QPlatformFontDatabase::registerFont(familyName,styleName,QLatin1String((const char *)foundry_value),weight,style,stretch,antialias,scalable,pixel_size,fixedPitch,writingSystems,fontFile); // qDebug() << familyName << (const char *)foundry_value << weight << style << &writingSystems << scalable << true << pixel_size; } @@ -462,9 +466,9 @@ void QFontconfigDatabase::populateFontDatabase() while (f->qtname) { QString familyQtName = QString::fromLatin1(f->qtname); - registerFont(familyQtName,QString(),QFont::Normal,QFont::StyleNormal,QFont::Unstretched,true,true,0,f->fixed,ws,0); - registerFont(familyQtName,QString(),QFont::Normal,QFont::StyleItalic,QFont::Unstretched,true,true,0,f->fixed,ws,0); - registerFont(familyQtName,QString(),QFont::Normal,QFont::StyleOblique,QFont::Unstretched,true,true,0,f->fixed,ws,0); + registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleNormal,QFont::Unstretched,true,true,0,f->fixed,ws,0); + registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleItalic,QFont::Unstretched,true,true,0,f->fixed,ws,0); + registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleOblique,QFont::Unstretched,true,true,0,f->fixed,ws,0); ++f; } diff --git a/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm b/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm index 99a316bef3..4ea38cb74e 100644 --- a/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm +++ b/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm @@ -227,6 +227,7 @@ void QCoreTextFontDatabase::populateFontDatabase() for (int i = 0; i < numFonts; ++i) { CTFontDescriptorRef font = (CTFontDescriptorRef) CFArrayGetValueAtIndex(fonts, i); QCFString familyName = (CFStringRef) CTFontDescriptorCopyLocalizedAttribute(font, kCTFontFamilyNameAttribute, NULL); + QCFString styleName = (CFStringRef)CTFontDescriptorCopyLocalizedAttribute(font, kCTFontStyleNameAttribute, NULL); QCFType styles = (CFDictionaryRef) CTFontDescriptorCopyAttribute(font, kCTFontTraitsAttribute); QFont::Weight weight = QFont::Normal; QFont::Style style = QFont::StyleNormal; @@ -285,7 +286,7 @@ void QCoreTextFontDatabase::populateFontDatabase() } CFRetain(font); - QPlatformFontDatabase::registerFont(familyName, foundryName, weight, style, stretch, + QPlatformFontDatabase::registerFont(familyName, styleName, foundryName, weight, style, stretch, true /* antialiased */, true /* scalable */, pixelSize, fixedPitch, writingSystems, (void *) font); CFStringRef psName = (CFStringRef) CTFontDescriptorCopyAttribute(font, kCTFontNameAttribute); diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp index 262b610745..1a899c848e 100644 --- a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp +++ b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp @@ -1033,17 +1033,17 @@ static bool addFontToDatabase(QString familyName, const QString &scriptName, writingSystems.setSupported(ws); } - QPlatformFontDatabase::registerFont(familyName, foundryName, weight, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, weight, style, stretch, antialias, scalable, size, fixed, writingSystems, 0); // add fonts windows can generate for us: if (weight <= QFont::DemiBold) - QPlatformFontDatabase::registerFont(familyName, foundryName, QFont::Bold, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, QFont::Bold, style, stretch, antialias, scalable, size, fixed, writingSystems, 0); if (style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(familyName, foundryName, weight, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, weight, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, 0); if (weight <= QFont::DemiBold && style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(familyName, foundryName, QFont::Bold, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, QFont::Bold, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, 0); if (!englishName.isEmpty()) diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp b/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp index 4c3d412b8e..7d09166473 100644 --- a/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp +++ b/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp @@ -279,20 +279,20 @@ static bool addFontToDatabase(QString familyName, const QString &scriptName, if (!QDir::isAbsolutePath(value)) value.prepend(QString::fromLocal8Bit(qgetenv("windir") + "\\Fonts\\")); - QPlatformFontDatabase::registerFont(faceName, foundryName, weight, style, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, weight, style, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); // add fonts windows can generate for us: if (weight <= QFont::DemiBold) - QPlatformFontDatabase::registerFont(faceName, foundryName, QFont::Bold, style, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, QFont::Bold, style, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); if (style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(faceName, foundryName, weight, QFont::StyleItalic, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, weight, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); if (weight <= QFont::DemiBold && style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(faceName, foundryName, QFont::Bold, QFont::StyleItalic, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, QFont::Bold, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); if (!englishName.isEmpty()) From 4d6bf271c799e0d31b674c76fda54c493ce641a8 Mon Sep 17 00:00:00 2001 From: Rick Stockton Date: Thu, 13 Dec 2012 22:46:54 -0800 Subject: [PATCH 207/386] Enhance example qtbase/examples/widgets/widgets/mousebuttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Display and QDebug() of Qt::MouseButtons values. (I.e., Buttons believed to be in 'Pressed' State by Qt.) Assists in platform plugin mouse software debug. Task-number: QTBUG-28603 Change-Id: I4a7a3ac44a8cc7eb1eceb9f348493b58b12dbd69 Reviewed-by: Oliver Wolff Reviewed-by: Samuel Rødal --- .../widgets/mousebuttons/buttontester.cpp | 56 +++++++++++++++++-- .../widgets/mousebuttons/buttontester.h | 1 + .../widgets/widgets/mousebuttons/main.cpp | 4 ++ 3 files changed, 55 insertions(+), 6 deletions(-) diff --git a/examples/widgets/widgets/mousebuttons/buttontester.cpp b/examples/widgets/widgets/mousebuttons/buttontester.cpp index 9a631b9fa2..c64bf76211 100644 --- a/examples/widgets/widgets/mousebuttons/buttontester.cpp +++ b/examples/widgets/widgets/mousebuttons/buttontester.cpp @@ -44,26 +44,35 @@ void ButtonTester::mousePressEvent(QMouseEvent *e) { int j = ButtonTester::buttonByNumber (e->button()); - QString result = "Mouse Press: raw button=" + QString::number(j) + " Qt=" + enumNameFromValue(e->button()); + QString result = "Mouse Press: raw button=" + QString::number(j) + + " Qt=" + enumNameFromValue(e->button()); + QString buttonsString = ButtonTester::enumNamesFromMouseButtons(e->buttons()); + result += "\n heldbuttons " + buttonsString; qDebug() << result; this->setText(result); - if (j == 2) { - this->repaint(); - } + this->repaint(); } void ButtonTester::mouseReleaseEvent(QMouseEvent *e) { int j = ButtonTester::buttonByNumber (e->button()); - QString result = "Mouse Release: raw button=" + QString::number(j) + " Qt=" + enumNameFromValue(e->button()); + QString result = "Mouse Release: raw button=" + QString::number(j) + + " Qt=" + enumNameFromValue(e->button()); + QString buttonsString = ButtonTester::enumNamesFromMouseButtons(e->buttons()); + result += "\n heldbuttons " + buttonsString; qDebug() << result; this->setText(result); + this->repaint(); + } void ButtonTester::mouseDoubleClickEvent(QMouseEvent *e) { int j = ButtonTester::buttonByNumber (e->button()); - QString result = "Mouse DoubleClick: raw button=" + QString::number(j) + " Qt=" + enumNameFromValue(e->button()); + QString result = "Mouse DoubleClick: raw button=" + QString::number(j) + + " Qt=" + enumNameFromValue(e->button()); + QString buttonsString = ButtonTester::enumNamesFromMouseButtons(e->buttons()); + result += "\n heldbuttons" + buttonsString; qDebug() << result; this->setText(result); } @@ -172,3 +181,38 @@ QString ButtonTester::enumNameFromValue(const Qt::MouseButton button) qDebug("QMouseShortcutEntry::addShortcut contained Invalid Qt::MouseButton value"); return "NoButton"; } + +QString ButtonTester::enumNamesFromMouseButtons(const Qt::MouseButtons buttons) +{ + QString returnText = ""; + if (buttons == Qt::NoButton) return "NoButton"; + if (buttons & Qt::LeftButton) returnText += "LeftButton "; + if (buttons & Qt::RightButton) returnText += "RightButton "; + if (buttons & Qt::MiddleButton) returnText += "MiddleButton "; + if (buttons & Qt::BackButton) returnText += "BackButton "; + if (buttons & Qt::ForwardButton) returnText += "ForwardButton "; + if (buttons & Qt::TaskButton) returnText += "TaskButton "; + if (buttons & Qt::ExtraButton4) returnText += "ExtraButton4 "; + if (buttons & Qt::ExtraButton5) returnText += "ExtraButton5 "; + if (buttons & Qt::ExtraButton6) returnText += "ExtraButton6 "; + if (buttons & Qt::ExtraButton7) returnText += "ExtraButton7 "; + if (buttons & Qt::ExtraButton8) returnText += "ExtraButton8 "; + if (buttons & Qt::ExtraButton9) returnText += "ExtraButton9 "; + if (buttons & Qt::ExtraButton10) returnText += "ExtraButton10 "; + if (buttons & Qt::ExtraButton11) returnText += "ExtraButton11 "; + if (buttons & Qt::ExtraButton12) returnText += "ExtraButton12 "; + if (buttons & Qt::ExtraButton13) returnText += "ExtraButton13 "; + if (buttons & Qt::ExtraButton14) returnText += "ExtraButton14 "; + if (buttons & Qt::ExtraButton15) returnText += "ExtraButton15 "; + if (buttons & Qt::ExtraButton16) returnText += "ExtraButton16 "; + if (buttons & Qt::ExtraButton17) returnText += "ExtraButton17 "; + if (buttons & Qt::ExtraButton18) returnText += "ExtraButton18 "; + if (buttons & Qt::ExtraButton19) returnText += "ExtraButton19 "; + if (buttons & Qt::ExtraButton20) returnText += "ExtraButton20 "; + if (buttons & Qt::ExtraButton21) returnText += "ExtraButton21 "; + if (buttons & Qt::ExtraButton22) returnText += "ExtraButton22 "; + if (buttons & Qt::ExtraButton23) returnText += "ExtraButton23 "; + if (buttons & Qt::ExtraButton24) returnText += "ExtraButton24 "; + return returnText; +} + diff --git a/examples/widgets/widgets/mousebuttons/buttontester.h b/examples/widgets/widgets/mousebuttons/buttontester.h index 2f8db560f4..6db8993486 100644 --- a/examples/widgets/widgets/mousebuttons/buttontester.h +++ b/examples/widgets/widgets/mousebuttons/buttontester.h @@ -61,6 +61,7 @@ protected: #endif int buttonByNumber(const Qt::MouseButton button); QString enumNameFromValue(const Qt::MouseButton button); + QString enumNamesFromMouseButtons(const Qt::MouseButtons buttons); }; #endif // BUTTONTESTER_H diff --git a/examples/widgets/widgets/mousebuttons/main.cpp b/examples/widgets/widgets/mousebuttons/main.cpp index 67bbbb8896..1692ac5432 100644 --- a/examples/widgets/widgets/mousebuttons/main.cpp +++ b/examples/widgets/widgets/mousebuttons/main.cpp @@ -48,6 +48,10 @@ int main(int argv, char **args) ButtonTester *testArea = new ButtonTester; testArea->setMinimumSize(500, 350); + +// For this test, Qt::RightButton behaves like any other button. + testArea->setContextMenuPolicy(Qt::NoContextMenu); + testArea->setTextInteractionFlags(Qt::TextSelectableByMouse); testArea->setText("To test your mouse with Qt, press buttons in this area.\nYou may also scroll or tilt your mouse wheel."); QPushButton *quitButton = new QPushButton("Quit"); From a0a4c06736a71fedb69f01c1c4c423173a2a665e Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 12 Dec 2012 14:15:38 +0100 Subject: [PATCH 208/386] Doc: remove example docs that were moved to qttools Remove docs and images for Multiple Inheritance and Text Finder examples that were moved to qttools/uitools. Change-Id: I29e8f76b2512e329c354a6d3676c9b2e09e35726 Reviewed-by: Friedemann Kleint Reviewed-by: David Schulz --- doc/src/examples/multipleinheritance.qdoc | 94 ----------- .../code/doc_src_examples_textfinder.pro | 6 - examples/tools/doc/textfinder.qdoc | 159 ------------------ .../textfinder-example-userinterface.png | Bin 7900 -> 0 bytes 4 files changed, 259 deletions(-) delete mode 100644 doc/src/examples/multipleinheritance.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_textfinder.pro delete mode 100644 examples/tools/doc/textfinder.qdoc delete mode 100644 examples/widgets/doc/images/textfinder-example-userinterface.png diff --git a/doc/src/examples/multipleinheritance.qdoc b/doc/src/examples/multipleinheritance.qdoc deleted file mode 100644 index 541dc3c719..0000000000 --- a/doc/src/examples/multipleinheritance.qdoc +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example uitools/multipleinheritance - \title Multiple Inheritance Example - - The Multiple Inheritance Example shows how to use a form created with - Qt Designer in an application by subclassing both QWidget and the user - interface class, which is \c{Ui::CalculatorForm}. - - \image multipleinheritance-example.png - - To subclass the \c calculatorform.ui file and ensure that \c qmake - processes it with the \c uic, we have to include \c calculatorform.ui - in the \c .pro file, as shown below: - - \snippet examples/uitools/multipleinheritance/multipleinheritance.pro 0 - - When the project is compiled, the \c uic will generate a corresponding - \c ui_calculatorform.h. - - \section1 CalculatorForm Definition - - In the \c CalculatorForm definition, we include the \c ui_calculatorform.h - that was generated earlier. - - \snippet examples/uitools/multipleinheritance/calculatorform.h 0 - - As mentioned earlier, the class is a subclass of both QWidget and - \c{Ui::CalculatorForm}. - - \snippet examples/uitools/multipleinheritance/calculatorform.h 1 - - Two slots are defined according to the \l{Automatic Connections} - {automatic connection} naming convention required by \c uic. This is - to ensure that \l{QMetaObject}'s auto-connection facilities connect - all the signals and slots involved automatically. - - \section1 CalculatorForm Implementation - - In the constructor, we call \c setupUi() to load the user interface file. - Note that we do not need the \c{ui} prefix as \c CalculatorForm is a - subclass of the user interface class. - - \snippet examples/uitools/multipleinheritance/calculatorform.cpp 0 - - We include two slots, \c{on_inputSpinBox1_valueChanged()} and - \c{on_inputSpinBox2_valueChanged()}. These slots respond to the - \l{QSpinBox::valueChanged()}{valueChanged()} signal that both spin boxes - emit. Whenever there is a change in one spin box's value, we take that - value and add it to whatever value the other spin box has. - - \snippet examples/uitools/multipleinheritance/calculatorform.cpp 1 - \codeline - \snippet examples/uitools/multipleinheritance/calculatorform.cpp 2 - - \section1 \c main() Function - - The \c main() function instantiates QApplication and \c CalculatorForm. - The \c calculator object is displayed by invoking the \l{QWidget::show()} - {show()} function. - - \snippet examples/uitools/multipleinheritance/main.cpp 0 - - There are various approaches to include forms into applications. The - Multiple Inheritance approach is just one of them. See - \l{Using a Designer UI File in Your Application} for more information on - the other approaches available. -*/ diff --git a/doc/src/snippets/code/doc_src_examples_textfinder.pro b/doc/src/snippets/code/doc_src_examples_textfinder.pro deleted file mode 100644 index 4446e8eb7b..0000000000 --- a/doc/src/snippets/code/doc_src_examples_textfinder.pro +++ /dev/null @@ -1,6 +0,0 @@ -#! [0] -QT += uitools -HEADERS = textfinder.h -RESOURCES = textfinder.qrc -SOURCES = textfinder.cpp main.cpp -#! [0] diff --git a/examples/tools/doc/textfinder.qdoc b/examples/tools/doc/textfinder.qdoc deleted file mode 100644 index f958cf8623..0000000000 --- a/examples/tools/doc/textfinder.qdoc +++ /dev/null @@ -1,159 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example uitools/textfinder - \title Text Finder Example - - \brief The Text Finder example demonstrates how to dynamically process forms - using the QtUiTools module. Dynamic form processing enables a form to - be processed at run-time only by changing the UI file for the project. - The program allows the user to look up a particular word within the - contents of a text file. This text file is included in the project's - resource and is loaded into the display at startup. - - \table - \row \li \inlineimage textfinder-example-find.png - \li \inlineimage textfinder-example-find2.png - \endtable - - \section1 Setting Up The Resource File - - The resources required for Text Finder are: - \list - \li \e{textfinder.ui} - the user interface file created in QtDesigner - \li \e{input.txt} - a text file containing some text to be displayed - in the QTextEdit - \endlist - - \e{textfinder.ui} contains all the necessary QWidget objects for the - Text Finder. A QLineEdit is used for the user input, a QTextEdit is - used to display the contents of \e{input.txt}, a QLabel is used to - display the text "Keyword", and a QPushButton is used for the "Find" - button. The screenshot below shows the preview obtained in QtDesigner. - - \image textfinder-example-userinterface.png - - A \e{textfinder.qrc} file is used to store both the \e{textfinder.ui} - and \e{input.txt} in the application's executable. The file contains - the following code: - - \quotefile examples/uitools/textfinder/textfinder.qrc - - For more information on resource files, see \l{The Qt Resource System}. - - To generate a form at run-time, the example is linked against the - QtUiTools module library. This is done in the \c{textfinder.pro} file - that contains the following lines: - - \snippet doc/src/snippets/code/doc_src_examples_textfinder.pro 0 - - \section1 TextFinder Class Definition - - The \c TextFinder class is a subclass of QWidget and it hosts the - \l{QWidget}s we need to access in the user interface. The QLabel in the - user interface is not declared here as we do not need to access it. - - \snippet examples/uitools/textfinder/textfinder.h 0 - - The slot \c{on_findButton_clicked()} is a slot named according to the - \l{Using a Designer UI File in Your Application#Automatic Connections} - {Automatic Connection} naming convention required - by \c uic. - - \section1 TextFinder Class Implementation - - The \c TextFinder class's constructor calls the \c loadUiFile() function - and then uses \c qFindChild() to access the user interface's - \l{QWidget}s. - - \snippet examples/uitools/textfinder/textfinder.cpp 0 - - We then use QMetaObject's system to enable signal and slot connections. - - \snippet examples/uitools/textfinder/textfinder.cpp 2 - - The loadTextFile() function is called to load \c{input.txt} into - QTextEdit to displays its contents. - - \snippet examples/uitools/textfinder/textfinder.cpp 3a - - The \c{TextFinder}'s layout is set with \l{QWidget::}{setLayout()}. - - \snippet examples/uitools/textfinder/textfinder.cpp 3b - - Finally, the window title is set to \e {Text Finder} and \c isFirstTime is - set to true. - - \c isFirstTime is used as a flag to indicate whether the search operation - has been performed more than once. This is further explained with the - \c{on_findButton_clicked()} function. - - The \c{loadUiFile()} function is used to load the user interface file - previously created in QtDesigner. The QUiLoader class is instantiated - and its \c load() function is used to load the form into \c{formWidget} - that acts as a place holder for the user interface. The function then - returns \c{formWidget} to its caller. - - \snippet examples/uitools/textfinder/textfinder.cpp 4 - - As mentioned earlier, the loadTextFile() function loads \e{input.txt} - into QTextEdit to display its contents. Data is read using QTextStream - into a QString object, \c line with the QTextStream::readAll() function. - The contents of \c line are then appended to \c{ui_textEdit}. - - \snippet examples/uitools/textfinder/textfinder.cpp 5 - - The \c{on_findButton_clicked()} function is a slot that is connected to - \c{ui_findButton}'s \c clicked() signal. The \c searchString is extracted - from the \c ui_lineEdit and the \c document is extracted from \c textEdit. - In event there is an empty \c searchString, a QMessageBox is used, - requesting the user to enter a word. Otherwise, we traverse through the - words in \c ui_textEdit, and highlight all ocurrences of the - \c searchString . Two QTextCursor objects are used: One to traverse through - the words in \c line and another to keep track of the edit blocks. - - \snippet examples/uitools/textfinder/textfinder.cpp 7 - - The \c isFirstTime flag is set to false the moment \c findButton is - clicked. This is necessary to undo the previous text highlight before - highlighting the user's next search string. Also, the \c found flag - is used to indicate if the \c searchString was found within the contents - of \c ui_textEdit. If it was not found, a QMessageBox is used - to inform the user. - - \snippet examples/uitools/textfinder/textfinder.cpp 9 - - \section1 \c main() Function - - \snippet examples/uitools/textfinder/main.cpp 0 - - The \c main() function initialises the \e{textfinder.qrc} resource file - and instantiates as well as displays \c TextFinder. - - \sa {Calculator Builder Example}, {World Time Clock Builder Example} - */ diff --git a/examples/widgets/doc/images/textfinder-example-userinterface.png b/examples/widgets/doc/images/textfinder-example-userinterface.png deleted file mode 100644 index 2bebe2e9dd836164fc31a252c8bcc8705ae6505c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7900 zcmY+J1x#F9ptWakXK*brxD**2F3zCEU5XEdLb2j94DJ-CKyiw@6bi-K;_mKJ97?ew z1CM)O-kT&2|5=R?kX*aRH5l7vcg`Db!)ixH+JZPgrhyI^H~C-9hP`>h8D`UO=#za6BDqqCUoskC|n+&BS0i~J%LU&e$ zs!tyx7YRoeoPf1m(sb5*EhNJx^#c7WDsQL5J-?Zkb67H83*Z#3CPAS%a>0R&@8HM>?h3iggY7>BkrJJs%Ms2qd8tEVFX()y=$xi(Eum+8{-4H80}4 zs8kc)&AQ&v`dB#%BBM`~5n%lQ=s(5iALpygG9HH#b~D3CqdZFH8^y@7GC7BU?>7aI zE^z1Dq4A%;oN0xYeB|`#AsF-k9Sr*ruZzCM^@z0IoXYjrth-+vN88l}YdhwC$YLNj zE{bxlD9)T*ew`~XE80wKKqB^m>eyQAfX}ILl26FZ^E8T1cQTFYj`xuoHhj6)E+4FV z-J%ptno2I}&x^m?d^%h4J2b!dknl1$)2sqU;V>wFl%@J37_{Hhqs?wA8O6vn$UoiF<=>sShbDYGjW ztXt(hcXdDJRg&xP$<%XgG6K%%L;}t}%XlE4^CK%WF80KvIo)ZD`%>JO)%j-qGa(;* zS(}M$L7$0G2(mJnxR25i*o0w;XXzKT4TA7s_6)u;VDYtB_Ff{?9z~R3*2<7~0SXF5%Za} z89=;kgVvdc!T3gynZLIuo|E2YN*re&ARSu(KK!s@LjwHNB*pNUS{=Zcsud(NDL5 z(fQ*-KnwAQy%+cKMZ_X|Ls!%0d!~l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(Q&nFon`xIAIHbUKQA$PvgI*$8i?=79A06{96G>lR(z-0(Pg|c5)7$7mgVJqjJO|4MhE9Ko-IcjnWrJ(s)Frmp(Rs?MUAIOi!ApguF2-pxr8vq620S#t?$gXB4 zxE#7;mYlKbXi)wQ{4e*vwC)({|Fw9Aq5A*ko^7kjA~B7$QDLbVR4A_0&usriva{$! z0G?t0wR{%yKturF{ulkf=>c}zF#$ADeBiV4-*8VZz#@Y@K;sz;H~@Mc8N;xi&HhVW z20W+mGww;r2d(}K%a1morHBg1Rlt81|EC}Q_XAe7qKVn?@>7-Re*s1)fd5+>KR-3V z{=tgi|2U*b1WXZkjBUU&yD}K<(dMe-IUx`RtuMs*e?2!qQG?Jub05isEEQItDk^K* z4js(;mX?cW-G@bZoLrpYKJ64gQH@$#$hSuqd`Px=i!yYd$z+ni|JS#~{&ov8LHeU1 z?`wFSKI`!ktpO?u8qgX!%aH#8=`H5i From d64c4662f01ffc94c68e7c9f7abdb6309e67e489 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 12 Dec 2012 11:20:30 +0100 Subject: [PATCH 209/386] QtBase: Removed moved linguist examples. Linguist examples are now in qttools. Change-Id: I8abfff50d81cda143a080711bf9583e7be777009 Reviewed-by: Leena Miettinen --- doc/src/examples/arrowpad.qdoc | 223 ------------------ doc/src/examples/hellotr.qdoc | 174 -------------- .../code/doc_src_examples_arrowpad.cpp | 43 ---- .../code/doc_src_examples_arrowpad.qdoc | 54 ----- .../code/doc_src_examples_hellotr.qdoc | 71 ------ .../code/doc_src_examples_trollprint.cpp | 77 ------ examples/examples.pro | 2 - examples/ja_JP/linguist/hellotr/hellotr.pro | 11 - examples/ja_JP/linguist/hellotr/main.cpp | 70 ------ examples/linguist/README | 6 - examples/linguist/arrowpad/arrowpad.cpp | 64 ----- examples/linguist/arrowpad/arrowpad.h | 68 ------ examples/linguist/arrowpad/arrowpad.pro | 18 -- examples/linguist/arrowpad/main.cpp | 63 ----- examples/linguist/arrowpad/mainwindow.cpp | 61 ----- examples/linguist/arrowpad/mainwindow.h | 68 ------ examples/linguist/hellotr/hellotr.pro | 13 - examples/linguist/hellotr/main.cpp | 70 ------ examples/linguist/linguist.pro | 6 - examples/linguist/trollprint/main.cpp | 60 ----- examples/linguist/trollprint/mainwindow.cpp | 95 -------- examples/linguist/trollprint/mainwindow.h | 74 ------ examples/linguist/trollprint/printpanel.cpp | 85 ------- examples/linguist/trollprint/printpanel.h | 69 ------ examples/linguist/trollprint/trollprint.pro | 14 -- examples/linguist/trollprint/trollprint_pt.ts | 65 ----- 26 files changed, 1624 deletions(-) delete mode 100644 doc/src/examples/arrowpad.qdoc delete mode 100644 doc/src/examples/hellotr.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_arrowpad.cpp delete mode 100644 doc/src/snippets/code/doc_src_examples_arrowpad.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_hellotr.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_trollprint.cpp delete mode 100644 examples/ja_JP/linguist/hellotr/hellotr.pro delete mode 100644 examples/ja_JP/linguist/hellotr/main.cpp delete mode 100644 examples/linguist/README delete mode 100644 examples/linguist/arrowpad/arrowpad.cpp delete mode 100644 examples/linguist/arrowpad/arrowpad.h delete mode 100644 examples/linguist/arrowpad/arrowpad.pro delete mode 100644 examples/linguist/arrowpad/main.cpp delete mode 100644 examples/linguist/arrowpad/mainwindow.cpp delete mode 100644 examples/linguist/arrowpad/mainwindow.h delete mode 100644 examples/linguist/hellotr/hellotr.pro delete mode 100644 examples/linguist/hellotr/main.cpp delete mode 100644 examples/linguist/linguist.pro delete mode 100644 examples/linguist/trollprint/main.cpp delete mode 100644 examples/linguist/trollprint/mainwindow.cpp delete mode 100644 examples/linguist/trollprint/mainwindow.h delete mode 100644 examples/linguist/trollprint/printpanel.cpp delete mode 100644 examples/linguist/trollprint/printpanel.h delete mode 100644 examples/linguist/trollprint/trollprint.pro delete mode 100644 examples/linguist/trollprint/trollprint_pt.ts diff --git a/doc/src/examples/arrowpad.qdoc b/doc/src/examples/arrowpad.qdoc deleted file mode 100644 index 39c0558117..0000000000 --- a/doc/src/examples/arrowpad.qdoc +++ /dev/null @@ -1,223 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example linguist/arrowpad - \title Arrow Pad Example - - This example is a slightly more involved and introduces a key \e - {Qt Linguist} concept: "contexts". It also shows how to use two - or more languages. - - \image linguist-arrowpad_en.png - - We will use two translations, French and Dutch, although there is no - effective limit on the number of possible translations that can be used - with an application. The relevant lines of \c arrowpad.pro are - - \snippet examples/linguist/arrowpad/arrowpad.pro 0 - \codeline - \snippet examples/linguist/arrowpad/arrowpad.pro 1 - - Run \c lupdate; it should produce two identical message files - \c arrowpad_fr.ts and \c arrowpad_nl.ts. These files will contain all the source - texts marked for translation with \c tr() calls and their contexts. - - See the \l{Qt Linguist manual} for more information about - translating Qt application. - - \section1 Line by Line Walkthrough - - In \c arrowpad.h we define the \c ArrowPad subclass which is a - subclass of QWidget. In the screenshot above, the central - widget with the four buttons is an \c ArrowPad. - - \snippet examples/linguist/arrowpad/arrowpad.h 0 - \snippet examples/linguist/arrowpad/arrowpad.h 1 - \snippet examples/linguist/arrowpad/arrowpad.h 2 - - When \c lupdate is run it not only extracts the source texts but it - also groups them into contexts. A context is the name of the class in - which the source text appears. Thus, in this example, "ArrowPad" is a - context: it is the context of the texts in the \c ArrowPad class. - The \c Q_OBJECT macro defines \c tr(x) in \c ArrowPad like this: - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.cpp 0 - - Knowing which class each source text appears in enables \e {Qt - Linguist} to group texts that are logically related together, e.g. - all the text in a dialog will have the context of the dialog's class - name and will be shown together. This provides useful information for - the translator since the context in which text appears may influence how - it should be translated. For some translations keyboard - accelerators may need to be changed and having all the source texts in a - particular context (class) grouped together makes it easier for the - translator to perform any accelerator changes without introducing - conflicts. - - In \c arrowpad.cpp we implement the \c ArrowPad class. - - \snippet examples/linguist/arrowpad/arrowpad.cpp 0 - \snippet examples/linguist/arrowpad/arrowpad.cpp 1 - \snippet examples/linguist/arrowpad/arrowpad.cpp 2 - \snippet examples/linguist/arrowpad/arrowpad.cpp 3 - - We call \c ArrowPad::tr() for each button's label since the labels are - user-visible text. - - \image linguist-arrowpad_en.png - - \snippet examples/linguist/arrowpad/mainwindow.h 0 - \snippet examples/linguist/arrowpad/mainwindow.h 1 - - In the screenshot above, the whole window is a \c MainWindow. - This is defined in the \c mainwindow.h header file. Here too, we - use \c Q_OBJECT, so that \c MainWindow will become a context in - \e {Qt Linguist}. - - \snippet examples/linguist/arrowpad/mainwindow.cpp 0 - - In the implementation of \c MainWindow, \c mainwindow.cpp, we create - an instance of our \c ArrowPad class. - - \snippet examples/linguist/arrowpad/mainwindow.cpp 1 - - We also call \c MainWindow::tr() twice, once for the action and - once for the shortcut. - - Note the use of \c tr() to support different keys in other - languages. "Ctrl+Q" is a good choice for Quit in English, but a - Dutch translator might want to use "Ctrl+A" (for Afsluiten) and a - German translator "Strg+E" (for Beenden). When using \c tr() for - \uicontrol Ctrl key accelerators, the two argument form should be used - with the second argument describing the function that the - accelerator performs. - - Our \c main() function is defined in \c main.cpp as usual. - - \snippet examples/linguist/arrowpad/main.cpp 2 - \snippet examples/linguist/arrowpad/main.cpp 3 - - We choose which translation to use according to the current locale. - QLocale::system() can be influenced by setting the \c LANG - environment variable, for example. Notice that the use of a naming - convention that incorporates the locale for \c .qm message files, - (and TS files), makes it easy to implement choosing the - translation file according to locale. - - If there is no QM message file for the locale chosen the original - source text will be used and no error raised. - - \section1 Translating to French and Dutch - - We'll begin by translating the example application into French. Start - \e {Qt Linguist} with \c arrowpad_fr.ts. You should get the seven source - texts ("\&Up", "\&Left", etc.) grouped in two contexts ("ArrowPad" - and "MainWindow"). - - Now, enter the following translations: - - \list - \li \c ArrowPad - \list - \li \&Up - \&Haut - \li \&Left - \&Gauche - \li \&Right - \&Droite - \li \&Down - \&Bas - \endlist - \li \c MainWindow - \list - \li E\&xit - \&Quitter - \li Ctrl+Q - Ctrl+Q - \li \&File - \&Fichier - \endlist - \endlist - - It's quickest to press \uicontrol{Alt+D} (which clicks the \uicontrol {Done \& Next} - button) after typing each translation, since this marks the - translation as done and moves on to the next source text. - - Save the file and do the same for Dutch working with \c arrowpad_nl.ts: - - \list - \li \c ArrowPad - \list - \li \&Up - \&Omhoog - \li \&Left - \&Links - \li \&Right - \&Rechts - \li \&Down - Omlaa\&g - \endlist - \li \c MainWindow - \list - \li E\&xit - \&Afsluiten - \li Ctrl+Q - Ctrl+A - \li File - \&Bestand - \endlist - \endlist - - We have to convert the \c tt1_fr.ts and \c tt1_nl.ts translation source - files into QM files. We could use \e {Qt Linguist} as we've done - before; however using the command line tool \c lrelease ensures that - \e all the QM files for the application are created without us - having to remember to load and \uicontrol File|Release each one - individually from \e {Qt Linguist}. - - Type - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.qdoc 1 - - This should create both \c arrowpad_fr.qm and \c arrowpad_nl.qm. Set the \c - LANG environment variable to \c fr. In Unix, one of the two following - commands should work - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.qdoc 2 - - In Windows, either modify \c autoexec.bat or run - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.qdoc 3 - - When you run the program, you should now see the French version: - - \image linguist-arrowpad_fr.png - - Try the same with Dutch, by setting \c LANG=nl. Now the Dutch - version should appear: - - \image linguist-arrowpad_nl.png - - \section1 Exercises - - Mark one of the translations in \e {Qt Linguist} as not done, i.e. - by unchecking the "done" checkbox; run \c lupdate, then \c lrelease, - then the example. What effect did this change have? - - Set \c LANG=fr_CA (French Canada) and run the example program again. - Explain why the result is the same as with \c LANG=fr. - - Change one of the accelerators in the Dutch translation to eliminate the - conflict between \e \&Bestand and \e \&Boven. -*/ diff --git a/doc/src/examples/hellotr.qdoc b/doc/src/examples/hellotr.qdoc deleted file mode 100644 index ca4d4282ad..0000000000 --- a/doc/src/examples/hellotr.qdoc +++ /dev/null @@ -1,174 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example linguist/hellotr - \title Hello tr() Example - - This example is a small Hello World program with a Latin translation. The - screenshot below shows the English version. - - \image linguist-hellotr_en.png - - See the \l{Qt Linguist manual} for more information about - translating Qt application. - - \section1 Line by Line Walkthrough - - - \snippet examples/linguist/hellotr/main.cpp 0 - - This line includes the definition of the QTranslator class. - Objects of this class provide translations for user-visible text. - - \snippet examples/linguist/hellotr/main.cpp 5 - - Creates a QTranslator object without a parent. - - \snippet examples/linguist/hellotr/main.cpp 6 - - Tries to load a file called \c hellotr_la.qm (the \c .qm file extension is - implicit) that contains Latin translations for the source texts used in - the program. No error will occur if the file is not found. - - \snippet examples/linguist/hellotr/main.cpp 7 - - Adds the translations from \c hellotr_la.qm to the pool of translations used - by the program. - - \snippet examples/linguist/hellotr/main.cpp 8 - - Creates a push button that displays "Hello world!". If \c hellotr_la.qm - was found and contains a translation for "Hello world!", the - translation appears; if not, the source text appears. - - All classes that inherit QObject have a \c tr() function. Inside - a member function of a QObject class, we simply write \c tr("Hello - world!") instead of \c QPushButton::tr("Hello world!") or \c - QObject::tr("Hello world!"). - - \section1 Running the Application in English - - Since we haven't made the translation file \c hellotr_la.qm, the source text - is shown when we run the application: - - \image linguist-hellotr_en.png - - \section1 Creating a Latin Message File - - The first step is to create a project file, \c hellotr.pro, that lists - all the source files for the project. The project file can be a qmake - project file, or even an ordinary makefile. Any file that contains - - \snippet examples/linguist/hellotr/hellotr.pro 0 - \snippet examples/linguist/hellotr/hellotr.pro 1 - - will work. \c TRANSLATIONS specifies the message files we want to - maintain. In this example, we just maintain one set of translations, - namely Latin. - - Note that the file extension is \c .ts, not \c .qm. The \c .ts - translation source format is designed for use during the - application's development. Programmers or release managers run - the \c lupdate program to generate and update TS files with - the source text that is extracted from the source code. - Translators read and update the TS files using \e {Qt - Linguist} adding and editing their translations. - - The TS format is human-readable XML that can be emailed directly - and is easy to put under version control. If you edit this file - manually, be aware that the default encoding for XML is UTF-8, not - Latin1 (ISO 8859-1). One way to type in a Latin1 character such as - '\oslash' (Norwegian o with slash) is to use an XML entity: - "\ø". This will work for any Unicode 4.0 character. - - Once the translations are complete the \c lrelease program is used to - convert the TS files into the QM Qt message file format. The - QM format is a compact binary format designed to deliver very - fast lookup performance. Both \c lupdate and \c lrelease read all the - project's source and header files (as specified in the HEADERS and - SOURCES lines of the project file) and extract the strings that - appear in \c tr() function calls. - - \c lupdate is used to create and update the message files (\c hellotr_la.ts - in this case) to keep them in sync with the source code. It is safe to - run \c lupdate at any time, as \c lupdate does not remove any - information. For example, you can put it in the makefile, so the TS - files are updated whenever the source changes. - - Try running \c lupdate right now, like this: - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 0 - - (The \c -verbose option instructs \c lupdate to display messages that - explain what it is doing.) You should now have a file \c hellotr_la.ts in - the current directory, containing this: - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 1 - - You don't need to understand the file format since it is read and - updated using tools (\c lupdate, \e {Qt Linguist}, \c lrelease). - - \section1 Translating to Latin with Qt Linguist - - We will use \e {Qt Linguist} to provide the translation, although - you can use any XML or plain text editor to enter a translation into a - TS file. - - To start \e {Qt Linguist}, type - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 2 - - You should now see the text "QPushButton" in the top left pane. - Double-click it, then click on "Hello world!" and enter "Orbis, te - saluto!" in the \uicontrol Translation pane (the middle right of the - window). Don't forget the exclamation mark! - - Click the \uicontrol Done checkbox and choose \uicontrol File|Save from the - menu bar. The TS file will no longer contain - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 3 - - but instead will have - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 4 - - \section1 Running the Application in Latin - - To see the application running in Latin, we have to generate a QM - file from the TS file. Generating a QM file can be achieved - either from within \e {Qt Linguist} (for a single TS file), or - by using the command line program \c lrelease which will produce one - QM file for each of the TS files listed in the project file. - Generate \c hellotr_la.qm from \c hellotr_la.ts by choosing - \uicontrol File|Release from \e {Qt Linguist}'s menu bar and pressing - \uicontrol Save in the file save dialog that pops up. Now run the \c hellotr - program again. This time the button will be labelled "Orbis, te - saluto!". - - \image linguist-hellotr_la.png -*/ diff --git a/doc/src/snippets/code/doc_src_examples_arrowpad.cpp b/doc/src/snippets/code/doc_src_examples_arrowpad.cpp deleted file mode 100644 index 58e790d3ae..0000000000 --- a/doc/src/snippets/code/doc_src_examples_arrowpad.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [0] -qApp->translate("ArrowPad", x) -//! [0] diff --git a/doc/src/snippets/code/doc_src_examples_arrowpad.qdoc b/doc/src/snippets/code/doc_src_examples_arrowpad.qdoc deleted file mode 100644 index 4b3ea343a3..0000000000 --- a/doc/src/snippets/code/doc_src_examples_arrowpad.qdoc +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [1] -lrelease arrowpad.pro -//! [1] - - -//! [2] -export LANG=fr -setenv LANG fr -//! [2] - - -//! [3] -set LANG=fr -//! [3] diff --git a/doc/src/snippets/code/doc_src_examples_hellotr.qdoc b/doc/src/snippets/code/doc_src_examples_hellotr.qdoc deleted file mode 100644 index 2e57cac8a5..0000000000 --- a/doc/src/snippets/code/doc_src_examples_hellotr.qdoc +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [0] -lupdate -verbose hellotr.pro -//! [0] - - -//! [1] - - - QPushButton - - Hello world! - - - - -//! [1] - - -//! [2] -linguist hellotr_la.ts -//! [2] - - -//! [3] - -//! [3] - - -//! [4] -Orbis, te saluto! -//! [4] diff --git a/doc/src/snippets/code/doc_src_examples_trollprint.cpp b/doc/src/snippets/code/doc_src_examples_trollprint.cpp deleted file mode 100644 index 493e245e83..0000000000 --- a/doc/src/snippets/code/doc_src_examples_trollprint.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [0] -twoSidedEnabledRadio = new QRadioButton(tr("Enabled", "two-sided")); -twoSidedDisabledRadio = new QRadioButton(tr("Disabled", "two-sided")); -//! [0] - - -//! [1] -colorsEnabledRadio = new QRadioButton(tr("Enabled", "colors"), colors); -colorsDisabledRadio = new QRadioButton(tr("Disabled", "colors"), colors); -//! [1] - - -//! [2] -/* - TRANSLATOR MainWindow - - In this application the whole application is a MainWindow. - Choose Help|About from the menu bar to see some text - belonging to MainWindow. - - ... -*/ -//! [2] - - -//! [3] -/* - TRANSLATOR ZClientErrorDialog - - Choose Client|Edit to reach the Client Edit dialog, then choose - Client Specification from the drop down list at the top and pick - client Bartel Leendert van der Waerden. Now check the Profile - checkbox and then click the Start Processing button. You should - now see a pop up window with the text "Error: Name too long!". - This window is a ZClientErrorDialog. -*/ -//! [3] diff --git a/examples/examples.pro b/examples/examples.pro index 06ef0adcab..e1c3611836 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -11,7 +11,6 @@ SUBDIRS = \ !contains(QT_CONFIG, no-widgets) { SUBDIRS += widgets \ ipc \ - linguist \ sql \ tools \ touch \ @@ -24,7 +23,6 @@ contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):!contains(QT_CONFIG contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl contains(QT_CONFIG, dbus): SUBDIRS += dbus contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent -contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= linguist aggregate.files = aggregate/examples.pro aggregate.path = $$[QT_INSTALL_EXAMPLES] diff --git a/examples/ja_JP/linguist/hellotr/hellotr.pro b/examples/ja_JP/linguist/hellotr/hellotr.pro deleted file mode 100644 index e4a1ee11bb..0000000000 --- a/examples/ja_JP/linguist/hellotr/hellotr.pro +++ /dev/null @@ -1,11 +0,0 @@ -#! [0] -SOURCES = main.cpp -#! [0] #! [1] -TRANSLATIONS = hellotr_ja.ts -#! [1] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/hellotr -INSTALLS += target - -QT += widgets diff --git a/examples/ja_JP/linguist/hellotr/main.cpp b/examples/ja_JP/linguist/hellotr/main.cpp deleted file mode 100644 index df4546f4b5..0000000000 --- a/examples/ja_JP/linguist/hellotr/main.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include -#include -//! [0] -#include -//! [0] - -//! [1] //! [2] -int main(int argc, char *argv[]) -//! [1] //! [3] //! [4] -{ - QApplication app(argc, argv); -//! [3] - -//! [5] - QTranslator translator; -//! [5] //! [6] - translator.load("hellotr_ja"); -//! [6] //! [7] - app.installTranslator(&translator); -//! [4] //! [7] - -//! [8] - QPushButton hello(QPushButton::tr("Hello world!")); -//! [8] - hello.resize(100, 30); - - hello.show(); - return app.exec(); -} -//! [2] diff --git a/examples/linguist/README b/examples/linguist/README deleted file mode 100644 index 15817742da..0000000000 --- a/examples/linguist/README +++ /dev/null @@ -1,6 +0,0 @@ -Internationalization is a core feature of Qt. These examples show how to -access translation and localization facilities at run-time. - - -Documentation for these examples can be found via the Examples -link in the main Qt documentation. diff --git a/examples/linguist/arrowpad/arrowpad.cpp b/examples/linguist/arrowpad/arrowpad.cpp deleted file mode 100644 index 7b33238295..0000000000 --- a/examples/linguist/arrowpad/arrowpad.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "arrowpad.h" - -ArrowPad::ArrowPad(QWidget *parent) - : QWidget(parent) -{ -//! [0] - upButton = new QPushButton(tr("&Up")); -//! [0] //! [1] - downButton = new QPushButton(tr("&Down")); -//! [1] //! [2] - leftButton = new QPushButton(tr("&Left")); -//! [2] //! [3] - rightButton = new QPushButton(tr("&Right")); -//! [3] - - QGridLayout *mainLayout = new QGridLayout; - mainLayout->addWidget(upButton, 0, 1); - mainLayout->addWidget(leftButton, 1, 0); - mainLayout->addWidget(rightButton, 1, 2); - mainLayout->addWidget(downButton, 2, 1); - setLayout(mainLayout); -} diff --git a/examples/linguist/arrowpad/arrowpad.h b/examples/linguist/arrowpad/arrowpad.h deleted file mode 100644 index 30ebf98e92..0000000000 --- a/examples/linguist/arrowpad/arrowpad.h +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef ARROWPAD_H -#define ARROWPAD_H - -#include - -QT_BEGIN_NAMESPACE -class QPushButton; -QT_END_NAMESPACE - -//! [0] -class ArrowPad : public QWidget -//! [0] //! [1] -{ -//! [1] //! [2] - Q_OBJECT -//! [2] - -public: - ArrowPad(QWidget *parent = 0); - -private: - QPushButton *upButton; - QPushButton *downButton; - QPushButton *leftButton; - QPushButton *rightButton; -}; - -#endif diff --git a/examples/linguist/arrowpad/arrowpad.pro b/examples/linguist/arrowpad/arrowpad.pro deleted file mode 100644 index 3b5916684b..0000000000 --- a/examples/linguist/arrowpad/arrowpad.pro +++ /dev/null @@ -1,18 +0,0 @@ -#! [0] -HEADERS = arrowpad.h \ - mainwindow.h -SOURCES = arrowpad.cpp \ - main.cpp \ - mainwindow.cpp -#! [0] #! [1] -TRANSLATIONS = arrowpad_fr.ts \ - arrowpad_nl.ts -#! [1] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/arrowpad -INSTALLS += target - -QT += widgets - -simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/linguist/arrowpad/main.cpp b/examples/linguist/arrowpad/main.cpp deleted file mode 100644 index c43b17556f..0000000000 --- a/examples/linguist/arrowpad/main.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "mainwindow.h" - -//! [0] -int main(int argc, char *argv[]) -//! [0] //! [1] -{ - QApplication app(argc, argv); - - QString locale = QLocale::system().name(); - -//! [2] - QTranslator translator; -//! [2] //! [3] - translator.load(QString("arrowpad_") + locale); - app.installTranslator(&translator); -//! [1] //! [3] - - MainWindow mainWindow; - mainWindow.show(); - return app.exec(); -} diff --git a/examples/linguist/arrowpad/mainwindow.cpp b/examples/linguist/arrowpad/mainwindow.cpp deleted file mode 100644 index 75a489e518..0000000000 --- a/examples/linguist/arrowpad/mainwindow.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "arrowpad.h" -#include "mainwindow.h" - -MainWindow::MainWindow() -{ -//! [0] - arrowPad = new ArrowPad; -//! [0] - setCentralWidget(arrowPad); - -//! [1] - exitAct = new QAction(tr("E&xit"), this); - exitAct->setShortcuts(QKeySequence::Quit); - connect(exitAct, SIGNAL(triggered()), this, SLOT(close())); -//! [1] - - fileMenu = menuBar()->addMenu(tr("&File")); - fileMenu->addAction(exitAct); -} diff --git a/examples/linguist/arrowpad/mainwindow.h b/examples/linguist/arrowpad/mainwindow.h deleted file mode 100644 index 7ccac6ac59..0000000000 --- a/examples/linguist/arrowpad/mainwindow.h +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include - -QT_BEGIN_NAMESPACE -class QAction; -class QMenu; -QT_END_NAMESPACE -class ArrowPad; - -//! [0] -class MainWindow : public QMainWindow -//! [0] //! [1] -{ - Q_OBJECT -//! [1] - -public: - MainWindow(); - -private: - ArrowPad *arrowPad; - QMenu *fileMenu; - QAction *exitAct; -}; - -#endif diff --git a/examples/linguist/hellotr/hellotr.pro b/examples/linguist/hellotr/hellotr.pro deleted file mode 100644 index 38e5a5b366..0000000000 --- a/examples/linguist/hellotr/hellotr.pro +++ /dev/null @@ -1,13 +0,0 @@ -#! [0] -SOURCES = main.cpp -#! [0] #! [1] -TRANSLATIONS = hellotr_la.ts -#! [1] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/hellotr -INSTALLS += target - -QT += widgets - -simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/linguist/hellotr/main.cpp b/examples/linguist/hellotr/main.cpp deleted file mode 100644 index 12433f8414..0000000000 --- a/examples/linguist/hellotr/main.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include -#include -//! [0] -#include -//! [0] - -//! [1] //! [2] -int main(int argc, char *argv[]) -//! [1] //! [3] //! [4] -{ - QApplication app(argc, argv); -//! [3] - -//! [5] - QTranslator translator; -//! [5] //! [6] - translator.load("hellotr_la"); -//! [6] //! [7] - app.installTranslator(&translator); -//! [4] //! [7] - -//! [8] - QPushButton hello(QPushButton::tr("Hello world!")); -//! [8] - hello.resize(100, 30); - - hello.show(); - return app.exec(); -} -//! [2] diff --git a/examples/linguist/linguist.pro b/examples/linguist/linguist.pro deleted file mode 100644 index 6109ef0045..0000000000 --- a/examples/linguist/linguist.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = arrowpad \ - hellotr \ - trollprint - -QT += widgets diff --git a/examples/linguist/trollprint/main.cpp b/examples/linguist/trollprint/main.cpp deleted file mode 100644 index 9438d987b2..0000000000 --- a/examples/linguist/trollprint/main.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "mainwindow.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QString locale = QLocale::system().name(); - -//! [0] - QTranslator translator; - translator.load(QString("trollprint_") + locale); - app.installTranslator(&translator); -//! [0] - - MainWindow mainWindow; - mainWindow.show(); - return app.exec(); -} diff --git a/examples/linguist/trollprint/mainwindow.cpp b/examples/linguist/trollprint/mainwindow.cpp deleted file mode 100644 index d98aba6f3d..0000000000 --- a/examples/linguist/trollprint/mainwindow.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "mainwindow.h" -#include "printpanel.h" - -MainWindow::MainWindow() -{ - printPanel = new PrintPanel; - setCentralWidget(printPanel); - - createActions(); - createMenus(); - -//! [0] - setWindowTitle(tr("Troll Print 1.0")); -//! [0] -} - -void MainWindow::about() -{ - QMessageBox::information(this, tr("About Troll Print 1.0"), - tr("Troll Print 1.0.\n\n" - "Copyright 1999 Software, Inc.")); -} - -//! [1] -void MainWindow::createActions() -{ -//! [2] - exitAct = new QAction(tr("E&xit"), this); - exitAct->setShortcut(tr("Ctrl+Q", "Quit")); -//! [2] - connect(exitAct, SIGNAL(triggered()), this, SLOT(close())); - - aboutAct = new QAction(tr("&About"), this); - aboutAct->setShortcut(Qt::Key_F1); - connect(aboutAct, SIGNAL(triggered()), this, SLOT(about())); - - aboutQtAct = new QAction(tr("About &Qt"), this); - connect(aboutQtAct, SIGNAL(triggered()), qApp, SLOT(aboutQt())); -} - -void MainWindow::createMenus() -//! [1] //! [3] -{ - QMenu *fileMenu = menuBar()->addMenu(tr("&File")); - fileMenu->addAction(exitAct); - - menuBar()->addSeparator(); - - QMenu *helpMenu = menuBar()->addMenu(tr("&Help")); - helpMenu->addAction(aboutAct); - helpMenu->addAction(aboutQtAct); -} -//! [3] diff --git a/examples/linguist/trollprint/mainwindow.h b/examples/linguist/trollprint/mainwindow.h deleted file mode 100644 index d55d6fb897..0000000000 --- a/examples/linguist/trollprint/mainwindow.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include - -QT_BEGIN_NAMESPACE -class QAction; -class QMenu; -QT_END_NAMESPACE -class PrintPanel; - -class MainWindow : public QMainWindow -{ - Q_OBJECT - -public: - MainWindow(); - -private slots: - void about(); - -private: - void createActions(); - void createMenus(); - - PrintPanel *printPanel; - QMenu *fileMenu; - QMenu *helpMenu; - QAction *exitAct; - QAction *aboutAct; - QAction *aboutQtAct; -}; - -#endif diff --git a/examples/linguist/trollprint/printpanel.cpp b/examples/linguist/trollprint/printpanel.cpp deleted file mode 100644 index 163fc6de11..0000000000 --- a/examples/linguist/trollprint/printpanel.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "printpanel.h" - -//! [0] -PrintPanel::PrintPanel(QWidget *parent) - : QWidget(parent) -{ -/* - QLabel *label = new QLabel(tr("TROLL PRINT")); - label->setAlignment(Qt::AlignCenter); -*/ -//! [0] - -//! [1] - twoSidedGroupBox = new QGroupBox(tr("2-sided")); - twoSidedEnabledRadio = new QRadioButton(tr("Enabled")); - twoSidedDisabledRadio = new QRadioButton(tr("Disabled")); -//! [1] //! [2] - twoSidedDisabledRadio->setChecked(true); - - colorsGroupBox = new QGroupBox(tr("Colors")); - colorsEnabledRadio = new QRadioButton(tr("Enabled")); - colorsDisabledRadio = new QRadioButton(tr("Disabled")); -//! [2] - colorsDisabledRadio->setChecked(true); - - QHBoxLayout *twoSidedLayout = new QHBoxLayout; - twoSidedLayout->addWidget(twoSidedEnabledRadio); - twoSidedLayout->addWidget(twoSidedDisabledRadio); - twoSidedGroupBox->setLayout(twoSidedLayout); - - QHBoxLayout *colorsLayout = new QHBoxLayout; - colorsLayout->addWidget(colorsEnabledRadio); - colorsLayout->addWidget(colorsDisabledRadio); - colorsGroupBox->setLayout(colorsLayout); - - QVBoxLayout *mainLayout = new QVBoxLayout; -/* - mainLayout->addWidget(label); -*/ - mainLayout->addWidget(twoSidedGroupBox); - mainLayout->addWidget(colorsGroupBox); - setLayout(mainLayout); -} diff --git a/examples/linguist/trollprint/printpanel.h b/examples/linguist/trollprint/printpanel.h deleted file mode 100644 index a773a29700..0000000000 --- a/examples/linguist/trollprint/printpanel.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef PRINTPANEL_H -#define PRINTPANEL_H - -#include - -QT_BEGIN_NAMESPACE -class QGroupBox; -class QRadioButton; -QT_END_NAMESPACE - -//! [0] -class PrintPanel : public QWidget -{ - Q_OBJECT -//! [0] - -public: - PrintPanel(QWidget *parent = 0); - -private: - QGroupBox *twoSidedGroupBox; - QGroupBox *colorsGroupBox; - QRadioButton *twoSidedEnabledRadio; - QRadioButton *twoSidedDisabledRadio; - QRadioButton *colorsEnabledRadio; - QRadioButton *colorsDisabledRadio; -}; - -#endif diff --git a/examples/linguist/trollprint/trollprint.pro b/examples/linguist/trollprint/trollprint.pro deleted file mode 100644 index f4f60c41cf..0000000000 --- a/examples/linguist/trollprint/trollprint.pro +++ /dev/null @@ -1,14 +0,0 @@ -HEADERS = mainwindow.h \ - printpanel.h -SOURCES = main.cpp \ - mainwindow.cpp \ - printpanel.cpp -TRANSLATIONS = trollprint_pt.ts - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/trollprint -INSTALLS += target - -QT += widgets - -simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/linguist/trollprint/trollprint_pt.ts b/examples/linguist/trollprint/trollprint_pt.ts deleted file mode 100644 index e5871bd087..0000000000 --- a/examples/linguist/trollprint/trollprint_pt.ts +++ /dev/null @@ -1,65 +0,0 @@ - - - MainWindow - - Troll Print 1.0 - Troll Imprimir 1.0 - - - E&xit - &Sair - - - &About - &Sobre - - - About &Qt - Sobre &Qt - - - &File - &Arquivo - - - &Help - A&juda - - - About Troll Print 1.0 - Sobre Troll Imprimir 1.0 - - - Troll Print 1.0. - -Copyright 1999 Software, Inc. - Troll Imprimir 1.0 - -Copyright 1999 Software, Inc. - - - Ctrl+Q - Quit - Ctrl+Q - - - - PrintPanel - - 2-sided - 2-lados - - - Enabled - Ativado - - - Disabled - Desativado - - - Colors - Cores - - - From aa434bc90861f1599209edd6bc614802c50704dc Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 14 Dec 2012 10:42:08 +0100 Subject: [PATCH 210/386] tst_QDBusXmlParser: make XML attribute order deterministic Avoid QHash randomization so that the order of the XML attributes is stable This was causing intermittent failures. Change-Id: I4cc0dba4b0c2ec36601f3b06fb17ff80005cc9fb Reviewed-by: Sean Harmer --- tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp index 35cf989753..6d58fdf6d0 100644 --- a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp +++ b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp @@ -58,6 +58,7 @@ private: QString clean_xml(const QString&); private slots: + void initTestCase(); void parsing_data(); void parsing(); void parsingWithDoctype_data(); @@ -71,6 +72,12 @@ private slots: void properties(); }; +void tst_QDBusXmlParser::initTestCase() +{ + // Avoid QHash randomization so that the order of the XML attributes is stable + qputenv("QT_HASH_SEED", "123"); +} + void tst_QDBusXmlParser::parsing_data() { QTest::addColumn("xmlData"); From 07e0c4c98d086419d081ad203ecb04c1a0af62be Mon Sep 17 00:00:00 2001 From: Thomas Senyk Date: Wed, 12 Dec 2012 15:24:05 +0100 Subject: [PATCH 211/386] updating qeglfshooks_imx6.cpp to 12.09.01 (L3.0.35) opengl-drivers Change-Id: Id19c1e99ca5c6a28c61f67b76181ebf85fd20a37 Reviewed-by: Otavio Salvador Reviewed-by: Oswald Buddenhagen Reviewed-by: Robert Griebl --- mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp b/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp index 1ee95f1f24..7a6c1d3fce 100644 --- a/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp +++ b/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp @@ -61,7 +61,7 @@ private: QEglFSImx6Hooks::QEglFSImx6Hooks() { int width, height; - mNativeDisplay = fbGetDisplay(); + mNativeDisplay = fbGetDisplayByIndex(0); fbGetDisplayGeometry(mNativeDisplay, &width, &height); mScreenSize.setHeight(height); mScreenSize.setWidth(width); @@ -76,7 +76,7 @@ EGLNativeWindowType QEglFSImx6Hooks::createNativeWindow(const QSize &size, const { Q_UNUSED(format); - EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 1, size.width(), size.height()); + EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 0, size.width(), size.height()); return eglWindow; } From e62ab752373086b58f351b14acdf98a8afffb515 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 13 Dec 2012 13:16:42 +0100 Subject: [PATCH 212/386] Fix QGtkPainter::reset() to reset the clip rect Due to preparation for GTK3 support, QGtkStyle::drawXxx() no longer creates a local instance of QGtkPainter upon every call, but QGtkStylePrivate::gtkPainter() will (in the future) dynamically choose between QGtk[2|3]Painter. The same painter instance is now re-used between the calls, but wasn't properly reseted between. Task-number: QTBUG-28557 Change-Id: I29be318dbb54d97ed23dfb88d406a3a833db4369 Reviewed-by: Jens Bache-Wiig (cherry picked from commit 0b0b74a563d1513e7857000526d5c0fa462ff6af) Reviewed-by: Sergio Ahumada --- src/widgets/styles/qgtkpainter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/styles/qgtkpainter.cpp b/src/widgets/styles/qgtkpainter.cpp index a5c408f20d..206dbf7e0f 100644 --- a/src/widgets/styles/qgtkpainter.cpp +++ b/src/widgets/styles/qgtkpainter.cpp @@ -63,6 +63,7 @@ void QGtkPainter::reset(QPainter *painter) m_hflipped = false; m_vflipped = false; m_usePixmapCache = true; + m_cliprect = QRect(); } QString QGtkPainter::uniqueName(const QString &key, GtkStateType state, GtkShadowType shadow, From 22929c5dfc98901a86a231a84dde90b19b94f8e5 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Tue, 30 Oct 2012 14:01:12 +0100 Subject: [PATCH 213/386] Mac: fix bugs for font selection in QFontDialog Use localized family name and style name when selecting font with non-English locale Task-number: QTBUG-27415 Change-Id: Ie81507ed011fc096e0f5edad146e97c392e86494 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit 3c09f6bc9aee0c97427fe8da6efdc73b4ac473aa) --- src/gui/text/qfontdatabase.cpp | 2 +- .../platforms/cocoa/qcocoafontdialoghelper.mm | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index b59966012c..a560b41570 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -595,7 +595,7 @@ QtFontFamily *QFontDatabasePrivate::family(const QString &f, bool create) if (res < 0) pos++; - // qDebug("adding family %s at %d total=%d", f.latin1(), pos, count); + // qDebug() << "adding family " << f.toLatin1() << " at " << pos << " total=" << count; if (!(count % 8)) { QtFontFamily **newFamilies = (QtFontFamily **) realloc(families, diff --git a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm index 5ccd019a9b..ff3ba63931 100644 --- a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm +++ b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm @@ -92,20 +92,16 @@ static QFont qfontForCocoaFont(NSFont *cocoaFont, const QFont &resolveFont) QFont newFont; if (cocoaFont) { int pSize = qRound([cocoaFont pointSize]); - QString family(QCFString::toQString([cocoaFont familyName])); - QString typeface(QCFString::toQString([cocoaFont fontName])); + CTFontDescriptorRef font = CTFontCopyFontDescriptor((CTFontRef)cocoaFont); + // QCoreTextFontDatabase::populateFontDatabase() is using localized names + QString family = QCFString::toQString((CFStringRef) CTFontDescriptorCopyLocalizedAttribute(font, kCTFontFamilyNameAttribute, NULL)); + QString style = QCFString::toQString((CFStringRef) CTFontDescriptorCopyLocalizedAttribute(font, kCTFontStyleNameAttribute, NULL)); - int hyphenPos = typeface.indexOf(QLatin1Char('-')); - if (hyphenPos != -1) { - typeface.remove(0, hyphenPos + 1); - } else { - typeface = QLatin1String("Normal"); - } - - newFont = QFontDatabase().font(family, typeface, pSize); + newFont = QFontDatabase().font(family, style, pSize); newFont.setUnderline(resolveFont.underline()); newFont.setStrikeOut(resolveFont.strikeOut()); + CFRelease(font); } return newFont; } From 133bbf6ea9b9e6dff82361bf2101a35d42f0fbe0 Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Wed, 11 Jul 2012 14:39:54 +0200 Subject: [PATCH 214/386] Fix styleName support in QPA font database Font styleName support was disconnected since Qt switched to QPA fontdatabase. Now add the code from Qt 4.8 back to enable this in QPA. Change-Id: Iab2cbfd5468f87542183348c2123ca4b2c270692 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit fa7661d8b25fa338649a301010e1b5a2b63da731) --- src/gui/text/qfontdatabase.cpp | 25 +++++-------------- src/gui/text/qfontdatabase_qpa.cpp | 5 ++-- src/gui/text/qplatformfontdatabase.cpp | 10 +++++--- src/gui/text/qplatformfontdatabase.h | 3 ++- .../basic/qbasicfontdatabase.cpp | 2 +- .../fontconfig/qfontconfigdatabase.cpp | 14 +++++++---- .../mac/qcoretextfontdatabase.mm | 3 ++- .../windows/qwindowsfontdatabase.cpp | 8 +++--- .../windows/qwindowsfontdatabase_ft.cpp | 8 +++--- 9 files changed, 37 insertions(+), 41 deletions(-) diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index a560b41570..d06bf217cb 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -274,27 +274,15 @@ struct QtFontFoundry QtFontStyle *QtFontFoundry::style(const QtFontStyle::Key &key, const QString &styleName, bool create) { int pos = 0; - if (count) { - // if styleName for searching first if possible - if (!styleName.isEmpty()) { - for (; pos < count; pos++) { - if (styles[pos]->styleName == styleName) - return styles[pos]; - } - } - int low = 0; - int high = count; - pos = count / 2; - while (high > low) { + for (; pos < count; pos++) { + bool hasStyleName = !styleName.isEmpty(); // search styleName first if available + if (hasStyleName && !styles[pos]->styleName.isEmpty()) { + if (styles[pos]->styleName == styleName) + return styles[pos]; + } else { if (styles[pos]->key == key) return styles[pos]; - if (styles[pos]->key < key) - low = pos + 1; - else - high = pos; - pos = (high + low) / 2; } - pos = low; } if (!create) return 0; @@ -309,7 +297,6 @@ QtFontStyle *QtFontFoundry::style(const QtFontStyle::Key &key, const QString &st QtFontStyle *style = new QtFontStyle(key); style->styleName = styleName; - memmove(styles + pos + 1, styles + pos, (count-pos)*sizeof(QtFontStyle *)); styles[pos] = style; count++; return styles[pos]; diff --git a/src/gui/text/qfontdatabase_qpa.cpp b/src/gui/text/qfontdatabase_qpa.cpp index 22aacf1dcd..2ecab9ebf9 100644 --- a/src/gui/text/qfontdatabase_qpa.cpp +++ b/src/gui/text/qfontdatabase_qpa.cpp @@ -52,7 +52,8 @@ QT_BEGIN_NAMESPACE -Q_GUI_EXPORT void qt_registerFont(const QString &familyName, const QString &foundryname, int weight, +Q_GUI_EXPORT void qt_registerFont(const QString &familyName, const QString &stylename, + const QString &foundryname, int weight, QFont::Style style, int stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *handle) @@ -75,7 +76,7 @@ Q_GUI_EXPORT void qt_registerFont(const QString &familyName, const QString &fou } QtFontFoundry *foundry = f->foundry(foundryname, true); - QtFontStyle *fontStyle = foundry->style(styleKey, QString(), true); + QtFontStyle *fontStyle = foundry->style(styleKey, stylename, true); fontStyle->smoothScalable = scalable; fontStyle->antialiased = antialiased; QtFontSize *size = fontStyle->pixelSize(pixelSize ? pixelSize : SMOOTH_SCALABLE, true); diff --git a/src/gui/text/qplatformfontdatabase.cpp b/src/gui/text/qplatformfontdatabase.cpp index 6fd145d921..972e0b1a09 100644 --- a/src/gui/text/qplatformfontdatabase.cpp +++ b/src/gui/text/qplatformfontdatabase.cpp @@ -47,7 +47,8 @@ QT_BEGIN_NAMESPACE -extern void qt_registerFont(const QString &familyname, const QString &foundryname, int weight, +extern void qt_registerFont(const QString &familyname, const QString &stylename, + const QString &foundryname, int weight, QFont::Style style, int stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *hanlde); @@ -89,7 +90,7 @@ void QPlatformFontDatabase::registerQPF2Font(const QByteArray &dataArray, void * } } QFont::Stretch stretch = QFont::Unstretched; - registerFont(fontName,QString(),fontWeight,fontStyle,stretch,true,false,pixelSize,false,writingSystems,handle); + registerFont(fontName,QString(),QString(),fontWeight,fontStyle,stretch,true,false,pixelSize,false,writingSystems,handle); } } else { qDebug() << "header verification of QPF2 font failed. maybe it is corrupt?"; @@ -117,7 +118,8 @@ void QPlatformFontDatabase::registerQPF2Font(const QByteArray &dataArray, void * \sa registerQPF2Font() */ -void QPlatformFontDatabase::registerFont(const QString &familyname, const QString &foundryname, QFont::Weight weight, +void QPlatformFontDatabase::registerFont(const QString &familyname, const QString &stylename, + const QString &foundryname, QFont::Weight weight, QFont::Style style, QFont::Stretch stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *usrPtr) @@ -125,7 +127,7 @@ void QPlatformFontDatabase::registerFont(const QString &familyname, const QStrin if (scalable) pixelSize = 0; - qt_registerFont(familyname, foundryname, weight, style, + qt_registerFont(familyname, stylename, foundryname, weight, style, stretch, antialiased, scalable, pixelSize, fixedPitch, writingSystems, usrPtr); } diff --git a/src/gui/text/qplatformfontdatabase.h b/src/gui/text/qplatformfontdatabase.h index 8c2e4cf5f7..5ff2542982 100644 --- a/src/gui/text/qplatformfontdatabase.h +++ b/src/gui/text/qplatformfontdatabase.h @@ -116,7 +116,8 @@ public: //callback static void registerQPF2Font(const QByteArray &dataArray, void *handle); - static void registerFont(const QString &familyname, const QString &foundryname, QFont::Weight weight, + static void registerFont(const QString &familyname, const QString &stylename, + const QString &foundryname, QFont::Weight weight, QFont::Style style, QFont::Stretch stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *handle); diff --git a/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp b/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp index dd6f04f74d..996ea85249 100644 --- a/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp +++ b/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp @@ -452,7 +452,7 @@ QStringList QBasicFontDatabase::addTTFile(const QByteArray &fontData, const QByt QFont::Stretch stretch = QFont::Unstretched; - registerFont(family,QString(),weight,style,stretch,true,true,0,fixedPitch,writingSystems,fontFile); + registerFont(family,QString::fromLatin1(face->style_name),QString(),weight,style,stretch,true,true,0,fixedPitch,writingSystems,fontFile); families.append(family); diff --git a/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp b/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp index cf6ff11acd..d23588d22d 100644 --- a/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp +++ b/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp @@ -318,6 +318,7 @@ void QFontconfigDatabase::populateFontDatabase() FcChar8 *file_value; int indexValue; FcChar8 *foundry_value; + FcChar8 *style_value; FcBool scalable; FcBool antialias; @@ -325,7 +326,7 @@ void QFontconfigDatabase::populateFontDatabase() FcObjectSet *os = FcObjectSetCreate(); FcPattern *pattern = FcPatternCreate(); const char *properties [] = { - FC_FAMILY, FC_WEIGHT, FC_SLANT, + FC_FAMILY, FC_STYLE, FC_WEIGHT, FC_SLANT, FC_SPACING, FC_FILE, FC_INDEX, FC_LANG, FC_CHARSET, FC_FOUNDRY, FC_SCALABLE, FC_PIXEL_SIZE, FC_WEIGHT, FC_WIDTH, @@ -371,6 +372,8 @@ void QFontconfigDatabase::populateFontDatabase() scalable = FcTrue; if (FcPatternGetString(fonts->fonts[i], FC_FOUNDRY, 0, &foundry_value) != FcResultMatch) foundry_value = 0; + if (FcPatternGetString(fonts->fonts[i], FC_STYLE, 0, &style_value) != FcResultMatch) + style_value = 0; if(FcPatternGetBool(fonts->fonts[i],FC_ANTIALIAS,0,&antialias) != FcResultMatch) antialias = true; @@ -438,7 +441,8 @@ void QFontconfigDatabase::populateFontDatabase() bool fixedPitch = spacing_value >= FC_MONO; QFont::Stretch stretch = QFont::Unstretched; - QPlatformFontDatabase::registerFont(familyName,QLatin1String((const char *)foundry_value),weight,style,stretch,antialias,scalable,pixel_size,fixedPitch,writingSystems,fontFile); + QString styleName = style_value ? QString::fromUtf8((const char *) style_value) : QString(); + QPlatformFontDatabase::registerFont(familyName,styleName,QLatin1String((const char *)foundry_value),weight,style,stretch,antialias,scalable,pixel_size,fixedPitch,writingSystems,fontFile); // qDebug() << familyName << (const char *)foundry_value << weight << style << &writingSystems << scalable << true << pixel_size; } @@ -462,9 +466,9 @@ void QFontconfigDatabase::populateFontDatabase() while (f->qtname) { QString familyQtName = QString::fromLatin1(f->qtname); - registerFont(familyQtName,QString(),QFont::Normal,QFont::StyleNormal,QFont::Unstretched,true,true,0,f->fixed,ws,0); - registerFont(familyQtName,QString(),QFont::Normal,QFont::StyleItalic,QFont::Unstretched,true,true,0,f->fixed,ws,0); - registerFont(familyQtName,QString(),QFont::Normal,QFont::StyleOblique,QFont::Unstretched,true,true,0,f->fixed,ws,0); + registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleNormal,QFont::Unstretched,true,true,0,f->fixed,ws,0); + registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleItalic,QFont::Unstretched,true,true,0,f->fixed,ws,0); + registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleOblique,QFont::Unstretched,true,true,0,f->fixed,ws,0); ++f; } diff --git a/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm b/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm index 99a316bef3..4ea38cb74e 100644 --- a/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm +++ b/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm @@ -227,6 +227,7 @@ void QCoreTextFontDatabase::populateFontDatabase() for (int i = 0; i < numFonts; ++i) { CTFontDescriptorRef font = (CTFontDescriptorRef) CFArrayGetValueAtIndex(fonts, i); QCFString familyName = (CFStringRef) CTFontDescriptorCopyLocalizedAttribute(font, kCTFontFamilyNameAttribute, NULL); + QCFString styleName = (CFStringRef)CTFontDescriptorCopyLocalizedAttribute(font, kCTFontStyleNameAttribute, NULL); QCFType styles = (CFDictionaryRef) CTFontDescriptorCopyAttribute(font, kCTFontTraitsAttribute); QFont::Weight weight = QFont::Normal; QFont::Style style = QFont::StyleNormal; @@ -285,7 +286,7 @@ void QCoreTextFontDatabase::populateFontDatabase() } CFRetain(font); - QPlatformFontDatabase::registerFont(familyName, foundryName, weight, style, stretch, + QPlatformFontDatabase::registerFont(familyName, styleName, foundryName, weight, style, stretch, true /* antialiased */, true /* scalable */, pixelSize, fixedPitch, writingSystems, (void *) font); CFStringRef psName = (CFStringRef) CTFontDescriptorCopyAttribute(font, kCTFontNameAttribute); diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp index 262b610745..1a899c848e 100644 --- a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp +++ b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp @@ -1033,17 +1033,17 @@ static bool addFontToDatabase(QString familyName, const QString &scriptName, writingSystems.setSupported(ws); } - QPlatformFontDatabase::registerFont(familyName, foundryName, weight, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, weight, style, stretch, antialias, scalable, size, fixed, writingSystems, 0); // add fonts windows can generate for us: if (weight <= QFont::DemiBold) - QPlatformFontDatabase::registerFont(familyName, foundryName, QFont::Bold, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, QFont::Bold, style, stretch, antialias, scalable, size, fixed, writingSystems, 0); if (style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(familyName, foundryName, weight, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, weight, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, 0); if (weight <= QFont::DemiBold && style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(familyName, foundryName, QFont::Bold, + QPlatformFontDatabase::registerFont(familyName, QString(), foundryName, QFont::Bold, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, 0); if (!englishName.isEmpty()) diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp b/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp index 4c3d412b8e..7d09166473 100644 --- a/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp +++ b/src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp @@ -279,20 +279,20 @@ static bool addFontToDatabase(QString familyName, const QString &scriptName, if (!QDir::isAbsolutePath(value)) value.prepend(QString::fromLocal8Bit(qgetenv("windir") + "\\Fonts\\")); - QPlatformFontDatabase::registerFont(faceName, foundryName, weight, style, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, weight, style, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); // add fonts windows can generate for us: if (weight <= QFont::DemiBold) - QPlatformFontDatabase::registerFont(faceName, foundryName, QFont::Bold, style, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, QFont::Bold, style, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); if (style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(faceName, foundryName, weight, QFont::StyleItalic, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, weight, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); if (weight <= QFont::DemiBold && style != QFont::StyleItalic) - QPlatformFontDatabase::registerFont(faceName, foundryName, QFont::Bold, QFont::StyleItalic, stretch, + QPlatformFontDatabase::registerFont(faceName, QString(), foundryName, QFont::Bold, QFont::StyleItalic, stretch, antialias, scalable, size, fixed, writingSystems, createFontFile(value, index)); if (!englishName.isEmpty()) From f1b88369ef5e424838e87a63c98c17e8eee13fae Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 13 Dec 2012 08:30:29 +0100 Subject: [PATCH 215/386] Mark QGlyphRun and QStaticText tests as insignificant on Linux These tests have been failing on certain setups for a while, but some new critical changes causes the failure to trigger on the CI system as well. We mark them as insignificant until they can be fixed. Change-Id: I467e7030c55d6f23515275b4062c17068d2b688c Reviewed-by: Andy Shaw (cherry picked from commit 04f25ac46ca0956dfd1209b14a1eee9e2e1274c2) Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/auto/gui/text/qglyphrun/qglyphrun.pro | 2 ++ tests/auto/gui/text/qstatictext/qstatictext.pro | 1 + 2 files changed, 3 insertions(+) diff --git a/tests/auto/gui/text/qglyphrun/qglyphrun.pro b/tests/auto/gui/text/qglyphrun/qglyphrun.pro index 67eb1d1b2b..45680febf3 100644 --- a/tests/auto/gui/text/qglyphrun/qglyphrun.pro +++ b/tests/auto/gui/text/qglyphrun/qglyphrun.pro @@ -3,6 +3,8 @@ CONFIG += parallel_test TARGET = tst_qglyphrun QT = core gui testlib +linux: CONFIG += insignificant_test + SOURCES += \ tst_qglyphrun.cpp diff --git a/tests/auto/gui/text/qstatictext/qstatictext.pro b/tests/auto/gui/text/qstatictext/qstatictext.pro index 38ab120985..772b68cfff 100644 --- a/tests/auto/gui/text/qstatictext/qstatictext.pro +++ b/tests/auto/gui/text/qstatictext/qstatictext.pro @@ -1,5 +1,6 @@ CONFIG += testcase CONFIG += parallel_test +linux: CONFIG += insignificant_test TARGET = tst_qstatictext QT += testlib QT += core core-private gui gui-private From c629bf001978b5713464da81fce2f0bd7dcf2435 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 13 Dec 2012 10:07:48 +0100 Subject: [PATCH 216/386] Mark QAbstractTextDocumentLayout test as insignificant This test fails on some setups and a pending critical change causes the existing bug to trigger in CI. To avoid blocking other changes because of this bug, it's been marked as insignificant until such a time when it can be fixed. Change-Id: Ide41f7b1c76209f9c05f95f996b2364d5dea5e67 Reviewed-by: Liang Qi Reviewed-by: Andy Shaw (cherry picked from commit 02032fb229e4a26b2848db60e90820e2daeb3363) Reviewed-by: Eskil Abrahamsen Blomfeldt --- .../qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro b/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro index 801e9dc7be..bb6457853e 100644 --- a/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro +++ b/tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro @@ -7,6 +7,6 @@ CONFIG += parallel_test TARGET = tst_qabstracttextdocumentlayout QT += testlib SOURCES += tst_qabstracttextdocumentlayout.cpp - +linux: CONFIG += insignificant_test DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From e2ad422e88373ac8e03f716d7f30800e2381aa16 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 12 Dec 2012 01:01:17 +0100 Subject: [PATCH 217/386] Doc: recommend using QVERIFY with QSignalSpy::wait, so people don't forget. Change-Id: I63a04b64368a4b8aa6cfea88780b8dd6ba38b8bf Reviewed-by: Paul Olav Tvete --- src/testlib/doc/snippets/code/doc_src_qsignalspy.cpp | 4 ++++ src/testlib/qsignalspy.qdoc | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/testlib/doc/snippets/code/doc_src_qsignalspy.cpp b/src/testlib/doc/snippets/code/doc_src_qsignalspy.cpp index a0fd16f577..6741ae7942 100644 --- a/src/testlib/doc/snippets/code/doc_src_qsignalspy.cpp +++ b/src/testlib/doc/snippets/code/doc_src_qsignalspy.cpp @@ -79,3 +79,7 @@ QModelIndex result = qvariant_cast(spy.at(0).at(0)); //! [4] QSignalSpy spy(myPushButton, SIGNAL(clicked(bool))); //! [4] + +//! [5] +QVERIFY(spy.wait(1000)); +//! [5] diff --git a/src/testlib/qsignalspy.qdoc b/src/testlib/qsignalspy.qdoc index 30ab7c8b55..d36716bf2e 100644 --- a/src/testlib/qsignalspy.qdoc +++ b/src/testlib/qsignalspy.qdoc @@ -94,4 +94,7 @@ Optionally the event loop can return earlier on a \a timeout (in milliseconds). Returns true if the signal was emitted at least once in \a timeout milliseconds, otherwise returns false. + + Example: + \snippet code/doc_src_qsignalspy.cpp 5 */ From 88047bee4c8731be6adb8cb3be0e18280c9ebea2 Mon Sep 17 00:00:00 2001 From: Jing Bai Date: Wed, 12 Dec 2012 16:42:45 +0100 Subject: [PATCH 218/386] add missing include when Q_NO_USING_KEYWORD is defined Task-number: QTBUG-28446 Change-Id: I348de023035a15f3c769610abdaf0ebd7273ca34 Reviewed-by: Thiago Macieira --- src/widgets/kernel/qapplication.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h index 8a7cb24539..5800ca48b0 100644 --- a/src/widgets/kernel/qapplication.h +++ b/src/widgets/kernel/qapplication.h @@ -50,6 +50,9 @@ #ifdef QT_INCLUDE_COMPAT # include #endif +#ifdef Q_NO_USING_KEYWORD +#include +#endif #include QT_BEGIN_HEADER From f15a73f2548d5f0fcb1d06e03390c00275085cf0 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Fri, 14 Dec 2012 11:05:16 +0100 Subject: [PATCH 219/386] Added note in the README Change-Id: I15baad71645574f94a06d889a2b84906934f96dd Reviewed-by: Lars Knoll --- dist/README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dist/README b/dist/README index 19443c1bbe..d9eed68fb7 100644 --- a/dist/README +++ b/dist/README @@ -152,3 +152,8 @@ Much more information is available at: We hope you will enjoy using Qt! - The Qt developers @ qt-project.org + + + + In memory of Trond Kjernåsen. + You will not be forgotten. \ No newline at end of file From 5f348c4120fc2f5660f9279e054ac3dba8e3e0f4 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Thu, 13 Dec 2012 20:30:48 +0100 Subject: [PATCH 220/386] Add missing bit in initialization. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1de8dcd8714f1700ac03d7c1e8536f10a031cef9 Reviewed-by: Jan Arve Sæther --- src/platformsupport/linuxaccessibility/atspiadaptor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index 1eda1dfab9..eb0177bfb7 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -99,6 +99,7 @@ AtSpiAdaptor::AtSpiAdaptor(DBusConnection *connection, QObject *parent) , sendObject_row_inserted(0) , sendObject_row_reordered(0) , sendObject_selection_changed(0) + , sendObject_state_changed(0) , sendObject_text_attributes_changed(0) , sendObject_text_bounds_changed(0) , sendObject_text_caret_moved(0) From 5a8a1eb4afffd2e23f5392a21727713a334dbd3a Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 10 Dec 2012 15:35:44 +0100 Subject: [PATCH 221/386] Entered hardcoded url workaround QTBUG-28500 Url for OpenGL Registry Url for Khronos OpenGL ES API Registry Change-Id: I682ddcedf1e06d589e5c44e364936c78fd9219a5 Reviewed-by: Jerome Pasion --- examples/gui/doc/openglwindow.qdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gui/doc/openglwindow.qdoc b/examples/gui/doc/openglwindow.qdoc index f5af944a31..d26fd477af 100644 --- a/examples/gui/doc/openglwindow.qdoc +++ b/examples/gui/doc/openglwindow.qdoc @@ -105,8 +105,8 @@ QOpenGLContext::functions(). QOpenGLFunctions gives access to all the OpenGL ES 2.0 level OpenGL calls that are not already standard in both OpenGL ES 2.0 and desktop OpenGL. For more information about the OpenGL and - OpenGL ES APIs, refer to the official \l{OpenGL Registry} and - \l{Khronos OpenGL ES API Registry}. + OpenGL ES APIs, refer to the official \l{http://www.opengl.org/registry/}{OpenGL Registry} and + \l {http://www.khronos.org/registry/gles/}{Khronos OpenGL ES API Registry}. If animation has been enabled with OpenGLWindow::setAnimating(true), we call renderLater() to put another update request on the event loop. From e4cd399ef654514deed2f422378cc620059689d8 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Thu, 13 Dec 2012 10:29:55 +0100 Subject: [PATCH 222/386] Entered hardcoded url for Gnu Emacs Corrected in qkeysequence.cpp Link from external-sites not working So, entered hardcoded url. Task-number: QTBUG-27512 Change-Id: I5b8d25d2b1f4f4fb0d57d2306de7f1b7c3dc40e3 Reviewed-by: Jerome Pasion --- src/gui/kernel/qkeysequence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qkeysequence.cpp b/src/gui/kernel/qkeysequence.cpp index 66baa3db95..83e7b30a52 100644 --- a/src/gui/kernel/qkeysequence.cpp +++ b/src/gui/kernel/qkeysequence.cpp @@ -349,7 +349,7 @@ void Q_GUI_EXPORT qt_set_sequence_auto_mnemonic(bool b) { qt_sequence_no_mnemoni \section1 GNU Emacs Style Key Sequences - Key sequences similar to those used in \l{GNU Emacs}, allowing up to four + Key sequences similar to those used in \l{http://www.gnu.org/software/emacs/}{GNU Emacs}, allowing up to four key codes, can be created by using the multiple argument constructor, or by passing a human-readable string of comma-separated key sequences. From 9f88e9a0a824a46565c3bf768f725130feeebc7c Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Fri, 14 Dec 2012 00:58:19 +1100 Subject: [PATCH 223/386] Add missing uuid lib for qaccessibility test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IID_IAccessible requires linking with the uuid lib. Change-Id: Ic34d5c9bdb6168df7d2447c8aebf1bc519e5f7cd Reviewed-by: Janne Anttila Reviewed-by: Kai Koehne Reviewed-by: Friedemann Kleint Reviewed-by: Jan Arve Sæther --- tests/auto/other/qaccessibility/qaccessibility.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/other/qaccessibility/qaccessibility.pro b/tests/auto/other/qaccessibility/qaccessibility.pro index 919c24d80b..54a076b8fa 100644 --- a/tests/auto/other/qaccessibility/qaccessibility.pro +++ b/tests/auto/other/qaccessibility/qaccessibility.pro @@ -17,6 +17,6 @@ win32 { include(../../../../src/3rdparty/iaccessible2/iaccessible2.pri) DEFINES += QT_SUPPORTS_IACCESSIBLE2 } - LIBS += -loleacc -loleaut32 -lole32 + LIBS += -loleacc -loleaut32 -lole32 -luuid } DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From a97064baab197e374ac09a264883db72708c7725 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Thu, 13 Dec 2012 15:12:44 +0100 Subject: [PATCH 224/386] Entered hardcoded url for Corrected in qnamespace.qdoc Task-number: QTBUG-27512 Change-Id: I9e0ecdb122d02f53dd3be457bfa2b358711222e0 Reviewed-by: Jerome Pasion --- src/corelib/global/qnamespace.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 363c5206b0..f09e3ce484 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -406,7 +406,7 @@ \value BevelJoin The triangular notch between the two lines is filled. \value RoundJoin A circular arc between the two lines is filled. \value SvgMiterJoin A miter join corresponding to the definition of - a miter join in the \l{SVG 1.2 Tiny} specification. + a miter join in the \l{http://www.w3.org/TR/SVGMobile12/}{SVG 1.2 Tiny} specification. \omitvalue MPenJoinStyle \sa QPen From 0f2017743bde38dcddb1d61708d713c785e8e4a6 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 6 Dec 2012 15:09:25 +0100 Subject: [PATCH 225/386] Remove documentation for deleted methods, to fix a qdoc warning The methods were removed in 6cac729ae4181414f0b80361cdae3c30a3c99ca1 Change-Id: I0b4e32a143af877181e939241b6a00f5532db40d Reviewed-by: Mitch Curtis Reviewed-by: Jerome Pasion --- src/corelib/mimetypes/qmimedatabase.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/corelib/mimetypes/qmimedatabase.cpp b/src/corelib/mimetypes/qmimedatabase.cpp index 5acc290475..f3705476c3 100644 --- a/src/corelib/mimetypes/qmimedatabase.cpp +++ b/src/corelib/mimetypes/qmimedatabase.cpp @@ -604,18 +604,4 @@ QList QMimeDatabase::allMimeTypes() const \value MatchContent The file content is used to look for a match */ -/*! - \fn QMimeType QMimeDatabase::mimeTypeForNameAndData(const QString &fileName, QIODevice *device) const - \obsolete - - This function is replaced by \l mimeTypeForFileNameAndData() -*/ - -/*! - \fn QMimeType QMimeDatabase::mimeTypeForNameAndData(const QString &fileName, const QByteArray &data) const - \obsolete - - This function is replaced by \l mimeTypeForFileNameAndData() -*/ - QT_END_NAMESPACE From 834359cc66d1fe5623d490c72ba6e597aca9015e Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Tue, 11 Dec 2012 18:53:10 +0100 Subject: [PATCH 226/386] Doc: Added documentation for dbus and touch examples Change-Id: I68b6679e1f3454d93081136a77fc5462e434b61e Reviewed-by: Jerome Pasion --- .../remotecontrolledcar-car-example.png | Bin 0 -> 8833 bytes .../doc/src/dbus-remotecontrolledcar.qdoc | 36 +++++++++++++++++ .../dials/doc/images/touch-dials-example.png | Bin 0 -> 17676 bytes examples/touch/dials/doc/src/touch-dials.qdoc | 38 ++++++++++++++++++ .../knobs/doc/images/touch-knobs-example.png | Bin 0 -> 1290 bytes examples/touch/knobs/doc/src/touch-knobs.qdoc | 38 ++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 examples/dbus/remotecontrolledcar/doc/images/remotecontrolledcar-car-example.png create mode 100644 examples/dbus/remotecontrolledcar/doc/src/dbus-remotecontrolledcar.qdoc create mode 100644 examples/touch/dials/doc/images/touch-dials-example.png create mode 100644 examples/touch/dials/doc/src/touch-dials.qdoc create mode 100644 examples/touch/knobs/doc/images/touch-knobs-example.png create mode 100644 examples/touch/knobs/doc/src/touch-knobs.qdoc diff --git a/examples/dbus/remotecontrolledcar/doc/images/remotecontrolledcar-car-example.png b/examples/dbus/remotecontrolledcar/doc/images/remotecontrolledcar-car-example.png new file mode 100644 index 0000000000000000000000000000000000000000..7e08340c8035d10dba2522e54fab9071567a3150 GIT binary patch literal 8833 z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ar/doc/src/dbus-remotecontrolledcar.qdoc new file mode 100644 index 0000000000..05c750803e --- /dev/null +++ b/examples/dbus/remotecontrolledcar/doc/src/dbus-remotecontrolledcar.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example dbus/remotecontrolledcar + \title D-Bus Remote Controlled Car Example + + The Remote Controlled Car example shows how to use D-Bus to control one + application using another. + + \image remotecontrolledcar-car-example.png +*/ diff --git a/examples/touch/dials/doc/images/touch-dials-example.png b/examples/touch/dials/doc/images/touch-dials-example.png new file mode 100644 index 0000000000000000000000000000000000000000..60e1776fc3787933c68782db5e2dbae1b2e79263 GIT binary patch literal 17676 zcmdUX1yI!O+pa;02uPQdNUnl32&|Meh~$EFNrxc4C@CNyExCl0fRuEXlz>P}=hEHm z!gTb!K^_C7a9VsgbE=K`k11sN^-U`aTWs?0!#6}e3 zCYkXN+AGUF)9I|8>JC5Zrrr}a9xeHu6A86xd!`M)+e6W#ze%n@!dJnRIMiLb`j|5^ z=F}~i>FG71>vN33e)Qqb7FNn?z8p#7TZd>22V>P-&j`NUzL~+kzEVI}dXb=!pdlR= z5pn<8wYN5J;bW9wd9tK9+Sjg`-XSc$cCC|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_i?yfNZe_{-bly@_HF2_)8_x~Z8BLwn-oE==^<%+Qm9~;Me;aqWgl;%$ zbxI=fD5GS&xJY;_!3+;A3q<1U-h69+{JT8=Vz|<}KKuIrckkcJk&}OSCa2zF(R%k7 i+3(xU`}xcNGp?TZ`D@;ej$~jN$KdJe=d#Wzp$P!26Fam3 literal 0 HcmV?d00001 diff --git a/examples/touch/knobs/doc/src/touch-knobs.qdoc b/examples/touch/knobs/doc/src/touch-knobs.qdoc new file mode 100644 index 0000000000..548b0bad05 --- /dev/null +++ b/examples/touch/knobs/doc/src/touch-knobs.qdoc @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example touch/knobs + \title Touch Knobs Example + \ingroup touchinputexamples + \brief Shows how to create custom controls that accept touch input + + The Touch Knobs example shows how to create custom controls that + accept touch input. + + \image touch-knobs-example.png +*/ From 0e4c41b7a3e7d3e2cf2d1ef6d936a9458d0f9528 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 14 Dec 2012 12:17:41 +0100 Subject: [PATCH 228/386] Remove MSVC2012-optimization for the QMetaType-test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As otherwise compilation takes hours. Task-number: QTBUG-28611 Change-Id: I0ad73bf6ea4d7d4594e902c101bf52969daca341 Reviewed-by: Oliver Wolff Reviewed-by: Jędrzej Nowacki --- tests/auto/corelib/kernel/qmetatype/qmetatype.pro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/auto/corelib/kernel/qmetatype/qmetatype.pro b/tests/auto/corelib/kernel/qmetatype/qmetatype.pro index 13dc2a2a90..561b7ed9cc 100644 --- a/tests/auto/corelib/kernel/qmetatype/qmetatype.pro +++ b/tests/auto/corelib/kernel/qmetatype/qmetatype.pro @@ -5,7 +5,12 @@ SOURCES = tst_qmetatype.cpp TESTDATA=./typeFlags.bin DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -win32-msvc2008 { +win32-msvc* { # Prevents "fatal error C1128: number of sections exceeded object file format limit". QMAKE_CXXFLAGS += /bigobj -} \ No newline at end of file + # Reduce compile time + win32-msvc2012 { + QMAKE_CXXFLAGS_RELEASE -= -O2 + QMAKE_CFLAGS_RELEASE -= -O2 + } +} From 1ac5d97800ffa7441b3a5df220e0334aab557c10 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Wed, 12 Dec 2012 12:22:42 +0100 Subject: [PATCH 229/386] Entered hardcoded url to XaoS as a workaround Symbel from external-resource.qdoc not working, so replace it with the url. Corrected in mandelbrot.qdoc Task-number : QTBUG-27512 Change-Id: Ibf54bf707deb73f1cf22d347839dcd347382ecd9 Reviewed-by: Jerome Pasion --- examples/threads/doc/src/mandelbrot.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/threads/doc/src/mandelbrot.qdoc b/examples/threads/doc/src/mandelbrot.qdoc index 8ef8d0b01a..02da084810 100644 --- a/examples/threads/doc/src/mandelbrot.qdoc +++ b/examples/threads/doc/src/mandelbrot.qdoc @@ -37,7 +37,7 @@ The heavy computation here is the Mandelbrot set, probably the world's most famous fractal. These days, while sophisticated - programs such as \l{XaoS} that provide real-time zooming in the + programs such as \l{http://xaos.sourceforge.net/}{XaoS} that provide real-time zooming in the Mandelbrot set, the standard Mandelbrot algorithm is just slow enough for our purposes. From d454cb08daa0aa0b5b4798e9e1c9e6617a572f31 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 13 Dec 2012 12:31:02 +0100 Subject: [PATCH 230/386] add .rpath only for dynamic unix builds rpath is meaningless for static libraries. and windows has no concept of rpaths to start with. Change-Id: Ia02bbdfbf7112e7082175c3051c0839ac0900f57 Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_module.prf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index ad8d9aab55..be0ca0b198 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -40,6 +40,10 @@ MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules-inst/qt_lib_$${MODULE}.pri !build_pass { # Create a module .pri file + unix:!static: \ + module_rpath = "QT.$${MODULE}.rpath = $$[QT_INSTALL_LIBS/raw]" + else: \ + module_rpath = !isEmpty(QT_FOR_PRIVATE) { contains(QT_FOR_PRIVATE, .*-private$):error("QT_FOR_PRIVATE may not contain *-private.") module_privdep = "QT.$${MODULE}.private_depends = $$QT_FOR_PRIVATE" @@ -74,7 +78,7 @@ MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules-inst/qt_lib_$${MODULE}.pri "QT.$${MODULE}.sources = $$val_escape(_PRO_FILE_PWD_)" \ "QT.$${MODULE}.libs = \$\$QT_MODULE_LIB_BASE" \ "QT.$${MODULE}.libexecs = \$\$QT_MODULE_LIBEXEC_BASE" \ - "QT.$${MODULE}.rpath = $$[QT_INSTALL_LIBS/raw]" \ + $$module_rpath \ "QT.$${MODULE}.plugins = \$\$QT_MODULE_PLUGIN_BASE" \ "QT.$${MODULE}.imports = \$\$QT_MODULE_IMPORT_BASE" \ "QT.$${MODULE}.qml = \$\$QT_MODULE_QML_BASE" \ From 719ca7c53ae5d78d2928ee763efbd9160d581531 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 7 Dec 2012 13:28:43 +0100 Subject: [PATCH 231/386] Remove win32/thread.prf and thread_off.prf The variables these files refer to are not set anywhere anymore. The Unix thread.prf file is still needed, as it is still effective and is activated by qt.prf. Task-number: QTBUG-25106 Change-Id: Ia514192d28785205df3710d78ee597285d4136b0 Reviewed-by: Joerg Bornemann --- mkspecs/features/win32/thread.prf | 22 ---------------------- mkspecs/features/win32/thread_off.prf | 2 -- 2 files changed, 24 deletions(-) delete mode 100644 mkspecs/features/win32/thread.prf delete mode 100644 mkspecs/features/win32/thread_off.prf diff --git a/mkspecs/features/win32/thread.prf b/mkspecs/features/win32/thread.prf deleted file mode 100644 index fc832a0990..0000000000 --- a/mkspecs/features/win32/thread.prf +++ /dev/null @@ -1,22 +0,0 @@ -CONFIG -= thread_off - -# #### These need to go -debug { - contains(DEFINES, QT_DLL) { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLLDBG - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLLDBG - } else { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DBG - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DBG - } -} else { - contains(DEFINES, QT_DLL) { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLL - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLL - } else { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT - } -} - -QMAKE_LIBS += $$QMAKE_LIBS_RTMT diff --git a/mkspecs/features/win32/thread_off.prf b/mkspecs/features/win32/thread_off.prf deleted file mode 100644 index 436a2c8166..0000000000 --- a/mkspecs/features/win32/thread_off.prf +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG -= thread -QMAKE_LIBS += $$QMAKE_LIBS_RT From d0bce448cf02c25eded28a82cb4d6acb4fb61c1b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 7 Dec 2012 20:19:03 +0100 Subject: [PATCH 232/386] stop defining QT..sources it's the very antithesis of modularization to do it. Task-number: QTBUG-27722 Change-Id: I2540e1a70e67b55420246d0c209314c05c65a85f Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_module.prf | 1 - mkspecs/features/qt_module_fwdpri.prf | 1 - 2 files changed, 2 deletions(-) diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index be0ca0b198..22cec4d987 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -75,7 +75,6 @@ MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules-inst/qt_lib_$${MODULE}.pri "QT.$${MODULE}.bins = \$\$QT_MODULE_BIN_BASE" \ "QT.$${MODULE}.includes = $$MODULE_INCLUDES" \ "QT.$${MODULE}.private_includes = $$MODULE_PRIVATE_INCLUDES" \ - "QT.$${MODULE}.sources = $$val_escape(_PRO_FILE_PWD_)" \ "QT.$${MODULE}.libs = \$\$QT_MODULE_LIB_BASE" \ "QT.$${MODULE}.libexecs = \$\$QT_MODULE_LIBEXEC_BASE" \ $$module_rpath \ diff --git a/mkspecs/features/qt_module_fwdpri.prf b/mkspecs/features/qt_module_fwdpri.prf index 0b203b5a90..e62eecc344 100644 --- a/mkspecs/features/qt_module_fwdpri.prf +++ b/mkspecs/features/qt_module_fwdpri.prf @@ -48,7 +48,6 @@ # Create a forwarding module .pri file MODULE_FWD_PRI_CONT = \ - "QT_MODULE_BASE = $$MODULE_BASE_DIR" \ "QT_MODULE_BIN_BASE = $$MODULE_BASE_OUTDIR/bin" \ "QT_MODULE_INCLUDE_BASE = $$MODULE_BASE_OUTDIR/include" \ "QT_MODULE_IMPORT_BASE = $$MODULE_BASE_OUTDIR/imports" \ From 9a6366cead1c787f0c29b721bdbf07585199e9ca Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Fri, 14 Dec 2012 14:05:08 +0100 Subject: [PATCH 233/386] Don't use NSAccessibilityUnignoredChildren. The function is massively ineffective on deep hierarchies and not strictly needed. (It's supposed to filter out "Ignored" children - VoiceOver will do that anyway based on accessibilityIsIgnored()) Change-Id: I9a74b5f5e9b7880e0d46d5330f7192472eac7a36 Reviewed-by: Frederik Gladhorn --- src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm | 2 +- src/plugins/platforms/cocoa/qnsviewaccessibility.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm index df6b64443d..7d46ad5cde 100644 --- a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm +++ b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm @@ -139,7 +139,7 @@ static QAccessibleInterface *acast(void *ptr) [kids addObject:[QCocoaAccessibleElement elementWithInterface:(void*)childInterface parent:self]]; } - return NSAccessibilityUnignoredChildren(kids); + return kids; } else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) { // Just check if the app thinks we're focused. id focusedElement = [NSApp accessibilityAttributeValue:NSAccessibilityFocusedUIElementAttribute]; diff --git a/src/plugins/platforms/cocoa/qnsviewaccessibility.mm b/src/plugins/platforms/cocoa/qnsviewaccessibility.mm index 6824f19489..da714d3326 100644 --- a/src/plugins/platforms/cocoa/qnsviewaccessibility.mm +++ b/src/plugins/platforms/cocoa/qnsviewaccessibility.mm @@ -80,7 +80,7 @@ [kids addObject:[QCocoaAccessibleElement elementWithInterface: m_accessibleRoot->child(i) parent:self ]]; } - return NSAccessibilityUnignoredChildren(kids); + return kids; } else { return [super accessibilityAttributeValue:attribute]; } From abf95b7f77a5d698f05dacdf86a6b23aa3ab8260 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Thu, 13 Dec 2012 10:43:36 +0100 Subject: [PATCH 234/386] Prevent crash in childAt when there are 0 children Fix off-by-one error. QAccessibleInterface::child() is 0-based, start the iteration at childCount() - 1. Change-Id: I0c841b692adab0aae4e8ac44c7d308cd7a176ac8 Reviewed-by: Frederik Gladhorn --- src/plugins/accessible/widgets/qaccessiblemenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/accessible/widgets/qaccessiblemenu.cpp b/src/plugins/accessible/widgets/qaccessiblemenu.cpp index 5f7d9a9c30..c7dcee78f0 100644 --- a/src/plugins/accessible/widgets/qaccessiblemenu.cpp +++ b/src/plugins/accessible/widgets/qaccessiblemenu.cpp @@ -165,7 +165,7 @@ QAccessibleMenuItem::~QAccessibleMenuItem() QAccessibleInterface *QAccessibleMenuItem::childAt(int x, int y ) const { - for (int i = childCount(); i >= 0; --i) { + for (int i = childCount() - 1; i >= 0; --i) { QAccessibleInterface *childInterface = child(i); if (childInterface->rect().contains(x,y)) { return childInterface; From d6717eb0fbb4629b98bff0c7bc6fbc852d81b529 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 13 Dec 2012 15:10:26 +0100 Subject: [PATCH 235/386] SQL: Fix autotests for MinGW Change-Id: Ib05a120db16f65d9833663445c028971d4de3d29 Reviewed-by: Jonathan Liu Reviewed-by: Friedemann Kleint --- tests/auto/sql/kernel/qsql/qsql.pro | 2 ++ tests/auto/sql/kernel/qsqlresult/qsqlresult.pro | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/auto/sql/kernel/qsql/qsql.pro b/tests/auto/sql/kernel/qsql/qsql.pro index 5847bd74b1..980a35b99f 100644 --- a/tests/auto/sql/kernel/qsql/qsql.pro +++ b/tests/auto/sql/kernel/qsql/qsql.pro @@ -8,4 +8,6 @@ QT += sql sql-private gui testlib wince*: { DEPLOYMENT_PLUGIN += qsqlite } +win32-g++*: LIBS += -lws2_32 + DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro b/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro index d43b644138..abd32ee017 100644 --- a/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro +++ b/tests/auto/sql/kernel/qsqlresult/qsqlresult.pro @@ -6,4 +6,6 @@ QT = core sql testlib SOURCES += tst_qsqlresult.cpp HEADERS += testsqldriver.h +win32-g++*: LIBS += -lws2_32 + DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From 457829da52183d406164f8e8f13c4a35b3caf8d8 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Thu, 13 Dec 2012 11:37:19 +0100 Subject: [PATCH 236/386] Fix memory leak in cocoa accessibility. Autorelease ("delete later") the created attribute name array. Change-Id: I2d7af9eb1fd899f04c8acb90204600a2dd43fa20 Reviewed-by: Frederik Gladhorn --- src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm index 7d46ad5cde..c722ffb3bf 100644 --- a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm +++ b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm @@ -122,7 +122,7 @@ static QAccessibleInterface *acast(void *ptr) [attributes addObject : NSAccessibilityValueAttribute]; } - return attributes; + return [attributes autorelease]; } - (id)accessibilityAttributeValue:(NSString *)attribute { From eaa31066bc159829d35d9b4099d42355cec3dae1 Mon Sep 17 00:00:00 2001 From: Christiaan Janssen Date: Wed, 12 Dec 2012 16:32:44 +0100 Subject: [PATCH 237/386] D-Bus Examples: added qdoc files and path Change-Id: I59b3db3f3c5d076b60a2e6f909d7919d5126a1e6 Reviewed-by: hjk Reviewed-by: Jerome Pasion --- examples/dbus/doc/src/chat.qdoc | 31 +++++++++++++++++++ examples/dbus/doc/src/complexpingpong.qdoc | 31 +++++++++++++++++++ examples/dbus/doc/src/listnames.qdoc | 31 +++++++++++++++++++ examples/dbus/doc/src/pingpong.qdoc | 31 +++++++++++++++++++ .../dbus/doc/src/remotecontrolledcar.qdoc | 31 +++++++++++++++++++ src/dbus/doc/qtdbus.qdocconf | 5 ++- 6 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 examples/dbus/doc/src/chat.qdoc create mode 100644 examples/dbus/doc/src/complexpingpong.qdoc create mode 100644 examples/dbus/doc/src/listnames.qdoc create mode 100644 examples/dbus/doc/src/pingpong.qdoc create mode 100644 examples/dbus/doc/src/remotecontrolledcar.qdoc diff --git a/examples/dbus/doc/src/chat.qdoc b/examples/dbus/doc/src/chat.qdoc new file mode 100644 index 0000000000..b06338d87e --- /dev/null +++ b/examples/dbus/doc/src/chat.qdoc @@ -0,0 +1,31 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example chat + \title D-Bus Chat Example +*/ diff --git a/examples/dbus/doc/src/complexpingpong.qdoc b/examples/dbus/doc/src/complexpingpong.qdoc new file mode 100644 index 0000000000..60b0e10feb --- /dev/null +++ b/examples/dbus/doc/src/complexpingpong.qdoc @@ -0,0 +1,31 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example complexpingpong + \title D-Bus Complex Ping Pong Example +*/ diff --git a/examples/dbus/doc/src/listnames.qdoc b/examples/dbus/doc/src/listnames.qdoc new file mode 100644 index 0000000000..e5dc2671dd --- /dev/null +++ b/examples/dbus/doc/src/listnames.qdoc @@ -0,0 +1,31 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example listnames + \title D-Bus List Names Example +*/ diff --git a/examples/dbus/doc/src/pingpong.qdoc b/examples/dbus/doc/src/pingpong.qdoc new file mode 100644 index 0000000000..f16ecb9c98 --- /dev/null +++ b/examples/dbus/doc/src/pingpong.qdoc @@ -0,0 +1,31 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example pingpong + \title D-Bus Ping Pong Example +*/ diff --git a/examples/dbus/doc/src/remotecontrolledcar.qdoc b/examples/dbus/doc/src/remotecontrolledcar.qdoc new file mode 100644 index 0000000000..cb91ac28b6 --- /dev/null +++ b/examples/dbus/doc/src/remotecontrolledcar.qdoc @@ -0,0 +1,31 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example remotecontrolledcar + \title D-Bus Remote Controlled Car Example +*/ diff --git a/src/dbus/doc/qtdbus.qdocconf b/src/dbus/doc/qtdbus.qdocconf index 264bd12ff3..8915e1ee2e 100644 --- a/src/dbus/doc/qtdbus.qdocconf +++ b/src/dbus/doc/qtdbus.qdocconf @@ -14,9 +14,12 @@ exampledirs += ../../../examples/dbus \ headerdirs += .. imagedirs += images -sourcedirs += .. +sourcedirs += .. \ + ../../../examples/dbus/doc/src excludedirs += ../../../examples/widgets/doc +examplesinstallpath = dbus + depends += qtcore # The following parameters are for creating a qhp file, the qhelpgenerator From c3b6c04245190f0aa17cae7b4c57f5b5052f3e97 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Thu, 13 Dec 2012 14:23:44 +0100 Subject: [PATCH 238/386] Fix memory leak in childAt Delete the interface if it's not returned. Change-Id: Ia1e1f94d14584ab3af1b89a0baac5d343ffdd1f4 Reviewed-by: Frederik Gladhorn --- src/gui/accessible/qaccessibleobject.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/accessible/qaccessibleobject.cpp b/src/gui/accessible/qaccessibleobject.cpp index bc108980cf..2bd5a00afb 100644 --- a/src/gui/accessible/qaccessibleobject.cpp +++ b/src/gui/accessible/qaccessibleobject.cpp @@ -165,6 +165,8 @@ QAccessibleInterface *QAccessibleObject::childAt(int x, int y) const Q_ASSERT(childIface); if (childIface->rect().contains(x,y)) { return childIface; + } else { + delete childIface; } } return 0; From 65c9706f14fda233601b8318b1f3a20422d6a166 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Thu, 13 Dec 2012 17:45:18 +0100 Subject: [PATCH 239/386] Remove unused private member. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I54f3f748763dd5959552df864af38558c136dc87 Reviewed-by: Jan Arve Sæther Reviewed-by: Morten Johan Sørvig --- src/widgets/accessible/qaccessiblewidget.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/widgets/accessible/qaccessiblewidget.cpp b/src/widgets/accessible/qaccessiblewidget.cpp index c8a22175fc..2177b2b262 100644 --- a/src/widgets/accessible/qaccessiblewidget.cpp +++ b/src/widgets/accessible/qaccessiblewidget.cpp @@ -162,7 +162,6 @@ public: QAccessible::Role role; QString name; QStringList primarySignals; - const QAccessibleInterface *asking; }; /*! @@ -201,7 +200,6 @@ QAccessibleWidget::QAccessibleWidget(QWidget *w, QAccessible::Role role, const Q d = new QAccessibleWidgetPrivate(); d->role = role; d->name = name; - d->asking = 0; } /*! \reimp */ From 69e602941112da325b1154e0dc52714bc27a2cc8 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Fri, 14 Dec 2012 14:19:43 +0100 Subject: [PATCH 240/386] Doc: Moved content from qtdoc - The qdoc pages were related to qtcore and they were referring to snippets inside the qtcore module boundary. - Fixed the exampledirs for QtCore to include the examples that are referred by the \snippet instances in the moved qdoc pages work. Change-Id: Ibb6dbb131920ea8692a203f6145863e5012e4602 Reviewed-by: Jerome Pasion --- src/corelib/doc/qtcore.qdocconf | 4 +- src/corelib/doc/src/custom-types.qdoc | 165 ++++++++++++++++++++ src/corelib/doc/src/objectmodel/object.qdoc | 3 +- src/corelib/doc/src/timers.qdoc | 123 +++++++++++++++ 4 files changed, 293 insertions(+), 2 deletions(-) create mode 100644 src/corelib/doc/src/custom-types.qdoc create mode 100644 src/corelib/doc/src/timers.qdoc diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index e0c74c9ae5..7e6d06eaa6 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -35,6 +35,8 @@ sourcedirs += .. exampledirs += \ ../ \ snippets \ - ../../../examples/threads + ../../../examples/threads/ \ + ../../../examples/tools/ \ + ../../../examples/widgets/widgets/analogclock imagedirs += images diff --git a/src/corelib/doc/src/custom-types.qdoc b/src/corelib/doc/src/custom-types.qdoc new file mode 100644 index 0000000000..95987ec014 --- /dev/null +++ b/src/corelib/doc/src/custom-types.qdoc @@ -0,0 +1,165 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \page custom-types.html + \title Creating Custom Qt Types + \brief How to create and register new types with Qt. + + \ingroup best-practices + + \tableofcontents + + \section1 Overview + + When creating user interfaces with Qt, particularly those with specialized controls and + features, developers sometimes need to create new data types that can be used alongside + or in place of Qt's existing set of value types. + + Standard types such as QSize, QColor and QString can all be stored in QVariant objects, + used as the types of properties in QObject-based classes, and emitted in signal-slot + communication. + + In this document, we take a custom type and describe how to integrate it into Qt's object + model so that it can be stored in the same way as standard Qt types. We then show how to + register the custom type to allow it to be used in signals and slots connections. + + \section1 Creating a Custom Type + + Before we begin, we need to ensure that the custom type we are creating meets all the + requirements imposed by QMetaType. In other words, it must provide: + + \list + \li a public default constructor, + \li a public copy constructor, and + \li a public destructor. + \endlist + + The following \c Message class definition includes these members: + + \snippet customtype/message.h custom type definition + + The class also provides a constructor for normal use and two public member functions + that are used to obtain the private data. + + \section1 Declaring the Type with QMetaType + + The \c Message class only needs a suitable implementation in order to be usable. + However, Qt's type system will not be able to understand how to store, retrieve + and serialize instances of this class without some assistance. For example, we + will be unable to store \c Message values in QVariant. + + The class in Qt responsible for custom types is QMetaType. To make the type known + to this class, we invoke the Q_DECLARE_METATYPE() macro on the class in the header + file where it is defined: + + \snippet customtype/message.h custom type meta-type declaration + + This now makes it possible for \c Message values to be stored in QVariant objects + and retrieved later. See the \l{Custom Type Example} for code that demonstrates + this. + + The Q_DECLARE_METATYPE() macro also makes it possible for these values to be used as + arguments to signals, but \e{only in direct signal-slot connections}. + To make the custom type generally usable with the signals and slots mechanism, we + need to perform some extra work. + + \section1 Creating and Destroying Custom Objects + + Although the declaration in the previous section makes the type available for use + in direct signal-slot connections, it cannot be used for queued signal-slot + connections, such as those that are made between objects in different threads. + This is because the meta-object system does not know how to handle creation and + destruction of objects of the custom type at run-time. + + To enable creation of objects at run-time, call the qRegisterMetaType() template + function to register it with the meta-object system. This also makes the type + available for queued signal-slot communication as long as you call it before you + make the first connection that uses the type. + + The \l{Queued Custom Type Example} declares a \c Block class which is registered + in the \c{main.cpp} file: + + \snippet queuedcustomtype/main.cpp main start + \dots + \snippet queuedcustomtype/main.cpp register meta-type for queued communications + \dots + \snippet queuedcustomtype/main.cpp main finish + + This type is later used in a signal-slot connection in the \c{window.cpp} file: + + \snippet queuedcustomtype/window.cpp Window constructor start + \dots + \snippet queuedcustomtype/window.cpp connecting signal with custom type + \dots + \snippet queuedcustomtype/window.cpp Window constructor finish + + If a type is used in a queued connection without being registered, a warning will be + printed at the console; for example: + + \code + QObject::connect: Cannot queue arguments of type 'Block' + (Make sure 'Block' is registered using qRegisterMetaType().) + \endcode + + \section1 Making the Type Printable + + It is often quite useful to make a custom type printable for debugging purposes, + as in the following code: + + \snippet customtype/main.cpp printing a custom type + + This is achieved by creating a streaming operator for the type, which is often + defined in the header file for that type: + + \snippet customtype/message.h custom type streaming operator + + The implementation for the \c Message type in the \l{Custom Type Example} + goes to some effort to make the printable representation as readable as + possible: + + \snippet customtype/message.cpp custom type streaming operator + + The output sent to the debug stream can, of course, be made as simple or as + complicated as you like. Note that the value returned by this function is + the QDebug object itself, though this is often obtained by calling the + maybeSpace() member function of QDebug that pads out the stream with space + characters to make it more readable. + + \section1 Further Reading + + The Q_DECLARE_METATYPE() macro and qRegisterMetaType() function documentation + contain more detailed information about their uses and limitations. + + The \l{Custom Type Example}{Custom Type}, + \l{Custom Type Sending Example}{Custom Type Sending} + and \l{Queued Custom Type Example}{Queued Custom Type} examples show how to + implement a custom type with the features outlined in this document. + + The \l{Debugging Techniques} document provides an overview of the debugging + mechanisms discussed above. +*/ diff --git a/src/corelib/doc/src/objectmodel/object.qdoc b/src/corelib/doc/src/objectmodel/object.qdoc index 47f56372de..edf5673da0 100644 --- a/src/corelib/doc/src/objectmodel/object.qdoc +++ b/src/corelib/doc/src/objectmodel/object.qdoc @@ -47,7 +47,7 @@ properties} \li powerful \l{The Event System}{events and event filters} \li contextual \l{i18n}{string translation for internationalization} - \li sophisticated interval driven \l timers that make it possible + \li sophisticated interval driven \l {Timers}{timers} that make it possible to elegantly integrate many tasks in an event-driven GUI \li hierarchical and queryable \l{Object Trees & Ownership}{object trees} that organize object ownership in a natural way @@ -56,6 +56,7 @@ pointers which become dangling pointers when their objects are destroyed \li a \l{metaobjects.html#qobjectcast}{dynamic cast} that works across library boundaries. + \li support for \l{Creating Custom Qt Types}{custom type} creation. \endlist Many of these Qt features are implemented with standard C++ diff --git a/src/corelib/doc/src/timers.qdoc b/src/corelib/doc/src/timers.qdoc new file mode 100644 index 0000000000..eddb600559 --- /dev/null +++ b/src/corelib/doc/src/timers.qdoc @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \page timers.html + \title Timers + \brief How to use Qt timers in your application. + + \ingroup best-practices + + QObject, the base class of all Qt objects, provides the basic + timer support in Qt. With QObject::startTimer(), you start a + timer with an interval in milliseconds as argument. The function + returns a unique integer timer ID. The timer will now fire at + regular intervals until you explicitly call QObject::killTimer() + with the timer ID. + + For this mechanism to work, the application must run in an event + loop. You start an event loop with QApplication::exec(). When a + timer fires, the application sends a QTimerEvent, and the flow of + control leaves the event loop until the timer event is processed. + This implies that a timer cannot fire while your application is + busy doing something else. In other words: the accuracy of timers + depends on the granularity of your application. + + In multithreaded applications, you can use the timer mechanism in + any thread that has an event loop. To start an event loop from a + non-GUI thread, use QThread::exec(). Qt uses the object's + \l{QObject::thread()}{thread affinity} to determine which thread + will deliver the QTimerEvent. Because of this, you must start and + stop all timers in the object's thread; it is not possible to + start timers for objects in another thread. + + The upper limit for the interval value is determined by the number + of milliseconds that can be specified in a signed integer + (in practice, this is a period of just over 24 days). The accuracy + depends on the underlying operating system. Windows 2000 has 15 + millisecond accuracy; other systems that we have tested can handle + 1 millisecond intervals. + + The main API for the timer functionality is QTimer. That class + provides regular timers that emit a signal when the timer fires, and + inherits QObject so that it fits well into the ownership structure + of most GUI programs. The normal way of using it is like this: + + \snippet timers/timers.cpp 0 + \snippet timers/timers.cpp 1 + \snippet timers/timers.cpp 2 + + The QTimer object is made into a child of this widget so that, + when this widget is deleted, the timer is deleted too. + Next, its \l{QTimer::}{timeout()} signal is connected to the slot + that will do the work, it is started with a value of 1000 + milliseconds, indicating that it will time out every second. + + QTimer also provides a static function for single-shot timers. + For example: + + \snippet timers/timers.cpp 3 + + 200 milliseconds (0.2 seconds) after this line of code is + executed, the \c updateCaption() slot will be called. + + For QTimer to work, you must have an event loop in your + application; that is, you must call QCoreApplication::exec() + somewhere. Timer events will be delivered only while the event + loop is running. + + In multithreaded applications, you can use QTimer in any thread + that has an event loop. To start an event loop from a non-GUI + thread, use QThread::exec(). Qt uses the timer's + \l{QObject::thread()}{thread affinity} to determine which thread + will emit the \l{QTimer::}{timeout()} signal. Because of this, you + must start and stop the timer in its thread; it is not possible to + start a timer from another thread. + + The \l{widgets/analogclock}{Analog Clock} example shows how to use + QTimer to redraw a widget at regular intervals. From \c{AnalogClock}'s + implementation: + + \snippet analogclock.cpp 0 + \snippet analogclock.cpp 2 + \snippet analogclock.cpp 3 + \snippet analogclock.cpp 4 + \snippet analogclock.cpp 5 + \snippet analogclock.cpp 6 + \dots + \snippet analogclock.cpp 7 + + Every second, QTimer will call the QWidget::update() slot to + refresh the clock's display. + + If you already have a QObject subclass and want an easy + optimization, you can use QBasicTimer instead of QTimer. With + QBasicTimer, you must reimplement + \l{QObject::timerEvent()}{timerEvent()} in your QObject subclass + and handle the timeout there. The \l{widgets/wiggly}{Wiggly} + example shows how to use QBasicTimer. +*/ From f563599a46febba0eb08f93322c77bc762ce6a81 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Wed, 5 Dec 2012 11:00:02 -0800 Subject: [PATCH 241/386] Implicit conversion of shortcuts to string is gone. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This only effects compilation with DEBUG_QSHORTCUTMAP. Change-Id: I184e644f2165049336cee8a6ac63a3301cf4c849 Reviewed-by: Marc Mutz Reviewed-by: Jan Arve Sæther --- src/gui/kernel/qshortcutmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qshortcutmap.cpp b/src/gui/kernel/qshortcutmap.cpp index 43f37a900f..839cbf37e7 100644 --- a/src/gui/kernel/qshortcutmap.cpp +++ b/src/gui/kernel/qshortcutmap.cpp @@ -679,7 +679,7 @@ void QShortcutMap::dispatchEvent(QKeyEvent *e) #if defined(DEBUG_QSHORTCUTMAP) qDebug().nospace() << "QShortcutMap::dispatchEvent(): Sending QShortcutEvent(\"" - << (QString)next->keyseq << "\", " << next->id << ", " + << next->keyseq.toString() << "\", " << next->id << ", " << (bool)(enabledShortcuts>1) << ") to object(" << next->owner << ')'; #endif QShortcutEvent se(next->keyseq, next->id, enabledShortcuts>1); From 7ca226c9512e8f1d11e428b24e9f91c81ad4cbe7 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Thu, 13 Dec 2012 14:39:47 +0100 Subject: [PATCH 242/386] Doc: entered hardcoded url for Statecharts Corrected in statemachine.qdoc Task-number: QTBUG-27512 Change-Id: I5fa8b7fd39a4c3569e2652b9a60ba4426090a398 Reviewed-by: Jerome Pasion --- src/corelib/doc/src/statemachine.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/doc/src/statemachine.qdoc b/src/corelib/doc/src/statemachine.qdoc index b241b4aff4..e23b911f85 100644 --- a/src/corelib/doc/src/statemachine.qdoc +++ b/src/corelib/doc/src/statemachine.qdoc @@ -45,7 +45,7 @@ The State Machine framework provides classes for creating and executing state graphs. The concepts and notation are based on those from Harel's - \l{Statecharts: A visual formalism for complex systems}{Statecharts}, which + \l{http://www.wisdom.weizmann.ac.il/~dharel/SCANNED.PAPERS/Statecharts.pdf}{Statecharts: A visual formalism for complex systems}, which is also the basis of UML state diagrams. The semantics of state machine execution are based on \l{State Chart XML: State Machine Notation for Control Abstraction}{State Chart XML (SCXML)}. From 52619ae7787b3c4febb73a02afa623b12edabc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Fri, 14 Dec 2012 10:52:47 +0100 Subject: [PATCH 243/386] Fixed invalid memory read in SSSE3 image blending code. We need to do bounds comparison on the actual offset we're going to use with _mm_load_si128 to read 16 bytes from memory (even though we won't use the trailing bytes in the end). Task-number: QTBUG-28324 Change-Id: Id0d6094da796ca67338d8ad225fa6b2f309bbe6e Reviewed-by: Olivier Goffart --- src/gui/painting/qdrawhelper_ssse3.cpp | 2 +- .../gui/painting/qpainter/tst_qpainter.cpp | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/gui/painting/qdrawhelper_ssse3.cpp b/src/gui/painting/qdrawhelper_ssse3.cpp index 09e0516dcb..9f80c70fcc 100644 --- a/src/gui/painting/qdrawhelper_ssse3.cpp +++ b/src/gui/painting/qdrawhelper_ssse3.cpp @@ -60,7 +60,7 @@ inline static void blend_pixel(quint32 &dst, const quint32 src) shift (4, 8, 12). Checking the alignment inside the loop is unfortunatelly way too slow. */ #define BLENDING_LOOP(palignrOffset, length)\ - for (; x < length-3; x += 4) { \ + for (; x-minusOffsetToAlignSrcOn16Bytes < length-7; x += 4) { \ const __m128i srcVectorLastLoaded = _mm_load_si128((__m128i *)&src[x - minusOffsetToAlignSrcOn16Bytes + 4]);\ const __m128i srcVector = _mm_alignr_epi8(srcVectorLastLoaded, srcVectorPrevLoaded, palignrOffset); \ const __m128i srcVectorAlpha = _mm_and_si128(srcVector, alphaMask); \ diff --git a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp index 51c261fc6a..085aef6019 100644 --- a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp +++ b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp @@ -229,6 +229,7 @@ private slots: void drawImage_task217400(); void drawImage_1x1(); void drawImage_task258776(); + void drawImage_QTBUG28324(); void drawRect_task215378(); void drawRect_task247505(); @@ -3233,6 +3234,25 @@ void tst_QPainter::drawImage_task258776() QCOMPARE(dest, expected); } +void tst_QPainter::drawImage_QTBUG28324() +{ + QImage dest(512, 512, QImage::Format_ARGB32_Premultiplied); + dest.fill(0x0); + + int x = 263; int y = 89; int w = 61; int h = 39; + + QImage source(w, h, QImage::Format_ARGB32_Premultiplied); + quint32 *b = (quint32 *)source.bits(); + for (int j = 0; j < w * h; ++j) + b[j] = 0x7f7f7f7f; + + // nothing to test here since the bug is about + // an invalid memory read, which valgrind + // would complain about + QPainter p(&dest); + p.drawImage(x, y, source); +} + void tst_QPainter::clipRectSaveRestore() { QImage img(64, 64, QImage::Format_ARGB32_Premultiplied); From 0c3cfdba45f5e3db430b41649750dc767c93b888 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Sat, 8 Dec 2012 00:25:32 +0100 Subject: [PATCH 244/386] Mark the QDesktopServices::StorageLocation enum as obsolete in the docs The enum was already deprecated but the documentation still listed it so now it is correctly obsoleted. Change-Id: I9d64fe58a5e70de7161928da2d09b4532d450274 Reviewed-by: Liang Qi --- src/gui/util/qdesktopservices.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/util/qdesktopservices.cpp b/src/gui/util/qdesktopservices.cpp index ca284eecd5..94a3343164 100644 --- a/src/gui/util/qdesktopservices.cpp +++ b/src/gui/util/qdesktopservices.cpp @@ -250,6 +250,8 @@ void QDesktopServices::unsetUrlHandler(const QString &scheme) /*! \enum QDesktopServices::StandardLocation \since 4.4 + \obsolete + Use QStandardPaths::StandardLocation This enum describes the different locations that can be queried by QDesktopServices::storageLocation and QDesktopServices::displayName. From d75d86190bca85841db2040d50184f4c6886ef89 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Sat, 8 Dec 2012 01:55:11 +0100 Subject: [PATCH 245/386] Ensure the native filedialog starts up with the right directory On Mac it was not starting the dialog with the specified directory when one was present. If a filename was given as well then it would start up fine. Task-number: QTBUG-28161 Change-Id: I7cce0d065dd57e6433ce62380d4263d6e20b6e7c Reviewed-by: Liang Qi --- src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm b/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm index f9122f56d1..5747cc01e9 100644 --- a/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm +++ b/src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm @@ -223,7 +223,7 @@ static QString strippedText(QString s) - (void)showModelessPanel { if (mOpenPanel){ - QFileInfo info(*mCurrentSelection); + QFileInfo info(!mCurrentSelection->isEmpty() ? *mCurrentSelection : QT_PREPEND_NAMESPACE(QCFString::toQString)(mCurrentDir)); NSString *filepath = QT_PREPEND_NAMESPACE(QCFString::toNSString)(info.filePath()); bool selectable = (mOptions->acceptMode() == QFileDialogOptions::AcceptSave) || [self panel:nil shouldShowFilename:filepath]; @@ -241,7 +241,7 @@ static QString strippedText(QString s) - (BOOL)runApplicationModalPanel { - QFileInfo info(*mCurrentSelection); + QFileInfo info(!mCurrentSelection->isEmpty() ? *mCurrentSelection : QT_PREPEND_NAMESPACE(QCFString::toQString)(mCurrentDir)); NSString *filepath = QT_PREPEND_NAMESPACE(QCFString::toNSString)(info.filePath()); bool selectable = (mOptions->acceptMode() == QFileDialogOptions::AcceptSave) || [self panel:nil shouldShowFilename:filepath]; @@ -266,7 +266,7 @@ static QString strippedText(QString s) - (void)showWindowModalSheet:(QWindow *)parent { - QFileInfo info(*mCurrentSelection); + QFileInfo info(!mCurrentSelection->isEmpty() ? *mCurrentSelection : QT_PREPEND_NAMESPACE(QCFString::toQString)(mCurrentDir)); NSString *filepath = QT_PREPEND_NAMESPACE(QCFString::toNSString)(info.filePath()); bool selectable = (mOptions->acceptMode() == QFileDialogOptions::AcceptSave) || [self panel:nil shouldShowFilename:filepath]; From 485af6275dddbc70ab4648a6c05a69a19116c227 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 14 Dec 2012 18:28:06 +0100 Subject: [PATCH 246/386] Docu: fix non-ascii character where "i" was expected Change-Id: I540c530441ad184efe4e1ecc83bf99aa97c6a028 Reviewed-by: Giuseppe D'Angelo --- src/corelib/io/qabstractfileengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qabstractfileengine.cpp b/src/corelib/io/qabstractfileengine.cpp index 1841619400..d7cf7e3f15 100644 --- a/src/corelib/io/qabstractfileengine.cpp +++ b/src/corelib/io/qabstractfileengine.cpp @@ -155,7 +155,7 @@ QAbstractFileEngineHandler::~QAbstractFileEngineHandler() } /* - \ìnternal + \internal Handles calls to custom file engine handlers. */ From 06031f8bc41503576a3ae67f6b2fd07f1ca8dc34 Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Mon, 3 Dec 2012 11:04:59 +0800 Subject: [PATCH 247/386] QSettings docs: replace Q_WS_MAC with Q_OS_MAC Change-Id: I158ac697dea1792c1d608ebaff77388cfa343999 Reviewed-by: Gunnar Sletta --- src/corelib/doc/snippets/code/src_corelib_io_qsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/doc/snippets/code/src_corelib_io_qsettings.cpp b/src/corelib/doc/snippets/code/src_corelib_io_qsettings.cpp index ab54033ef3..d3dde5be66 100644 --- a/src/corelib/doc/snippets/code/src_corelib_io_qsettings.cpp +++ b/src/corelib/doc/snippets/code/src_corelib_io_qsettings.cpp @@ -82,7 +82,7 @@ settings.value("HKEY_CURRENT_USER\\MySoft\\Star Runner\\Galaxy\\Default"); // re //! [7] -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC QSettings settings("grenoullelogique.fr", "Squash"); #else QSettings settings("Grenoulle Logique", "Squash"); From d914017ebe827d911d02f8b8cbdac8cc37089959 Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Fri, 14 Dec 2012 10:23:47 +0800 Subject: [PATCH 248/386] Clean up Q_WS_WIN The first branch is required to MSVC. The bitfield isn't large enough to represent all possible enum values of Virtualness for MSVC. In addition, using bitfield is a premature optimisation in this case. So remove them. Change-Id: I4c5f85271d2bca1411426e6a321a795a7e783aff Reviewed-by: Thiago Macieira Reviewed-by: Friedemann Kleint --- src/tools/qdoc/node.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tools/qdoc/node.h b/src/tools/qdoc/node.h index f93e777d84..88be423478 100644 --- a/src/tools/qdoc/node.h +++ b/src/tools/qdoc/node.h @@ -822,13 +822,8 @@ private: QString rt; QStringList pp; -#ifdef Q_WS_WIN Metaness met; Virtualness vir; -#else - Metaness met : 4; - Virtualness vir : 2; -#endif bool con : 1; bool sta : 1; bool ove : 1; From 139f416237c52575b236c3b61e25796c83034567 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Thu, 13 Dec 2012 13:48:18 +0100 Subject: [PATCH 249/386] Remove the timestamp info in genarated files For moc, rcc and uic, then it's friendly for tools like ccache. ccache is using md5 to check file modification, but the different timestamp info will cause different md5 for same meaningful contents, it will disabled ccache. Updated the autotest for uic and rcc. Task-number: QTBUG-26589 Change-Id: I9f1dcf6cd826ad9603af6e183757bcd748c32bd1 Reviewed-by: Olivier Goffart --- src/tools/moc/moc.cpp | 6 +----- src/tools/rcc/rcc.cpp | 4 +--- src/tools/uic/uic.cpp | 3 +-- tests/auto/tools/rcc/data/images/images.expected | 3 +-- .../auto/tools/uic/baseline/Dialog_with_Buttons_Bottom.ui.h | 3 +-- .../auto/tools/uic/baseline/Dialog_with_Buttons_Right.ui.h | 3 +-- tests/auto/tools/uic/baseline/Dialog_without_Buttons.ui.h | 3 +-- tests/auto/tools/uic/baseline/Main_Window.ui.h | 3 +-- tests/auto/tools/uic/baseline/Widget.ui.h | 3 +-- tests/auto/tools/uic/baseline/addlinkdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/addtorrentform.ui.h | 3 +-- tests/auto/tools/uic/baseline/authenticationdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/backside.ui.h | 3 +-- tests/auto/tools/uic/baseline/batchtranslation.ui.h | 3 +-- tests/auto/tools/uic/baseline/bookmarkdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/bookwindow.ui.h | 3 +-- tests/auto/tools/uic/baseline/browserwidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/bug18156QTreeWidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/calculator.ui.h | 3 +-- tests/auto/tools/uic/baseline/calculatorform.ui.h | 3 +-- tests/auto/tools/uic/baseline/certificateinfo.ui.h | 3 +-- tests/auto/tools/uic/baseline/chatdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/chatmainwindow.ui.h | 3 +-- tests/auto/tools/uic/baseline/chatsetnickname.ui.h | 3 +-- tests/auto/tools/uic/baseline/config.ui.h | 3 +-- tests/auto/tools/uic/baseline/connectdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/controller.ui.h | 3 +-- tests/auto/tools/uic/baseline/cookies.ui.h | 3 +-- tests/auto/tools/uic/baseline/cookiesexceptions.ui.h | 3 +-- tests/auto/tools/uic/baseline/default.ui.h | 3 +-- tests/auto/tools/uic/baseline/dialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/downloaditem.ui.h | 3 +-- tests/auto/tools/uic/baseline/downloads.ui.h | 3 +-- tests/auto/tools/uic/baseline/embeddeddialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/filespage.ui.h | 3 +-- tests/auto/tools/uic/baseline/filternamedialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/filterpage.ui.h | 3 +-- tests/auto/tools/uic/baseline/finddialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/form.ui.h | 3 +-- tests/auto/tools/uic/baseline/formwindowsettings.ui.h | 3 +-- tests/auto/tools/uic/baseline/generalpage.ui.h | 3 +-- tests/auto/tools/uic/baseline/gridalignment.ui.h | 3 +-- tests/auto/tools/uic/baseline/gridpanel.ui.h | 3 +-- tests/auto/tools/uic/baseline/helpdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/history.ui.h | 3 +-- tests/auto/tools/uic/baseline/icontheme.ui.h | 3 +-- tests/auto/tools/uic/baseline/identifierpage.ui.h | 3 +-- tests/auto/tools/uic/baseline/imagedialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/inputpage.ui.h | 3 +-- tests/auto/tools/uic/baseline/installdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/languagesdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/listwidgeteditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/mainwindow.ui.h | 3 +-- tests/auto/tools/uic/baseline/mydialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/myform.ui.h | 3 +-- tests/auto/tools/uic/baseline/newactiondialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/newdynamicpropertydialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/newform.ui.h | 3 +-- tests/auto/tools/uic/baseline/orderdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/outputpage.ui.h | 3 +-- tests/auto/tools/uic/baseline/pagefold.ui.h | 3 +-- tests/auto/tools/uic/baseline/paletteeditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/passworddialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/pathpage.ui.h | 3 +-- tests/auto/tools/uic/baseline/phrasebookbox.ui.h | 3 +-- tests/auto/tools/uic/baseline/plugindialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/preferencesdialog.ui.h | 3 +-- .../auto/tools/uic/baseline/previewconfigurationwidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/previewdialogbase.ui.h | 3 +-- tests/auto/tools/uic/baseline/previewwidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/proxy.ui.h | 3 +-- tests/auto/tools/uic/baseline/qfiledialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/qpagesetupwidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/qprintpropertieswidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/qprintsettingsoutput.ui.h | 3 +-- tests/auto/tools/uic/baseline/qprintwidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/qsqlconnectiondialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/qtgradientdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/qtgradienteditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/qtgradientview.ui.h | 3 +-- tests/auto/tools/uic/baseline/qtgradientviewdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/qtresourceeditordialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/qttoolbardialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/querywidget.ui.h | 3 +-- tests/auto/tools/uic/baseline/remotecontrol.ui.h | 3 +-- tests/auto/tools/uic/baseline/saveformastemplate.ui.h | 3 +-- tests/auto/tools/uic/baseline/settings.ui.h | 3 +-- tests/auto/tools/uic/baseline/signalslotdialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/sslclient.ui.h | 3 +-- tests/auto/tools/uic/baseline/sslerrors.ui.h | 3 +-- tests/auto/tools/uic/baseline/statistics.ui.h | 3 +-- tests/auto/tools/uic/baseline/stringlisteditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/stylesheeteditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/tabbedbrowser.ui.h | 3 +-- tests/auto/tools/uic/baseline/tablewidgeteditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/tetrixwindow.ui.h | 3 +-- tests/auto/tools/uic/baseline/textfinder.ui.h | 3 +-- tests/auto/tools/uic/baseline/topicchooser.ui.h | 3 +-- tests/auto/tools/uic/baseline/translatedialog.ui.h | 3 +-- tests/auto/tools/uic/baseline/translationsettings.ui.h | 3 +-- tests/auto/tools/uic/baseline/treewidgeteditor.ui.h | 3 +-- tests/auto/tools/uic/baseline/trpreviewtool.ui.h | 3 +-- tests/auto/tools/uic/baseline/validators.ui.h | 3 +-- tests/auto/tools/uic/baseline/wateringconfigdialog.ui.h | 3 +-- tests/auto/tools/uic/tst_uic.cpp | 6 ++---- 105 files changed, 106 insertions(+), 216 deletions(-) diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp index 96d6e9e456..5fbbd57c22 100644 --- a/src/tools/moc/moc.cpp +++ b/src/tools/moc/moc.cpp @@ -831,9 +831,6 @@ static void findRequiredContainers(ClassDef *cdef, QSet *requiredQtC void Moc::generate(FILE *out) { - - QDateTime dt = QDateTime::currentDateTime(); - QByteArray dstr = dt.toString().toLatin1(); QByteArray fn = filename; int i = filename.length()-1; while (i>0 && filename[i-1] != '/' && filename[i-1] != '\\') @@ -842,8 +839,7 @@ void Moc::generate(FILE *out) fn = filename.mid(i); fprintf(out, "/****************************************************************************\n" "** Meta object code from reading C++ file '%s'\n**\n" , fn.constData()); - fprintf(out, "** Created: %s\n" - "** by: The Qt Meta Object Compiler version %d (Qt %s)\n**\n" , dstr.data(), mocOutputRevision, QT_VERSION_STR); + fprintf(out, "** Created by: The Qt Meta Object Compiler version %d (Qt %s)\n**\n" , mocOutputRevision, QT_VERSION_STR); fprintf(out, "** WARNING! All changes made in this file will be lost!\n" "*****************************************************************************/\n\n"); diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp index 969b644d84..fb952e2970 100644 --- a/src/tools/rcc/rcc.cpp +++ b/src/tools/rcc/rcc.cpp @@ -793,9 +793,7 @@ bool RCCResourceLibrary::writeHeader() writeString("/****************************************************************************\n"); writeString("** Resource object code\n"); writeString("**\n"); - writeString("** Created: "); - writeByteArray(QDateTime::currentDateTime().toString().toLatin1()); - writeString("\n** by: The Resource Compiler for Qt version "); + writeString("** Created by: The Resource Compiler for Qt version "); writeByteArray(QT_VERSION_STR); writeString("\n**\n"); writeString("** WARNING! All changes made in this file will be lost!\n"); diff --git a/src/tools/uic/uic.cpp b/src/tools/uic/uic.cpp index 38b4780ec9..1188271d99 100644 --- a/src/tools/uic/uic.cpp +++ b/src/tools/uic/uic.cpp @@ -134,8 +134,7 @@ void Uic::writeCopyrightHeader(DomUI *ui) out << "/********************************************************************************\n"; out << "** Form generated from reading UI file '" << QFileInfo(opt.inputFile).fileName() << "'\n"; out << "**\n"; - out << "** Created: " << QDateTime::currentDateTime().toString() << "\n"; - out << "** " << QString::fromLatin1("by: Qt User Interface Compiler version %1\n").arg(QLatin1String(QT_VERSION_STR)); + out << "** Created by: Qt User Interface Compiler version " << QLatin1String(QT_VERSION_STR) << "\n"; out << "**\n"; out << "** WARNING! All changes made in this file will be lost when recompiling UI file!\n"; out << "********************************************************************************/\n\n"; diff --git a/tests/auto/tools/rcc/data/images/images.expected b/tests/auto/tools/rcc/data/images/images.expected index 4ebf066568..9334443ccc 100644 --- a/tests/auto/tools/rcc/data/images/images.expected +++ b/tests/auto/tools/rcc/data/images/images.expected @@ -1,8 +1,7 @@ /**************************************************************************** ** Resource object code ** -IGNORE: ** Created: Sun Apr 1 21:20:28 2012 -IGNORE: ** by: The Resource Compiler for Qt version 5.0.0 +IGNORE: ** Created by: The Resource Compiler for Qt version 5.0.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Bottom.ui.h b/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Bottom.ui.h index f3f3ad3f52..37f02008f1 100644 --- a/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Bottom.ui.h +++ b/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Bottom.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'Dialog_with_Buttons_Bottom.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Right.ui.h b/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Right.ui.h index 132c050793..17647ba5f5 100644 --- a/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Right.ui.h +++ b/tests/auto/tools/uic/baseline/Dialog_with_Buttons_Right.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'Dialog_with_Buttons_Right.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/Dialog_without_Buttons.ui.h b/tests/auto/tools/uic/baseline/Dialog_without_Buttons.ui.h index 4c246a8efc..08b751a34c 100644 --- a/tests/auto/tools/uic/baseline/Dialog_without_Buttons.ui.h +++ b/tests/auto/tools/uic/baseline/Dialog_without_Buttons.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'Dialog_without_Buttons.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/Main_Window.ui.h b/tests/auto/tools/uic/baseline/Main_Window.ui.h index 1d42a47aee..43459280a4 100644 --- a/tests/auto/tools/uic/baseline/Main_Window.ui.h +++ b/tests/auto/tools/uic/baseline/Main_Window.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'Main_Window.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/Widget.ui.h b/tests/auto/tools/uic/baseline/Widget.ui.h index a4b32f9eae..b5bb974423 100644 --- a/tests/auto/tools/uic/baseline/Widget.ui.h +++ b/tests/auto/tools/uic/baseline/Widget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'Widget.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/addlinkdialog.ui.h b/tests/auto/tools/uic/baseline/addlinkdialog.ui.h index cfc5aef35f..5a26984c70 100644 --- a/tests/auto/tools/uic/baseline/addlinkdialog.ui.h +++ b/tests/auto/tools/uic/baseline/addlinkdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'addlinkdialog.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/addtorrentform.ui.h b/tests/auto/tools/uic/baseline/addtorrentform.ui.h index acf2366d76..29bae9735c 100644 --- a/tests/auto/tools/uic/baseline/addtorrentform.ui.h +++ b/tests/auto/tools/uic/baseline/addtorrentform.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'addtorrentform.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/authenticationdialog.ui.h b/tests/auto/tools/uic/baseline/authenticationdialog.ui.h index 16095b1f47..ba888c30d6 100644 --- a/tests/auto/tools/uic/baseline/authenticationdialog.ui.h +++ b/tests/auto/tools/uic/baseline/authenticationdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'authenticationdialog.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/backside.ui.h b/tests/auto/tools/uic/baseline/backside.ui.h index d59d47f59e..9ac2d6a442 100644 --- a/tests/auto/tools/uic/baseline/backside.ui.h +++ b/tests/auto/tools/uic/baseline/backside.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'backside.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/batchtranslation.ui.h b/tests/auto/tools/uic/baseline/batchtranslation.ui.h index a977e37003..6741c40f8a 100644 --- a/tests/auto/tools/uic/baseline/batchtranslation.ui.h +++ b/tests/auto/tools/uic/baseline/batchtranslation.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'batchtranslation.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/bookmarkdialog.ui.h b/tests/auto/tools/uic/baseline/bookmarkdialog.ui.h index 1650b17099..fa18ba5cda 100644 --- a/tests/auto/tools/uic/baseline/bookmarkdialog.ui.h +++ b/tests/auto/tools/uic/baseline/bookmarkdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'bookmarkdialog.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/bookwindow.ui.h b/tests/auto/tools/uic/baseline/bookwindow.ui.h index 8ddd186ff0..1f498421c9 100644 --- a/tests/auto/tools/uic/baseline/bookwindow.ui.h +++ b/tests/auto/tools/uic/baseline/bookwindow.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'bookwindow.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/browserwidget.ui.h b/tests/auto/tools/uic/baseline/browserwidget.ui.h index ae535f5f07..aa0e6786a0 100644 --- a/tests/auto/tools/uic/baseline/browserwidget.ui.h +++ b/tests/auto/tools/uic/baseline/browserwidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'browserwidget.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/bug18156QTreeWidget.ui.h b/tests/auto/tools/uic/baseline/bug18156QTreeWidget.ui.h index 5be6215888..8bee2c3a02 100644 --- a/tests/auto/tools/uic/baseline/bug18156QTreeWidget.ui.h +++ b/tests/auto/tools/uic/baseline/bug18156QTreeWidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'bug18156QTreeWidget.ui' ** -** Created: Tue Nov 20 20:12:59 2012 -** by: Qt User Interface Compiler version 5.0.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/calculator.ui.h b/tests/auto/tools/uic/baseline/calculator.ui.h index 6e5f65eea3..7ac878e3fb 100644 --- a/tests/auto/tools/uic/baseline/calculator.ui.h +++ b/tests/auto/tools/uic/baseline/calculator.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'calculator.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/calculatorform.ui.h b/tests/auto/tools/uic/baseline/calculatorform.ui.h index 331fbbaa4f..1383244504 100644 --- a/tests/auto/tools/uic/baseline/calculatorform.ui.h +++ b/tests/auto/tools/uic/baseline/calculatorform.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'calculatorform.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/certificateinfo.ui.h b/tests/auto/tools/uic/baseline/certificateinfo.ui.h index 4f94e56cdc..9b16110d33 100644 --- a/tests/auto/tools/uic/baseline/certificateinfo.ui.h +++ b/tests/auto/tools/uic/baseline/certificateinfo.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'certificateinfo.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/chatdialog.ui.h b/tests/auto/tools/uic/baseline/chatdialog.ui.h index d6b22293ca..e917eb9fb1 100644 --- a/tests/auto/tools/uic/baseline/chatdialog.ui.h +++ b/tests/auto/tools/uic/baseline/chatdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'chatdialog.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/chatmainwindow.ui.h b/tests/auto/tools/uic/baseline/chatmainwindow.ui.h index 0600d596c4..a2aaeeb333 100644 --- a/tests/auto/tools/uic/baseline/chatmainwindow.ui.h +++ b/tests/auto/tools/uic/baseline/chatmainwindow.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'chatmainwindow.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/chatsetnickname.ui.h b/tests/auto/tools/uic/baseline/chatsetnickname.ui.h index 9553c0366a..e9ebca5f7f 100644 --- a/tests/auto/tools/uic/baseline/chatsetnickname.ui.h +++ b/tests/auto/tools/uic/baseline/chatsetnickname.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'chatsetnickname.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/config.ui.h b/tests/auto/tools/uic/baseline/config.ui.h index f01f65f1db..715a9c0d2b 100644 --- a/tests/auto/tools/uic/baseline/config.ui.h +++ b/tests/auto/tools/uic/baseline/config.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'config.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/connectdialog.ui.h b/tests/auto/tools/uic/baseline/connectdialog.ui.h index 2be8798545..b01238c344 100644 --- a/tests/auto/tools/uic/baseline/connectdialog.ui.h +++ b/tests/auto/tools/uic/baseline/connectdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'connectdialog.ui' ** -** Created: Fri Sep 4 10:17:12 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/controller.ui.h b/tests/auto/tools/uic/baseline/controller.ui.h index cd0619c9fc..e66c3622be 100644 --- a/tests/auto/tools/uic/baseline/controller.ui.h +++ b/tests/auto/tools/uic/baseline/controller.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'controller.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/cookies.ui.h b/tests/auto/tools/uic/baseline/cookies.ui.h index c2b4953620..a47b2b9969 100644 --- a/tests/auto/tools/uic/baseline/cookies.ui.h +++ b/tests/auto/tools/uic/baseline/cookies.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'cookies.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/cookiesexceptions.ui.h b/tests/auto/tools/uic/baseline/cookiesexceptions.ui.h index 1977cf8dc4..0c6c6cf307 100644 --- a/tests/auto/tools/uic/baseline/cookiesexceptions.ui.h +++ b/tests/auto/tools/uic/baseline/cookiesexceptions.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'cookiesexceptions.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/default.ui.h b/tests/auto/tools/uic/baseline/default.ui.h index 6503b8ebf8..b9e1475d70 100644 --- a/tests/auto/tools/uic/baseline/default.ui.h +++ b/tests/auto/tools/uic/baseline/default.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'default.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/dialog.ui.h b/tests/auto/tools/uic/baseline/dialog.ui.h index 51685ff95b..ef587f9d9d 100644 --- a/tests/auto/tools/uic/baseline/dialog.ui.h +++ b/tests/auto/tools/uic/baseline/dialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'dialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/downloaditem.ui.h b/tests/auto/tools/uic/baseline/downloaditem.ui.h index 7128b08f60..b0f5106246 100644 --- a/tests/auto/tools/uic/baseline/downloaditem.ui.h +++ b/tests/auto/tools/uic/baseline/downloaditem.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'downloaditem.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/downloads.ui.h b/tests/auto/tools/uic/baseline/downloads.ui.h index 8418a1828c..7e688669e4 100644 --- a/tests/auto/tools/uic/baseline/downloads.ui.h +++ b/tests/auto/tools/uic/baseline/downloads.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'downloads.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/embeddeddialog.ui.h b/tests/auto/tools/uic/baseline/embeddeddialog.ui.h index 73d8b99e53..872dc7db87 100644 --- a/tests/auto/tools/uic/baseline/embeddeddialog.ui.h +++ b/tests/auto/tools/uic/baseline/embeddeddialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'embeddeddialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/filespage.ui.h b/tests/auto/tools/uic/baseline/filespage.ui.h index b1b5ce0719..ee4f702233 100644 --- a/tests/auto/tools/uic/baseline/filespage.ui.h +++ b/tests/auto/tools/uic/baseline/filespage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'filespage.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/filternamedialog.ui.h b/tests/auto/tools/uic/baseline/filternamedialog.ui.h index 7563489ff9..7b10ceb7ec 100644 --- a/tests/auto/tools/uic/baseline/filternamedialog.ui.h +++ b/tests/auto/tools/uic/baseline/filternamedialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'filternamedialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/filterpage.ui.h b/tests/auto/tools/uic/baseline/filterpage.ui.h index fec0134548..fb12686a83 100644 --- a/tests/auto/tools/uic/baseline/filterpage.ui.h +++ b/tests/auto/tools/uic/baseline/filterpage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'filterpage.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/finddialog.ui.h b/tests/auto/tools/uic/baseline/finddialog.ui.h index 2d63cd7ec6..2faf83baa4 100644 --- a/tests/auto/tools/uic/baseline/finddialog.ui.h +++ b/tests/auto/tools/uic/baseline/finddialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'finddialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/form.ui.h b/tests/auto/tools/uic/baseline/form.ui.h index 9b298ea184..0b82a41f5d 100644 --- a/tests/auto/tools/uic/baseline/form.ui.h +++ b/tests/auto/tools/uic/baseline/form.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'form.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/formwindowsettings.ui.h b/tests/auto/tools/uic/baseline/formwindowsettings.ui.h index 4fff798f34..2c3a4a1eae 100644 --- a/tests/auto/tools/uic/baseline/formwindowsettings.ui.h +++ b/tests/auto/tools/uic/baseline/formwindowsettings.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'formwindowsettings.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/generalpage.ui.h b/tests/auto/tools/uic/baseline/generalpage.ui.h index 60051abfb2..ec51c40ab5 100644 --- a/tests/auto/tools/uic/baseline/generalpage.ui.h +++ b/tests/auto/tools/uic/baseline/generalpage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'generalpage.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/gridalignment.ui.h b/tests/auto/tools/uic/baseline/gridalignment.ui.h index 4045efa8c5..8e82d5460d 100644 --- a/tests/auto/tools/uic/baseline/gridalignment.ui.h +++ b/tests/auto/tools/uic/baseline/gridalignment.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'gridalignment.ui' ** -** Created: Fri Oct 22 14:33:59 2010 -** by: Qt User Interface Compiler version 5.0.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/gridpanel.ui.h b/tests/auto/tools/uic/baseline/gridpanel.ui.h index aef5e2e0fc..c289914aaf 100644 --- a/tests/auto/tools/uic/baseline/gridpanel.ui.h +++ b/tests/auto/tools/uic/baseline/gridpanel.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'gridpanel.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/helpdialog.ui.h b/tests/auto/tools/uic/baseline/helpdialog.ui.h index 7fddcc094c..0f66349118 100644 --- a/tests/auto/tools/uic/baseline/helpdialog.ui.h +++ b/tests/auto/tools/uic/baseline/helpdialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'helpdialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/history.ui.h b/tests/auto/tools/uic/baseline/history.ui.h index 786c181663..e4c4c7d1b5 100644 --- a/tests/auto/tools/uic/baseline/history.ui.h +++ b/tests/auto/tools/uic/baseline/history.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'history.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/icontheme.ui.h b/tests/auto/tools/uic/baseline/icontheme.ui.h index 047f65b73a..28fd27475d 100644 --- a/tests/auto/tools/uic/baseline/icontheme.ui.h +++ b/tests/auto/tools/uic/baseline/icontheme.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'icontheme.ui' ** -** Created: Thu Sep 2 10:28:19 2010 -** by: Qt User Interface Compiler version 5.0.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/identifierpage.ui.h b/tests/auto/tools/uic/baseline/identifierpage.ui.h index e6f94e7369..9f92608c62 100644 --- a/tests/auto/tools/uic/baseline/identifierpage.ui.h +++ b/tests/auto/tools/uic/baseline/identifierpage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'identifierpage.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/imagedialog.ui.h b/tests/auto/tools/uic/baseline/imagedialog.ui.h index ddc78d638d..c02c40c2c1 100644 --- a/tests/auto/tools/uic/baseline/imagedialog.ui.h +++ b/tests/auto/tools/uic/baseline/imagedialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'imagedialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/inputpage.ui.h b/tests/auto/tools/uic/baseline/inputpage.ui.h index 37821120e9..b064f94c20 100644 --- a/tests/auto/tools/uic/baseline/inputpage.ui.h +++ b/tests/auto/tools/uic/baseline/inputpage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'inputpage.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/installdialog.ui.h b/tests/auto/tools/uic/baseline/installdialog.ui.h index 404e1e5ad8..6ba51c7404 100644 --- a/tests/auto/tools/uic/baseline/installdialog.ui.h +++ b/tests/auto/tools/uic/baseline/installdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'installdialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/languagesdialog.ui.h b/tests/auto/tools/uic/baseline/languagesdialog.ui.h index 10cfe41a08..dfdc1d1ac6 100644 --- a/tests/auto/tools/uic/baseline/languagesdialog.ui.h +++ b/tests/auto/tools/uic/baseline/languagesdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'languagesdialog.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/listwidgeteditor.ui.h b/tests/auto/tools/uic/baseline/listwidgeteditor.ui.h index e95cfae7fe..d3d8916701 100644 --- a/tests/auto/tools/uic/baseline/listwidgeteditor.ui.h +++ b/tests/auto/tools/uic/baseline/listwidgeteditor.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'listwidgeteditor.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/mainwindow.ui.h b/tests/auto/tools/uic/baseline/mainwindow.ui.h index bf6efc9798..bb6c8641a1 100644 --- a/tests/auto/tools/uic/baseline/mainwindow.ui.h +++ b/tests/auto/tools/uic/baseline/mainwindow.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'mainwindow.ui' ** -** Created: Fri Sep 4 10:17:13 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/mydialog.ui.h b/tests/auto/tools/uic/baseline/mydialog.ui.h index 7791b10580..6f2462611b 100644 --- a/tests/auto/tools/uic/baseline/mydialog.ui.h +++ b/tests/auto/tools/uic/baseline/mydialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'mydialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/myform.ui.h b/tests/auto/tools/uic/baseline/myform.ui.h index 43671f0852..4c58bceed9 100644 --- a/tests/auto/tools/uic/baseline/myform.ui.h +++ b/tests/auto/tools/uic/baseline/myform.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'myform.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/newactiondialog.ui.h b/tests/auto/tools/uic/baseline/newactiondialog.ui.h index c053a7865d..95ecf485e5 100644 --- a/tests/auto/tools/uic/baseline/newactiondialog.ui.h +++ b/tests/auto/tools/uic/baseline/newactiondialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'newactiondialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/newdynamicpropertydialog.ui.h b/tests/auto/tools/uic/baseline/newdynamicpropertydialog.ui.h index bfb1115f77..ca7bd253a8 100644 --- a/tests/auto/tools/uic/baseline/newdynamicpropertydialog.ui.h +++ b/tests/auto/tools/uic/baseline/newdynamicpropertydialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'newdynamicpropertydialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/newform.ui.h b/tests/auto/tools/uic/baseline/newform.ui.h index 130fc9aff3..71af9d6d2c 100644 --- a/tests/auto/tools/uic/baseline/newform.ui.h +++ b/tests/auto/tools/uic/baseline/newform.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'newform.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/orderdialog.ui.h b/tests/auto/tools/uic/baseline/orderdialog.ui.h index 2e81973820..4f5514b441 100644 --- a/tests/auto/tools/uic/baseline/orderdialog.ui.h +++ b/tests/auto/tools/uic/baseline/orderdialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'orderdialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/outputpage.ui.h b/tests/auto/tools/uic/baseline/outputpage.ui.h index c051143eaf..4adb76e642 100644 --- a/tests/auto/tools/uic/baseline/outputpage.ui.h +++ b/tests/auto/tools/uic/baseline/outputpage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'outputpage.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/pagefold.ui.h b/tests/auto/tools/uic/baseline/pagefold.ui.h index d9909383bb..e9ec66f4e9 100644 --- a/tests/auto/tools/uic/baseline/pagefold.ui.h +++ b/tests/auto/tools/uic/baseline/pagefold.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'pagefold.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/paletteeditor.ui.h b/tests/auto/tools/uic/baseline/paletteeditor.ui.h index a3a7a124ac..045441d9c1 100644 --- a/tests/auto/tools/uic/baseline/paletteeditor.ui.h +++ b/tests/auto/tools/uic/baseline/paletteeditor.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'paletteeditor.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/passworddialog.ui.h b/tests/auto/tools/uic/baseline/passworddialog.ui.h index 497fa6c0e8..b99954ab88 100644 --- a/tests/auto/tools/uic/baseline/passworddialog.ui.h +++ b/tests/auto/tools/uic/baseline/passworddialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'passworddialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/pathpage.ui.h b/tests/auto/tools/uic/baseline/pathpage.ui.h index d46807f1b4..018e62c091 100644 --- a/tests/auto/tools/uic/baseline/pathpage.ui.h +++ b/tests/auto/tools/uic/baseline/pathpage.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'pathpage.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/phrasebookbox.ui.h b/tests/auto/tools/uic/baseline/phrasebookbox.ui.h index 2d49a64f4c..04a03f3d6c 100644 --- a/tests/auto/tools/uic/baseline/phrasebookbox.ui.h +++ b/tests/auto/tools/uic/baseline/phrasebookbox.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'phrasebookbox.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/plugindialog.ui.h b/tests/auto/tools/uic/baseline/plugindialog.ui.h index 4c34c33a43..4130a3d1d9 100644 --- a/tests/auto/tools/uic/baseline/plugindialog.ui.h +++ b/tests/auto/tools/uic/baseline/plugindialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'plugindialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/preferencesdialog.ui.h b/tests/auto/tools/uic/baseline/preferencesdialog.ui.h index e20ab517f2..2c4d08c547 100644 --- a/tests/auto/tools/uic/baseline/preferencesdialog.ui.h +++ b/tests/auto/tools/uic/baseline/preferencesdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'preferencesdialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/previewconfigurationwidget.ui.h b/tests/auto/tools/uic/baseline/previewconfigurationwidget.ui.h index 88a042504b..11051c7a15 100644 --- a/tests/auto/tools/uic/baseline/previewconfigurationwidget.ui.h +++ b/tests/auto/tools/uic/baseline/previewconfigurationwidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'previewconfigurationwidget.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/previewdialogbase.ui.h b/tests/auto/tools/uic/baseline/previewdialogbase.ui.h index bfe8d8a3a3..d717ac91af 100644 --- a/tests/auto/tools/uic/baseline/previewdialogbase.ui.h +++ b/tests/auto/tools/uic/baseline/previewdialogbase.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'previewdialogbase.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/previewwidget.ui.h b/tests/auto/tools/uic/baseline/previewwidget.ui.h index fe06ccb40e..d7baf51d97 100644 --- a/tests/auto/tools/uic/baseline/previewwidget.ui.h +++ b/tests/auto/tools/uic/baseline/previewwidget.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'previewwidget.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/proxy.ui.h b/tests/auto/tools/uic/baseline/proxy.ui.h index e153694884..d311478853 100644 --- a/tests/auto/tools/uic/baseline/proxy.ui.h +++ b/tests/auto/tools/uic/baseline/proxy.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'proxy.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qfiledialog.ui.h b/tests/auto/tools/uic/baseline/qfiledialog.ui.h index 93ca89fe43..afe81d2332 100644 --- a/tests/auto/tools/uic/baseline/qfiledialog.ui.h +++ b/tests/auto/tools/uic/baseline/qfiledialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qfiledialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qpagesetupwidget.ui.h b/tests/auto/tools/uic/baseline/qpagesetupwidget.ui.h index 08bd12da9e..48f840f2f8 100644 --- a/tests/auto/tools/uic/baseline/qpagesetupwidget.ui.h +++ b/tests/auto/tools/uic/baseline/qpagesetupwidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qpagesetupwidget.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qprintpropertieswidget.ui.h b/tests/auto/tools/uic/baseline/qprintpropertieswidget.ui.h index 5f58d0b6d4..7251f05300 100644 --- a/tests/auto/tools/uic/baseline/qprintpropertieswidget.ui.h +++ b/tests/auto/tools/uic/baseline/qprintpropertieswidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qprintpropertieswidget.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qprintsettingsoutput.ui.h b/tests/auto/tools/uic/baseline/qprintsettingsoutput.ui.h index 20f75e10c7..f3816965dd 100644 --- a/tests/auto/tools/uic/baseline/qprintsettingsoutput.ui.h +++ b/tests/auto/tools/uic/baseline/qprintsettingsoutput.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qprintsettingsoutput.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qprintwidget.ui.h b/tests/auto/tools/uic/baseline/qprintwidget.ui.h index d6bfdb52f6..0358176321 100644 --- a/tests/auto/tools/uic/baseline/qprintwidget.ui.h +++ b/tests/auto/tools/uic/baseline/qprintwidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qprintwidget.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qsqlconnectiondialog.ui.h b/tests/auto/tools/uic/baseline/qsqlconnectiondialog.ui.h index 7ed3bc9984..484c0877bc 100644 --- a/tests/auto/tools/uic/baseline/qsqlconnectiondialog.ui.h +++ b/tests/auto/tools/uic/baseline/qsqlconnectiondialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qsqlconnectiondialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qtgradientdialog.ui.h b/tests/auto/tools/uic/baseline/qtgradientdialog.ui.h index 603852c1a7..ab03c4cd46 100644 --- a/tests/auto/tools/uic/baseline/qtgradientdialog.ui.h +++ b/tests/auto/tools/uic/baseline/qtgradientdialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qtgradientdialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qtgradienteditor.ui.h b/tests/auto/tools/uic/baseline/qtgradienteditor.ui.h index b8353c96aa..839eb7eba1 100644 --- a/tests/auto/tools/uic/baseline/qtgradienteditor.ui.h +++ b/tests/auto/tools/uic/baseline/qtgradienteditor.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qtgradienteditor.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qtgradientview.ui.h b/tests/auto/tools/uic/baseline/qtgradientview.ui.h index 3d2ae98b94..5847730235 100644 --- a/tests/auto/tools/uic/baseline/qtgradientview.ui.h +++ b/tests/auto/tools/uic/baseline/qtgradientview.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qtgradientview.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qtgradientviewdialog.ui.h b/tests/auto/tools/uic/baseline/qtgradientviewdialog.ui.h index 4af597ec33..cfb0a5dfb3 100644 --- a/tests/auto/tools/uic/baseline/qtgradientviewdialog.ui.h +++ b/tests/auto/tools/uic/baseline/qtgradientviewdialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qtgradientviewdialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qtresourceeditordialog.ui.h b/tests/auto/tools/uic/baseline/qtresourceeditordialog.ui.h index ec5e51d785..6d5f25872b 100644 --- a/tests/auto/tools/uic/baseline/qtresourceeditordialog.ui.h +++ b/tests/auto/tools/uic/baseline/qtresourceeditordialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qtresourceeditordialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/qttoolbardialog.ui.h b/tests/auto/tools/uic/baseline/qttoolbardialog.ui.h index 877b3aa7e2..9439b6b1d3 100644 --- a/tests/auto/tools/uic/baseline/qttoolbardialog.ui.h +++ b/tests/auto/tools/uic/baseline/qttoolbardialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'qttoolbardialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/querywidget.ui.h b/tests/auto/tools/uic/baseline/querywidget.ui.h index 5521fbc4fa..1dcf7befdd 100644 --- a/tests/auto/tools/uic/baseline/querywidget.ui.h +++ b/tests/auto/tools/uic/baseline/querywidget.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'querywidget.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/remotecontrol.ui.h b/tests/auto/tools/uic/baseline/remotecontrol.ui.h index 92e47cdb52..b25f940450 100644 --- a/tests/auto/tools/uic/baseline/remotecontrol.ui.h +++ b/tests/auto/tools/uic/baseline/remotecontrol.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'remotecontrol.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/saveformastemplate.ui.h b/tests/auto/tools/uic/baseline/saveformastemplate.ui.h index a85b1ed91d..cee1d03a31 100644 --- a/tests/auto/tools/uic/baseline/saveformastemplate.ui.h +++ b/tests/auto/tools/uic/baseline/saveformastemplate.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'saveformastemplate.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/settings.ui.h b/tests/auto/tools/uic/baseline/settings.ui.h index 2e3150e561..aa03609e98 100644 --- a/tests/auto/tools/uic/baseline/settings.ui.h +++ b/tests/auto/tools/uic/baseline/settings.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'settings.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/signalslotdialog.ui.h b/tests/auto/tools/uic/baseline/signalslotdialog.ui.h index d6eeb89ae0..c0a72b3c91 100644 --- a/tests/auto/tools/uic/baseline/signalslotdialog.ui.h +++ b/tests/auto/tools/uic/baseline/signalslotdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'signalslotdialog.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/sslclient.ui.h b/tests/auto/tools/uic/baseline/sslclient.ui.h index f4d2c25a04..a74a465955 100644 --- a/tests/auto/tools/uic/baseline/sslclient.ui.h +++ b/tests/auto/tools/uic/baseline/sslclient.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'sslclient.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/sslerrors.ui.h b/tests/auto/tools/uic/baseline/sslerrors.ui.h index 865d78557e..c52c71f3aa 100644 --- a/tests/auto/tools/uic/baseline/sslerrors.ui.h +++ b/tests/auto/tools/uic/baseline/sslerrors.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'sslerrors.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/statistics.ui.h b/tests/auto/tools/uic/baseline/statistics.ui.h index 6f0a42bad3..5a360a7ded 100644 --- a/tests/auto/tools/uic/baseline/statistics.ui.h +++ b/tests/auto/tools/uic/baseline/statistics.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'statistics.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/stringlisteditor.ui.h b/tests/auto/tools/uic/baseline/stringlisteditor.ui.h index 8afdfc2ec1..27b78519a4 100644 --- a/tests/auto/tools/uic/baseline/stringlisteditor.ui.h +++ b/tests/auto/tools/uic/baseline/stringlisteditor.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'stringlisteditor.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h b/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h index 21c22c3eb0..35b45f7e94 100644 --- a/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h +++ b/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'stylesheeteditor.ui' ** -** Created: Fri Sep 4 10:17:14 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/tabbedbrowser.ui.h b/tests/auto/tools/uic/baseline/tabbedbrowser.ui.h index 777e0a402e..e2d7060dbb 100644 --- a/tests/auto/tools/uic/baseline/tabbedbrowser.ui.h +++ b/tests/auto/tools/uic/baseline/tabbedbrowser.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'tabbedbrowser.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/tablewidgeteditor.ui.h b/tests/auto/tools/uic/baseline/tablewidgeteditor.ui.h index 28c667a3a3..036f0a6c20 100644 --- a/tests/auto/tools/uic/baseline/tablewidgeteditor.ui.h +++ b/tests/auto/tools/uic/baseline/tablewidgeteditor.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'tablewidgeteditor.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/tetrixwindow.ui.h b/tests/auto/tools/uic/baseline/tetrixwindow.ui.h index 3846429ab6..0f945fab35 100644 --- a/tests/auto/tools/uic/baseline/tetrixwindow.ui.h +++ b/tests/auto/tools/uic/baseline/tetrixwindow.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'tetrixwindow.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/textfinder.ui.h b/tests/auto/tools/uic/baseline/textfinder.ui.h index aea49f76c1..148bf11dbc 100644 --- a/tests/auto/tools/uic/baseline/textfinder.ui.h +++ b/tests/auto/tools/uic/baseline/textfinder.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'textfinder.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/topicchooser.ui.h b/tests/auto/tools/uic/baseline/topicchooser.ui.h index 1f54cd3d64..06d34e9c63 100644 --- a/tests/auto/tools/uic/baseline/topicchooser.ui.h +++ b/tests/auto/tools/uic/baseline/topicchooser.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'topicchooser.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/translatedialog.ui.h b/tests/auto/tools/uic/baseline/translatedialog.ui.h index 71c10f1ce8..c8c91f712b 100644 --- a/tests/auto/tools/uic/baseline/translatedialog.ui.h +++ b/tests/auto/tools/uic/baseline/translatedialog.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'translatedialog.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/translationsettings.ui.h b/tests/auto/tools/uic/baseline/translationsettings.ui.h index 5a86ac5a03..e67cba5289 100644 --- a/tests/auto/tools/uic/baseline/translationsettings.ui.h +++ b/tests/auto/tools/uic/baseline/translationsettings.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'translationsettings.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/treewidgeteditor.ui.h b/tests/auto/tools/uic/baseline/treewidgeteditor.ui.h index 0e483eea1e..4e3af66ea6 100644 --- a/tests/auto/tools/uic/baseline/treewidgeteditor.ui.h +++ b/tests/auto/tools/uic/baseline/treewidgeteditor.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'treewidgeteditor.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/trpreviewtool.ui.h b/tests/auto/tools/uic/baseline/trpreviewtool.ui.h index 628bb4c617..4248181b0b 100644 --- a/tests/auto/tools/uic/baseline/trpreviewtool.ui.h +++ b/tests/auto/tools/uic/baseline/trpreviewtool.ui.h @@ -44,8 +44,7 @@ /******************************************************************************** ** Form generated from reading UI file 'trpreviewtool.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/validators.ui.h b/tests/auto/tools/uic/baseline/validators.ui.h index 7cc4de9dd0..3770c45dcb 100644 --- a/tests/auto/tools/uic/baseline/validators.ui.h +++ b/tests/auto/tools/uic/baseline/validators.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'validators.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/baseline/wateringconfigdialog.ui.h b/tests/auto/tools/uic/baseline/wateringconfigdialog.ui.h index 1bb8b8f837..705c7bb142 100644 --- a/tests/auto/tools/uic/baseline/wateringconfigdialog.ui.h +++ b/tests/auto/tools/uic/baseline/wateringconfigdialog.ui.h @@ -1,8 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'wateringconfigdialog.ui' ** -** Created: Fri Sep 4 10:17:15 2009 -** by: Qt User Interface Compiler version 4.6.0 +** Created by: Qt User Interface Compiler version 5.0.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ diff --git a/tests/auto/tools/uic/tst_uic.cpp b/tests/auto/tools/uic/tst_uic.cpp index 6092b7b778..c5315fad8a 100644 --- a/tests/auto/tools/uic/tst_uic.cpp +++ b/tests/auto/tools/uic/tst_uic.cpp @@ -195,12 +195,10 @@ void tst_uic::compare() } originalFile = orgFile.readAll(); - originalFile.replace(QRegExp(QLatin1String("Created:.{0,25}[\\d]{4,4}")), ""); - originalFile.replace(QRegExp(QLatin1String("by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); + originalFile.replace(QRegExp(QLatin1String("Created by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); generatedFile = genFile.readAll(); - generatedFile.replace(QRegExp(QLatin1String("Created:.{0,25}[\\d]{4,4}")), ""); - generatedFile.replace(QRegExp(QLatin1String("by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); + generatedFile.replace(QRegExp(QLatin1String("Created by: Qt User Interface Compiler version [.\\d]{5,5}")), ""); QCOMPARE(generatedFile, originalFile); } From 568b278b75496861881bdf6834ea9b0e99d97537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mill=C3=A1n=20Soto?= Date: Fri, 26 Oct 2012 15:23:58 +0200 Subject: [PATCH 250/386] Implemented AtSpiAdaptor::notifyStateChange MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding a new private method to simplify notifying that the state has changed as it is something that is frequently done in AtSpiAdaptor::notify Change-Id: Idf21715b5d20212adb301ae9bca05f1edfc19946 Reviewed-by: Jan Arve Sæther Reviewed-by: Frederik Gladhorn --- .../linuxaccessibility/atspiadaptor.cpp | 28 +++++++++---------- .../linuxaccessibility/atspiadaptor_p.h | 2 ++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index eb0177bfb7..506416af53 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -904,6 +904,14 @@ QAIPointer AtSpiAdaptor::interfaceFromPath(const QString& dbusPath) const return QAIPointer(); } +void AtSpiAdaptor::notifyStateChange(const QAIPointer &interface, const QString &state, int value) +{ + QString path = pathForInterface(interface); + QVariantList stateArgs = packDBusSignalArguments(state, value, 0, variantForPath(path)); + sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_OBJECT), + QLatin1String("StateChanged"), stateArgs); +} + /*! This function gets called when Qt notifies about accessibility updates. @@ -920,19 +928,13 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) break; case QAccessible::ObjectShow: { if (sendObject || sendObject_state_changed) { - QString path = pathForInterface(QAIPointer(event->accessibleInterface())); - QVariantList stateArgs = packDBusSignalArguments(QLatin1String("showing"), 1, 0, variantForPath(path)); - sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_OBJECT), - QLatin1String("StateChanged"), stateArgs); + notifyStateChange(QAIPointer(event->accessibleInterface()), QLatin1String("showing"), 1); } break; } case QAccessible::ObjectHide: { if (sendObject || sendObject_state_changed) { - QString path = pathForInterface(QAIPointer(event->accessibleInterface())); - QVariantList stateArgs = packDBusSignalArguments(QLatin1String("showing"), 0, 0, variantForPath(path)); - sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_OBJECT), - QLatin1String("StateChanged"), stateArgs); + notifyStateChange(QAIPointer(event->accessibleInterface()), QLatin1String("showing"), 0); } break; } @@ -1076,10 +1078,7 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) if (stateChange.checked) { QAIPointer iface = QAIPointer(event->accessibleInterface()); int checked = iface->state().checked; - QString path = pathForInterface(iface); - QVariantList args = packDBusSignalArguments(QLatin1String("checked"), checked, 0, variantForPath(path)); - sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_OBJECT), - QLatin1String("StateChanged"), args); + notifyStateChange(iface, QLatin1String("checked"), checked); } else if (stateChange.active) { QAIPointer iface = QAIPointer(event->accessibleInterface()); if (!(iface->role() == QAccessible::Window && (sendWindow || sendWindow_activate))) @@ -1093,9 +1092,8 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) QString path = pathForInterface(iface); sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_WINDOW), status, args); - QVariantList stateArgs = packDBusSignalArguments(QLatin1String("active"), iface->state().active ? 1 : 0, 0, variantForPath(path)); - sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_OBJECT), - QLatin1String("StateChanged"), stateArgs); + int isActive = iface->state().active; + notifyStateChange(iface, QLatin1String("active"), isActive); } } break; diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor_p.h b/src/platformsupport/linuxaccessibility/atspiadaptor_p.h index 4a8ff23bef..5b5eb60228 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor_p.h +++ b/src/platformsupport/linuxaccessibility/atspiadaptor_p.h @@ -111,6 +111,8 @@ private: QString pathForInterface(const QAIPointer &interface, bool inDestructor = false) const; QString pathForObject(QObject *object) const; + void notifyStateChange(const QAIPointer& interface, const QString& state, int value); + // accessible helper functions AtspiRole getRole(const QAIPointer &interface) const; QSpiRelationArray relationSet(const QAIPointer &interface, const QDBusConnection &connection) const; From 6e713cf03d438db7dcd8915098081ad9e880f929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mill=C3=A1n=20Soto?= Date: Thu, 13 Sep 2012 16:50:31 +0200 Subject: [PATCH 251/386] Call QAccessible::updateAccessibility when caret moves in QTextEdit Change-Id: I3b9e5d8e67b4928558b642a4d23aa60ae9dfde60 Reviewed-by: Frederik Gladhorn --- src/widgets/widgets/qtextedit.cpp | 15 ++++++++++++++- src/widgets/widgets/qtextedit.h | 1 + src/widgets/widgets/qtextedit_p.h | 1 + .../other/qaccessibility/tst_qaccessibility.cpp | 2 ++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/widgets/widgets/qtextedit.cpp b/src/widgets/widgets/qtextedit.cpp index 9f7d66b344..70dcc5b506 100644 --- a/src/widgets/widgets/qtextedit.cpp +++ b/src/widgets/widgets/qtextedit.cpp @@ -53,6 +53,9 @@ #include #include #include +#ifndef QT_NO_ACCESSIBILITY +#include +#endif #include "private/qtextdocumentlayout_p.h" #include "qtextdocument.h" #include "private/qtextdocument_p.h" @@ -154,7 +157,7 @@ void QTextEditPrivate::init(const QString &html) QObject::connect(control, SIGNAL(redoAvailable(bool)), q, SIGNAL(redoAvailable(bool))); QObject::connect(control, SIGNAL(copyAvailable(bool)), q, SIGNAL(copyAvailable(bool))); QObject::connect(control, SIGNAL(selectionChanged()), q, SIGNAL(selectionChanged())); - QObject::connect(control, SIGNAL(cursorPositionChanged()), q, SIGNAL(cursorPositionChanged())); + QObject::connect(control, SIGNAL(cursorPositionChanged()), q, SLOT(_q_cursorPositionChanged())); QObject::connect(control, SIGNAL(textChanged()), q, SLOT(updateMicroFocus())); @@ -206,6 +209,16 @@ void QTextEditPrivate::_q_repaintContents(const QRectF &contentsRect) viewport->update(r); } +void QTextEditPrivate::_q_cursorPositionChanged() +{ + Q_Q(QTextEdit); + emit q->cursorPositionChanged(); +#ifndef QT_NO_ACCESSIBILITY + QAccessibleTextCursorEvent event(q, q->textCursor().position()); + QAccessible::updateAccessibility(&event); +#endif +} + void QTextEditPrivate::pageUpDown(QTextCursor::MoveOperation op, QTextCursor::MoveMode moveMode) { QTextCursor cursor = control->textCursor(); diff --git a/src/widgets/widgets/qtextedit.h b/src/widgets/widgets/qtextedit.h index 178aa7b907..5df44da4cf 100644 --- a/src/widgets/widgets/qtextedit.h +++ b/src/widgets/widgets/qtextedit.h @@ -304,6 +304,7 @@ private: Q_PRIVATE_SLOT(d_func(), void _q_currentCharFormatChanged(const QTextCharFormat &)) Q_PRIVATE_SLOT(d_func(), void _q_adjustScrollbars()) Q_PRIVATE_SLOT(d_func(), void _q_ensureVisible(const QRectF &)) + Q_PRIVATE_SLOT(d_func(), void _q_cursorPositionChanged()) friend class QTextEditControl; friend class QTextDocument; friend class QWidgetTextControl; diff --git a/src/widgets/widgets/qtextedit_p.h b/src/widgets/widgets/qtextedit_p.h index d2dd81c13b..7038f16205 100644 --- a/src/widgets/widgets/qtextedit_p.h +++ b/src/widgets/widgets/qtextedit_p.h @@ -99,6 +99,7 @@ public: { control->processEvent(e, QPointF(horizontalOffset(), verticalOffset()), viewport); } void _q_currentCharFormatChanged(const QTextCharFormat &format); + void _q_cursorPositionChanged(); void updateDefaultTextOption(); diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index ba173dff81..768217c008 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -1583,6 +1583,8 @@ void tst_QAccessibility::textEditTest() edit.setTextCursor(c); QAccessibleTextSelectionEvent sel(&edit, 2, 4); QVERIFY_EVENT(&sel); + QAccessibleTextCursorEvent cursor(&edit, 4); + QVERIFY_EVENT(&cursor); edit.selectAll(); int end = edit.textCursor().position(); From 44cc60515a37587922edd5fdd9f9225ae73de8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mill=C3=A1n=20Soto?= Date: Fri, 26 Oct 2012 16:56:00 +0200 Subject: [PATCH 252/386] Handle disabled state change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modified AtSpiAdaptor::notify to handle enabling and disabling widgets. Change-Id: I9a23f74d891aaf123d7fc094bdf63e384e1d65fe Reviewed-by: Frederik Gladhorn Reviewed-by: Jan Arve Sæther --- src/platformsupport/linuxaccessibility/atspiadaptor.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index 506416af53..66541e6a61 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -1094,6 +1094,13 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) int isActive = iface->state().active; notifyStateChange(iface, QLatin1String("active"), isActive); + } else if (stateChange.disabled) { + QAIPointer iface = QAIPointer(event->accessibleInterface()); + QAccessible::State state = iface->state(); + bool enabled = !state.disabled; + + notifyStateChange(iface, QLatin1String("enabled"), enabled); + notifyStateChange(iface, QLatin1String("sensitive"), enabled); } } break; From 10e4b0c110a21a7c3234c109b8911ca9d83aec1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mill=C3=A1n=20Soto?= Date: Tue, 27 Nov 2012 16:49:03 +0100 Subject: [PATCH 253/386] Do not inform that a widget is not visible when it's disabled. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I561c8ef4c25dde8eb24260a46d284ca10cbf074d Reviewed-by: Frederik Gladhorn Reviewed-by: Jan Arve Sæther --- src/platformsupport/linuxaccessibility/constant_mappings.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/platformsupport/linuxaccessibility/constant_mappings.cpp b/src/platformsupport/linuxaccessibility/constant_mappings.cpp index a15355f9d3..1840868aa2 100644 --- a/src/platformsupport/linuxaccessibility/constant_mappings.cpp +++ b/src/platformsupport/linuxaccessibility/constant_mappings.cpp @@ -69,8 +69,6 @@ quint64 spiStatesFromQState(QAccessible::State state) if (state.disabled) { unsetSpiStateBit(&spiState, ATSPI_STATE_ENABLED); - unsetSpiStateBit(&spiState, ATSPI_STATE_SHOWING); - unsetSpiStateBit(&spiState, ATSPI_STATE_VISIBLE); unsetSpiStateBit(&spiState, ATSPI_STATE_SENSITIVE); } From ff20caae2be743794a90f94128e454526e8b835f Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Wed, 12 Dec 2012 12:02:23 +0100 Subject: [PATCH 254/386] Accessibility: Activate in QGuiApp instead of QApp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it possible to use accessibility with QQuickWindow. Change-Id: I5fccd5f25021c4953b03e146705f48a198dbaaa7 Reviewed-by: Jan Arve Sæther --- src/gui/kernel/qguiapplication.cpp | 4 ++++ src/widgets/kernel/qapplication.cpp | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 7abda84bfa..72e95c996c 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -60,6 +60,7 @@ #include #include #include +#include "qaccessible.h" #include #include #include "qsessionmanager.h" @@ -1184,6 +1185,9 @@ QPlatformNativeInterface *QGuiApplication::platformNativeInterface() */ int QGuiApplication::exec() { +#ifndef QT_NO_ACCESSIBILITY + QAccessible::setRootObject(qApp); +#endif return QCoreApplication::exec(); } diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 4922e2e778..9d3c5f8616 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -41,7 +41,6 @@ #include "qplatformdefs.h" #include "qabstracteventdispatcher.h" -#include "qaccessible.h" #include "qapplication.h" #include "qclipboard.h" #include "qcursor.h" @@ -2662,9 +2661,6 @@ int QApplication::startDragDistance() */ int QApplication::exec() { -#ifndef QT_NO_ACCESSIBILITY - QAccessible::setRootObject(qApp); -#endif return QGuiApplication::exec(); } From f55ce226282ce1ff1c7c998b6d5552b908897d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Wed, 28 Nov 2012 13:22:54 +0100 Subject: [PATCH 255/386] Cocoa: make accessibility hit test not crash Check if the accessibility element is valid before calling childAt. Change-Id: Id63c11f18b262c3c3a839db8ee2d11c0d7adc822 Reviewed-by: J-P Nurmi Reviewed-by: Frederik Gladhorn --- src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm index c722ffb3bf..d5841c1983 100644 --- a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm +++ b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm @@ -239,6 +239,10 @@ static QAccessibleInterface *acast(void *ptr) if (!accessibleInterface) return NSAccessibilityUnignoredAncestor(self); + + if (!acast(accessibleInterface)->isValid()) + return NSAccessibilityUnignoredAncestor(self); + QAccessibleInterface *childInterface = acast(accessibleInterface)->childAt(point.x, qt_mac_flipYCoordinate(point.y)); // No child found, meaning we hit this element. From b7fd19b434acb06b5311ac48ca1808aa33b89d9c Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 16 Dec 2012 04:22:11 +1100 Subject: [PATCH 256/386] ANGLE: Always use DEF_FILE on Windows Building ANGLE with MinGW results in too many symbols being exported in the DLLs. Always use DEF_FILE on Windows to limit the symbols exported and eliminate symbol conflicts when libEGL/libGLESv2 is linked by other libraries that include their own version of ANGLE (e.g. QtWebKit). Change-Id: I7bb1f90d9996eabf30095323e9399efa1c23e3a1 Reviewed-by: Friedemann Kleint --- src/angle/src/libEGL/libEGL.pro | 2 +- src/angle/src/libGLESv2/libGLESv2.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/angle/src/libEGL/libEGL.pro b/src/angle/src/libEGL/libEGL.pro index 524e3a9b59..78be1625c0 100644 --- a/src/angle/src/libEGL/libEGL.pro +++ b/src/angle/src/libEGL/libEGL.pro @@ -24,7 +24,7 @@ SOURCES += \ $$ANGLE_DIR/src/libEGL/main.cpp \ $$ANGLE_DIR/src/libEGL/Surface.cpp -msvc:DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def +!static:DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def load(qt_installs) diff --git a/src/angle/src/libGLESv2/libGLESv2.pro b/src/angle/src/libGLESv2/libGLESv2.pro index f4cbfd0494..1075591c4b 100644 --- a/src/angle/src/libGLESv2/libGLESv2.pro +++ b/src/angle/src/libGLESv2/libGLESv2.pro @@ -67,7 +67,7 @@ SOURCES += \ SSE2_SOURCES += $$ANGLE_DIR/src/libGLESv2/TextureSSE2.cpp -msvc:DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def +!static:DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def float_converter.target = float_converter float_converter.commands = python $$ANGLE_DIR/src/libGLESv2/Float16ToFloat32.py \ From 8c814db74718f18e88697feb97867b0d502e7f1d Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Mon, 3 Dec 2012 15:28:53 +0100 Subject: [PATCH 257/386] Add Platforms and Mac info to changelog. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3b6ab6acd1b10632e227e9fd512e05478d4aeb68 Reviewed-by: Morten Johan Sørvig --- dist/changes-5.0.0 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 84f0224bad..8ce7ee4ee9 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -846,6 +846,18 @@ appended in parantheses. * Platform Specific Changes * **************************************************************************** +The Qt platform implementations have been rewritten as plugins for the Qt +Platform Abstraction (QPA): + +* The platform plugin(s) needs to be bundled when applications are deployed. +* The platform implementations are in large parts rewrites. +* Q_WS_* defines are no longer defined. Q_OS_* is. +* Some platform specific functionality and API is missing from the 5.0 + release and will be added later. +* Platform spesific functionality will be added in separate modules: + QtMacExtras: http://qt.gitorious.org/qtplayground/qtmacextras + + Qt for Linux/X11 ---------------- @@ -857,6 +869,35 @@ Qt for Windows Qt for Mac OS X --------------- +* Qt now uses Cocoa, the Carbon port has been removed. +* The minimum supported OS X version is 10.6. PPC is not supported. +* Qt generally supports cross OS X version build and deployment (build + on any supported version and deploy to any other). One exception is + QtWebkit, which should be built using the 10.6 SDK if you want to target + that platform. +* The Qt binary installer has been changed to use the Qt installer framework. + Qt is now installed into one location instead of being spread out over multiple + directories. +* The Qt binary installer is built against the 10.7 SDK and does not + run on 10.6. +* The Clang compiler is used by default. Gcc is available trough the + macx-g++* mkspecs. +* Build-system support for universal binaries has been removed. The "lipo" + command-line tool can be used as a workaround. +* Qt now use the raster paint engine on all platforms for drawing widgets. + CoreGraphics is still used for printing on Mac. +* Support for high-dpi "retina" displays has been added for widgets, + OpenGL and QtQuick. +* The unified toolbar implementation from Qt 4 has not and will not be ported + to Qt 5. This means calling QMainWindow::setUnifiedTitleAndToolBarOnMac has + no effect on Qt 5. A replacement API which wraps NSToolbar is available in + QtMacExtras. +* MacDeployQt plugin deployment has been improved. It will no longer try to + deploy all plugins with all dependencies. +* Qt has been updated to be in compliance with the Mac App Store sandbox, and + will for example no longer try to write settings to files outside the sandbox. +* The "qt_menu.nib" issue preventing static/non-framework builds from working + has been fixed. Qt for Embedded Linux From ed15e4eb07104dd780fe8d72b2792916ce4db098 Mon Sep 17 00:00:00 2001 From: Andreas Aardal Hanssen Date: Mon, 17 Dec 2012 10:10:35 +0100 Subject: [PATCH 258/386] Fix focusproxy-relayed crash in QGraphicsItem destructor. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Makes tst_qgraphicsitem::tst_focusProxyDeletion not crash. valgrind reported the error when running tst_qgraphicsitem. The crash was very real; when deleting an item that has another item as a focus proxy, the proxy still had a reference to the deleted item's focusProxy pointer. I'm not a huge fan of whitebox testing but thought this crash justifies a modification of the test to make it fail, instead of just passing silently with a warning only given by valgrind and friends. FTR the reason the test doesn't crash hard is that the memory is freed but not reused within the scope of the test. So the access to the pointer d_ptr->focusProxy succeeds, it just accesses memory that might as well have been reclaimed. But this is quite undefined... Task-number: QTBUG-28321 Change-Id: I2624631f5e5c2a8aa8bd4efe1fc128eba6c61f56 Reviewed-by: Jan Arve Sæther --- src/widgets/graphicsview/qgraphicsitem.cpp | 1 + .../widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index f9b8cb83da..3ba9b89e34 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -1436,6 +1436,7 @@ QGraphicsItem::~QGraphicsItem() #endif clearFocus(); + setFocusProxy(0); // Update focus scope item ptr. QGraphicsItem *p = d_ptr->parent; diff --git a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp index 687d44808d..2d379d3c07 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp @@ -8485,7 +8485,9 @@ void tst_QGraphicsItem::focusProxyDeletion() rect2 = new QGraphicsRectItem; rect->setFocusProxy(rect2); + QGraphicsItem **danglingFocusProxyRef = &rect->d_ptr->focusProxy; delete rect; // don't crash + QVERIFY(!rect2->d_ptr->focusProxyRefs.contains(danglingFocusProxyRef)); rect = new QGraphicsRectItem; rect->setFocusProxy(rect2); From acbb6f18978e5d8bd69c6772fc117e48f672a2c0 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 16 Dec 2012 13:48:52 +1100 Subject: [PATCH 259/386] Windows: Remove warning when creating QWindow Change-Id: I63c76710ab84c88ba8b4b6f24e6161ae2db77a5f Reviewed-by: Miikka Heikkinen Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qwindowswindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp index 40e0cf7dda..3831c6b10e 100644 --- a/src/plugins/platforms/windows/qwindowswindow.cpp +++ b/src/plugins/platforms/windows/qwindowswindow.cpp @@ -322,7 +322,6 @@ void WindowCreationData::fromWindow(const QWindow *w, const Qt::WindowFlags flag topLevel = ((creationFlags & ForceChild) || embedded) ? false : w->isTopLevel(); if (topLevel && flags == 1) { - qWarning("Remove me: fixing toplevel window flags"); flags |= Qt::WindowTitleHint|Qt::WindowSystemMenuHint|Qt::WindowMinimizeButtonHint |Qt::WindowMaximizeButtonHint|Qt::WindowCloseButtonHint; } From 8fa464ffa6d2ec5d1f81c67682d5a688da6ec4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Mon, 17 Dec 2012 11:29:54 +0100 Subject: [PATCH 260/386] Compile. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update painting code with retina support. Change-Id: Iebdfaaaaf98ed69f4ecb3cef5ca96b4e4ddb09dd Reviewed-by: Morten Johan Sørvig --- tests/manual/cocoa/wheelevent/wheelevent.pro | 2 +- tests/manual/cocoa/wheelevent/window.cpp | 23 ++++++++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/tests/manual/cocoa/wheelevent/wheelevent.pro b/tests/manual/cocoa/wheelevent/wheelevent.pro index cf32954750..f90302da95 100644 --- a/tests/manual/cocoa/wheelevent/wheelevent.pro +++ b/tests/manual/cocoa/wheelevent/wheelevent.pro @@ -3,5 +3,5 @@ TEMPLATE = app HEADERS += window.h SOURCES += window.cpp main.cpp -QT += core gui gui-private core-private +QT += core core-private gui gui-private widgets DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/manual/cocoa/wheelevent/window.cpp b/tests/manual/cocoa/wheelevent/window.cpp index ecf337f85b..70ce41d094 100644 --- a/tests/manual/cocoa/wheelevent/window.cpp +++ b/tests/manual/cocoa/wheelevent/window.cpp @@ -80,7 +80,6 @@ void Window::initialize() setSizeIncrement(QSize(10, 10)); setBaseSize(QSize(640, 480)); setMinimumSize(QSize(240, 160)); - setMaximumSize(QSize(800, 600)); } create(); @@ -102,6 +101,12 @@ void Window::mouseMoveEvent(QMouseEvent *event) { if (m_lastPos != QPoint(-1, -1)) { QPainter p(&m_image); + + QPen pen; + pen.setCosmetic(true); + pen.setWidth(1); + p.setPen(pen); + p.setRenderHint(QPainter::Antialiasing); p.drawLine(m_lastPos, event->pos()); m_lastPos = event->pos(); @@ -153,13 +158,16 @@ void Window::resizeEvent(QResizeEvent *) { QImage old = m_image; - //qDebug() << "Window::resizeEvent" << width << height; + qDebug() << "Window::resizeEvent" << geometry(); - int width = qMax(geometry().width(), old.width()); - int height = qMax(geometry().height(), old.height()); + int width = qMax(geometry().width() * devicePixelRatio(), qreal(old.width())); + int height = qMax(geometry().height() * devicePixelRatio(), qreal(old.height())); + + qDebug() << "Window::resizeEvent" << width << height; if (width > old.width() || height > old.height()) { m_image = QImage(width, height, QImage::Format_RGB32); + m_image.setDevicePixelRatio(devicePixelRatio()); m_image.fill(colorTable[(m_backgroundColorIndex) % (sizeof(colorTable) / sizeof(colorTable[0]))].rgba()); QPainter p(&m_image); @@ -221,6 +229,12 @@ void Window::render() // draw grid: int gridSpace = 80; + QPen pen; + pen.setCosmetic(true); + pen.setWidth(1); + p.setPen(pen); + + for (int y = 0; y < geometry().height() + gridSpace; y+= gridSpace) { int offset = scrollOffset.y() % gridSpace; //int color = ((y + offset) %255);// + scrollOffset.y()) % 255); @@ -229,6 +243,7 @@ void Window::render() //p.fillRect(0, y + offset, geometry().width(), gridSpace,QColor(color,0, 0)); } + for (int x = 0; x < geometry().width() + gridSpace; x+= gridSpace) { p.drawLine(x + scrollOffset.x() % gridSpace, 0, x + scrollOffset.x() % gridSpace, geometry().height()); } From 127f9e109869897c144d86be3a7999a2e1b4dea7 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 12 Dec 2012 16:27:17 +0100 Subject: [PATCH 261/386] Fix mandlebrot and imagescaling example qdoc markup. Change-Id: I5c9802cab917203092d93fca73b166d2dfeb64bc Reviewed-by: Jerome Pasion --- .../imagescaling/doc/src/qtconcurrent-imagescaling.qdoc | 5 ++--- examples/threads/doc/src/mandelbrot.qdoc | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc index 4cf07e8edb..c270bda102 100644 --- a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc +++ b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc @@ -28,11 +28,10 @@ /*! \example qtconcurrent/imagescaling \title Image Scaling Example - \bried Demonstrates how to asynchronously scale images. + \brief Demonstrates how to asynchronously scale images. \ingroup qtconcurrentexamples + \image imagescaling_example.png The QtConcurrent Map example shows how to use the asynchronous QtConcurrent API to load and scale a collection of images. - - \image imagescaling_example.png */ diff --git a/examples/threads/doc/src/mandelbrot.qdoc b/examples/threads/doc/src/mandelbrot.qdoc index 02da084810..6ca0909f12 100644 --- a/examples/threads/doc/src/mandelbrot.qdoc +++ b/examples/threads/doc/src/mandelbrot.qdoc @@ -28,21 +28,21 @@ /*! \example mandelbrot \title Mandelbrot Example - \brief Demonstrates multi-thread programming using Qt \ingroup qtconcurrent-mtexamples - \brief The Mandelbrot example shows how to use a worker thread to + \brief The Mandelbrot example demonstrates multi-thread programming + using Qt. It shows how to use a worker thread to perform heavy computations without blocking the main thread's event loop. + \image mandelbrot-example.png Screenshot of the Mandelbrot example + The heavy computation here is the Mandelbrot set, probably the world's most famous fractal. These days, while sophisticated programs such as \l{http://xaos.sourceforge.net/}{XaoS} that provide real-time zooming in the Mandelbrot set, the standard Mandelbrot algorithm is just slow enough for our purposes. - \image mandelbrot-example.png Screenshot of the Mandelbrot example - In real life, the approach described here is applicable to a large set of problems, including synchronous network I/O and database access, where the user interface must remain responsive From 4c5584f0a3c003106d07d0cf8b512108b9ff541a Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 14 Dec 2012 11:51:28 +0200 Subject: [PATCH 262/386] Fix installation of plugin module .pris in static Qt builds When building Qt static, plugins get module .pri file, but those files do not get installed in Windows. This is because both .pri generation and install target statements are scoped with !build_pass, which means Makefile.Debug and Makefile.Release do not get install_pritarget target. Fixed by doing only the .pri generation in !build_pass scope. Task-number: QTBUG-28606 Change-Id: If3f49b578af1d9171a8bce67793ecb3f902a6da8 Reviewed-by: Oswald Buddenhagen Reviewed-by: Mark Brand --- mkspecs/features/qt_plugin.prf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index e58a6d2679..4861576eba 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -31,16 +31,18 @@ contains(QT_CONFIG, c++11):CONFIG += c++11 contains(QT_CONFIG, static):CONFIG += static else:CONFIG += shared -!build_pass:static { +static { isEmpty(MODULE): MODULE = $$basename(TARGET) MODULE_PRI = $$MODULE_QMAKE_OUTDIR/mkspecs/modules/qt_plugin_$${MODULE}.pri - MODULE_PRI_CONT = \ - "QT_PLUGIN.$${MODULE}.TYPE = $$PLUGIN_TYPE" \ - "QT_PLUGIN.$${MODULE}.CLASS_NAME = $$PLUGIN_CLASS_NAME" + !build_pass { + MODULE_PRI_CONT = \ + "QT_PLUGIN.$${MODULE}.TYPE = $$PLUGIN_TYPE" \ + "QT_PLUGIN.$${MODULE}.CLASS_NAME = $$PLUGIN_CLASS_NAME" - write_file($$MODULE_PRI, MODULE_PRI_CONT)|error("Aborting.") + write_file($$MODULE_PRI, MODULE_PRI_CONT)|error("Aborting.") + } pritarget.path = $$[QT_HOST_DATA]/mkspecs/modules pritarget.files = $$MODULE_PRI From 3e94e8daf36e90e73ca475a81c9b9a3af40b45b3 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 17 Dec 2012 10:06:38 +0100 Subject: [PATCH 263/386] fix duplicate TRANSLATION entry in generated RC file Task-number: QTBUG-28625 Change-Id: I9bd6098c7557ca008211acef172f5c51a6766998 Reviewed-by: Oswald Buddenhagen --- qmake/generators/win32/winmakefile.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp index fc98c3ddd1..bda035e023 100644 --- a/qmake/generators/win32/winmakefile.cpp +++ b/qmake/generators/win32/winmakefile.cpp @@ -462,10 +462,6 @@ void Win32MakefileGenerator::processRcFileVar() << QString("0x%1").arg(rcLang, 4, 16, QLatin1Char('0')) << ", " << QString("%1").arg(rcCodePage, 4) << endl; ts << "\t\tEND" << endl; - ts << "\t\tBLOCK \"VarFileInfo\"" << endl; - ts << "\t\tBEGIN" << endl; - ts << "\t\t\tVALUE \"Translation\", 0x409, 1200" << endl; - ts << "\t\tEND" << endl; ts << "\tEND" << endl; ts << "/* End of Version info */" << endl; ts << endl; From 826c4f60b65532033045e76d34fb718957a26fa9 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 17 Dec 2012 11:43:10 +0200 Subject: [PATCH 264/386] Rename conflicting symbol QVariantToVARIANT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It appears this method has been copied from ActiveQt. When building Qt statically, linking Windows platform plugin into any application that also uses ActiveQt will cause error about duplicate symbol. Renamed QVariantToVARIANT to QVariant2VARIANT to avoid conflicts. Renaming is done here rather than ActiveQt, as that symbol is in exported header in ActiveQt. Task-number: QTBUG-28645 Change-Id: Id0d7fc51d4455b463515e7c6178798ad61217c35 Reviewed-by: Friedemann Kleint Reviewed-by: Jan Arve Sæther --- .../platforms/windows/accessible/comutils.cpp | 20 +++++++++---------- .../platforms/windows/accessible/comutils.h | 3 ++- .../windows/accessible/iaccessible2.cpp | 6 +++--- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/plugins/platforms/windows/accessible/comutils.cpp b/src/plugins/platforms/windows/accessible/comutils.cpp index 5e5a1ebd0f..a67e2c4534 100644 --- a/src/plugins/platforms/windows/accessible/comutils.cpp +++ b/src/plugins/platforms/windows/accessible/comutils.cpp @@ -88,7 +88,7 @@ inline uint QColorToOLEColor(const QColor &col) return qRgba(col.blue(), col.green(), col.red(), 0x00); } -bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &typeName, bool out) +bool QVariant2VARIANT(const QVariant &var, VARIANT &arg, const QByteArray &typeName, bool out) { QVariant qvar = var; // "type" is the expected type, so coerce if necessary @@ -107,12 +107,12 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type } if (out && arg.vt == (VT_VARIANT|VT_BYREF) && arg.pvarVal) { - return QVariantToVARIANT(var, *arg.pvarVal, typeName, false); + return QVariant2VARIANT(var, *arg.pvarVal, typeName, false); } if (out && proptype == QVariant::UserType && typeName == "QVariant") { VARIANT *pVariant = new VARIANT; - QVariantToVARIANT(var, *pVariant, QByteArray(), false); + QVariant2VARIANT(var, *pVariant, QByteArray(), false); arg.vt = VT_VARIANT|VT_BYREF; arg.pvarVal = pVariant; return true; @@ -409,7 +409,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type for (LONG j = 0; j < columnCount; ++j) { QVariant elem = columns.at(j); VariantInit(&variant); - QVariantToVARIANT(elem, variant, elem.typeName()); + QVariant2VARIANT(elem, variant, elem.typeName()); rgIndices[1] = j; SafeArrayPutElement(array, rgIndices, pElement); clearVARIANT(&variant); @@ -425,7 +425,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type if (listType != QVariant::LastType) elem.convert(listType); VariantInit(&variant); - QVariantToVARIANT(elem, variant, elem.typeName()); + QVariant2VARIANT(elem, variant, elem.typeName()); SafeArrayPutElement(array, &index, pElement); clearVARIANT(&variant); } @@ -555,7 +555,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type arg.pRecInfo = recordInfo, arg.pvRecord = record; if (out) { - qWarning("QVariantToVARIANT: out-parameter not supported for records"); + qWarning("QVariant2VARIANT: out-parameter not supported for records"); return false; } } @@ -574,7 +574,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type if (arg.pdispVal) arg.pdispVal->AddRef(); if (out) { - qWarning("QVariantToVARIANT: out-parameter not supported for IDispatch"); + qWarning("QVariant2VARIANT: out-parameter not supported for IDispatch"); return false; } } else if (!qstrcmp(qvar.typeName(), "IDispatch**")) { @@ -588,7 +588,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type if (arg.punkVal) arg.punkVal->AddRef(); if (out) { - qWarning("QVariantToVARIANT: out-parameter not supported for IUnknown"); + qWarning("QVariant2VARIANT: out-parameter not supported for IUnknown"); return false; } #ifdef QAX_SERVER @@ -602,7 +602,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type qAxFactory()->createObjectWrapper(static_cast(user), &arg.pdispVal); } if (out) { - qWarning("QVariantToVARIANT: out-parameter not supported for subtype"); + qWarning("QVariant2VARIANT: out-parameter not supported for subtype"); return false; } #else @@ -612,7 +612,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type arg.vt = VT_DISPATCH; object->queryInterface(IID_IDispatch, (void**)&arg.pdispVal); if (out) { - qWarning("QVariantToVARIANT: out-parameter not supported for subtype"); + qWarning("QVariant2VARIANT: out-parameter not supported for subtype"); return false; } #endif diff --git a/src/plugins/platforms/windows/accessible/comutils.h b/src/plugins/platforms/windows/accessible/comutils.h index c9ed2b1224..8593f68d76 100644 --- a/src/plugins/platforms/windows/accessible/comutils.h +++ b/src/plugins/platforms/windows/accessible/comutils.h @@ -52,7 +52,8 @@ QT_BEGIN_NAMESPACE class QVariant; -bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &typeName, bool out); +// Originally QVariantToVARIANT copied from ActiveQt - renamed to avoid conflicts in static builds. +bool QVariant2VARIANT(const QVariant &var, VARIANT &arg, const QByteArray &typeName, bool out); inline QString BSTRToQString(const BSTR &bstr) { diff --git a/src/plugins/platforms/windows/accessible/iaccessible2.cpp b/src/plugins/platforms/windows/accessible/iaccessible2.cpp index 03bb94db8f..838cd055ab 100644 --- a/src/plugins/platforms/windows/accessible/iaccessible2.cpp +++ b/src/plugins/platforms/windows/accessible/iaccessible2.cpp @@ -1425,7 +1425,7 @@ HRESULT STDMETHODCALLTYPE QWindowsIA2Accessible::get_currentValue(VARIANT *curre return E_FAIL; if (QAccessibleValueInterface *valueIface = valueInterface()) { const QVariant var = valueIface->currentValue(); - if (QVariantToVARIANT(var, *currentValue, QByteArray(), false)) + if (QVariant2VARIANT(var, *currentValue, QByteArray(), false)) return S_OK; } @@ -1456,7 +1456,7 @@ HRESULT STDMETHODCALLTYPE QWindowsIA2Accessible::get_maximumValue(VARIANT *maxim return E_FAIL; if (QAccessibleValueInterface *valueIface = valueInterface()) { const QVariant var = valueIface->maximumValue(); - if (QVariantToVARIANT(var, *maximumValue, QByteArray(), false)) + if (QVariant2VARIANT(var, *maximumValue, QByteArray(), false)) return S_OK; } maximumValue->vt = VT_EMPTY; @@ -1470,7 +1470,7 @@ HRESULT STDMETHODCALLTYPE QWindowsIA2Accessible::get_minimumValue(VARIANT *minim return E_FAIL; if (QAccessibleValueInterface *valueIface = valueInterface()) { const QVariant var = valueIface->minimumValue(); - if (QVariantToVARIANT(var, *minimumValue, QByteArray(), false)) + if (QVariant2VARIANT(var, *minimumValue, QByteArray(), false)) return S_OK; } minimumValue->vt = VT_EMPTY; From 9a1183b400748aa51132dd17d004d9d6e560b5b8 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 17 Dec 2012 12:56:02 +0100 Subject: [PATCH 265/386] add base parameter to ProString::toInt and ProString::toShort Change-Id: I0c8b48e6491486ca829ce24ca2e284294ba0138a Reviewed-by: Oswald Buddenhagen --- qmake/library/proitems.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmake/library/proitems.h b/qmake/library/proitems.h index cb6a7dfcfe..f08b38b5bd 100644 --- a/qmake/library/proitems.h +++ b/qmake/library/proitems.h @@ -143,8 +143,8 @@ public: bool contains(const QString &s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return indexOf(s, 0, cs) >= 0; } bool contains(const char *s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return indexOf(QLatin1String(s), 0, cs) >= 0; } bool contains(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return indexOf(c, 0, cs) >= 0; } - int toInt(bool *ok = 0) const { return toQString().toInt(ok); } // XXX optimize - short toShort(bool *ok = 0) const { return toQString().toShort(ok); } // XXX optimize + int toInt(bool *ok = 0, int base = 10) const { return toQString().toInt(ok, base); } // XXX optimize + short toShort(bool *ok = 0, int base = 10) const { return toQString().toShort(ok, base); } // XXX optimize static uint hash(const QChar *p, int n); From f0f12ea5f1b6fdaf3e2e38bf8d814dfa41cbca5b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 17 Dec 2012 12:57:13 +0100 Subject: [PATCH 266/386] accept hex/octal values for RC_LANG and RC_CODEPAGE Task-number: QTBUG-28624 Change-Id: I6188045b05ebb8b9d285d1b30f8082a2fe46ff8b Reviewed-by: Oswald Buddenhagen --- qmake/project.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qmake/project.h b/qmake/project.h index e3b2925ccf..c07b6e6e46 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -95,12 +95,18 @@ private: static bool boolRet(VisitReturn vr); }; +/*! + * For variables that are supposed to contain a single int, + * this method returns the numeric value. + * Only the first value of the variable is taken into account. + * The string representation is assumed to look like a C int literal. + */ inline int QMakeProject::intValue(const ProKey &v, int defaultValue) const { const ProString &str = first(v); if (!str.isEmpty()) { bool ok; - int i = str.toInt(&ok); + int i = str.toInt(&ok, 0); if (ok) return i; } From 63693430c7cb8e8ede611eb9e99f305370d11ff9 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 17 Dec 2012 12:43:26 +0100 Subject: [PATCH 267/386] OpenGL examples: Add error message about ANGLE on Windows These OpenGL examples require a Desktop OpenGL and will not build with OpenGL ES 2.0. This means those examples do not build on Windows with the default configuration using ANGLE. ANGLE is wrapping OpenGL ES 2.0 to DirectX and does not support the full Desktop OpenGL feature set. Since this is confusing for Windows users that do not know about ANGLE this patch adds an explicit error message describing the solution. (configuring Qt with -opengl desktop) Task-number: QTBUG-28590 Change-Id: I782e6830b9e282ddcc8a2ee0a47faf3579d36aab Reviewed-by: hjk Reviewed-by: Oswald Buddenhagen --- examples/opengl/framebufferobject2/framebufferobject2.pro | 6 ++++++ examples/opengl/grabber/grabber.pro | 6 ++++++ examples/opengl/hellogl/hellogl.pro | 6 ++++++ examples/opengl/overpainting/overpainting.pro | 6 ++++++ examples/opengl/pbuffers/pbuffers.pro | 6 ++++++ examples/opengl/pbuffers2/pbuffers2.pro | 6 ++++++ examples/opengl/samplebuffers/samplebuffers.pro | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/examples/opengl/framebufferobject2/framebufferobject2.pro b/examples/opengl/framebufferobject2/framebufferobject2.pro index d26751ab0e..3a0dbb4446 100644 --- a/examples/opengl/framebufferobject2/framebufferobject2.pro +++ b/examples/opengl/framebufferobject2/framebufferobject2.pro @@ -10,3 +10,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/grabber/grabber.pro b/examples/opengl/grabber/grabber.pro index a60dbbe2dc..c4c54c7c32 100644 --- a/examples/opengl/grabber/grabber.pro +++ b/examples/opengl/grabber/grabber.pro @@ -11,3 +11,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/hellogl/hellogl.pro b/examples/opengl/hellogl/hellogl.pro index acaca35635..42913835a2 100644 --- a/examples/opengl/hellogl/hellogl.pro +++ b/examples/opengl/hellogl/hellogl.pro @@ -16,3 +16,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/overpainting/overpainting.pro b/examples/opengl/overpainting/overpainting.pro index 08fe9b3dae..141c8cb7ce 100644 --- a/examples/opengl/overpainting/overpainting.pro +++ b/examples/opengl/overpainting/overpainting.pro @@ -15,3 +15,9 @@ target.path = $$[QT_INSTALL_EXAMPLES]/opengl/overpainting INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/pbuffers/pbuffers.pro b/examples/opengl/pbuffers/pbuffers.pro index 1a9882c45d..57bb3aa32a 100644 --- a/examples/opengl/pbuffers/pbuffers.pro +++ b/examples/opengl/pbuffers/pbuffers.pro @@ -11,3 +11,9 @@ target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/pbuffers2/pbuffers2.pro b/examples/opengl/pbuffers2/pbuffers2.pro index 31fd22cced..c53309d1fa 100644 --- a/examples/opengl/pbuffers2/pbuffers2.pro +++ b/examples/opengl/pbuffers2/pbuffers2.pro @@ -9,3 +9,9 @@ target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers2 INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/samplebuffers/samplebuffers.pro b/examples/opengl/samplebuffers/samplebuffers.pro index 5793ea3e68..d16993adfe 100644 --- a/examples/opengl/samplebuffers/samplebuffers.pro +++ b/examples/opengl/samplebuffers/samplebuffers.pro @@ -9,3 +9,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} From a42ad77ec9a13005041c01516a2bed8e05fad6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sat, 1 Dec 2012 11:03:03 +0100 Subject: [PATCH 268/386] Fix possible crash in tst_QThread::quitLock() test Don't read member variable of deleted Job object. Change-Id: I71a6565c4932427e9cbab744c2e472b62ea98ca2 Reviewed-by: Andreas Aardal Hanssen Reviewed-by: Thiago Macieira --- .../auto/corelib/thread/qthread/tst_qthread.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index bdfb980357..eaae3d49d3 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -1300,9 +1300,10 @@ class Job : public QObject { Q_OBJECT public: - Job(QThread *thread, int deleteDelay, QObject *parent = 0) - : QObject(parent), quitLocker(thread), exitThreadCalled(false) + Job(QThread *thread, int deleteDelay, bool *flag, QObject *parent = 0) + : QObject(parent), quitLocker(thread), exitThreadCalled(*flag) { + exitThreadCalled = false; moveToThread(thread); QTimer::singleShot(deleteDelay, this, SLOT(deleteLater())); QTimer::singleShot(1000, this, SLOT(exitThread())); @@ -1318,12 +1319,13 @@ private slots: private: QEventLoopLocker quitLocker; public: - bool exitThreadCalled; + bool &exitThreadCalled; }; void tst_QThread::quitLock() { QThread thread; + bool exitThreadCalled; QEventLoop loop; connect(&thread, SIGNAL(finished()), &loop, SLOT(quit())); @@ -1331,16 +1333,16 @@ void tst_QThread::quitLock() Job *job; thread.start(); - job = new Job(&thread, 500); + job = new Job(&thread, 500, &exitThreadCalled); QCOMPARE(job->thread(), &thread); loop.exec(); - QVERIFY(!job->exitThreadCalled); + QVERIFY(!exitThreadCalled); thread.start(); - job = new Job(&thread, 2500); + job = new Job(&thread, 2500, &exitThreadCalled); QCOMPARE(job->thread(), &thread); loop.exec(); - QVERIFY(job->exitThreadCalled); + QVERIFY(exitThreadCalled); } QTEST_MAIN(tst_QThread) From dcfa8926ff4b4db2290d819420c29480dab611b1 Mon Sep 17 00:00:00 2001 From: mfekari Date: Thu, 22 Nov 2012 04:22:11 -0500 Subject: [PATCH 269/386] Add a Q_ENUMS for MeasurementSystem Change-Id: Ib60de407f7ec8df907884ad2cf2fbf8e7b2c02f4 Reviewed-by: Thiago Macieira Reviewed-by: Oswald Buddenhagen --- src/corelib/tools/qlocale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/tools/qlocale.h b/src/corelib/tools/qlocale.h index 6b6beeff0a..c9cb31d03b 100644 --- a/src/corelib/tools/qlocale.h +++ b/src/corelib/tools/qlocale.h @@ -67,6 +67,7 @@ class Q_CORE_EXPORT QLocale Q_GADGET Q_ENUMS(Language) Q_ENUMS(Country) + Q_ENUMS(MeasurementSystem) friend class QString; friend class QByteArray; friend class QIntValidator; From 09331062bb705e5778f346b701a38454905ec1e0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2012 19:17:20 +0100 Subject: [PATCH 270/386] remove some unnecessary CONFIG additions qt is already added by spec_pre.prf, warn_on and depend_includepath by default_pre.prf. Change-Id: Ic00e0ba496d698ed9659c476f2ca99fc0f86a093 Reviewed-by: Joerg Bornemann --- .../itemviews/basicsortfiltermodel/basicsortfiltermodel.pro | 1 - .../itemviews/customsortfiltermodel/customsortfiltermodel.pro | 1 - .../widgets/itemviews/editabletreemodel/editabletreemodel.pro | 1 - examples/widgets/itemviews/interview/interview.pro | 1 - examples/widgets/itemviews/simpledommodel/simpledommodel.pro | 1 - examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro | 1 - examples/widgets/richtext/textedit/textedit.pro | 2 -- mkspecs/features/default_pre.prf | 2 +- mkspecs/features/qt_module.prf | 1 - mkspecs/features/qt_tool.prf | 2 +- qmake/qmake.pri | 2 -- src/winmain/winmain.pro | 2 +- .../qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro | 2 -- tests/auto/tools/qmake/testdata/one_space/one_space.pro | 1 - .../tools/qmake/testdata/quotedfilenames/quotedfilenames.pro | 1 - tests/auto/tools/qmake/testdata/simple_app/simple_app.pro | 1 - tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro | 2 +- tests/auto/tools/qmake/testdata/simple_lib/simple_lib.pro | 2 +- .../auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro | 1 - .../auto/tools/qmake/testdata/subdirs/simple_dll/simple_dll.pro | 2 +- 20 files changed, 6 insertions(+), 23 deletions(-) diff --git a/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro b/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro index 6c0924cf7f..7390cec23f 100644 --- a/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro +++ b/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro @@ -1,7 +1,6 @@ HEADERS = window.h SOURCES = main.cpp \ window.cpp -CONFIG += qt # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/basicsortfiltermodel diff --git a/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro b/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro index 66ea1063c8..488a755b9d 100644 --- a/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro +++ b/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro @@ -3,7 +3,6 @@ HEADERS = mysortfilterproxymodel.h \ SOURCES = main.cpp \ mysortfilterproxymodel.cpp \ window.cpp -CONFIG += qt # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/customsortfiltermodel diff --git a/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro index fcbdfd997f..a83b6fc5bf 100644 --- a/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro +++ b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro @@ -7,7 +7,6 @@ SOURCES = mainwindow.cpp \ treeitem.cpp \ treemodel.cpp \ main.cpp -CONFIG += qt # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/editabletreemodel diff --git a/examples/widgets/itemviews/interview/interview.pro b/examples/widgets/itemviews/interview/interview.pro index 08dd9b991e..a61d77613c 100644 --- a/examples/widgets/itemviews/interview/interview.pro +++ b/examples/widgets/itemviews/interview/interview.pro @@ -1,6 +1,5 @@ TEMPLATE = app -CONFIG += qt warn_on HEADERS += model.h SOURCES += model.cpp main.cpp RESOURCES += interview.qrc diff --git a/examples/widgets/itemviews/simpledommodel/simpledommodel.pro b/examples/widgets/itemviews/simpledommodel/simpledommodel.pro index e52ea4f71e..db15632ba9 100644 --- a/examples/widgets/itemviews/simpledommodel/simpledommodel.pro +++ b/examples/widgets/itemviews/simpledommodel/simpledommodel.pro @@ -5,7 +5,6 @@ SOURCES = domitem.cpp \ dommodel.cpp \ main.cpp \ mainwindow.cpp -CONFIG += qt QT += xml widgets # install diff --git a/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro index 289939fb2f..674b8e8c68 100644 --- a/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro +++ b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro @@ -4,7 +4,6 @@ RESOURCES = simpletreemodel.qrc SOURCES = treeitem.cpp \ treemodel.cpp \ main.cpp -CONFIG += qt # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpletreemodel diff --git a/examples/widgets/richtext/textedit/textedit.pro b/examples/widgets/richtext/textedit/textedit.pro index a2090231c5..fb99e0ee2b 100644 --- a/examples/widgets/richtext/textedit/textedit.pro +++ b/examples/widgets/richtext/textedit/textedit.pro @@ -1,8 +1,6 @@ TEMPLATE = app TARGET = textedit -CONFIG += qt warn_on - HEADERS = textedit.h SOURCES = textedit.cpp \ main.cpp diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf index 4323910e4a..b06b9d6cfc 100644 --- a/mkspecs/features/default_pre.prf +++ b/mkspecs/features/default_pre.prf @@ -4,6 +4,6 @@ load(exclusive_builds) CONFIG = \ - lex yacc warn_on debug exceptions depend_includepath \ + lex yacc debug exceptions depend_includepath \ testcase_targets import_plugins import_qpa_plugin \ $$CONFIG diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index cb799711c9..159733e02e 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -111,7 +111,6 @@ TEMPLATE = lib DESTDIR = $$eval(QT.$${MODULE}.libs) win32:!wince*:exists($$[QT_INSTALL_PREFIX]/.qmake.cache): DLLDESTDIR = $$eval(QT.$${MODULE}.bins) -CONFIG += qt warn_on depend_includepath CONFIG += qmake_cache target_qt QMAKE_DOCS_TARGETDIR = qt$${MODULE} diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf index f665479795..16db6c7972 100644 --- a/mkspecs/features/qt_tool.prf +++ b/mkspecs/features/qt_tool.prf @@ -14,7 +14,7 @@ TEMPLATE = app load(qt_build_paths) DESTDIR = $$MODULE_BASE_OUTDIR/bin -CONFIG += qt warn_on console +CONFIG += console isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle host_build { diff --git a/qmake/qmake.pri b/qmake/qmake.pri index 1bf603e874..aff0a9efda 100644 --- a/qmake/qmake.pri +++ b/qmake/qmake.pri @@ -1,5 +1,3 @@ -CONFIG += depend_includepath - SKIP_DEPENDS += qconfig.h qmodules.h DEFINES += QT_NO_TEXTCODEC QT_NO_LIBRARY QT_NO_COMPRESS QT_NO_UNICODETABLES \ QT_NO_GEOM_VARIANT QT_NO_DATASTREAM diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro index e5da5bd97f..32eae0b9fe 100644 --- a/src/winmain/winmain.pro +++ b/src/winmain/winmain.pro @@ -5,7 +5,7 @@ TEMPLATE = lib TARGET = qtmain DESTDIR = $$QT.core.libs -CONFIG += static warn_on depend_includepath +CONFIG += static QT = core contains(QT_CONFIG, build_all):CONFIG += build_all diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro index 0897a6b3ba..8dd8d930c1 100644 --- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro +++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/qmimedatabase-xml.pro @@ -4,8 +4,6 @@ TARGET = tst_qmimedatabase-xml QT = core testlib concurrent -CONFIG += depend_includepath - SOURCES += tst_qmimedatabase-xml.cpp HEADERS += ../tst_qmimedatabase.h diff --git a/tests/auto/tools/qmake/testdata/one_space/one_space.pro b/tests/auto/tools/qmake/testdata/one_space/one_space.pro index 651035df69..5f48aef119 100644 --- a/tests/auto/tools/qmake/testdata/one_space/one_space.pro +++ b/tests/auto/tools/qmake/testdata/one_space/one_space.pro @@ -1,5 +1,4 @@ TEMPLATE = app -CONFIG += qt warn_on SOURCES = main.cpp TARGET = "one space" DESTDIR = ./ diff --git a/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro b/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro index c3dd252d25..139c4153f5 100644 --- a/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro +++ b/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro @@ -1,5 +1,4 @@ TEMPLATE = app -CONFIG += qt warn_on TARGET = quotedfilenames SOURCES = main.cpp diff --git a/tests/auto/tools/qmake/testdata/simple_app/simple_app.pro b/tests/auto/tools/qmake/testdata/simple_app/simple_app.pro index a677388fae..3d30e25b68 100644 --- a/tests/auto/tools/qmake/testdata/simple_app/simple_app.pro +++ b/tests/auto/tools/qmake/testdata/simple_app/simple_app.pro @@ -1,5 +1,4 @@ TEMPLATE = app -CONFIG += qt warn_on HEADERS = test_file.h SOURCES = test_file.cpp \ main.cpp diff --git a/tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro b/tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro index f74067e2c9..4b7b3f31ce 100644 --- a/tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro +++ b/tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -CONFIG += qt warn_on dll +CONFIG += dll win32:DEFINES += SIMPLEDLL_MAKEDLL diff --git a/tests/auto/tools/qmake/testdata/simple_lib/simple_lib.pro b/tests/auto/tools/qmake/testdata/simple_lib/simple_lib.pro index bc239ad1a8..c04ed05ff3 100644 --- a/tests/auto/tools/qmake/testdata/simple_lib/simple_lib.pro +++ b/tests/auto/tools/qmake/testdata/simple_lib/simple_lib.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -CONFIG += qt warn_on release staticlib +CONFIG += release staticlib CONFIG -= dll HEADERS = simple.h diff --git a/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro b/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro index df8e81aa7b..db1d57b502 100644 --- a/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro +++ b/tests/auto/tools/qmake/testdata/subdirs/simple_app/simple_app.pro @@ -1,5 +1,4 @@ TEMPLATE = app -CONFIG += qt warn_on HEADERS = test_file.h SOURCES = test_file.cpp \ main.cpp diff --git a/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple_dll.pro b/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple_dll.pro index f74067e2c9..4b7b3f31ce 100644 --- a/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple_dll.pro +++ b/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple_dll.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -CONFIG += qt warn_on dll +CONFIG += dll win32:DEFINES += SIMPLEDLL_MAKEDLL From 9d3e87578ce204683a5ff1ab7505d02fd03ef357 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2012 20:00:34 +0100 Subject: [PATCH 271/386] do not add DEPENDPATH assignments to projects qmake now add CONFIG+=depend_includepath by default, making manual DEPENDPATH setup unnecessary. Change-Id: I93988ec4fa08ed3c65dc217da1ba59850274e167 Reviewed-by: Joerg Bornemann --- qmake/generators/projectgenerator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qmake/generators/projectgenerator.cpp b/qmake/generators/projectgenerator.cpp index 46cfe72258..f6cf39e9e9 100644 --- a/qmake/generators/projectgenerator.cpp +++ b/qmake/generators/projectgenerator.cpp @@ -363,7 +363,6 @@ ProjectGenerator::writeMakefile(QTextStream &t) t << getWritableVar("TARGET_ASSIGN") << getWritableVar("CONFIG", false) << getWritableVar("CONFIG_REMOVE", false) - << getWritableVar("DEPENDPATH") << getWritableVar("INCLUDEPATH") << endl; t << "# Input" << "\n"; From 599a58170d072b80ddfe8ce73075e4598b2451c1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2012 20:00:54 +0100 Subject: [PATCH 272/386] remove obsolete DEPENDPATH assignments qmake now add CONFIG+=depend_includepath by default, making manual DEPENDPATH setup unnecessary. Change-Id: Ie57cf05c369e21b5b9e099b6ce9be4f75da1508f Reviewed-by: Joerg Bornemann --- src/angle/src/libGLESv2/libGLESv2.pro | 1 - src/tools/bootstrap/bootstrap.pro | 10 ---------- src/tools/qdoc/qdoc.pro | 3 --- .../auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro | 1 - tests/baselineserver/shared/baselineprotocol.pri | 1 - .../qtimer_vs_qmetaobject/qtimer_vs_qmetaobject.pro | 1 - .../qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro | 1 - tests/manual/highdpi/highdpi.pro | 1 - 8 files changed, 19 deletions(-) diff --git a/src/angle/src/libGLESv2/libGLESv2.pro b/src/angle/src/libGLESv2/libGLESv2.pro index 1075591c4b..7f2c59355d 100644 --- a/src/angle/src/libGLESv2/libGLESv2.pro +++ b/src/angle/src/libGLESv2/libGLESv2.pro @@ -1,6 +1,5 @@ TEMPLATE = lib TARGET = $$qtLibraryTarget(libGLESv2) -DEPENDPATH += . shaders CONFIG += simd include(../common/common.pri) diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index f2f041b704..41b0ee192b 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -41,16 +41,6 @@ load(qt_module) INCLUDEPATH += $$QT_BUILD_TREE/src/corelib/global -DEPENDPATH += $$INCLUDEPATH \ - ../../corelib/global \ - ../../corelib/kernel \ - ../../corelib/tools \ - ../../corelib/io \ - ../../corelib/codecs \ - ../../corelib/json \ - ../../xml/dom \ - ../../xml/sax - SOURCES += \ ../../corelib/codecs/qlatincodec.cpp \ ../../corelib/codecs/qtextcodec.cpp \ diff --git a/src/tools/qdoc/qdoc.pro b/src/tools/qdoc/qdoc.pro index b489668059..c0f3cd70d1 100644 --- a/src/tools/qdoc/qdoc.pro +++ b/src/tools/qdoc/qdoc.pro @@ -5,9 +5,6 @@ DEFINES += QDOC2_COMPAT INCLUDEPATH += $$QT_SOURCE_TREE/src/tools/qdoc \ $$QT_SOURCE_TREE/src/tools/qdoc/qmlparser -DEPENDPATH += $$QT_SOURCE_TREE/src/tools/qdoc \ - $$QT_SOURCE_TREE/src/tools/qdoc/qmlparser - # Increase the stack size on MSVC to 4M to avoid a stack overflow win32-msvc*:{ QMAKE_LFLAGS += /STACK:4194304 diff --git a/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro b/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro index 371e12a0eb..298e41fc89 100644 --- a/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro +++ b/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro @@ -1,6 +1,5 @@ CONFIG += testcase TARGET = tst_qxmlsimplereader -DEPENDPATH += parser INCLUDEPATH += parser HEADERS += parser/parser.h diff --git a/tests/baselineserver/shared/baselineprotocol.pri b/tests/baselineserver/shared/baselineprotocol.pri index 62e38a6ab5..996f9d5a1f 100644 --- a/tests/baselineserver/shared/baselineprotocol.pri +++ b/tests/baselineserver/shared/baselineprotocol.pri @@ -1,5 +1,4 @@ INCLUDEPATH += $$PWD -DEPENDPATH += $$PWD QT *= network diff --git a/tests/benchmarks/corelib/kernel/qtimer_vs_qmetaobject/qtimer_vs_qmetaobject.pro b/tests/benchmarks/corelib/kernel/qtimer_vs_qmetaobject/qtimer_vs_qmetaobject.pro index d43342cd50..16539c0198 100644 --- a/tests/benchmarks/corelib/kernel/qtimer_vs_qmetaobject/qtimer_vs_qmetaobject.pro +++ b/tests/benchmarks/corelib/kernel/qtimer_vs_qmetaobject/qtimer_vs_qmetaobject.pro @@ -1,6 +1,5 @@ TEMPLATE = app TARGET = qtimer_vs_qmetaobject -DEPENDPATH += . INCLUDEPATH += . CONFIG += release diff --git a/tests/manual/cocoa/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro b/tests/manual/cocoa/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro index a7aa675d87..9546adea1c 100644 --- a/tests/manual/cocoa/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro +++ b/tests/manual/cocoa/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro @@ -1,6 +1,5 @@ TEMPLATE = app TARGET = qmaccocoaviewcontainer -DEPENDPATH += . INCLUDEPATH += . QT += widgets LIBS += -framework Cocoa diff --git a/tests/manual/highdpi/highdpi.pro b/tests/manual/highdpi/highdpi.pro index 635ba37a38..b827456f9b 100644 --- a/tests/manual/highdpi/highdpi.pro +++ b/tests/manual/highdpi/highdpi.pro @@ -1,6 +1,5 @@ TEMPLATE = app TARGET = highdpi -DEPENDPATH += . INCLUDEPATH += . QT += widgets From 25a18283d04c86b0325fd74b95a5ebe17c8eb509 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2012 20:01:03 +0100 Subject: [PATCH 273/386] remove more symbian vestiges Change-Id: Ib875202b77193c474bbbd411a7bd0065b26996e9 Reviewed-by: Liang Qi Reviewed-by: Joerg Bornemann --- src/tools/bootstrap/bootstrap.pro | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index 41b0ee192b..0d4b62fd16 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -129,16 +129,6 @@ win32:LIBS += -luser32 -lole32 -ladvapi32 lib.CONFIG = dummy_install INSTALLS += lib -# Make dummy "sis" and "freeze" target to keep recursive "make sis/freeze" working. -sis_target.target = sis -sis_target.commands = -sis_target.depends = first -QMAKE_EXTRA_TARGETS += sis_target -freeze_target.target = freeze -freeze_target.commands = -freeze_target.depends = first -QMAKE_EXTRA_TARGETS += freeze_target - !build_pass { # We need the forwarding headers before their respective modules are built, # so do a minimal syncqt run. From 6c88c7db638618402db06fb0e57c60a3ed8e1064 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2012 21:12:53 +0100 Subject: [PATCH 274/386] remove QT+=widgets from SUBDIRS projects it makes no sense whatsoever Change-Id: Ica7c764575079a12512ee2eb62a995ebbefa09a0 Reviewed-by: Joerg Bornemann --- examples/dbus/complexpingpong/complexpingpong.pro | 1 - examples/dbus/dbus.pro | 2 -- examples/dbus/pingpong/pingpong.pro | 1 - examples/dbus/remotecontrolledcar/remotecontrolledcar.pro | 2 -- examples/embedded/embedded.pro | 2 -- examples/gestures/gestures.pro | 2 -- examples/ipc/ipc.pro | 2 -- examples/opengl/opengl.pro | 2 -- examples/widgets/animation/animation.pro | 2 -- examples/widgets/desktop/desktop.pro | 2 -- examples/widgets/dialogs/dialogs.pro | 2 -- examples/widgets/draganddrop/draganddrop.pro | 1 - examples/widgets/effects/effects.pro | 2 -- examples/widgets/graphicsview/graphicsview.pro | 2 -- examples/widgets/itemviews/itemviews.pro | 2 -- examples/widgets/layouts/layouts.pro | 2 -- examples/widgets/mainwindows/mainwindows.pro | 2 -- examples/widgets/painting/painting.pro | 2 -- examples/widgets/tools/echoplugin/echoplugin.pro | 2 -- .../widgets/tools/plugandpaintplugins/plugandpaintplugins.pro | 2 -- examples/widgets/tools/styleplugin/styleplugin.pro | 2 -- examples/widgets/tutorials/addressbook-fr/addressbook-fr.pro | 1 - examples/widgets/tutorials/addressbook/addressbook.pro | 2 -- examples/widgets/tutorials/gettingStarted/gettingStarted.pro | 1 - examples/widgets/tutorials/gettingStarted/gsQt/gsqt.pro | 2 -- examples/widgets/tutorials/modelview/modelview.pro | 2 -- examples/widgets/tutorials/threads/threads.pro | 2 -- examples/widgets/tutorials/widgets/widgets.pro | 1 - 28 files changed, 50 deletions(-) diff --git a/examples/dbus/complexpingpong/complexpingpong.pro b/examples/dbus/complexpingpong/complexpingpong.pro index 1dfeff92ac..cd618d549d 100644 --- a/examples/dbus/complexpingpong/complexpingpong.pro +++ b/examples/dbus/complexpingpong/complexpingpong.pro @@ -2,4 +2,3 @@ TEMPLATE = subdirs CONFIG += ordered win32:CONFIG += console SUBDIRS = complexping.pro complexpong.pro -QT += widgets diff --git a/examples/dbus/dbus.pro b/examples/dbus/dbus.pro index 89d42bf7fe..200dfb2484 100644 --- a/examples/dbus/dbus.pro +++ b/examples/dbus/dbus.pro @@ -7,5 +7,3 @@ SUBDIRS = listnames \ SUBDIRS += chat \ remotecontrolledcar } - -QT += widgets diff --git a/examples/dbus/pingpong/pingpong.pro b/examples/dbus/pingpong/pingpong.pro index 701e778676..07fca74c9a 100644 --- a/examples/dbus/pingpong/pingpong.pro +++ b/examples/dbus/pingpong/pingpong.pro @@ -2,4 +2,3 @@ TEMPLATE = subdirs CONFIG += ordered win32:CONFIG += console SUBDIRS = ping.pro pong.pro -QT += widgets diff --git a/examples/dbus/remotecontrolledcar/remotecontrolledcar.pro b/examples/dbus/remotecontrolledcar/remotecontrolledcar.pro index f5a0c27435..2a1fddb500 100644 --- a/examples/dbus/remotecontrolledcar/remotecontrolledcar.pro +++ b/examples/dbus/remotecontrolledcar/remotecontrolledcar.pro @@ -1,5 +1,3 @@ TEMPLATE = subdirs SUBDIRS = car \ controller - -QT += widgets diff --git a/examples/embedded/embedded.pro b/examples/embedded/embedded.pro index aa01bda368..d7d69d3efe 100644 --- a/examples/embedded/embedded.pro +++ b/examples/embedded/embedded.pro @@ -3,5 +3,3 @@ SUBDIRS = styleexample raycasting flickable digiflip SUBDIRS += lightmaps SUBDIRS += flightinfo - -QT += widgets widgets diff --git a/examples/gestures/gestures.pro b/examples/gestures/gestures.pro index 678fbc5829..35b60bef38 100644 --- a/examples/gestures/gestures.pro +++ b/examples/gestures/gestures.pro @@ -2,5 +2,3 @@ TEMPLATE = \ subdirs SUBDIRS = \ imagegestures - -QT += widgets diff --git a/examples/ipc/ipc.pro b/examples/ipc/ipc.pro index ba3990d869..ffa313beef 100644 --- a/examples/ipc/ipc.pro +++ b/examples/ipc/ipc.pro @@ -2,5 +2,3 @@ TEMPLATE = subdirs # no QSharedMemory !vxworks:!qnx:SUBDIRS = sharedmemory !wince*: SUBDIRS += localfortuneserver localfortuneclient - -QT += widgets diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro index 1a6ac3aeb2..25c337fdad 100644 --- a/examples/opengl/opengl.pro +++ b/examples/opengl/opengl.pro @@ -26,5 +26,3 @@ SUBDIRS += hellowindow \ paintedwindow EXAMPLE_FILES = shared - -QT += widgets diff --git a/examples/widgets/animation/animation.pro b/examples/widgets/animation/animation.pro index 575fed4ead..a13f8bb65a 100644 --- a/examples/widgets/animation/animation.pro +++ b/examples/widgets/animation/animation.pro @@ -8,5 +8,3 @@ SUBDIRS += \ states \ stickman \ sub-attaq \ - -QT += widgets diff --git a/examples/widgets/desktop/desktop.pro b/examples/widgets/desktop/desktop.pro index 5da59599d4..db518c1c7a 100644 --- a/examples/widgets/desktop/desktop.pro +++ b/examples/widgets/desktop/desktop.pro @@ -1,5 +1,3 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS = screenshot systray - -QT += widgets diff --git a/examples/widgets/dialogs/dialogs.pro b/examples/widgets/dialogs/dialogs.pro index 0a4922eeaf..c31c37222d 100644 --- a/examples/widgets/dialogs/dialogs.pro +++ b/examples/widgets/dialogs/dialogs.pro @@ -11,5 +11,3 @@ SUBDIRS = classwizard \ contains(DEFINES, QT_NO_WIZARD): SUBDIRS -= trivialwizard licensewizard classwizard wince*: SUBDIRS += sipdialog - -QT += widgets diff --git a/examples/widgets/draganddrop/draganddrop.pro b/examples/widgets/draganddrop/draganddrop.pro index 3f2691a516..098651d2f6 100644 --- a/examples/widgets/draganddrop/draganddrop.pro +++ b/examples/widgets/draganddrop/draganddrop.pro @@ -6,4 +6,3 @@ SUBDIRS = draggableicons \ puzzle wince*: SUBDIRS -= dropsite -QT += widgets diff --git a/examples/widgets/effects/effects.pro b/examples/widgets/effects/effects.pro index ee3d655815..795e0508ac 100644 --- a/examples/widgets/effects/effects.pro +++ b/examples/widgets/effects/effects.pro @@ -4,5 +4,3 @@ SUBDIRS = \ blurpicker \ lighting \ fademessage - -QT += widgets diff --git a/examples/widgets/graphicsview/graphicsview.pro b/examples/widgets/graphicsview/graphicsview.pro index f7142709c8..901533a8de 100644 --- a/examples/widgets/graphicsview/graphicsview.pro +++ b/examples/widgets/graphicsview/graphicsview.pro @@ -18,5 +18,3 @@ contains(DEFINES, QT_NO_CURSOR)|contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles2):{ SUBDIRS += boxes } - -QT += widgets diff --git a/examples/widgets/itemviews/itemviews.pro b/examples/widgets/itemviews/itemviews.pro index 4109e002b6..5d5eef1b0f 100644 --- a/examples/widgets/itemviews/itemviews.pro +++ b/examples/widgets/itemviews/itemviews.pro @@ -18,6 +18,4 @@ SUBDIRS = addressbook \ spinboxdelegate \ spreadsheet \ stardelegate - -QT += widgets contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= puzzle diff --git a/examples/widgets/layouts/layouts.pro b/examples/widgets/layouts/layouts.pro index cfd9b4b01c..c641e8cf7f 100644 --- a/examples/widgets/layouts/layouts.pro +++ b/examples/widgets/layouts/layouts.pro @@ -3,5 +3,3 @@ SUBDIRS = basiclayouts \ borderlayout \ dynamiclayouts \ flowlayout - -QT += widgets diff --git a/examples/widgets/mainwindows/mainwindows.pro b/examples/widgets/mainwindows/mainwindows.pro index 848fdb04df..52179ec9bd 100644 --- a/examples/widgets/mainwindows/mainwindows.pro +++ b/examples/widgets/mainwindows/mainwindows.pro @@ -6,5 +6,3 @@ SUBDIRS = application \ menus \ recentfiles \ sdi - -QT += widgets diff --git a/examples/widgets/painting/painting.pro b/examples/widgets/painting/painting.pro index 145fcdd383..7459dd3e94 100644 --- a/examples/widgets/painting/painting.pro +++ b/examples/widgets/painting/painting.pro @@ -12,8 +12,6 @@ SUBDIRS = basicdrawing \ transformations \ fontsampler -QT += widgets - examples_affine.subdir = affine examples_composition.subdir = composition examples_deform.subdir = deform diff --git a/examples/widgets/tools/echoplugin/echoplugin.pro b/examples/widgets/tools/echoplugin/echoplugin.pro index 685227c6c4..986ba9c9c3 100644 --- a/examples/widgets/tools/echoplugin/echoplugin.pro +++ b/examples/widgets/tools/echoplugin/echoplugin.pro @@ -7,5 +7,3 @@ SUBDIRS = echowindow \ # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/plugandpaintplugins/plugandpaintplugins.pro b/examples/widgets/tools/plugandpaintplugins/plugandpaintplugins.pro index 6f077c952e..e15220c621 100644 --- a/examples/widgets/tools/plugandpaintplugins/plugandpaintplugins.pro +++ b/examples/widgets/tools/plugandpaintplugins/plugandpaintplugins.pro @@ -1,5 +1,3 @@ TEMPLATE = subdirs SUBDIRS = basictools \ extrafilters - -QT += widgets diff --git a/examples/widgets/tools/styleplugin/styleplugin.pro b/examples/widgets/tools/styleplugin/styleplugin.pro index 4df48ae6b4..d7129e724b 100644 --- a/examples/widgets/tools/styleplugin/styleplugin.pro +++ b/examples/widgets/tools/styleplugin/styleplugin.pro @@ -5,5 +5,3 @@ SUBDIRS = stylewindow \ # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tutorials/addressbook-fr/addressbook-fr.pro b/examples/widgets/tutorials/addressbook-fr/addressbook-fr.pro index 50e6e55ac8..8006039ce3 100644 --- a/examples/widgets/tutorials/addressbook-fr/addressbook-fr.pro +++ b/examples/widgets/tutorials/addressbook-fr/addressbook-fr.pro @@ -4,5 +4,4 @@ SUBDIRS = part1 part2 part3 part4 part5 part6 part7 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr INSTALLS += target -QT += widgets diff --git a/examples/widgets/tutorials/addressbook/addressbook.pro b/examples/widgets/tutorials/addressbook/addressbook.pro index 5dd9da5c01..d31424998e 100644 --- a/examples/widgets/tutorials/addressbook/addressbook.pro +++ b/examples/widgets/tutorials/addressbook/addressbook.pro @@ -4,5 +4,3 @@ SUBDIRS = part1 part2 part3 part4 part5 part6 part7 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tutorials/gettingStarted/gettingStarted.pro b/examples/widgets/tutorials/gettingStarted/gettingStarted.pro index b18e6565a6..3e37725410 100644 --- a/examples/widgets/tutorials/gettingStarted/gettingStarted.pro +++ b/examples/widgets/tutorials/gettingStarted/gettingStarted.pro @@ -1,5 +1,4 @@ TEMPLATE = subdirs SUBDIRS += dir_gsqt -QT += widgets dir_gsqt.file = gsQt/gsqt.pro diff --git a/examples/widgets/tutorials/gettingStarted/gsQt/gsqt.pro b/examples/widgets/tutorials/gettingStarted/gsQt/gsqt.pro index 956d78aa6e..320f3c3ee4 100644 --- a/examples/widgets/tutorials/gettingStarted/gsQt/gsqt.pro +++ b/examples/widgets/tutorials/gettingStarted/gsQt/gsqt.pro @@ -5,5 +5,3 @@ SUBDIRS = part1 \ part3 \ part4 \ part5 - -QT += widgets diff --git a/examples/widgets/tutorials/modelview/modelview.pro b/examples/widgets/tutorials/modelview/modelview.pro index b21fe5afdc..9a5548aa30 100644 --- a/examples/widgets/tutorials/modelview/modelview.pro +++ b/examples/widgets/tutorials/modelview/modelview.pro @@ -10,5 +10,3 @@ SUBDIRS = 1_readonly \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tutorials/threads/threads.pro b/examples/widgets/tutorials/threads/threads.pro index a95eccaaa0..4d51120794 100644 --- a/examples/widgets/tutorials/threads/threads.pro +++ b/examples/widgets/tutorials/threads/threads.pro @@ -6,5 +6,3 @@ SUBDIRS = hellothread \ movedobject contains(QT_CONFIG, concurrent): SUBDIRS += helloconcurrent - -QT += widgets diff --git a/examples/widgets/tutorials/widgets/widgets.pro b/examples/widgets/tutorials/widgets/widgets.pro index 41cfa1d7f6..4ab34a8f93 100644 --- a/examples/widgets/tutorials/widgets/widgets.pro +++ b/examples/widgets/tutorials/widgets/widgets.pro @@ -4,4 +4,3 @@ SUBDIRS = toplevel childwidget windowlayout nestedlayouts # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/widgets INSTALLS += target -QT += widgets From 2ac3f92296d16432f2ed3af916271d6848547f36 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2012 21:13:33 +0100 Subject: [PATCH 275/386] clean up example project files, mostly wrt QT+=widgets move QT+=widgets (and printsupport) statements before the install statements, and de-duplicate some cases. also move some TARGET assignments to a more conventional place. Change-Id: I6140d8611680f66c24490e5894e4eb90cae95635 Reviewed-by: Joerg Bornemann --- examples/embedded/flickable/flickable.pro | 3 ++- examples/embedded/raycasting/raycasting.pro | 2 +- examples/gestures/imagegestures/imagegestures.pro | 4 ++-- examples/ipc/sharedmemory/sharedmemory.pro | 4 ++-- .../blockingfortuneclient/blockingfortuneclient.pro | 3 +-- examples/network/broadcastreceiver/broadcastreceiver.pro | 3 +-- examples/network/broadcastsender/broadcastsender.pro | 3 +-- examples/network/fortuneclient/fortuneclient.pro | 3 +-- examples/network/fortuneserver/fortuneserver.pro | 3 +-- examples/network/http/http.pro | 3 +-- examples/network/loopback/loopback.pro | 3 +-- examples/network/multicastreceiver/multicastreceiver.pro | 3 +-- .../threadedfortuneserver/threadedfortuneserver.pro | 3 +-- examples/network/torrent/torrent.pro | 4 +--- examples/qmake/precompile/precompile.pro | 2 +- examples/qtestlib/tutorial1/tutorial1.pro | 5 ++--- examples/qtestlib/tutorial2/tutorial2.pro | 5 ++--- examples/qtestlib/tutorial3/tutorial3.pro | 5 ++--- examples/qtestlib/tutorial4/tutorial4.pro | 5 ++--- examples/qtestlib/tutorial5/tutorial5.pro | 5 ++--- examples/threads/mandelbrot/mandelbrot.pro | 4 ++-- examples/tools/contiguouscache/contiguouscache.pro | 4 ++-- examples/touch/dials/dials.pro | 4 ++-- examples/touch/fingerpaint/fingerpaint.pro | 6 +++--- examples/touch/knobs/knobs.pro | 4 ++-- examples/touch/pinchzoom/pinchzoom.pro | 4 ++-- examples/webkit/webkit-guide/webkit-guide.pro | 2 -- .../widgets/animation/animatedtiles/animatedtiles.pro | 4 ++-- examples/widgets/animation/appchooser/appchooser.pro | 4 ++-- examples/widgets/animation/easing/easing.pro | 5 ++--- examples/widgets/animation/moveblocks/moveblocks.pro | 4 ++-- examples/widgets/animation/states/states.pro | 4 ++-- examples/widgets/animation/stickman/stickman.pro | 4 ++-- examples/widgets/desktop/screenshot/screenshot.pro | 3 ++- examples/widgets/dialogs/classwizard/classwizard.pro | 3 ++- examples/widgets/dialogs/configdialog/configdialog.pro | 3 ++- examples/widgets/dialogs/extension/extension.pro | 3 ++- examples/widgets/dialogs/findfiles/findfiles.pro | 4 ++-- examples/widgets/dialogs/licensewizard/licensewizard.pro | 3 ++- examples/widgets/dialogs/sipdialog/sipdialog.pro | 4 ++-- .../widgets/dialogs/standarddialogs/standarddialogs.pro | 4 ++-- examples/widgets/dialogs/tabdialog/tabdialog.pro | 3 ++- examples/widgets/dialogs/trivialwizard/trivialwizard.pro | 3 ++- .../widgets/draganddrop/draggableicons/draggableicons.pro | 4 ++-- .../widgets/draganddrop/draggabletext/draggabletext.pro | 5 ++--- examples/widgets/draganddrop/dropsite/dropsite.pro | 3 ++- .../widgets/draganddrop/fridgemagnets/fridgemagnets.pro | 5 ++--- examples/widgets/draganddrop/puzzle/puzzle.pro | 3 ++- examples/widgets/effects/blurpicker/blurpicker.pro | 4 ++-- examples/widgets/effects/fademessage/fademessage.pro | 3 ++- examples/widgets/effects/lighting/lighting.pro | 5 ++--- .../widgets/graphicsview/anchorlayout/anchorlayout.pro | 8 ++++---- .../basicgraphicslayouts/basicgraphicslayouts.pro | 4 ++-- .../widgets/graphicsview/collidingmice/collidingmice.pro | 5 ++--- .../widgets/graphicsview/diagramscene/diagramscene.pro | 4 ++-- .../widgets/graphicsview/dragdroprobot/dragdroprobot.pro | 4 ++-- .../widgets/graphicsview/elasticnodes/elasticnodes.pro | 4 ++-- .../graphicsview/embeddeddialogs/embeddeddialogs.pro | 4 ++-- .../simpleanchorlayout/simpleanchorlayout.pro | 7 ++++--- examples/widgets/itemviews/addressbook/addressbook.pro | 4 ++-- .../basicsortfiltermodel/basicsortfiltermodel.pro | 4 ++-- examples/widgets/itemviews/chart/chart.pro | 5 ++--- .../itemviews/coloreditorfactory/coloreditorfactory.pro | 5 ++--- .../itemviews/combowidgetmapper/combowidgetmapper.pro | 3 ++- .../customsortfiltermodel/customsortfiltermodel.pro | 4 ++-- examples/widgets/itemviews/dirview/dirview.pro | 4 ++-- .../itemviews/editabletreemodel/editabletreemodel.pro | 4 ++-- examples/widgets/itemviews/fetchmore/fetchmore.pro | 4 ++-- examples/widgets/itemviews/frozencolumn/frozencolumn.pro | 3 ++- examples/widgets/itemviews/interview/interview.pro | 3 +-- examples/widgets/itemviews/pixelator/pixelator.pro | 6 +++--- examples/widgets/itemviews/puzzle/puzzle.pro | 5 ++--- .../widgets/itemviews/simpletreemodel/simpletreemodel.pro | 4 ++-- .../itemviews/simplewidgetmapper/simplewidgetmapper.pro | 4 ++-- .../widgets/itemviews/spinboxdelegate/spinboxdelegate.pro | 4 ++-- examples/widgets/itemviews/stardelegate/stardelegate.pro | 4 ++-- examples/widgets/layouts/basiclayouts/basiclayouts.pro | 4 ++-- examples/widgets/layouts/borderlayout/borderlayout.pro | 4 ++-- .../widgets/layouts/dynamiclayouts/dynamiclayouts.pro | 4 ++-- examples/widgets/layouts/flowlayout/flowlayout.pro | 4 ++-- examples/widgets/mainwindows/application/application.pro | 4 ++-- examples/widgets/mainwindows/dockwidgets/dockwidgets.pro | 6 +++--- examples/widgets/mainwindows/mainwindow/mainwindow.pro | 4 ++-- examples/widgets/mainwindows/mdi/mdi.pro | 4 ++-- examples/widgets/mainwindows/menus/menus.pro | 4 ++-- examples/widgets/mainwindows/recentfiles/recentfiles.pro | 4 ++-- examples/widgets/mainwindows/sdi/sdi.pro | 4 ++-- examples/widgets/painting/basicdrawing/basicdrawing.pro | 4 ++-- .../painting/concentriccircles/concentriccircles.pro | 5 ++--- examples/widgets/painting/fontsampler/fontsampler.pro | 6 +++--- .../painting/imagecomposition/imagecomposition.pro | 5 ++--- examples/widgets/painting/painterpaths/painterpaths.pro | 5 ++--- examples/widgets/painting/shared/shared.pro | 4 ++-- .../widgets/painting/transformations/transformations.pro | 4 ++-- examples/widgets/richtext/calendar/calendar.pro | 4 ++-- examples/widgets/richtext/orderform/orderform.pro | 6 +++--- .../richtext/syntaxhighlighter/syntaxhighlighter.pro | 4 ++-- examples/widgets/richtext/textedit/textedit.pro | 6 +++--- examples/widgets/scroller/graphicsview/graphicsview.pro | 3 ++- .../statemachine/eventtransitions/eventtransitions.pro | 4 ++-- examples/widgets/statemachine/rogue/rogue.pro | 5 ++--- .../widgets/statemachine/trafficlight/trafficlight.pro | 3 ++- .../widgets/statemachine/twowaybutton/twowaybutton.pro | 3 ++- examples/widgets/tools/codecs/codecs.pro | 4 ++-- examples/widgets/tools/completer/completer.pro | 4 ++-- .../widgets/tools/customcompleter/customcompleter.pro | 4 ++-- .../widgets/tools/echoplugin/echowindow/echowindow.pro | 4 ++-- examples/widgets/tools/echoplugin/plugin/plugin.pro | 3 +-- examples/widgets/tools/i18n/i18n.pro | 4 ++-- examples/widgets/tools/plugandpaint/plugandpaint.pro | 4 ++-- .../tools/plugandpaintplugins/basictools/basictools.pro | 3 +-- .../plugandpaintplugins/extrafilters/extrafilters.pro | 3 +-- examples/widgets/tools/regexp/regexp.pro | 4 ++-- examples/widgets/tools/settingseditor/settingseditor.pro | 4 ++-- examples/widgets/tools/styleplugin/plugin/plugin.pro | 4 +--- .../widgets/tools/styleplugin/stylewindow/stylewindow.pro | 4 ++-- .../tools/treemodelcompleter/treemodelcompleter.pro | 4 ++-- examples/widgets/tools/undo/undo.pro | 4 ++-- examples/widgets/tools/undoframework/undoframework.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part1/part1.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part2/part2.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part3/part3.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part4/part4.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part5/part5.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part6/part6.pro | 4 ++-- examples/widgets/tutorials/addressbook-fr/part7/part7.pro | 4 ++-- examples/widgets/tutorials/addressbook/part1/part1.pro | 4 ++-- examples/widgets/tutorials/addressbook/part2/part2.pro | 4 ++-- examples/widgets/tutorials/addressbook/part3/part3.pro | 4 ++-- examples/widgets/tutorials/addressbook/part4/part4.pro | 4 ++-- examples/widgets/tutorials/addressbook/part5/part5.pro | 4 ++-- examples/widgets/tutorials/addressbook/part6/part6.pro | 4 ++-- examples/widgets/tutorials/addressbook/part7/part7.pro | 4 ++-- .../widgets/tutorials/modelview/1_readonly/1_readonly.pro | 4 ++-- .../tutorials/modelview/2_formatting/2_formatting.pro | 4 ++-- .../modelview/3_changingmodel/3_changingmodel.pro | 4 ++-- .../widgets/tutorials/modelview/4_headers/4_headers.pro | 4 ++-- examples/widgets/tutorials/modelview/5_edit/5_edit.pro | 4 ++-- .../widgets/tutorials/modelview/6_treeview/6_treeview.pro | 3 +-- .../tutorials/modelview/7_selections/7_selections.pro | 3 +-- examples/widgets/tutorials/threads/clock/clock.pro | 4 +--- .../widgets/tutorials/threads/movedobject/movedobject.pro | 3 +-- .../widgets/tutorials/widgets/childwidget/childwidget.pro | 4 ++-- .../tutorials/widgets/nestedlayouts/nestedlayouts.pro | 4 ++-- examples/widgets/tutorials/widgets/toplevel/toplevel.pro | 4 ++-- .../tutorials/widgets/windowlayout/windowlayout.pro | 4 ++-- examples/widgets/widgets/analogclock/analogclock.pro | 5 ++--- examples/widgets/widgets/calculator/calculator.pro | 5 ++--- .../widgets/widgets/calendarwidget/calendarwidget.pro | 4 ++-- examples/widgets/widgets/charactermap/charactermap.pro | 4 ++-- examples/widgets/widgets/codeeditor/codeeditor.pro | 5 ++--- examples/widgets/widgets/digitalclock/digitalclock.pro | 4 ++-- examples/widgets/widgets/groupbox/groupbox.pro | 4 ++-- examples/widgets/widgets/icons/icons.pro | 3 ++- examples/widgets/widgets/imageviewer/imageviewer.pro | 5 +++-- examples/widgets/widgets/lineedits/lineedits.pro | 4 ++-- examples/widgets/widgets/movie/movie.pro | 4 ++-- examples/widgets/widgets/scribble/scribble.pro | 6 +++--- examples/widgets/widgets/shapedclock/shapedclock.pro | 5 ++--- examples/widgets/widgets/sliders/sliders.pro | 4 ++-- examples/widgets/widgets/spinboxes/spinboxes.pro | 4 ++-- examples/widgets/widgets/styles/styles.pro | 4 ++-- examples/widgets/widgets/stylesheet/stylesheet.pro | 4 ++-- examples/widgets/widgets/tablet/tablet.pro | 4 ++-- examples/widgets/widgets/tetrix/tetrix.pro | 5 ++--- examples/widgets/widgets/tooltips/tooltips.pro | 4 ++-- examples/widgets/widgets/wiggly/wiggly.pro | 2 +- examples/widgets/widgets/windowflags/windowflags.pro | 4 ++-- tests/manual/windowgeometry/windowgeometry.pro | 2 +- 169 files changed, 325 insertions(+), 352 deletions(-) diff --git a/examples/embedded/flickable/flickable.pro b/examples/embedded/flickable/flickable.pro index 3bc86c661f..5929207414 100644 --- a/examples/embedded/flickable/flickable.pro +++ b/examples/embedded/flickable/flickable.pro @@ -1,6 +1,7 @@ +QT += widgets + SOURCES = flickable.cpp main.cpp HEADERS = flickable.h target.path = $$[QT_INSTALL_EXAMPLES]/embedded/flickable INSTALLS += target -QT += widgets widgets diff --git a/examples/embedded/raycasting/raycasting.pro b/examples/embedded/raycasting/raycasting.pro index 79b560ffeb..51bf4bf4b0 100644 --- a/examples/embedded/raycasting/raycasting.pro +++ b/examples/embedded/raycasting/raycasting.pro @@ -1,7 +1,7 @@ TEMPLATE = app +QT += widgets SOURCES = raycasting.cpp RESOURCES += raycasting.qrc target.path = $$[QT_INSTALL_EXAMPLES]/embedded/raycasting INSTALLS += target -QT += widgets widgets diff --git a/examples/gestures/imagegestures/imagegestures.pro b/examples/gestures/imagegestures/imagegestures.pro index 7844cc2ea1..c40c29564f 100644 --- a/examples/gestures/imagegestures/imagegestures.pro +++ b/examples/gestures/imagegestures/imagegestures.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = imagewidget.h \ mainwidget.h SOURCES = imagewidget.cpp \ @@ -8,5 +10,3 @@ SOURCES = imagewidget.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/gestures/imagegestures INSTALLS += target -QT += widgets - diff --git a/examples/ipc/sharedmemory/sharedmemory.pro b/examples/ipc/sharedmemory/sharedmemory.pro index f6f2fc3c42..0d25a30b1b 100644 --- a/examples/ipc/sharedmemory/sharedmemory.pro +++ b/examples/ipc/sharedmemory/sharedmemory.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES += main.cpp \ dialog.cpp @@ -12,6 +14,4 @@ EXAMPLE_FILES = *.png target.path = $$[QT_INSTALL_EXAMPLES]/ipc/sharedmemory INSTALLS += target -QT += widgets - simulator: warning(This example does not work on Simulator platform) diff --git a/examples/network/blockingfortuneclient/blockingfortuneclient.pro b/examples/network/blockingfortuneclient/blockingfortuneclient.pro index bcf5346d35..2bd1f78c14 100644 --- a/examples/network/blockingfortuneclient/blockingfortuneclient.pro +++ b/examples/network/blockingfortuneclient/blockingfortuneclient.pro @@ -1,11 +1,10 @@ -QT += widgets +QT += network widgets HEADERS = blockingclient.h \ fortunethread.h SOURCES = blockingclient.cpp \ main.cpp \ fortunethread.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/blockingfortuneclient diff --git a/examples/network/broadcastreceiver/broadcastreceiver.pro b/examples/network/broadcastreceiver/broadcastreceiver.pro index e1708f36da..edadf1c28d 100644 --- a/examples/network/broadcastreceiver/broadcastreceiver.pro +++ b/examples/network/broadcastreceiver/broadcastreceiver.pro @@ -1,9 +1,8 @@ -QT += widgets +QT += network widgets HEADERS = receiver.h SOURCES = receiver.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/broadcastreceiver diff --git a/examples/network/broadcastsender/broadcastsender.pro b/examples/network/broadcastsender/broadcastsender.pro index 611b617471..4c5af7f849 100644 --- a/examples/network/broadcastsender/broadcastsender.pro +++ b/examples/network/broadcastsender/broadcastsender.pro @@ -1,9 +1,8 @@ -QT += widgets +QT += network widgets HEADERS = sender.h SOURCES = sender.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/broadcastsender diff --git a/examples/network/fortuneclient/fortuneclient.pro b/examples/network/fortuneclient/fortuneclient.pro index b921941da3..8b376d9c53 100644 --- a/examples/network/fortuneclient/fortuneclient.pro +++ b/examples/network/fortuneclient/fortuneclient.pro @@ -1,9 +1,8 @@ -QT += widgets +QT += network widgets HEADERS = client.h SOURCES = client.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/fortuneclient diff --git a/examples/network/fortuneserver/fortuneserver.pro b/examples/network/fortuneserver/fortuneserver.pro index cfcf680f81..8c8ad3f0d3 100644 --- a/examples/network/fortuneserver/fortuneserver.pro +++ b/examples/network/fortuneserver/fortuneserver.pro @@ -1,9 +1,8 @@ -QT += widgets +QT += network widgets HEADERS = server.h SOURCES = server.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/fortuneserver diff --git a/examples/network/http/http.pro b/examples/network/http/http.pro index 1543584cf5..2f2d3b00ae 100644 --- a/examples/network/http/http.pro +++ b/examples/network/http/http.pro @@ -1,10 +1,9 @@ -QT += widgets +QT += network widgets HEADERS += httpwindow.h SOURCES += httpwindow.cpp \ main.cpp FORMS += authenticationdialog.ui -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/http diff --git a/examples/network/loopback/loopback.pro b/examples/network/loopback/loopback.pro index c7b8d060b8..14b22daa57 100644 --- a/examples/network/loopback/loopback.pro +++ b/examples/network/loopback/loopback.pro @@ -1,9 +1,8 @@ -QT += widgets +QT += network widgets HEADERS = dialog.h SOURCES = dialog.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/loopback diff --git a/examples/network/multicastreceiver/multicastreceiver.pro b/examples/network/multicastreceiver/multicastreceiver.pro index bbba25a626..6906fc6cb5 100644 --- a/examples/network/multicastreceiver/multicastreceiver.pro +++ b/examples/network/multicastreceiver/multicastreceiver.pro @@ -1,9 +1,8 @@ -QT += widgets +QT += network widgets HEADERS = receiver.h SOURCES = receiver.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/multicastreceiver diff --git a/examples/network/threadedfortuneserver/threadedfortuneserver.pro b/examples/network/threadedfortuneserver/threadedfortuneserver.pro index cb6be41d33..2538701b94 100644 --- a/examples/network/threadedfortuneserver/threadedfortuneserver.pro +++ b/examples/network/threadedfortuneserver/threadedfortuneserver.pro @@ -1,4 +1,4 @@ -QT += widgets +QT += network widgets HEADERS = dialog.h \ fortuneserver.h \ @@ -7,7 +7,6 @@ SOURCES = dialog.cpp \ fortuneserver.cpp \ fortunethread.cpp \ main.cpp -QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/threadedfortuneserver diff --git a/examples/network/torrent/torrent.pro b/examples/network/torrent/torrent.pro index a080ec07e2..76887ae649 100644 --- a/examples/network/torrent/torrent.pro +++ b/examples/network/torrent/torrent.pro @@ -1,4 +1,4 @@ -QT += widgets +QT += network widgets HEADERS += addtorrentdialog.h \ bencodeparser.h \ @@ -29,8 +29,6 @@ SOURCES += main.cpp \ FORMS += forms/addtorrentform.ui RESOURCES += icons.qrc -QT += network - # install target.path = $$[QT_INSTALL_EXAMPLES]/network/torrent INSTALLS += target diff --git a/examples/qmake/precompile/precompile.pro b/examples/qmake/precompile/precompile.pro index b51677023a..6a23d82c32 100644 --- a/examples/qmake/precompile/precompile.pro +++ b/examples/qmake/precompile/precompile.pro @@ -8,6 +8,7 @@ TEMPLATE = app LANGUAGE = C++ CONFIG += console precompile_header CONFIG -= app_bundle +QT += widgets # Use Precompiled headers (PCH) PRECOMPILED_HEADER = stable.h @@ -21,4 +22,3 @@ SOURCES = main.cpp \ util.cpp FORMS = mydialog.ui #! [0] -QT += widgets diff --git a/examples/qtestlib/tutorial1/tutorial1.pro b/examples/qtestlib/tutorial1/tutorial1.pro index 8e77a9c5ff..d0d45ceb04 100644 --- a/examples/qtestlib/tutorial1/tutorial1.pro +++ b/examples/qtestlib/tutorial1/tutorial1.pro @@ -1,8 +1,7 @@ +QT += widgets testlib + SOURCES = testqstring.cpp -QT += testlib # install target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial1 INSTALLS += target - -QT += widgets diff --git a/examples/qtestlib/tutorial2/tutorial2.pro b/examples/qtestlib/tutorial2/tutorial2.pro index 58e70d4508..039c047fa8 100644 --- a/examples/qtestlib/tutorial2/tutorial2.pro +++ b/examples/qtestlib/tutorial2/tutorial2.pro @@ -1,8 +1,7 @@ +QT += widgets testlib + SOURCES = testqstring.cpp -QT += testlib # install target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial2 INSTALLS += target - -QT += widgets diff --git a/examples/qtestlib/tutorial3/tutorial3.pro b/examples/qtestlib/tutorial3/tutorial3.pro index 918dbf1187..297b0c9926 100644 --- a/examples/qtestlib/tutorial3/tutorial3.pro +++ b/examples/qtestlib/tutorial3/tutorial3.pro @@ -1,8 +1,7 @@ +QT += widgets testlib + SOURCES = testgui.cpp -QT += testlib # install target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial3 INSTALLS += target - -QT += widgets diff --git a/examples/qtestlib/tutorial4/tutorial4.pro b/examples/qtestlib/tutorial4/tutorial4.pro index f7b40dd4ca..4c1f431563 100644 --- a/examples/qtestlib/tutorial4/tutorial4.pro +++ b/examples/qtestlib/tutorial4/tutorial4.pro @@ -1,8 +1,7 @@ +QT += widgets testlib + SOURCES = testgui.cpp -QT += testlib # install target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial4 INSTALLS += target - -QT += widgets diff --git a/examples/qtestlib/tutorial5/tutorial5.pro b/examples/qtestlib/tutorial5/tutorial5.pro index facb21ea14..8499fd2085 100644 --- a/examples/qtestlib/tutorial5/tutorial5.pro +++ b/examples/qtestlib/tutorial5/tutorial5.pro @@ -1,8 +1,7 @@ +QT += widgets testlib + SOURCES = benchmarking.cpp -QT += testlib # install target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial5 INSTALLS += target - -QT += widgets diff --git a/examples/threads/mandelbrot/mandelbrot.pro b/examples/threads/mandelbrot/mandelbrot.pro index 08c320fff6..45f21baf08 100644 --- a/examples/threads/mandelbrot/mandelbrot.pro +++ b/examples/threads/mandelbrot/mandelbrot.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mandelbrotwidget.h \ renderthread.h SOURCES = main.cpp \ @@ -9,5 +11,3 @@ unix:!mac:!vxworks:!integrity:LIBS += -lm # install target.path = $$[QT_INSTALL_EXAMPLES]/threads/mandelbrot INSTALLS += target - -QT += widgets diff --git a/examples/tools/contiguouscache/contiguouscache.pro b/examples/tools/contiguouscache/contiguouscache.pro index 62cf862795..71130389be 100644 --- a/examples/tools/contiguouscache/contiguouscache.pro +++ b/examples/tools/contiguouscache/contiguouscache.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = randomlistmodel.h SOURCES = randomlistmodel.cpp \ main.cpp @@ -5,7 +7,5 @@ SOURCES = randomlistmodel.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/contiguouscache INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/touch/dials/dials.pro b/examples/touch/dials/dials.pro index 0da1103432..aeba956892 100644 --- a/examples/touch/dials/dials.pro +++ b/examples/touch/dials/dials.pro @@ -1,10 +1,10 @@ +QT += widgets + SOURCES += main.cpp FORMS += dials.ui # install target.path = $$[QT_INSTALL_EXAMPLES]/touch/dials INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/touch/fingerpaint/fingerpaint.pro b/examples/touch/fingerpaint/fingerpaint.pro index a9083b39ca..5093c8ad8d 100644 --- a/examples/touch/fingerpaint/fingerpaint.pro +++ b/examples/touch/fingerpaint/fingerpaint.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + HEADERS = mainwindow.h \ scribblearea.h SOURCES = main.cpp \ @@ -8,7 +11,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/touch/fingerpaint INSTALLS += target -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/touch/knobs/knobs.pro b/examples/touch/knobs/knobs.pro index 7540a4b2cf..6a10a0776f 100644 --- a/examples/touch/knobs/knobs.pro +++ b/examples/touch/knobs/knobs.pro @@ -1,10 +1,10 @@ +QT += widgets + HEADERS = knob.h SOURCES = main.cpp knob.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/touch/knobs INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/touch/pinchzoom/pinchzoom.pro b/examples/touch/pinchzoom/pinchzoom.pro index df7ce246c3..5c101b2f5c 100644 --- a/examples/touch/pinchzoom/pinchzoom.pro +++ b/examples/touch/pinchzoom/pinchzoom.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += \ mouse.h \ graphicsview.h @@ -12,7 +14,5 @@ RESOURCES += \ # install target.path = $$[QT_INSTALL_EXAMPLES]/touch/pinchzoom INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/webkit/webkit-guide/webkit-guide.pro b/examples/webkit/webkit-guide/webkit-guide.pro index 6614b6d52c..a2c2dd4a20 100644 --- a/examples/webkit/webkit-guide/webkit-guide.pro +++ b/examples/webkit/webkit-guide/webkit-guide.pro @@ -254,5 +254,3 @@ js/form_tapper.js \ js/mob_condjs.js \ js/mobile.js \ js/storage.js \ - -QT += widgets diff --git a/examples/widgets/animation/animatedtiles/animatedtiles.pro b/examples/widgets/animation/animatedtiles/animatedtiles.pro index c4e2553224..04c2b8f3d0 100644 --- a/examples/widgets/animation/animatedtiles/animatedtiles.pro +++ b/examples/widgets/animation/animatedtiles/animatedtiles.pro @@ -1,8 +1,8 @@ +QT += widgets + SOURCES = main.cpp RESOURCES = animatedtiles.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/animatedtiles INSTALLS += target - -QT += widgets diff --git a/examples/widgets/animation/appchooser/appchooser.pro b/examples/widgets/animation/appchooser/appchooser.pro index 8560db2c4c..674e623b2d 100644 --- a/examples/widgets/animation/appchooser/appchooser.pro +++ b/examples/widgets/animation/appchooser/appchooser.pro @@ -1,8 +1,8 @@ +QT += widgets + SOURCES = main.cpp RESOURCES = appchooser.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/appchooser INSTALLS += target - -QT += widgets diff --git a/examples/widgets/animation/easing/easing.pro b/examples/widgets/animation/easing/easing.pro index 0e430df1ba..498180c0bb 100644 --- a/examples/widgets/animation/easing/easing.pro +++ b/examples/widgets/animation/easing/easing.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h \ animation.h SOURCES = main.cpp \ @@ -10,6 +12,3 @@ RESOURCES = easing.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/easing INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/animation/moveblocks/moveblocks.pro b/examples/widgets/animation/moveblocks/moveblocks.pro index 2992315064..1397246b3f 100644 --- a/examples/widgets/animation/moveblocks/moveblocks.pro +++ b/examples/widgets/animation/moveblocks/moveblocks.pro @@ -1,7 +1,7 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/moveblocks INSTALLS += target - -QT += widgets diff --git a/examples/widgets/animation/states/states.pro b/examples/widgets/animation/states/states.pro index 563160ce9f..491d557a8d 100644 --- a/examples/widgets/animation/states/states.pro +++ b/examples/widgets/animation/states/states.pro @@ -1,8 +1,8 @@ +QT += widgets + SOURCES += main.cpp RESOURCES += states.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/states INSTALLS += target - -QT += widgets diff --git a/examples/widgets/animation/stickman/stickman.pro b/examples/widgets/animation/stickman/stickman.pro index 145a9a18f9..a803acf624 100644 --- a/examples/widgets/animation/stickman/stickman.pro +++ b/examples/widgets/animation/stickman/stickman.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += stickman.h \ animation.h \ node.h \ @@ -17,5 +19,3 @@ RESOURCES += stickman.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/stickman INSTALLS += target - -QT += widgets diff --git a/examples/widgets/desktop/screenshot/screenshot.pro b/examples/widgets/desktop/screenshot/screenshot.pro index 31ea646af0..f12bc82ca7 100644 --- a/examples/widgets/desktop/screenshot/screenshot.pro +++ b/examples/widgets/desktop/screenshot/screenshot.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = screenshot.h SOURCES = main.cpp \ screenshot.cpp @@ -6,5 +8,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/desktop/screenshot INSTALLS += target -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/dialogs/classwizard/classwizard.pro b/examples/widgets/dialogs/classwizard/classwizard.pro index 9b272b9d3f..5226b38b7c 100644 --- a/examples/widgets/dialogs/classwizard/classwizard.pro +++ b/examples/widgets/dialogs/classwizard/classwizard.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = classwizard.h SOURCES = classwizard.cpp \ main.cpp @@ -7,5 +9,4 @@ RESOURCES = classwizard.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/classwizard INSTALLS += target -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/dialogs/configdialog/configdialog.pro b/examples/widgets/dialogs/configdialog/configdialog.pro index 616b5fd650..6e5b1e2725 100644 --- a/examples/widgets/dialogs/configdialog/configdialog.pro +++ b/examples/widgets/dialogs/configdialog/configdialog.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = configdialog.h \ pages.h SOURCES = configdialog.cpp \ @@ -11,5 +13,4 @@ INSTALLS += target wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/dialogs/extension/extension.pro b/examples/widgets/dialogs/extension/extension.pro index e7cf493128..327eeff1f3 100644 --- a/examples/widgets/dialogs/extension/extension.pro +++ b/examples/widgets/dialogs/extension/extension.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = finddialog.h SOURCES = finddialog.cpp \ main.cpp @@ -6,5 +8,4 @@ SOURCES = finddialog.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/extension INSTALLS += target -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/dialogs/findfiles/findfiles.pro b/examples/widgets/dialogs/findfiles/findfiles.pro index f02ec69e4c..2dd058ac5c 100644 --- a/examples/widgets/dialogs/findfiles/findfiles.pro +++ b/examples/widgets/dialogs/findfiles/findfiles.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -5,5 +7,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/findfiles INSTALLS += target - -QT += widgets diff --git a/examples/widgets/dialogs/licensewizard/licensewizard.pro b/examples/widgets/dialogs/licensewizard/licensewizard.pro index 4bcfdad384..8a4b251737 100644 --- a/examples/widgets/dialogs/licensewizard/licensewizard.pro +++ b/examples/widgets/dialogs/licensewizard/licensewizard.pro @@ -1,3 +1,5 @@ +QT += widgets printsupport + HEADERS = licensewizard.h SOURCES = licensewizard.cpp \ main.cpp @@ -7,5 +9,4 @@ RESOURCES = licensewizard.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/licensewizard INSTALLS += target -QT += widgets printsupport simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/dialogs/sipdialog/sipdialog.pro b/examples/widgets/dialogs/sipdialog/sipdialog.pro index 5e24335e8c..a7c82a0ebc 100644 --- a/examples/widgets/dialogs/sipdialog/sipdialog.pro +++ b/examples/widgets/dialogs/sipdialog/sipdialog.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = dialog.h SOURCES = main.cpp \ dialog.cpp @@ -8,6 +10,4 @@ INSTALLS += target wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/dialogs/standarddialogs/standarddialogs.pro b/examples/widgets/dialogs/standarddialogs/standarddialogs.pro index 89d0ad9a39..12a814cb69 100644 --- a/examples/widgets/dialogs/standarddialogs/standarddialogs.pro +++ b/examples/widgets/dialogs/standarddialogs/standarddialogs.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = dialog.h SOURCES = dialog.cpp \ main.cpp @@ -7,5 +9,3 @@ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/standarddialogs INSTALLS += target wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib - -QT += widgets diff --git a/examples/widgets/dialogs/tabdialog/tabdialog.pro b/examples/widgets/dialogs/tabdialog/tabdialog.pro index 656c661844..c282505ac1 100644 --- a/examples/widgets/dialogs/tabdialog/tabdialog.pro +++ b/examples/widgets/dialogs/tabdialog/tabdialog.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = tabdialog.h SOURCES = main.cpp \ tabdialog.cpp @@ -7,4 +9,3 @@ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/tabdialog INSTALLS += target wince50standard-x86-msvc2005: LIBS += libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib ws2.lib -QT += widgets diff --git a/examples/widgets/dialogs/trivialwizard/trivialwizard.pro b/examples/widgets/dialogs/trivialwizard/trivialwizard.pro index 63831e8576..d85826132c 100644 --- a/examples/widgets/dialogs/trivialwizard/trivialwizard.pro +++ b/examples/widgets/dialogs/trivialwizard/trivialwizard.pro @@ -1,8 +1,9 @@ +QT += widgets + SOURCES = trivialwizard.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/trivialwizard INSTALLS += target -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/draganddrop/draggableicons/draggableicons.pro b/examples/widgets/draganddrop/draggableicons/draggableicons.pro index 194814a8c8..f87ec4ad60 100644 --- a/examples/widgets/draganddrop/draggableicons/draggableicons.pro +++ b/examples/widgets/draganddrop/draggableicons/draggableicons.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = dragwidget.h RESOURCES = draggableicons.qrc SOURCES = dragwidget.cpp \ @@ -6,5 +8,3 @@ SOURCES = dragwidget.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/draggableicons INSTALLS += target - -QT += widgets diff --git a/examples/widgets/draganddrop/draggabletext/draggabletext.pro b/examples/widgets/draganddrop/draggabletext/draggabletext.pro index 1eb579a2bd..2815be1613 100644 --- a/examples/widgets/draganddrop/draggabletext/draggabletext.pro +++ b/examples/widgets/draganddrop/draggabletext/draggabletext.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = draglabel.h \ dragwidget.h RESOURCES = draggabletext.qrc @@ -8,6 +10,3 @@ SOURCES = draglabel.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/draggabletext INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/draganddrop/dropsite/dropsite.pro b/examples/widgets/draganddrop/dropsite/dropsite.pro index 008030be85..9496cc4940 100644 --- a/examples/widgets/draganddrop/dropsite/dropsite.pro +++ b/examples/widgets/draganddrop/dropsite/dropsite.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = droparea.h \ dropsitewindow.h SOURCES = droparea.cpp \ @@ -8,5 +10,4 @@ SOURCES = droparea.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/dropsite INSTALLS += target -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro b/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro index 350dee6561..2c3165d1c5 100644 --- a/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro +++ b/examples/widgets/draganddrop/fridgemagnets/fridgemagnets.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = draglabel.h \ dragwidget.h RESOURCES = fridgemagnets.qrc @@ -8,6 +10,3 @@ SOURCES = draglabel.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/fridgemagnets INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/draganddrop/puzzle/puzzle.pro b/examples/widgets/draganddrop/puzzle/puzzle.pro index 4d85778073..95008fc29b 100644 --- a/examples/widgets/draganddrop/puzzle/puzzle.pro +++ b/examples/widgets/draganddrop/puzzle/puzzle.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ pieceslist.h \ puzzlewidget.h @@ -18,4 +20,3 @@ wince*: { addFile.path = . DEPLOYMENT += addFile } -QT += widgets diff --git a/examples/widgets/effects/blurpicker/blurpicker.pro b/examples/widgets/effects/blurpicker/blurpicker.pro index 1d232190ac..c570ac3b98 100644 --- a/examples/widgets/effects/blurpicker/blurpicker.pro +++ b/examples/widgets/effects/blurpicker/blurpicker.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES += main.cpp blurpicker.cpp blureffect.cpp HEADERS += blurpicker.h blureffect.h RESOURCES += blurpicker.qrc @@ -5,5 +7,3 @@ RESOURCES += blurpicker.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/effects/blurpicker INSTALLS += target -QT += widgets - diff --git a/examples/widgets/effects/fademessage/fademessage.pro b/examples/widgets/effects/fademessage/fademessage.pro index ff860af4f1..727181e1a1 100644 --- a/examples/widgets/effects/fademessage/fademessage.pro +++ b/examples/widgets/effects/fademessage/fademessage.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES += main.cpp fademessage.cpp HEADERS += fademessage.h RESOURCES += fademessage.qrc @@ -6,5 +8,4 @@ RESOURCES += fademessage.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/effects/fademessage INSTALLS += target -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/effects/lighting/lighting.pro b/examples/widgets/effects/lighting/lighting.pro index 5450b62093..0a3b397de5 100644 --- a/examples/widgets/effects/lighting/lighting.pro +++ b/examples/widgets/effects/lighting/lighting.pro @@ -1,9 +1,8 @@ +QT += widgets + SOURCES += main.cpp lighting.cpp HEADERS += lighting.h # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/effects/lighting INSTALLS += target -QT += widgets - - diff --git a/examples/widgets/graphicsview/anchorlayout/anchorlayout.pro b/examples/widgets/graphicsview/anchorlayout/anchorlayout.pro index bc396226c8..fbfeaac049 100644 --- a/examples/widgets/graphicsview/anchorlayout/anchorlayout.pro +++ b/examples/widgets/graphicsview/anchorlayout/anchorlayout.pro @@ -1,11 +1,11 @@ +TARGET = anchorlayout + +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/anchorlayout INSTALLS += target -TARGET = anchorlayout -QT += widgets - - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro b/examples/widgets/graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro index 59abd2b405..46fce9b97a 100644 --- a/examples/widgets/graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro +++ b/examples/widgets/graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = layoutitem.h \ window.h SOURCES = layoutitem.cpp \ @@ -8,5 +10,3 @@ RESOURCES = basicgraphicslayouts.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/basicgraphicslayouts INSTALLS += target - -QT += widgets diff --git a/examples/widgets/graphicsview/collidingmice/collidingmice.pro b/examples/widgets/graphicsview/collidingmice/collidingmice.pro index 0337b6da4a..c96e3dad79 100644 --- a/examples/widgets/graphicsview/collidingmice/collidingmice.pro +++ b/examples/widgets/graphicsview/collidingmice/collidingmice.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += \ mouse.h SOURCES += \ @@ -10,6 +12,3 @@ RESOURCES += \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/collidingmice INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/graphicsview/diagramscene/diagramscene.pro b/examples/widgets/graphicsview/diagramscene/diagramscene.pro index ac70e7af17..0c769a0f74 100644 --- a/examples/widgets/graphicsview/diagramscene/diagramscene.pro +++ b/examples/widgets/graphicsview/diagramscene/diagramscene.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ diagramitem.h \ diagramscene.h \ @@ -16,6 +18,4 @@ RESOURCES = diagramscene.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/diagramscene INSTALLS += target - -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/graphicsview/dragdroprobot/dragdroprobot.pro b/examples/widgets/graphicsview/dragdroprobot/dragdroprobot.pro index 4f8cebc755..8e4197c965 100644 --- a/examples/widgets/graphicsview/dragdroprobot/dragdroprobot.pro +++ b/examples/widgets/graphicsview/dragdroprobot/dragdroprobot.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += \ coloritem.h \ robot.h @@ -15,6 +17,4 @@ RESOURCES += \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/dragdroprobot INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/graphicsview/elasticnodes/elasticnodes.pro b/examples/widgets/graphicsview/elasticnodes/elasticnodes.pro index 71ac21ffe9..419fdad617 100644 --- a/examples/widgets/graphicsview/elasticnodes/elasticnodes.pro +++ b/examples/widgets/graphicsview/elasticnodes/elasticnodes.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += \ edge.h \ node.h \ @@ -12,5 +14,3 @@ SOURCES += \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/elasticnodes INSTALLS += target - -QT += widgets diff --git a/examples/widgets/graphicsview/embeddeddialogs/embeddeddialogs.pro b/examples/widgets/graphicsview/embeddeddialogs/embeddeddialogs.pro index dd01312788..993a5f22b7 100644 --- a/examples/widgets/graphicsview/embeddeddialogs/embeddeddialogs.pro +++ b/examples/widgets/graphicsview/embeddeddialogs/embeddeddialogs.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES += main.cpp SOURCES += customproxy.cpp embeddeddialog.cpp HEADERS += customproxy.h embeddeddialog.h @@ -13,5 +15,3 @@ build_all:!build_pass { # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/embeddeddialogs INSTALLS += target - -QT += widgets diff --git a/examples/widgets/graphicsview/simpleanchorlayout/simpleanchorlayout.pro b/examples/widgets/graphicsview/simpleanchorlayout/simpleanchorlayout.pro index c8c992adbe..59e37ff64f 100644 --- a/examples/widgets/graphicsview/simpleanchorlayout/simpleanchorlayout.pro +++ b/examples/widgets/graphicsview/simpleanchorlayout/simpleanchorlayout.pro @@ -1,10 +1,11 @@ +TARGET = simpleanchorlayout + +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/simpleanchorlayout INSTALLS += target -TARGET = simpleanchorlayout -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/itemviews/addressbook/addressbook.pro b/examples/widgets/itemviews/addressbook/addressbook.pro index 0d421cb3e3..5e2f1bcbbc 100644 --- a/examples/widgets/itemviews/addressbook/addressbook.pro +++ b/examples/widgets/itemviews/addressbook/addressbook.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = adddialog.cpp \ addresswidget.cpp \ main.cpp \ @@ -13,5 +15,3 @@ HEADERS = adddialog.h \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/addressbook INSTALLS += target -QT += widgets - diff --git a/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro b/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro index 7390cec23f..2469a4ef20 100644 --- a/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro +++ b/examples/widgets/itemviews/basicsortfiltermodel/basicsortfiltermodel.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -5,5 +7,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/basicsortfiltermodel INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/chart/chart.pro b/examples/widgets/itemviews/chart/chart.pro index 927c469e88..caa28276bc 100644 --- a/examples/widgets/itemviews/chart/chart.pro +++ b/examples/widgets/itemviews/chart/chart.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ pieview.h RESOURCES = chart.qrc @@ -9,6 +11,3 @@ unix:!mac:!vxworks:!integrity:LIBS+= -lm # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/chart INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/itemviews/coloreditorfactory/coloreditorfactory.pro b/examples/widgets/itemviews/coloreditorfactory/coloreditorfactory.pro index 4c16a6fbc1..82cb264ddd 100644 --- a/examples/widgets/itemviews/coloreditorfactory/coloreditorfactory.pro +++ b/examples/widgets/itemviews/coloreditorfactory/coloreditorfactory.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = colorlisteditor.h \ window.h SOURCES = colorlisteditor.cpp \ @@ -7,6 +9,3 @@ SOURCES = colorlisteditor.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/coloreditorfactory INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/itemviews/combowidgetmapper/combowidgetmapper.pro b/examples/widgets/itemviews/combowidgetmapper/combowidgetmapper.pro index a093f88e88..37f82fa5ae 100644 --- a/examples/widgets/itemviews/combowidgetmapper/combowidgetmapper.pro +++ b/examples/widgets/itemviews/combowidgetmapper/combowidgetmapper.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -5,5 +7,4 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/combowidgetmapper INSTALLS += target -QT += widgets diff --git a/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro b/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro index 488a755b9d..b722e606d3 100644 --- a/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro +++ b/examples/widgets/itemviews/customsortfiltermodel/customsortfiltermodel.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mysortfilterproxymodel.h \ window.h SOURCES = main.cpp \ @@ -7,5 +9,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/customsortfiltermodel INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/dirview/dirview.pro b/examples/widgets/itemviews/dirview/dirview.pro index 0c1cd92a58..511ec0ed98 100644 --- a/examples/widgets/itemviews/dirview/dirview.pro +++ b/examples/widgets/itemviews/dirview/dirview.pro @@ -1,7 +1,7 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/dirview INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro index a83b6fc5bf..a6c1e5563f 100644 --- a/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro +++ b/examples/widgets/itemviews/editabletreemodel/editabletreemodel.pro @@ -1,3 +1,5 @@ +QT += widgets + FORMS = mainwindow.ui HEADERS = mainwindow.h \ treeitem.h \ @@ -11,5 +13,3 @@ SOURCES = mainwindow.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/editabletreemodel INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/fetchmore/fetchmore.pro b/examples/widgets/itemviews/fetchmore/fetchmore.pro index 67006de9c7..eb4275da19 100644 --- a/examples/widgets/itemviews/fetchmore/fetchmore.pro +++ b/examples/widgets/itemviews/fetchmore/fetchmore.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = filelistmodel.h \ window.h SOURCES = filelistmodel.cpp \ @@ -7,5 +9,3 @@ SOURCES = filelistmodel.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/fetchmore INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/frozencolumn/frozencolumn.pro b/examples/widgets/itemviews/frozencolumn/frozencolumn.pro index 00247b71c7..717ba40a9d 100644 --- a/examples/widgets/itemviews/frozencolumn/frozencolumn.pro +++ b/examples/widgets/itemviews/frozencolumn/frozencolumn.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += freezetablewidget.h SOURCES += main.cpp freezetablewidget.cpp RESOURCES += grades.qrc @@ -5,5 +7,4 @@ RESOURCES += grades.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/frozencolumn INSTALLS += target -QT += widgets diff --git a/examples/widgets/itemviews/interview/interview.pro b/examples/widgets/itemviews/interview/interview.pro index a61d77613c..0e480e939c 100644 --- a/examples/widgets/itemviews/interview/interview.pro +++ b/examples/widgets/itemviews/interview/interview.pro @@ -1,4 +1,5 @@ TEMPLATE = app +QT += widgets HEADERS += model.h SOURCES += model.cpp main.cpp @@ -12,5 +13,3 @@ build_all:!build_pass { # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/interview INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/pixelator/pixelator.pro b/examples/widgets/itemviews/pixelator/pixelator.pro index 37e54f937a..b844e7c3a4 100644 --- a/examples/widgets/itemviews/pixelator/pixelator.pro +++ b/examples/widgets/itemviews/pixelator/pixelator.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + HEADERS = imagemodel.h \ mainwindow.h \ pixeldelegate.h @@ -10,6 +13,3 @@ RESOURCES += images.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/pixelator INSTALLS += target - -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport diff --git a/examples/widgets/itemviews/puzzle/puzzle.pro b/examples/widgets/itemviews/puzzle/puzzle.pro index a05ad83f79..a5379293ff 100644 --- a/examples/widgets/itemviews/puzzle/puzzle.pro +++ b/examples/widgets/itemviews/puzzle/puzzle.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ piecesmodel.h \ puzzlewidget.h @@ -15,6 +17,3 @@ INSTALLS += target wince* { DEPLOYMENT_PLUGIN += qjpeg qgif } - -QT += widgets - diff --git a/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro index 674b8e8c68..82484c9971 100644 --- a/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro +++ b/examples/widgets/itemviews/simpletreemodel/simpletreemodel.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = treeitem.h \ treemodel.h RESOURCES = simpletreemodel.qrc @@ -8,5 +10,3 @@ SOURCES = treeitem.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpletreemodel INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/simplewidgetmapper/simplewidgetmapper.pro b/examples/widgets/itemviews/simplewidgetmapper/simplewidgetmapper.pro index c19cb0eef8..1d5cca3f01 100644 --- a/examples/widgets/itemviews/simplewidgetmapper/simplewidgetmapper.pro +++ b/examples/widgets/itemviews/simplewidgetmapper/simplewidgetmapper.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -5,5 +7,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simplewidgetmapper INSTALLS += target - -QT += widgets diff --git a/examples/widgets/itemviews/spinboxdelegate/spinboxdelegate.pro b/examples/widgets/itemviews/spinboxdelegate/spinboxdelegate.pro index c156a4f425..92f6b9d712 100644 --- a/examples/widgets/itemviews/spinboxdelegate/spinboxdelegate.pro +++ b/examples/widgets/itemviews/spinboxdelegate/spinboxdelegate.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = delegate.h SOURCES = delegate.cpp \ main.cpp @@ -6,6 +8,4 @@ SOURCES = delegate.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/spinboxdelegate INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/itemviews/stardelegate/stardelegate.pro b/examples/widgets/itemviews/stardelegate/stardelegate.pro index 13c260d268..fefb8b5b95 100644 --- a/examples/widgets/itemviews/stardelegate/stardelegate.pro +++ b/examples/widgets/itemviews/stardelegate/stardelegate.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = stardelegate.h \ stareditor.h \ starrating.h @@ -10,6 +12,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/stardelegate INSTALLS += target - -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/layouts/basiclayouts/basiclayouts.pro b/examples/widgets/layouts/basiclayouts/basiclayouts.pro index cfa8594516..bc53b27782 100644 --- a/examples/widgets/layouts/basiclayouts/basiclayouts.pro +++ b/examples/widgets/layouts/basiclayouts/basiclayouts.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = dialog.h SOURCES = dialog.cpp \ main.cpp @@ -6,6 +8,4 @@ SOURCES = dialog.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/layouts/basiclayouts INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/layouts/borderlayout/borderlayout.pro b/examples/widgets/layouts/borderlayout/borderlayout.pro index 2b7d55919a..53c9647bd7 100644 --- a/examples/widgets/layouts/borderlayout/borderlayout.pro +++ b/examples/widgets/layouts/borderlayout/borderlayout.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = borderlayout.h \ window.h SOURCES = borderlayout.cpp \ @@ -7,5 +9,3 @@ SOURCES = borderlayout.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/layouts/borderlayout INSTALLS += target - -QT += widgets diff --git a/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pro b/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pro index 293137c426..8424799ca3 100644 --- a/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pro +++ b/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = dialog.h SOURCES = dialog.cpp \ main.cpp @@ -6,6 +8,4 @@ SOURCES = dialog.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/layouts/dynamiclayouts INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/layouts/flowlayout/flowlayout.pro b/examples/widgets/layouts/flowlayout/flowlayout.pro index bd977f2a0e..a0cfd409bb 100644 --- a/examples/widgets/layouts/flowlayout/flowlayout.pro +++ b/examples/widgets/layouts/flowlayout/flowlayout.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = flowlayout.h \ window.h SOURCES = flowlayout.cpp \ @@ -7,5 +9,3 @@ SOURCES = flowlayout.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/layouts/flowlayout INSTALLS += target - -QT += widgets diff --git a/examples/widgets/mainwindows/application/application.pro b/examples/widgets/mainwindows/application/application.pro index f202a60979..652cc73485 100644 --- a/examples/widgets/mainwindows/application/application.pro +++ b/examples/widgets/mainwindows/application/application.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h SOURCES = main.cpp \ mainwindow.cpp @@ -9,6 +11,4 @@ RESOURCES = application.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/application INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro b/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro index ec3a5813e1..4bccf49399 100644 --- a/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro +++ b/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + HEADERS = mainwindow.h SOURCES = main.cpp \ mainwindow.cpp @@ -7,7 +10,4 @@ RESOURCES = dockwidgets.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/dockwidgets INSTALLS += target -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/mainwindows/mainwindow/mainwindow.pro b/examples/widgets/mainwindows/mainwindow/mainwindow.pro index 2bef5f0b71..bf92d0e3ca 100644 --- a/examples/widgets/mainwindows/mainwindow/mainwindow.pro +++ b/examples/widgets/mainwindows/mainwindow/mainwindow.pro @@ -1,4 +1,6 @@ TEMPLATE = app +QT += widgets + HEADERS += colorswatch.h mainwindow.h toolbar.h SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp build_all:!build_pass { @@ -11,5 +13,3 @@ RESOURCES += mainwindow.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/mainwindow INSTALLS += target - -QT += widgets diff --git a/examples/widgets/mainwindows/mdi/mdi.pro b/examples/widgets/mainwindows/mdi/mdi.pro index 786bbd3569..9f8ed1184a 100644 --- a/examples/widgets/mainwindows/mdi/mdi.pro +++ b/examples/widgets/mainwindows/mdi/mdi.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ mdichild.h SOURCES = main.cpp \ @@ -9,6 +11,4 @@ RESOURCES = mdi.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/mdi INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/mainwindows/menus/menus.pro b/examples/widgets/mainwindows/menus/menus.pro index 1ac5df4a3b..9be318759c 100644 --- a/examples/widgets/mainwindows/menus/menus.pro +++ b/examples/widgets/mainwindows/menus/menus.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h SOURCES = mainwindow.cpp \ main.cpp @@ -5,5 +7,3 @@ SOURCES = mainwindow.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/menus INSTALLS += target - -QT += widgets diff --git a/examples/widgets/mainwindows/recentfiles/recentfiles.pro b/examples/widgets/mainwindows/recentfiles/recentfiles.pro index 4ab5a6820e..898ebd7842 100644 --- a/examples/widgets/mainwindows/recentfiles/recentfiles.pro +++ b/examples/widgets/mainwindows/recentfiles/recentfiles.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h SOURCES = main.cpp \ mainwindow.cpp @@ -6,6 +8,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/recentfiles INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/mainwindows/sdi/sdi.pro b/examples/widgets/mainwindows/sdi/sdi.pro index 30ae4f5f3d..7d46b327e7 100644 --- a/examples/widgets/mainwindows/sdi/sdi.pro +++ b/examples/widgets/mainwindows/sdi/sdi.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h SOURCES = main.cpp \ mainwindow.cpp @@ -7,6 +9,4 @@ RESOURCES = sdi.qrc target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/sdi INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/painting/basicdrawing/basicdrawing.pro b/examples/widgets/painting/basicdrawing/basicdrawing.pro index 52ee0d4402..a7b3cff9cd 100644 --- a/examples/widgets/painting/basicdrawing/basicdrawing.pro +++ b/examples/widgets/painting/basicdrawing/basicdrawing.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = renderarea.h \ window.h SOURCES = main.cpp \ @@ -8,5 +10,3 @@ RESOURCES = basicdrawing.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/basicdrawing INSTALLS += target - -QT += widgets diff --git a/examples/widgets/painting/concentriccircles/concentriccircles.pro b/examples/widgets/painting/concentriccircles/concentriccircles.pro index 9690465d46..844c01a9c2 100644 --- a/examples/widgets/painting/concentriccircles/concentriccircles.pro +++ b/examples/widgets/painting/concentriccircles/concentriccircles.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = circlewidget.h \ window.h SOURCES = circlewidget.cpp \ @@ -7,6 +9,3 @@ SOURCES = circlewidget.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/concentriccircles INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/painting/fontsampler/fontsampler.pro b/examples/widgets/painting/fontsampler/fontsampler.pro index c32fc40572..8325da0175 100644 --- a/examples/widgets/painting/fontsampler/fontsampler.pro +++ b/examples/widgets/painting/fontsampler/fontsampler.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + FORMS = mainwindowbase.ui HEADERS = mainwindow.h SOURCES = main.cpp \ @@ -6,6 +9,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/fontsampler INSTALLS += target - -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport diff --git a/examples/widgets/painting/imagecomposition/imagecomposition.pro b/examples/widgets/painting/imagecomposition/imagecomposition.pro index ce23c601f5..42c70471c1 100644 --- a/examples/widgets/painting/imagecomposition/imagecomposition.pro +++ b/examples/widgets/painting/imagecomposition/imagecomposition.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = imagecomposer.h SOURCES = imagecomposer.cpp \ main.cpp @@ -6,6 +8,3 @@ RESOURCES = imagecomposition.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/imagecomposition INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/painting/painterpaths/painterpaths.pro b/examples/widgets/painting/painterpaths/painterpaths.pro index 560e84a267..2d2db30739 100644 --- a/examples/widgets/painting/painterpaths/painterpaths.pro +++ b/examples/widgets/painting/painterpaths/painterpaths.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = renderarea.h \ window.h SOURCES = main.cpp \ @@ -8,6 +10,3 @@ unix:!mac:!vxworks:!integrity:LIBS += -lm # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/painterpaths INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/painting/shared/shared.pro b/examples/widgets/painting/shared/shared.pro index 2a71c7d487..42b474a946 100644 --- a/examples/widgets/painting/shared/shared.pro +++ b/examples/widgets/painting/shared/shared.pro @@ -3,15 +3,15 @@ CONFIG += static contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { DEFINES += QT_OPENGL_SUPPORT - QT += opengl widgets + QT += opengl } +QT += widgets build_all:!build_pass { CONFIG -= build_all CONFIG += release } TARGET = demo_shared -QT += widgets SOURCES += \ arthurstyle.cpp\ diff --git a/examples/widgets/painting/transformations/transformations.pro b/examples/widgets/painting/transformations/transformations.pro index 72f42046db..3f5398a228 100644 --- a/examples/widgets/painting/transformations/transformations.pro +++ b/examples/widgets/painting/transformations/transformations.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = renderarea.h \ window.h SOURCES = main.cpp \ @@ -7,5 +9,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/transformations INSTALLS += target - -QT += widgets diff --git a/examples/widgets/richtext/calendar/calendar.pro b/examples/widgets/richtext/calendar/calendar.pro index d98b08a368..5adb99aac3 100644 --- a/examples/widgets/richtext/calendar/calendar.pro +++ b/examples/widgets/richtext/calendar/calendar.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h SOURCES = main.cpp \ mainwindow.cpp @@ -5,5 +7,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/calendar INSTALLS += target - -QT += widgets diff --git a/examples/widgets/richtext/orderform/orderform.pro b/examples/widgets/richtext/orderform/orderform.pro index 72ba3a1d25..1477d6ecab 100644 --- a/examples/widgets/richtext/orderform/orderform.pro +++ b/examples/widgets/richtext/orderform/orderform.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + HEADERS = detailsdialog.h \ mainwindow.h SOURCES = detailsdialog.cpp \ @@ -7,6 +10,3 @@ SOURCES = detailsdialog.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/orderform INSTALLS += target - -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport diff --git a/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.pro b/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.pro index e968c1168a..640f36f9b8 100644 --- a/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.pro +++ b/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = highlighter.h \ mainwindow.h SOURCES = highlighter.cpp \ @@ -14,5 +16,3 @@ wince*: { addFiles.path = . DEPLOYMENT += addFiles } -QT += widgets - diff --git a/examples/widgets/richtext/textedit/textedit.pro b/examples/widgets/richtext/textedit/textedit.pro index fb99e0ee2b..36f860c5a8 100644 --- a/examples/widgets/richtext/textedit/textedit.pro +++ b/examples/widgets/richtext/textedit/textedit.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + TEMPLATE = app TARGET = textedit @@ -16,6 +19,3 @@ EXAMPLE_FILES = textedit.qdoc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/richtext/textedit INSTALLS += target - -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport diff --git a/examples/widgets/scroller/graphicsview/graphicsview.pro b/examples/widgets/scroller/graphicsview/graphicsview.pro index 07ad81922e..39bdb2bc2c 100644 --- a/examples/widgets/scroller/graphicsview/graphicsview.pro +++ b/examples/widgets/scroller/graphicsview/graphicsview.pro @@ -1,7 +1,8 @@ +QT += widgets + TEMPLATE = app SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/scroller/graphicsview INSTALLS += target -QT += widgets diff --git a/examples/widgets/statemachine/eventtransitions/eventtransitions.pro b/examples/widgets/statemachine/eventtransitions/eventtransitions.pro index 7b8ef26eb0..63c2eab5a9 100644 --- a/examples/widgets/statemachine/eventtransitions/eventtransitions.pro +++ b/examples/widgets/statemachine/eventtransitions/eventtransitions.pro @@ -1,9 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/eventtransitions INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/statemachine/rogue/rogue.pro b/examples/widgets/statemachine/rogue/rogue.pro index d1f4f5d972..cf9657c7d6 100644 --- a/examples/widgets/statemachine/rogue/rogue.pro +++ b/examples/widgets/statemachine/rogue/rogue.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h \ movementtransition.h SOURCES = main.cpp \ @@ -6,6 +8,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/rogue INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/statemachine/trafficlight/trafficlight.pro b/examples/widgets/statemachine/trafficlight/trafficlight.pro index 14d10f5a10..85d9cda504 100644 --- a/examples/widgets/statemachine/trafficlight/trafficlight.pro +++ b/examples/widgets/statemachine/trafficlight/trafficlight.pro @@ -1,8 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/trafficlight INSTALLS += target -QT += widgets diff --git a/examples/widgets/statemachine/twowaybutton/twowaybutton.pro b/examples/widgets/statemachine/twowaybutton/twowaybutton.pro index 9562df5919..22d19308ae 100644 --- a/examples/widgets/statemachine/twowaybutton/twowaybutton.pro +++ b/examples/widgets/statemachine/twowaybutton/twowaybutton.pro @@ -1,8 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/twowaybutton INSTALLS += target -QT += widgets diff --git a/examples/widgets/tools/codecs/codecs.pro b/examples/widgets/tools/codecs/codecs.pro index 410411d870..7b2baa3ec8 100644 --- a/examples/widgets/tools/codecs/codecs.pro +++ b/examples/widgets/tools/codecs/codecs.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += mainwindow.h \ previewform.h SOURCES += main.cpp \ @@ -10,6 +12,4 @@ EXAMPLE_FILES = encodedfiles target.path = $$[QT_INSTALL_EXAMPLES]/tools/codecs INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/completer/completer.pro b/examples/widgets/tools/completer/completer.pro index c0fcf8d1fb..b47b7a9057 100644 --- a/examples/widgets/tools/completer/completer.pro +++ b/examples/widgets/tools/completer/completer.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = fsmodel.h \ mainwindow.h SOURCES = fsmodel.cpp \ @@ -9,6 +11,4 @@ RESOURCES = completer.qrc target.path = $$[QT_INSTALL_EXAMPLES]/tools/completer INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/customcompleter/customcompleter.pro b/examples/widgets/tools/customcompleter/customcompleter.pro index 24d973cf82..b8ccc83744 100644 --- a/examples/widgets/tools/customcompleter/customcompleter.pro +++ b/examples/widgets/tools/customcompleter/customcompleter.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ textedit.h SOURCES = main.cpp \ @@ -9,6 +11,4 @@ RESOURCES = customcompleter.qrc target.path = $$[QT_INSTALL_EXAMPLES]/tools/customcompleter INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/echoplugin/echowindow/echowindow.pro b/examples/widgets/tools/echoplugin/echowindow/echowindow.pro index cd91693ec0..c8dc000678 100644 --- a/examples/widgets/tools/echoplugin/echowindow/echowindow.pro +++ b/examples/widgets/tools/echoplugin/echowindow/echowindow.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = echowindow.h \ echointerface.h SOURCES = echowindow.cpp \ @@ -16,6 +18,4 @@ win32 { target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/echoplugin/plugin/plugin.pro b/examples/widgets/tools/echoplugin/plugin/plugin.pro index a586130b76..235358d52c 100644 --- a/examples/widgets/tools/echoplugin/plugin/plugin.pro +++ b/examples/widgets/tools/echoplugin/plugin/plugin.pro @@ -1,6 +1,7 @@ #! [0] TEMPLATE = lib CONFIG += plugin +QT += widgets INCLUDEPATH += ../echowindow HEADERS = echoplugin.h SOURCES = echoplugin.cpp @@ -13,5 +14,3 @@ EXAMPLE_FILES = echoplugin.json # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/plugin INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/i18n/i18n.pro b/examples/widgets/tools/i18n/i18n.pro index 57514781eb..8095e44b3c 100644 --- a/examples/widgets/tools/i18n/i18n.pro +++ b/examples/widgets/tools/i18n/i18n.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = languagechooser.h \ mainwindow.h SOURCES = languagechooser.cpp \ @@ -23,6 +25,4 @@ TRANSLATIONS += translations/i18n_ar.ts \ target.path = $$[QT_INSTALL_EXAMPLES]/tools/i18n INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/plugandpaint/plugandpaint.pro b/examples/widgets/tools/plugandpaint/plugandpaint.pro index ffa408df66..0b20f81a1f 100644 --- a/examples/widgets/tools/plugandpaint/plugandpaint.pro +++ b/examples/widgets/tools/plugandpaint/plugandpaint.pro @@ -1,4 +1,6 @@ #! [0] +QT += widgets + HEADERS = interfaces.h \ mainwindow.h \ paintarea.h \ @@ -19,5 +21,3 @@ if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/plugandpaintplugins/basictools/basictools.pro b/examples/widgets/tools/plugandpaintplugins/basictools/basictools.pro index 731034fb3c..aac2edce00 100644 --- a/examples/widgets/tools/plugandpaintplugins/basictools/basictools.pro +++ b/examples/widgets/tools/plugandpaintplugins/basictools/basictools.pro @@ -1,6 +1,7 @@ #! [0] TEMPLATE = lib CONFIG += plugin static +QT += widgets INCLUDEPATH += ../.. HEADERS = basictoolsplugin.h SOURCES = basictoolsplugin.cpp @@ -11,5 +12,3 @@ DESTDIR = ../../plugandpaint/plugins # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint/plugins INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/plugandpaintplugins/extrafilters/extrafilters.pro b/examples/widgets/tools/plugandpaintplugins/extrafilters/extrafilters.pro index 7a18e49dc1..3280f119cf 100644 --- a/examples/widgets/tools/plugandpaintplugins/extrafilters/extrafilters.pro +++ b/examples/widgets/tools/plugandpaintplugins/extrafilters/extrafilters.pro @@ -1,6 +1,7 @@ #! [0] TEMPLATE = lib CONFIG += plugin +QT += widgets INCLUDEPATH += ../.. HEADERS = extrafiltersplugin.h SOURCES = extrafiltersplugin.cpp @@ -11,5 +12,3 @@ DESTDIR = ../../plugandpaint/plugins # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint/plugins INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/regexp/regexp.pro b/examples/widgets/tools/regexp/regexp.pro index eead58807f..0d2a9a280c 100644 --- a/examples/widgets/tools/regexp/regexp.pro +++ b/examples/widgets/tools/regexp/regexp.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = regexpdialog.h SOURCES = regexpdialog.cpp \ main.cpp @@ -6,6 +8,4 @@ SOURCES = regexpdialog.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/tools/regexp INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/settingseditor/settingseditor.pro b/examples/widgets/tools/settingseditor/settingseditor.pro index 9d7c776067..69b8a04c92 100644 --- a/examples/widgets/tools/settingseditor/settingseditor.pro +++ b/examples/widgets/tools/settingseditor/settingseditor.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = locationdialog.h \ mainwindow.h \ settingstree.h \ @@ -14,6 +16,4 @@ EXAMPLE_FILES = inifiles target.path = $$[QT_INSTALL_EXAMPLES]/tools/settingseditor INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/styleplugin/plugin/plugin.pro b/examples/widgets/tools/styleplugin/plugin/plugin.pro index 65a41087e6..605e196bd9 100644 --- a/examples/widgets/tools/styleplugin/plugin/plugin.pro +++ b/examples/widgets/tools/styleplugin/plugin/plugin.pro @@ -1,6 +1,7 @@ #! [0] TEMPLATE = lib CONFIG += plugin +QT += widgets HEADERS = simplestyle.h \ simplestyleplugin.h SOURCES = simplestyle.cpp \ @@ -19,6 +20,3 @@ EXAMPLE_FILES += simplestyle.json # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/styles INSTALLS += target - - -QT += widgets diff --git a/examples/widgets/tools/styleplugin/stylewindow/stylewindow.pro b/examples/widgets/tools/styleplugin/stylewindow/stylewindow.pro index 3bfcf23bbb..12adce4872 100644 --- a/examples/widgets/tools/styleplugin/stylewindow/stylewindow.pro +++ b/examples/widgets/tools/styleplugin/stylewindow/stylewindow.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = stylewindow.h SOURCES = stylewindow.cpp \ main.cpp @@ -13,5 +15,3 @@ win32 { # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/treemodelcompleter/treemodelcompleter.pro b/examples/widgets/tools/treemodelcompleter/treemodelcompleter.pro index 818f242b48..56e0cee210 100644 --- a/examples/widgets/tools/treemodelcompleter/treemodelcompleter.pro +++ b/examples/widgets/tools/treemodelcompleter/treemodelcompleter.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = treemodelcompleter.h \ mainwindow.h SOURCES = treemodelcompleter.cpp \ @@ -9,6 +11,4 @@ RESOURCES = treemodelcompleter.qrc target.path = $$[QT_INSTALL_EXAMPLES]/tools/treemodelcompleter INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tools/undo/undo.pro b/examples/widgets/tools/undo/undo.pro index f3ac1256c0..5e0f1d7817 100644 --- a/examples/widgets/tools/undo/undo.pro +++ b/examples/widgets/tools/undo/undo.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES += main.cpp mainwindow.cpp commands.cpp document.cpp HEADERS += mainwindow.h commands.h document.h FORMS += mainwindow.ui @@ -12,5 +14,3 @@ RESOURCES += undo.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/undo INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tools/undoframework/undoframework.pro b/examples/widgets/tools/undoframework/undoframework.pro index a9a1b05f39..9cea99f105 100644 --- a/examples/widgets/tools/undoframework/undoframework.pro +++ b/examples/widgets/tools/undoframework/undoframework.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = commands.h \ diagramitem.h \ diagramscene.h \ @@ -13,6 +15,4 @@ RESOURCES = undoframework.qrc target.path = $$[QT_INSTALL_EXAMPLES]/tools/undoframework INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part1/part1.pro b/examples/widgets/tutorials/addressbook-fr/part1/part1.pro index b82f294ed6..aa31f122b8 100644 --- a/examples/widgets/tutorials/addressbook-fr/part1/part1.pro +++ b/examples/widgets/tutorials/addressbook-fr/part1/part1.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -7,7 +9,5 @@ QMAKE_PROJECT_NAME = abfr_part1 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part1 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part2/part2.pro b/examples/widgets/tutorials/addressbook-fr/part2/part2.pro index 1ebe545e85..bfcedda6f7 100644 --- a/examples/widgets/tutorials/addressbook-fr/part2/part2.pro +++ b/examples/widgets/tutorials/addressbook-fr/part2/part2.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -7,7 +9,5 @@ QMAKE_PROJECT_NAME = abfr_part2 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part2 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part3/part3.pro b/examples/widgets/tutorials/addressbook-fr/part3/part3.pro index 04c8417cbe..0990cb5088 100644 --- a/examples/widgets/tutorials/addressbook-fr/part3/part3.pro +++ b/examples/widgets/tutorials/addressbook-fr/part3/part3.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -7,7 +9,5 @@ QMAKE_PROJECT_NAME = abfr_part3 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part3 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part4/part4.pro b/examples/widgets/tutorials/addressbook-fr/part4/part4.pro index 02fdecf210..44ff4bdce9 100644 --- a/examples/widgets/tutorials/addressbook-fr/part4/part4.pro +++ b/examples/widgets/tutorials/addressbook-fr/part4/part4.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -7,7 +9,5 @@ QMAKE_PROJECT_NAME = abfr_part4 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part4 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part5/part5.pro b/examples/widgets/tutorials/addressbook-fr/part5/part5.pro index 20b9549037..10638759a9 100644 --- a/examples/widgets/tutorials/addressbook-fr/part5/part5.pro +++ b/examples/widgets/tutorials/addressbook-fr/part5/part5.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ finddialog.cpp \ main.cpp @@ -9,7 +11,5 @@ QMAKE_PROJECT_NAME = abfr_part5 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part5 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part6/part6.pro b/examples/widgets/tutorials/addressbook-fr/part6/part6.pro index 098daca36a..4c7638fd70 100644 --- a/examples/widgets/tutorials/addressbook-fr/part6/part6.pro +++ b/examples/widgets/tutorials/addressbook-fr/part6/part6.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ finddialog.cpp \ main.cpp @@ -9,7 +11,5 @@ QMAKE_PROJECT_NAME = abfr_part6 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part6 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook-fr/part7/part7.pro b/examples/widgets/tutorials/addressbook-fr/part7/part7.pro index 5c1dd33d06..6f56489979 100644 --- a/examples/widgets/tutorials/addressbook-fr/part7/part7.pro +++ b/examples/widgets/tutorials/addressbook-fr/part7/part7.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ finddialog.cpp \ main.cpp @@ -9,7 +11,5 @@ QMAKE_PROJECT_NAME = abfr_part7 # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook-fr/part7 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part1/part1.pro b/examples/widgets/tutorials/addressbook/part1/part1.pro index 82746da8e5..826ed1aa77 100644 --- a/examples/widgets/tutorials/addressbook/part1/part1.pro +++ b/examples/widgets/tutorials/addressbook/part1/part1.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -8,6 +10,4 @@ QMAKE_PROJECT_NAME = ab_part1 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part1 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part2/part2.pro b/examples/widgets/tutorials/addressbook/part2/part2.pro index 439b9185a6..0ab172872a 100644 --- a/examples/widgets/tutorials/addressbook/part2/part2.pro +++ b/examples/widgets/tutorials/addressbook/part2/part2.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -8,6 +10,4 @@ QMAKE_PROJECT_NAME = ab_part2 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part2 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part3/part3.pro b/examples/widgets/tutorials/addressbook/part3/part3.pro index fd32f00536..7863a22bf2 100644 --- a/examples/widgets/tutorials/addressbook/part3/part3.pro +++ b/examples/widgets/tutorials/addressbook/part3/part3.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -8,6 +10,4 @@ QMAKE_PROJECT_NAME = ab_part3 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part3 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part4/part4.pro b/examples/widgets/tutorials/addressbook/part4/part4.pro index c5caaa87c1..d71328bb0e 100644 --- a/examples/widgets/tutorials/addressbook/part4/part4.pro +++ b/examples/widgets/tutorials/addressbook/part4/part4.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ main.cpp HEADERS = addressbook.h @@ -8,6 +10,4 @@ QMAKE_PROJECT_NAME = ab_part4 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part4 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part5/part5.pro b/examples/widgets/tutorials/addressbook/part5/part5.pro index e779ad5024..7530900f62 100644 --- a/examples/widgets/tutorials/addressbook/part5/part5.pro +++ b/examples/widgets/tutorials/addressbook/part5/part5.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ finddialog.cpp \ main.cpp @@ -10,6 +12,4 @@ QMAKE_PROJECT_NAME = ab_part5 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part5 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part6/part6.pro b/examples/widgets/tutorials/addressbook/part6/part6.pro index dd652985ad..88b7147a3f 100644 --- a/examples/widgets/tutorials/addressbook/part6/part6.pro +++ b/examples/widgets/tutorials/addressbook/part6/part6.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ finddialog.cpp \ main.cpp @@ -10,6 +12,4 @@ QMAKE_PROJECT_NAME = ab_part6 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part6 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/addressbook/part7/part7.pro b/examples/widgets/tutorials/addressbook/part7/part7.pro index d63690ee11..ef435222cd 100644 --- a/examples/widgets/tutorials/addressbook/part7/part7.pro +++ b/examples/widgets/tutorials/addressbook/part7/part7.pro @@ -1,3 +1,5 @@ +QT += widgets + SOURCES = addressbook.cpp \ finddialog.cpp \ main.cpp @@ -10,6 +12,4 @@ QMAKE_PROJECT_NAME = ab_part7 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/addressbook/part7 INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/1_readonly/1_readonly.pro b/examples/widgets/tutorials/modelview/1_readonly/1_readonly.pro index cf066c6b31..51fcbae64d 100644 --- a/examples/widgets/tutorials/modelview/1_readonly/1_readonly.pro +++ b/examples/widgets/tutorials/modelview/1_readonly/1_readonly.pro @@ -2,6 +2,8 @@ TARGET = mv_readonly TEMPLATE = app +QT += widgets + SOURCES += main.cpp \ mymodel.cpp @@ -12,6 +14,4 @@ HEADERS += mymodel.h target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/1_readonly INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/2_formatting/2_formatting.pro b/examples/widgets/tutorials/modelview/2_formatting/2_formatting.pro index 057196b7c6..d5d34d6f7f 100644 --- a/examples/widgets/tutorials/modelview/2_formatting/2_formatting.pro +++ b/examples/widgets/tutorials/modelview/2_formatting/2_formatting.pro @@ -2,6 +2,8 @@ TARGET = mv_formatting TEMPLATE = app +QT += widgets + SOURCES += main.cpp \ mymodel.cpp @@ -11,6 +13,4 @@ HEADERS += mymodel.h target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/2_formatting INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/3_changingmodel/3_changingmodel.pro b/examples/widgets/tutorials/modelview/3_changingmodel/3_changingmodel.pro index 92a1bbf4e5..0e7e587255 100644 --- a/examples/widgets/tutorials/modelview/3_changingmodel/3_changingmodel.pro +++ b/examples/widgets/tutorials/modelview/3_changingmodel/3_changingmodel.pro @@ -2,6 +2,8 @@ TARGET = mv_changingmodel TEMPLATE = app +QT += widgets + SOURCES += main.cpp \ mymodel.cpp @@ -11,6 +13,4 @@ HEADERS += mymodel.h target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/3_changingmodel INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/4_headers/4_headers.pro b/examples/widgets/tutorials/modelview/4_headers/4_headers.pro index 186ea888e0..53effe9b5b 100644 --- a/examples/widgets/tutorials/modelview/4_headers/4_headers.pro +++ b/examples/widgets/tutorials/modelview/4_headers/4_headers.pro @@ -2,6 +2,8 @@ TARGET = mv_headers TEMPLATE = app +QT += widgets + SOURCES += main.cpp \ mymodel.cpp @@ -11,6 +13,4 @@ HEADERS += mymodel.h target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/4_headers INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/5_edit/5_edit.pro b/examples/widgets/tutorials/modelview/5_edit/5_edit.pro index b4727580af..9a2c34f977 100644 --- a/examples/widgets/tutorials/modelview/5_edit/5_edit.pro +++ b/examples/widgets/tutorials/modelview/5_edit/5_edit.pro @@ -2,6 +2,8 @@ TARGET = mv_edit TEMPLATE = app +QT += widgets + SOURCES += main.cpp \ mainwindow.cpp \ mymodel.cpp @@ -13,6 +15,4 @@ HEADERS += mainwindow.h \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/5_edit INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/6_treeview/6_treeview.pro b/examples/widgets/tutorials/modelview/6_treeview/6_treeview.pro index af3208f9c8..4a874b205a 100644 --- a/examples/widgets/tutorials/modelview/6_treeview/6_treeview.pro +++ b/examples/widgets/tutorials/modelview/6_treeview/6_treeview.pro @@ -1,5 +1,6 @@ TARGET = mv_tree TEMPLATE = app +QT += widgets SOURCES += main.cpp \ mainwindow.cpp HEADERS += mainwindow.h @@ -8,6 +9,4 @@ HEADERS += mainwindow.h target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/6_treeview INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/modelview/7_selections/7_selections.pro b/examples/widgets/tutorials/modelview/7_selections/7_selections.pro index 8ab42e97ef..ef412f0aff 100644 --- a/examples/widgets/tutorials/modelview/7_selections/7_selections.pro +++ b/examples/widgets/tutorials/modelview/7_selections/7_selections.pro @@ -1,5 +1,6 @@ TARGET = mv_selections TEMPLATE = app +QT += widgets SOURCES += main.cpp \ mainwindow.cpp HEADERS += mainwindow.h @@ -8,6 +9,4 @@ HEADERS += mainwindow.h target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/modelview/7_selections INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/threads/clock/clock.pro b/examples/widgets/tutorials/threads/clock/clock.pro index 9d2687324b..041c02bea8 100644 --- a/examples/widgets/tutorials/threads/clock/clock.pro +++ b/examples/widgets/tutorials/threads/clock/clock.pro @@ -1,3 +1,4 @@ +QT += widgets CONFIG += console TEMPLATE = app SOURCES += main.cpp \ @@ -7,6 +8,3 @@ HEADERS += clockthread.h # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/threads/clock INSTALLS += target - - -QT += widgets diff --git a/examples/widgets/tutorials/threads/movedobject/movedobject.pro b/examples/widgets/tutorials/threads/movedobject/movedobject.pro index 3bf40eb49c..b2ea7e5366 100644 --- a/examples/widgets/tutorials/threads/movedobject/movedobject.pro +++ b/examples/widgets/tutorials/threads/movedobject/movedobject.pro @@ -1,3 +1,4 @@ +QT += widgets CONFIG += console CONFIG -= app_bundle TEMPLATE = app @@ -12,5 +13,3 @@ HEADERS += \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/threads/movedobject INSTALLS += target - -QT += widgets diff --git a/examples/widgets/tutorials/widgets/childwidget/childwidget.pro b/examples/widgets/tutorials/widgets/childwidget/childwidget.pro index 4eeab61be5..a227a68593 100644 --- a/examples/widgets/tutorials/widgets/childwidget/childwidget.pro +++ b/examples/widgets/tutorials/widgets/childwidget/childwidget.pro @@ -1,9 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/widgets/childwidget INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/widgets/nestedlayouts/nestedlayouts.pro b/examples/widgets/tutorials/widgets/nestedlayouts/nestedlayouts.pro index e362f16713..471a98121e 100644 --- a/examples/widgets/tutorials/widgets/nestedlayouts/nestedlayouts.pro +++ b/examples/widgets/tutorials/widgets/nestedlayouts/nestedlayouts.pro @@ -1,9 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/widgets/nestedlayouts INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/widgets/toplevel/toplevel.pro b/examples/widgets/tutorials/widgets/toplevel/toplevel.pro index faa91eb0dd..80e2a03ca6 100644 --- a/examples/widgets/tutorials/widgets/toplevel/toplevel.pro +++ b/examples/widgets/tutorials/widgets/toplevel/toplevel.pro @@ -1,9 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/widgets/toplevel INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/tutorials/widgets/windowlayout/windowlayout.pro b/examples/widgets/tutorials/widgets/windowlayout/windowlayout.pro index 6fd115591e..87eb7c58a4 100644 --- a/examples/widgets/tutorials/widgets/windowlayout/windowlayout.pro +++ b/examples/widgets/tutorials/widgets/windowlayout/windowlayout.pro @@ -1,9 +1,9 @@ +QT += widgets + SOURCES = main.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/widgets/windowlayout INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/analogclock/analogclock.pro b/examples/widgets/widgets/analogclock/analogclock.pro index 300c4f8ab4..1c6b736995 100644 --- a/examples/widgets/widgets/analogclock/analogclock.pro +++ b/examples/widgets/widgets/analogclock/analogclock.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = analogclock.h SOURCES = analogclock.cpp \ main.cpp @@ -7,6 +9,3 @@ QMAKE_PROJECT_NAME = widgets_analogclock # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/analogclock INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/widgets/calculator/calculator.pro b/examples/widgets/widgets/calculator/calculator.pro index 715d450003..5ee6928c7d 100644 --- a/examples/widgets/widgets/calculator/calculator.pro +++ b/examples/widgets/widgets/calculator/calculator.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = button.h \ calculator.h SOURCES = button.cpp \ @@ -7,6 +9,3 @@ SOURCES = button.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/calculator INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/widgets/calendarwidget/calendarwidget.pro b/examples/widgets/widgets/calendarwidget/calendarwidget.pro index ad586f11f8..a60f10bf36 100644 --- a/examples/widgets/widgets/calendarwidget/calendarwidget.pro +++ b/examples/widgets/widgets/calendarwidget/calendarwidget.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -5,5 +7,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/calendarwidget INSTALLS += target - -QT += widgets diff --git a/examples/widgets/widgets/charactermap/charactermap.pro b/examples/widgets/widgets/charactermap/charactermap.pro index 370338bf46..e9b6bb7c40 100644 --- a/examples/widgets/widgets/charactermap/charactermap.pro +++ b/examples/widgets/widgets/charactermap/charactermap.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = characterwidget.h \ mainwindow.h SOURCES = characterwidget.cpp \ @@ -8,6 +10,4 @@ SOURCES = characterwidget.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/charactermap INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/codeeditor/codeeditor.pro b/examples/widgets/widgets/codeeditor/codeeditor.pro index 5af4e24322..5618160d17 100644 --- a/examples/widgets/widgets/codeeditor/codeeditor.pro +++ b/examples/widgets/widgets/codeeditor/codeeditor.pro @@ -1,9 +1,8 @@ +QT += widgets + HEADERS = codeeditor.h SOURCES = main.cpp \ codeeditor.cpp # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/codeeditor INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/widgets/digitalclock/digitalclock.pro b/examples/widgets/widgets/digitalclock/digitalclock.pro index 9ded97b48c..4e4bc0f557 100644 --- a/examples/widgets/widgets/digitalclock/digitalclock.pro +++ b/examples/widgets/widgets/digitalclock/digitalclock.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = digitalclock.h SOURCES = digitalclock.cpp \ main.cpp @@ -5,5 +7,3 @@ SOURCES = digitalclock.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/digitalclock INSTALLS += target - -QT += widgets diff --git a/examples/widgets/widgets/groupbox/groupbox.pro b/examples/widgets/widgets/groupbox/groupbox.pro index 579f0298c6..9167d26d6d 100644 --- a/examples/widgets/widgets/groupbox/groupbox.pro +++ b/examples/widgets/widgets/groupbox/groupbox.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = window.cpp \ main.cpp @@ -6,6 +8,4 @@ SOURCES = window.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/groupbox INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/icons/icons.pro b/examples/widgets/widgets/icons/icons.pro index 4227cedadd..7a5256bcac 100644 --- a/examples/widgets/widgets/icons/icons.pro +++ b/examples/widgets/widgets/icons/icons.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = iconpreviewarea.h \ iconsizespinbox.h \ imagedelegate.h \ @@ -24,6 +26,5 @@ wince*: { } DEPLOYMENT += imageFiles } -QT += widgets simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/imageviewer/imageviewer.pro b/examples/widgets/widgets/imageviewer/imageviewer.pro index 611848b093..3378db7fb6 100644 --- a/examples/widgets/widgets/imageviewer/imageviewer.pro +++ b/examples/widgets/widgets/imageviewer/imageviewer.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + HEADERS = imageviewer.h SOURCES = imageviewer.cpp \ main.cpp @@ -10,7 +13,5 @@ INSTALLS += target wince*: { DEPLOYMENT_PLUGIN += qjpeg qgif } -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/lineedits/lineedits.pro b/examples/widgets/widgets/lineedits/lineedits.pro index d8ac14102f..0ab994ea11 100644 --- a/examples/widgets/widgets/lineedits/lineedits.pro +++ b/examples/widgets/widgets/lineedits/lineedits.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -5,5 +7,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/lineedits INSTALLS += target - -QT += widgets diff --git a/examples/widgets/widgets/movie/movie.pro b/examples/widgets/widgets/movie/movie.pro index d922423373..109e9f411d 100644 --- a/examples/widgets/widgets/movie/movie.pro +++ b/examples/widgets/widgets/movie/movie.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = movieplayer.h SOURCES = main.cpp \ movieplayer.cpp @@ -15,6 +17,4 @@ wince*: { DEPLOYMENT += addFiles } -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/scribble/scribble.pro b/examples/widgets/widgets/scribble/scribble.pro index 674dccff7e..8c35ba777f 100644 --- a/examples/widgets/widgets/scribble/scribble.pro +++ b/examples/widgets/widgets/scribble/scribble.pro @@ -1,3 +1,6 @@ +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport + HEADERS = mainwindow.h \ scribblearea.h SOURCES = main.cpp \ @@ -7,6 +10,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/scribble INSTALLS += target - -QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport diff --git a/examples/widgets/widgets/shapedclock/shapedclock.pro b/examples/widgets/widgets/shapedclock/shapedclock.pro index b5cb9c9076..0fe7f59765 100644 --- a/examples/widgets/widgets/shapedclock/shapedclock.pro +++ b/examples/widgets/widgets/shapedclock/shapedclock.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = shapedclock.h SOURCES = shapedclock.cpp \ main.cpp @@ -5,6 +7,3 @@ SOURCES = shapedclock.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/shapedclock INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/widgets/sliders/sliders.pro b/examples/widgets/widgets/sliders/sliders.pro index bdc30b896c..6a0e01287d 100644 --- a/examples/widgets/widgets/sliders/sliders.pro +++ b/examples/widgets/widgets/sliders/sliders.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = slidersgroup.h \ window.h SOURCES = main.cpp \ @@ -8,6 +10,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/sliders INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/spinboxes/spinboxes.pro b/examples/widgets/widgets/spinboxes/spinboxes.pro index 55a028c0a5..9638317471 100644 --- a/examples/widgets/widgets/spinboxes/spinboxes.pro +++ b/examples/widgets/widgets/spinboxes/spinboxes.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = window.h SOURCES = main.cpp \ window.cpp @@ -6,6 +8,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/spinboxes INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/styles/styles.pro b/examples/widgets/widgets/styles/styles.pro index f93175997f..598dceef65 100644 --- a/examples/widgets/widgets/styles/styles.pro +++ b/examples/widgets/widgets/styles/styles.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = norwegianwoodstyle.h \ widgetgallery.h SOURCES = main.cpp \ @@ -11,6 +13,4 @@ REQUIRES += "contains(styles, windows)" target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/styles INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/stylesheet/stylesheet.pro b/examples/widgets/widgets/stylesheet/stylesheet.pro index 24590ab3dc..01edb0bbd8 100644 --- a/examples/widgets/widgets/stylesheet/stylesheet.pro +++ b/examples/widgets/widgets/stylesheet/stylesheet.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ stylesheeteditor.h FORMS = mainwindow.ui \ @@ -11,6 +13,4 @@ SOURCES = main.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/stylesheet INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/tablet/tablet.pro b/examples/widgets/widgets/tablet/tablet.pro index 2e74cb847b..6867f92ac8 100644 --- a/examples/widgets/widgets/tablet/tablet.pro +++ b/examples/widgets/widgets/tablet/tablet.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = mainwindow.h \ tabletcanvas.h \ tabletapplication.h @@ -10,6 +12,4 @@ SOURCES = mainwindow.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/tablet INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/widgets/widgets/tetrix/tetrix.pro b/examples/widgets/widgets/tetrix/tetrix.pro index 5dd5342885..bb9f855fb0 100644 --- a/examples/widgets/widgets/tetrix/tetrix.pro +++ b/examples/widgets/widgets/tetrix/tetrix.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = tetrixboard.h \ tetrixpiece.h \ tetrixwindow.h @@ -9,6 +11,3 @@ SOURCES = main.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/tetrix INSTALLS += target - -QT += widgets - diff --git a/examples/widgets/widgets/tooltips/tooltips.pro b/examples/widgets/widgets/tooltips/tooltips.pro index 7262a1aece..d14b8295ba 100644 --- a/examples/widgets/widgets/tooltips/tooltips.pro +++ b/examples/widgets/widgets/tooltips/tooltips.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = shapeitem.h \ sortingbox.h SOURCES = main.cpp \ @@ -8,5 +10,3 @@ RESOURCES = tooltips.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/tooltips INSTALLS += target - -QT += widgets diff --git a/examples/widgets/widgets/wiggly/wiggly.pro b/examples/widgets/widgets/wiggly/wiggly.pro index 17371603dc..0e39f18add 100644 --- a/examples/widgets/widgets/wiggly/wiggly.pro +++ b/examples/widgets/widgets/wiggly/wiggly.pro @@ -1,4 +1,4 @@ -QT += widgets widgets +QT += widgets HEADERS = wigglywidget.h \ dialog.h diff --git a/examples/widgets/widgets/windowflags/windowflags.pro b/examples/widgets/widgets/windowflags/windowflags.pro index e96344c33d..250319983a 100644 --- a/examples/widgets/widgets/windowflags/windowflags.pro +++ b/examples/widgets/widgets/windowflags/windowflags.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS = controllerwindow.h \ previewwindow.h SOURCES = controllerwindow.cpp \ @@ -8,6 +10,4 @@ SOURCES = controllerwindow.cpp \ target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/windowflags INSTALLS += target -QT += widgets - simulator: warning(This example might not fully work on Simulator platform) diff --git a/tests/manual/windowgeometry/windowgeometry.pro b/tests/manual/windowgeometry/windowgeometry.pro index f339dc4d09..c0c7ef0217 100644 --- a/tests/manual/windowgeometry/windowgeometry.pro +++ b/tests/manual/windowgeometry/windowgeometry.pro @@ -1,4 +1,5 @@ QT += core gui +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = windowgeometry TEMPLATE = app @@ -6,5 +7,4 @@ INCLUDEPATH += ../windowflags SOURCES += $$PWD/main.cpp controllerwidget.cpp ../windowflags/controls.cpp HEADERS += controllerwidget.h ../windowflags/controls.h -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From 5648bbbcbca0e6bbd71dbd9c49ab9de260e1c3c6 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 12 Dec 2012 14:15:38 +0100 Subject: [PATCH 276/386] Doc: remove example docs that were moved to qttools Remove docs and images for Multiple Inheritance and Text Finder examples that were moved to qttools/uitools. Change-Id: I29e8f76b2512e329c354a6d3676c9b2e09e35726 Reviewed-by: Friedemann Kleint Reviewed-by: David Schulz (cherry picked from commit a0a4c06736a71fedb69f01c1c4c423173a2a665e) Reviewed-by: Sergio Ahumada --- doc/src/examples/multipleinheritance.qdoc | 94 ----------- .../code/doc_src_examples_textfinder.pro | 6 - examples/tools/doc/textfinder.qdoc | 159 ------------------ .../textfinder-example-userinterface.png | Bin 7900 -> 0 bytes 4 files changed, 259 deletions(-) delete mode 100644 doc/src/examples/multipleinheritance.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_textfinder.pro delete mode 100644 examples/tools/doc/textfinder.qdoc delete mode 100644 examples/widgets/doc/images/textfinder-example-userinterface.png diff --git a/doc/src/examples/multipleinheritance.qdoc b/doc/src/examples/multipleinheritance.qdoc deleted file mode 100644 index 541dc3c719..0000000000 --- a/doc/src/examples/multipleinheritance.qdoc +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example uitools/multipleinheritance - \title Multiple Inheritance Example - - The Multiple Inheritance Example shows how to use a form created with - Qt Designer in an application by subclassing both QWidget and the user - interface class, which is \c{Ui::CalculatorForm}. - - \image multipleinheritance-example.png - - To subclass the \c calculatorform.ui file and ensure that \c qmake - processes it with the \c uic, we have to include \c calculatorform.ui - in the \c .pro file, as shown below: - - \snippet examples/uitools/multipleinheritance/multipleinheritance.pro 0 - - When the project is compiled, the \c uic will generate a corresponding - \c ui_calculatorform.h. - - \section1 CalculatorForm Definition - - In the \c CalculatorForm definition, we include the \c ui_calculatorform.h - that was generated earlier. - - \snippet examples/uitools/multipleinheritance/calculatorform.h 0 - - As mentioned earlier, the class is a subclass of both QWidget and - \c{Ui::CalculatorForm}. - - \snippet examples/uitools/multipleinheritance/calculatorform.h 1 - - Two slots are defined according to the \l{Automatic Connections} - {automatic connection} naming convention required by \c uic. This is - to ensure that \l{QMetaObject}'s auto-connection facilities connect - all the signals and slots involved automatically. - - \section1 CalculatorForm Implementation - - In the constructor, we call \c setupUi() to load the user interface file. - Note that we do not need the \c{ui} prefix as \c CalculatorForm is a - subclass of the user interface class. - - \snippet examples/uitools/multipleinheritance/calculatorform.cpp 0 - - We include two slots, \c{on_inputSpinBox1_valueChanged()} and - \c{on_inputSpinBox2_valueChanged()}. These slots respond to the - \l{QSpinBox::valueChanged()}{valueChanged()} signal that both spin boxes - emit. Whenever there is a change in one spin box's value, we take that - value and add it to whatever value the other spin box has. - - \snippet examples/uitools/multipleinheritance/calculatorform.cpp 1 - \codeline - \snippet examples/uitools/multipleinheritance/calculatorform.cpp 2 - - \section1 \c main() Function - - The \c main() function instantiates QApplication and \c CalculatorForm. - The \c calculator object is displayed by invoking the \l{QWidget::show()} - {show()} function. - - \snippet examples/uitools/multipleinheritance/main.cpp 0 - - There are various approaches to include forms into applications. The - Multiple Inheritance approach is just one of them. See - \l{Using a Designer UI File in Your Application} for more information on - the other approaches available. -*/ diff --git a/doc/src/snippets/code/doc_src_examples_textfinder.pro b/doc/src/snippets/code/doc_src_examples_textfinder.pro deleted file mode 100644 index 4446e8eb7b..0000000000 --- a/doc/src/snippets/code/doc_src_examples_textfinder.pro +++ /dev/null @@ -1,6 +0,0 @@ -#! [0] -QT += uitools -HEADERS = textfinder.h -RESOURCES = textfinder.qrc -SOURCES = textfinder.cpp main.cpp -#! [0] diff --git a/examples/tools/doc/textfinder.qdoc b/examples/tools/doc/textfinder.qdoc deleted file mode 100644 index f958cf8623..0000000000 --- a/examples/tools/doc/textfinder.qdoc +++ /dev/null @@ -1,159 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example uitools/textfinder - \title Text Finder Example - - \brief The Text Finder example demonstrates how to dynamically process forms - using the QtUiTools module. Dynamic form processing enables a form to - be processed at run-time only by changing the UI file for the project. - The program allows the user to look up a particular word within the - contents of a text file. This text file is included in the project's - resource and is loaded into the display at startup. - - \table - \row \li \inlineimage textfinder-example-find.png - \li \inlineimage textfinder-example-find2.png - \endtable - - \section1 Setting Up The Resource File - - The resources required for Text Finder are: - \list - \li \e{textfinder.ui} - the user interface file created in QtDesigner - \li \e{input.txt} - a text file containing some text to be displayed - in the QTextEdit - \endlist - - \e{textfinder.ui} contains all the necessary QWidget objects for the - Text Finder. A QLineEdit is used for the user input, a QTextEdit is - used to display the contents of \e{input.txt}, a QLabel is used to - display the text "Keyword", and a QPushButton is used for the "Find" - button. The screenshot below shows the preview obtained in QtDesigner. - - \image textfinder-example-userinterface.png - - A \e{textfinder.qrc} file is used to store both the \e{textfinder.ui} - and \e{input.txt} in the application's executable. The file contains - the following code: - - \quotefile examples/uitools/textfinder/textfinder.qrc - - For more information on resource files, see \l{The Qt Resource System}. - - To generate a form at run-time, the example is linked against the - QtUiTools module library. This is done in the \c{textfinder.pro} file - that contains the following lines: - - \snippet doc/src/snippets/code/doc_src_examples_textfinder.pro 0 - - \section1 TextFinder Class Definition - - The \c TextFinder class is a subclass of QWidget and it hosts the - \l{QWidget}s we need to access in the user interface. The QLabel in the - user interface is not declared here as we do not need to access it. - - \snippet examples/uitools/textfinder/textfinder.h 0 - - The slot \c{on_findButton_clicked()} is a slot named according to the - \l{Using a Designer UI File in Your Application#Automatic Connections} - {Automatic Connection} naming convention required - by \c uic. - - \section1 TextFinder Class Implementation - - The \c TextFinder class's constructor calls the \c loadUiFile() function - and then uses \c qFindChild() to access the user interface's - \l{QWidget}s. - - \snippet examples/uitools/textfinder/textfinder.cpp 0 - - We then use QMetaObject's system to enable signal and slot connections. - - \snippet examples/uitools/textfinder/textfinder.cpp 2 - - The loadTextFile() function is called to load \c{input.txt} into - QTextEdit to displays its contents. - - \snippet examples/uitools/textfinder/textfinder.cpp 3a - - The \c{TextFinder}'s layout is set with \l{QWidget::}{setLayout()}. - - \snippet examples/uitools/textfinder/textfinder.cpp 3b - - Finally, the window title is set to \e {Text Finder} and \c isFirstTime is - set to true. - - \c isFirstTime is used as a flag to indicate whether the search operation - has been performed more than once. This is further explained with the - \c{on_findButton_clicked()} function. - - The \c{loadUiFile()} function is used to load the user interface file - previously created in QtDesigner. The QUiLoader class is instantiated - and its \c load() function is used to load the form into \c{formWidget} - that acts as a place holder for the user interface. The function then - returns \c{formWidget} to its caller. - - \snippet examples/uitools/textfinder/textfinder.cpp 4 - - As mentioned earlier, the loadTextFile() function loads \e{input.txt} - into QTextEdit to display its contents. Data is read using QTextStream - into a QString object, \c line with the QTextStream::readAll() function. - The contents of \c line are then appended to \c{ui_textEdit}. - - \snippet examples/uitools/textfinder/textfinder.cpp 5 - - The \c{on_findButton_clicked()} function is a slot that is connected to - \c{ui_findButton}'s \c clicked() signal. The \c searchString is extracted - from the \c ui_lineEdit and the \c document is extracted from \c textEdit. - In event there is an empty \c searchString, a QMessageBox is used, - requesting the user to enter a word. Otherwise, we traverse through the - words in \c ui_textEdit, and highlight all ocurrences of the - \c searchString . Two QTextCursor objects are used: One to traverse through - the words in \c line and another to keep track of the edit blocks. - - \snippet examples/uitools/textfinder/textfinder.cpp 7 - - The \c isFirstTime flag is set to false the moment \c findButton is - clicked. This is necessary to undo the previous text highlight before - highlighting the user's next search string. Also, the \c found flag - is used to indicate if the \c searchString was found within the contents - of \c ui_textEdit. If it was not found, a QMessageBox is used - to inform the user. - - \snippet examples/uitools/textfinder/textfinder.cpp 9 - - \section1 \c main() Function - - \snippet examples/uitools/textfinder/main.cpp 0 - - The \c main() function initialises the \e{textfinder.qrc} resource file - and instantiates as well as displays \c TextFinder. - - \sa {Calculator Builder Example}, {World Time Clock Builder Example} - */ diff --git a/examples/widgets/doc/images/textfinder-example-userinterface.png b/examples/widgets/doc/images/textfinder-example-userinterface.png deleted file mode 100644 index 2bebe2e9dd836164fc31a252c8bcc8705ae6505c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7900 zcmY+J1x#F9ptWakXK*brxD**2F3zCEU5XEdLb2j94DJ-CKyiw@6bi-K;_mKJ97?ew z1CM)O-kT&2|5=R?kX*aRH5l7vcg`Db!)ixH+JZPgrhyI^H~C-9hP`>h8D`UO=#za6BDqqCUoskC|n+&BS0i~J%LU&e$ zs!tyx7YRoeoPf1m(sb5*EhNJx^#c7WDsQL5J-?Zkb67H83*Z#3CPAS%a>0R&@8HM>?h3iggY7>BkrJJs%Ms2qd8tEVFX()y=$xi(Eum+8{-4H80}4 zs8kc)&AQ&v`dB#%BBM`~5n%lQ=s(5iALpygG9HH#b~D3CqdZFH8^y@7GC7BU?>7aI zE^z1Dq4A%;oN0xYeB|`#AsF-k9Sr*ruZzCM^@z0IoXYjrth-+vN88l}YdhwC$YLNj zE{bxlD9)T*ew`~XE80wKKqB^m>eyQAfX}ILl26FZ^E8T1cQTFYj`xuoHhj6)E+4FV z-J%ptno2I}&x^m?d^%h4J2b!dknl1$)2sqU;V>wFl%@J37_{Hhqs?wA8O6vn$UoiF<=>sShbDYGjW ztXt(hcXdDJRg&xP$<%XgG6K%%L;}t}%XlE4^CK%WF80KvIo)ZD`%>JO)%j-qGa(;* zS(}M$L7$0G2(mJnxR25i*o0w;XXzKT4TA7s_6)u;VDYtB_Ff{?9z~R3*2<7~0SXF5%Za} z89=;kgVvdc!T3gynZLIuo|E2YN*re&ARSu(KK!s@LjwHNB*pNUS{=Zcsud(NDL5 z(fQ*-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^^EsR#WeDMW9%NgM-`h5j8IJk6(Q&nFon`xIAIHbUKQA$PvgI*$8i?=79A06{96G>lR(z-0(Pg|c5)7$7mgVJqjJO|4MhE9Ko-IcjnWrJ(s)Frmp(Rs?MUAIOi!ApguF2-pxr8vq620S#t?$gXB4 zxE#7;mYlKbXi)wQ{4e*vwC)({|Fw9Aq5A*ko^7kjA~B7$QDLbVR4A_0&usriva{$! z0G?t0wR{%yKturF{ulkf=>c}zF#$ADeBiV4-*8VZz#@Y@K;sz;H~@Mc8N;xi&HhVW z20W+mGww;r2d(}K%a1morHBg1Rlt81|EC}Q_XAe7qKVn?@>7-Re*s1)fd5+>KR-3V z{=tgi|2U*b1WXZkjBUU&yD}K<(dMe-IUx`RtuMs*e?2!qQG?Jub05isEEQItDk^K* z4js(;mX?cW-G@bZoLrpYKJ64gQH@$#$hSuqd`Px=i!yYd$z+ni|JS#~{&ov8LHeU1 z?`wFSKI`!ktpO?u8qgX!%aH#8=`H5i From 4dc45567a0b910a7678097dfc749337d85efb341 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 12 Dec 2012 11:20:30 +0100 Subject: [PATCH 277/386] QtBase: Removed moved linguist examples. Linguist examples are now in qttools. Change-Id: I8abfff50d81cda143a080711bf9583e7be777009 Reviewed-by: Leena Miettinen (cherry picked from commit d64c4662f01ffc94c68e7c9f7abdb6309e67e489) Reviewed-by: Sergio Ahumada --- doc/src/examples/arrowpad.qdoc | 223 ------------------ doc/src/examples/hellotr.qdoc | 174 -------------- .../code/doc_src_examples_arrowpad.cpp | 43 ---- .../code/doc_src_examples_arrowpad.qdoc | 54 ----- .../code/doc_src_examples_hellotr.qdoc | 71 ------ .../code/doc_src_examples_trollprint.cpp | 77 ------ examples/examples.pro | 2 - examples/ja_JP/linguist/hellotr/hellotr.pro | 11 - examples/ja_JP/linguist/hellotr/main.cpp | 70 ------ examples/linguist/README | 6 - examples/linguist/arrowpad/arrowpad.cpp | 64 ----- examples/linguist/arrowpad/arrowpad.h | 68 ------ examples/linguist/arrowpad/arrowpad.pro | 18 -- examples/linguist/arrowpad/main.cpp | 63 ----- examples/linguist/arrowpad/mainwindow.cpp | 61 ----- examples/linguist/arrowpad/mainwindow.h | 68 ------ examples/linguist/hellotr/hellotr.pro | 13 - examples/linguist/hellotr/main.cpp | 70 ------ examples/linguist/linguist.pro | 6 - examples/linguist/trollprint/main.cpp | 60 ----- examples/linguist/trollprint/mainwindow.cpp | 95 -------- examples/linguist/trollprint/mainwindow.h | 74 ------ examples/linguist/trollprint/printpanel.cpp | 85 ------- examples/linguist/trollprint/printpanel.h | 69 ------ examples/linguist/trollprint/trollprint.pro | 14 -- examples/linguist/trollprint/trollprint_pt.ts | 65 ----- 26 files changed, 1624 deletions(-) delete mode 100644 doc/src/examples/arrowpad.qdoc delete mode 100644 doc/src/examples/hellotr.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_arrowpad.cpp delete mode 100644 doc/src/snippets/code/doc_src_examples_arrowpad.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_hellotr.qdoc delete mode 100644 doc/src/snippets/code/doc_src_examples_trollprint.cpp delete mode 100644 examples/ja_JP/linguist/hellotr/hellotr.pro delete mode 100644 examples/ja_JP/linguist/hellotr/main.cpp delete mode 100644 examples/linguist/README delete mode 100644 examples/linguist/arrowpad/arrowpad.cpp delete mode 100644 examples/linguist/arrowpad/arrowpad.h delete mode 100644 examples/linguist/arrowpad/arrowpad.pro delete mode 100644 examples/linguist/arrowpad/main.cpp delete mode 100644 examples/linguist/arrowpad/mainwindow.cpp delete mode 100644 examples/linguist/arrowpad/mainwindow.h delete mode 100644 examples/linguist/hellotr/hellotr.pro delete mode 100644 examples/linguist/hellotr/main.cpp delete mode 100644 examples/linguist/linguist.pro delete mode 100644 examples/linguist/trollprint/main.cpp delete mode 100644 examples/linguist/trollprint/mainwindow.cpp delete mode 100644 examples/linguist/trollprint/mainwindow.h delete mode 100644 examples/linguist/trollprint/printpanel.cpp delete mode 100644 examples/linguist/trollprint/printpanel.h delete mode 100644 examples/linguist/trollprint/trollprint.pro delete mode 100644 examples/linguist/trollprint/trollprint_pt.ts diff --git a/doc/src/examples/arrowpad.qdoc b/doc/src/examples/arrowpad.qdoc deleted file mode 100644 index 39c0558117..0000000000 --- a/doc/src/examples/arrowpad.qdoc +++ /dev/null @@ -1,223 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example linguist/arrowpad - \title Arrow Pad Example - - This example is a slightly more involved and introduces a key \e - {Qt Linguist} concept: "contexts". It also shows how to use two - or more languages. - - \image linguist-arrowpad_en.png - - We will use two translations, French and Dutch, although there is no - effective limit on the number of possible translations that can be used - with an application. The relevant lines of \c arrowpad.pro are - - \snippet examples/linguist/arrowpad/arrowpad.pro 0 - \codeline - \snippet examples/linguist/arrowpad/arrowpad.pro 1 - - Run \c lupdate; it should produce two identical message files - \c arrowpad_fr.ts and \c arrowpad_nl.ts. These files will contain all the source - texts marked for translation with \c tr() calls and their contexts. - - See the \l{Qt Linguist manual} for more information about - translating Qt application. - - \section1 Line by Line Walkthrough - - In \c arrowpad.h we define the \c ArrowPad subclass which is a - subclass of QWidget. In the screenshot above, the central - widget with the four buttons is an \c ArrowPad. - - \snippet examples/linguist/arrowpad/arrowpad.h 0 - \snippet examples/linguist/arrowpad/arrowpad.h 1 - \snippet examples/linguist/arrowpad/arrowpad.h 2 - - When \c lupdate is run it not only extracts the source texts but it - also groups them into contexts. A context is the name of the class in - which the source text appears. Thus, in this example, "ArrowPad" is a - context: it is the context of the texts in the \c ArrowPad class. - The \c Q_OBJECT macro defines \c tr(x) in \c ArrowPad like this: - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.cpp 0 - - Knowing which class each source text appears in enables \e {Qt - Linguist} to group texts that are logically related together, e.g. - all the text in a dialog will have the context of the dialog's class - name and will be shown together. This provides useful information for - the translator since the context in which text appears may influence how - it should be translated. For some translations keyboard - accelerators may need to be changed and having all the source texts in a - particular context (class) grouped together makes it easier for the - translator to perform any accelerator changes without introducing - conflicts. - - In \c arrowpad.cpp we implement the \c ArrowPad class. - - \snippet examples/linguist/arrowpad/arrowpad.cpp 0 - \snippet examples/linguist/arrowpad/arrowpad.cpp 1 - \snippet examples/linguist/arrowpad/arrowpad.cpp 2 - \snippet examples/linguist/arrowpad/arrowpad.cpp 3 - - We call \c ArrowPad::tr() for each button's label since the labels are - user-visible text. - - \image linguist-arrowpad_en.png - - \snippet examples/linguist/arrowpad/mainwindow.h 0 - \snippet examples/linguist/arrowpad/mainwindow.h 1 - - In the screenshot above, the whole window is a \c MainWindow. - This is defined in the \c mainwindow.h header file. Here too, we - use \c Q_OBJECT, so that \c MainWindow will become a context in - \e {Qt Linguist}. - - \snippet examples/linguist/arrowpad/mainwindow.cpp 0 - - In the implementation of \c MainWindow, \c mainwindow.cpp, we create - an instance of our \c ArrowPad class. - - \snippet examples/linguist/arrowpad/mainwindow.cpp 1 - - We also call \c MainWindow::tr() twice, once for the action and - once for the shortcut. - - Note the use of \c tr() to support different keys in other - languages. "Ctrl+Q" is a good choice for Quit in English, but a - Dutch translator might want to use "Ctrl+A" (for Afsluiten) and a - German translator "Strg+E" (for Beenden). When using \c tr() for - \uicontrol Ctrl key accelerators, the two argument form should be used - with the second argument describing the function that the - accelerator performs. - - Our \c main() function is defined in \c main.cpp as usual. - - \snippet examples/linguist/arrowpad/main.cpp 2 - \snippet examples/linguist/arrowpad/main.cpp 3 - - We choose which translation to use according to the current locale. - QLocale::system() can be influenced by setting the \c LANG - environment variable, for example. Notice that the use of a naming - convention that incorporates the locale for \c .qm message files, - (and TS files), makes it easy to implement choosing the - translation file according to locale. - - If there is no QM message file for the locale chosen the original - source text will be used and no error raised. - - \section1 Translating to French and Dutch - - We'll begin by translating the example application into French. Start - \e {Qt Linguist} with \c arrowpad_fr.ts. You should get the seven source - texts ("\&Up", "\&Left", etc.) grouped in two contexts ("ArrowPad" - and "MainWindow"). - - Now, enter the following translations: - - \list - \li \c ArrowPad - \list - \li \&Up - \&Haut - \li \&Left - \&Gauche - \li \&Right - \&Droite - \li \&Down - \&Bas - \endlist - \li \c MainWindow - \list - \li E\&xit - \&Quitter - \li Ctrl+Q - Ctrl+Q - \li \&File - \&Fichier - \endlist - \endlist - - It's quickest to press \uicontrol{Alt+D} (which clicks the \uicontrol {Done \& Next} - button) after typing each translation, since this marks the - translation as done and moves on to the next source text. - - Save the file and do the same for Dutch working with \c arrowpad_nl.ts: - - \list - \li \c ArrowPad - \list - \li \&Up - \&Omhoog - \li \&Left - \&Links - \li \&Right - \&Rechts - \li \&Down - Omlaa\&g - \endlist - \li \c MainWindow - \list - \li E\&xit - \&Afsluiten - \li Ctrl+Q - Ctrl+A - \li File - \&Bestand - \endlist - \endlist - - We have to convert the \c tt1_fr.ts and \c tt1_nl.ts translation source - files into QM files. We could use \e {Qt Linguist} as we've done - before; however using the command line tool \c lrelease ensures that - \e all the QM files for the application are created without us - having to remember to load and \uicontrol File|Release each one - individually from \e {Qt Linguist}. - - Type - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.qdoc 1 - - This should create both \c arrowpad_fr.qm and \c arrowpad_nl.qm. Set the \c - LANG environment variable to \c fr. In Unix, one of the two following - commands should work - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.qdoc 2 - - In Windows, either modify \c autoexec.bat or run - - \snippet doc/src/snippets/code/doc_src_examples_arrowpad.qdoc 3 - - When you run the program, you should now see the French version: - - \image linguist-arrowpad_fr.png - - Try the same with Dutch, by setting \c LANG=nl. Now the Dutch - version should appear: - - \image linguist-arrowpad_nl.png - - \section1 Exercises - - Mark one of the translations in \e {Qt Linguist} as not done, i.e. - by unchecking the "done" checkbox; run \c lupdate, then \c lrelease, - then the example. What effect did this change have? - - Set \c LANG=fr_CA (French Canada) and run the example program again. - Explain why the result is the same as with \c LANG=fr. - - Change one of the accelerators in the Dutch translation to eliminate the - conflict between \e \&Bestand and \e \&Boven. -*/ diff --git a/doc/src/examples/hellotr.qdoc b/doc/src/examples/hellotr.qdoc deleted file mode 100644 index ca4d4282ad..0000000000 --- a/doc/src/examples/hellotr.qdoc +++ /dev/null @@ -1,174 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example linguist/hellotr - \title Hello tr() Example - - This example is a small Hello World program with a Latin translation. The - screenshot below shows the English version. - - \image linguist-hellotr_en.png - - See the \l{Qt Linguist manual} for more information about - translating Qt application. - - \section1 Line by Line Walkthrough - - - \snippet examples/linguist/hellotr/main.cpp 0 - - This line includes the definition of the QTranslator class. - Objects of this class provide translations for user-visible text. - - \snippet examples/linguist/hellotr/main.cpp 5 - - Creates a QTranslator object without a parent. - - \snippet examples/linguist/hellotr/main.cpp 6 - - Tries to load a file called \c hellotr_la.qm (the \c .qm file extension is - implicit) that contains Latin translations for the source texts used in - the program. No error will occur if the file is not found. - - \snippet examples/linguist/hellotr/main.cpp 7 - - Adds the translations from \c hellotr_la.qm to the pool of translations used - by the program. - - \snippet examples/linguist/hellotr/main.cpp 8 - - Creates a push button that displays "Hello world!". If \c hellotr_la.qm - was found and contains a translation for "Hello world!", the - translation appears; if not, the source text appears. - - All classes that inherit QObject have a \c tr() function. Inside - a member function of a QObject class, we simply write \c tr("Hello - world!") instead of \c QPushButton::tr("Hello world!") or \c - QObject::tr("Hello world!"). - - \section1 Running the Application in English - - Since we haven't made the translation file \c hellotr_la.qm, the source text - is shown when we run the application: - - \image linguist-hellotr_en.png - - \section1 Creating a Latin Message File - - The first step is to create a project file, \c hellotr.pro, that lists - all the source files for the project. The project file can be a qmake - project file, or even an ordinary makefile. Any file that contains - - \snippet examples/linguist/hellotr/hellotr.pro 0 - \snippet examples/linguist/hellotr/hellotr.pro 1 - - will work. \c TRANSLATIONS specifies the message files we want to - maintain. In this example, we just maintain one set of translations, - namely Latin. - - Note that the file extension is \c .ts, not \c .qm. The \c .ts - translation source format is designed for use during the - application's development. Programmers or release managers run - the \c lupdate program to generate and update TS files with - the source text that is extracted from the source code. - Translators read and update the TS files using \e {Qt - Linguist} adding and editing their translations. - - The TS format is human-readable XML that can be emailed directly - and is easy to put under version control. If you edit this file - manually, be aware that the default encoding for XML is UTF-8, not - Latin1 (ISO 8859-1). One way to type in a Latin1 character such as - '\oslash' (Norwegian o with slash) is to use an XML entity: - "\ø". This will work for any Unicode 4.0 character. - - Once the translations are complete the \c lrelease program is used to - convert the TS files into the QM Qt message file format. The - QM format is a compact binary format designed to deliver very - fast lookup performance. Both \c lupdate and \c lrelease read all the - project's source and header files (as specified in the HEADERS and - SOURCES lines of the project file) and extract the strings that - appear in \c tr() function calls. - - \c lupdate is used to create and update the message files (\c hellotr_la.ts - in this case) to keep them in sync with the source code. It is safe to - run \c lupdate at any time, as \c lupdate does not remove any - information. For example, you can put it in the makefile, so the TS - files are updated whenever the source changes. - - Try running \c lupdate right now, like this: - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 0 - - (The \c -verbose option instructs \c lupdate to display messages that - explain what it is doing.) You should now have a file \c hellotr_la.ts in - the current directory, containing this: - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 1 - - You don't need to understand the file format since it is read and - updated using tools (\c lupdate, \e {Qt Linguist}, \c lrelease). - - \section1 Translating to Latin with Qt Linguist - - We will use \e {Qt Linguist} to provide the translation, although - you can use any XML or plain text editor to enter a translation into a - TS file. - - To start \e {Qt Linguist}, type - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 2 - - You should now see the text "QPushButton" in the top left pane. - Double-click it, then click on "Hello world!" and enter "Orbis, te - saluto!" in the \uicontrol Translation pane (the middle right of the - window). Don't forget the exclamation mark! - - Click the \uicontrol Done checkbox and choose \uicontrol File|Save from the - menu bar. The TS file will no longer contain - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 3 - - but instead will have - - \snippet doc/src/snippets/code/doc_src_examples_hellotr.qdoc 4 - - \section1 Running the Application in Latin - - To see the application running in Latin, we have to generate a QM - file from the TS file. Generating a QM file can be achieved - either from within \e {Qt Linguist} (for a single TS file), or - by using the command line program \c lrelease which will produce one - QM file for each of the TS files listed in the project file. - Generate \c hellotr_la.qm from \c hellotr_la.ts by choosing - \uicontrol File|Release from \e {Qt Linguist}'s menu bar and pressing - \uicontrol Save in the file save dialog that pops up. Now run the \c hellotr - program again. This time the button will be labelled "Orbis, te - saluto!". - - \image linguist-hellotr_la.png -*/ diff --git a/doc/src/snippets/code/doc_src_examples_arrowpad.cpp b/doc/src/snippets/code/doc_src_examples_arrowpad.cpp deleted file mode 100644 index 58e790d3ae..0000000000 --- a/doc/src/snippets/code/doc_src_examples_arrowpad.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [0] -qApp->translate("ArrowPad", x) -//! [0] diff --git a/doc/src/snippets/code/doc_src_examples_arrowpad.qdoc b/doc/src/snippets/code/doc_src_examples_arrowpad.qdoc deleted file mode 100644 index 4b3ea343a3..0000000000 --- a/doc/src/snippets/code/doc_src_examples_arrowpad.qdoc +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [1] -lrelease arrowpad.pro -//! [1] - - -//! [2] -export LANG=fr -setenv LANG fr -//! [2] - - -//! [3] -set LANG=fr -//! [3] diff --git a/doc/src/snippets/code/doc_src_examples_hellotr.qdoc b/doc/src/snippets/code/doc_src_examples_hellotr.qdoc deleted file mode 100644 index 2e57cac8a5..0000000000 --- a/doc/src/snippets/code/doc_src_examples_hellotr.qdoc +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [0] -lupdate -verbose hellotr.pro -//! [0] - - -//! [1] - - - QPushButton - - Hello world! - - - - -//! [1] - - -//! [2] -linguist hellotr_la.ts -//! [2] - - -//! [3] - -//! [3] - - -//! [4] -Orbis, te saluto! -//! [4] diff --git a/doc/src/snippets/code/doc_src_examples_trollprint.cpp b/doc/src/snippets/code/doc_src_examples_trollprint.cpp deleted file mode 100644 index 493e245e83..0000000000 --- a/doc/src/snippets/code/doc_src_examples_trollprint.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [0] -twoSidedEnabledRadio = new QRadioButton(tr("Enabled", "two-sided")); -twoSidedDisabledRadio = new QRadioButton(tr("Disabled", "two-sided")); -//! [0] - - -//! [1] -colorsEnabledRadio = new QRadioButton(tr("Enabled", "colors"), colors); -colorsDisabledRadio = new QRadioButton(tr("Disabled", "colors"), colors); -//! [1] - - -//! [2] -/* - TRANSLATOR MainWindow - - In this application the whole application is a MainWindow. - Choose Help|About from the menu bar to see some text - belonging to MainWindow. - - ... -*/ -//! [2] - - -//! [3] -/* - TRANSLATOR ZClientErrorDialog - - Choose Client|Edit to reach the Client Edit dialog, then choose - Client Specification from the drop down list at the top and pick - client Bartel Leendert van der Waerden. Now check the Profile - checkbox and then click the Start Processing button. You should - now see a pop up window with the text "Error: Name too long!". - This window is a ZClientErrorDialog. -*/ -//! [3] diff --git a/examples/examples.pro b/examples/examples.pro index 06ef0adcab..e1c3611836 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -11,7 +11,6 @@ SUBDIRS = \ !contains(QT_CONFIG, no-widgets) { SUBDIRS += widgets \ ipc \ - linguist \ sql \ tools \ touch \ @@ -24,7 +23,6 @@ contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):!contains(QT_CONFIG contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl contains(QT_CONFIG, dbus): SUBDIRS += dbus contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent -contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= linguist aggregate.files = aggregate/examples.pro aggregate.path = $$[QT_INSTALL_EXAMPLES] diff --git a/examples/ja_JP/linguist/hellotr/hellotr.pro b/examples/ja_JP/linguist/hellotr/hellotr.pro deleted file mode 100644 index e4a1ee11bb..0000000000 --- a/examples/ja_JP/linguist/hellotr/hellotr.pro +++ /dev/null @@ -1,11 +0,0 @@ -#! [0] -SOURCES = main.cpp -#! [0] #! [1] -TRANSLATIONS = hellotr_ja.ts -#! [1] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/hellotr -INSTALLS += target - -QT += widgets diff --git a/examples/ja_JP/linguist/hellotr/main.cpp b/examples/ja_JP/linguist/hellotr/main.cpp deleted file mode 100644 index df4546f4b5..0000000000 --- a/examples/ja_JP/linguist/hellotr/main.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include -#include -//! [0] -#include -//! [0] - -//! [1] //! [2] -int main(int argc, char *argv[]) -//! [1] //! [3] //! [4] -{ - QApplication app(argc, argv); -//! [3] - -//! [5] - QTranslator translator; -//! [5] //! [6] - translator.load("hellotr_ja"); -//! [6] //! [7] - app.installTranslator(&translator); -//! [4] //! [7] - -//! [8] - QPushButton hello(QPushButton::tr("Hello world!")); -//! [8] - hello.resize(100, 30); - - hello.show(); - return app.exec(); -} -//! [2] diff --git a/examples/linguist/README b/examples/linguist/README deleted file mode 100644 index 15817742da..0000000000 --- a/examples/linguist/README +++ /dev/null @@ -1,6 +0,0 @@ -Internationalization is a core feature of Qt. These examples show how to -access translation and localization facilities at run-time. - - -Documentation for these examples can be found via the Examples -link in the main Qt documentation. diff --git a/examples/linguist/arrowpad/arrowpad.cpp b/examples/linguist/arrowpad/arrowpad.cpp deleted file mode 100644 index 7b33238295..0000000000 --- a/examples/linguist/arrowpad/arrowpad.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "arrowpad.h" - -ArrowPad::ArrowPad(QWidget *parent) - : QWidget(parent) -{ -//! [0] - upButton = new QPushButton(tr("&Up")); -//! [0] //! [1] - downButton = new QPushButton(tr("&Down")); -//! [1] //! [2] - leftButton = new QPushButton(tr("&Left")); -//! [2] //! [3] - rightButton = new QPushButton(tr("&Right")); -//! [3] - - QGridLayout *mainLayout = new QGridLayout; - mainLayout->addWidget(upButton, 0, 1); - mainLayout->addWidget(leftButton, 1, 0); - mainLayout->addWidget(rightButton, 1, 2); - mainLayout->addWidget(downButton, 2, 1); - setLayout(mainLayout); -} diff --git a/examples/linguist/arrowpad/arrowpad.h b/examples/linguist/arrowpad/arrowpad.h deleted file mode 100644 index 30ebf98e92..0000000000 --- a/examples/linguist/arrowpad/arrowpad.h +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef ARROWPAD_H -#define ARROWPAD_H - -#include - -QT_BEGIN_NAMESPACE -class QPushButton; -QT_END_NAMESPACE - -//! [0] -class ArrowPad : public QWidget -//! [0] //! [1] -{ -//! [1] //! [2] - Q_OBJECT -//! [2] - -public: - ArrowPad(QWidget *parent = 0); - -private: - QPushButton *upButton; - QPushButton *downButton; - QPushButton *leftButton; - QPushButton *rightButton; -}; - -#endif diff --git a/examples/linguist/arrowpad/arrowpad.pro b/examples/linguist/arrowpad/arrowpad.pro deleted file mode 100644 index 3b5916684b..0000000000 --- a/examples/linguist/arrowpad/arrowpad.pro +++ /dev/null @@ -1,18 +0,0 @@ -#! [0] -HEADERS = arrowpad.h \ - mainwindow.h -SOURCES = arrowpad.cpp \ - main.cpp \ - mainwindow.cpp -#! [0] #! [1] -TRANSLATIONS = arrowpad_fr.ts \ - arrowpad_nl.ts -#! [1] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/arrowpad -INSTALLS += target - -QT += widgets - -simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/linguist/arrowpad/main.cpp b/examples/linguist/arrowpad/main.cpp deleted file mode 100644 index c43b17556f..0000000000 --- a/examples/linguist/arrowpad/main.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "mainwindow.h" - -//! [0] -int main(int argc, char *argv[]) -//! [0] //! [1] -{ - QApplication app(argc, argv); - - QString locale = QLocale::system().name(); - -//! [2] - QTranslator translator; -//! [2] //! [3] - translator.load(QString("arrowpad_") + locale); - app.installTranslator(&translator); -//! [1] //! [3] - - MainWindow mainWindow; - mainWindow.show(); - return app.exec(); -} diff --git a/examples/linguist/arrowpad/mainwindow.cpp b/examples/linguist/arrowpad/mainwindow.cpp deleted file mode 100644 index 75a489e518..0000000000 --- a/examples/linguist/arrowpad/mainwindow.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "arrowpad.h" -#include "mainwindow.h" - -MainWindow::MainWindow() -{ -//! [0] - arrowPad = new ArrowPad; -//! [0] - setCentralWidget(arrowPad); - -//! [1] - exitAct = new QAction(tr("E&xit"), this); - exitAct->setShortcuts(QKeySequence::Quit); - connect(exitAct, SIGNAL(triggered()), this, SLOT(close())); -//! [1] - - fileMenu = menuBar()->addMenu(tr("&File")); - fileMenu->addAction(exitAct); -} diff --git a/examples/linguist/arrowpad/mainwindow.h b/examples/linguist/arrowpad/mainwindow.h deleted file mode 100644 index 7ccac6ac59..0000000000 --- a/examples/linguist/arrowpad/mainwindow.h +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include - -QT_BEGIN_NAMESPACE -class QAction; -class QMenu; -QT_END_NAMESPACE -class ArrowPad; - -//! [0] -class MainWindow : public QMainWindow -//! [0] //! [1] -{ - Q_OBJECT -//! [1] - -public: - MainWindow(); - -private: - ArrowPad *arrowPad; - QMenu *fileMenu; - QAction *exitAct; -}; - -#endif diff --git a/examples/linguist/hellotr/hellotr.pro b/examples/linguist/hellotr/hellotr.pro deleted file mode 100644 index 38e5a5b366..0000000000 --- a/examples/linguist/hellotr/hellotr.pro +++ /dev/null @@ -1,13 +0,0 @@ -#! [0] -SOURCES = main.cpp -#! [0] #! [1] -TRANSLATIONS = hellotr_la.ts -#! [1] - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/hellotr -INSTALLS += target - -QT += widgets - -simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/linguist/hellotr/main.cpp b/examples/linguist/hellotr/main.cpp deleted file mode 100644 index 12433f8414..0000000000 --- a/examples/linguist/hellotr/main.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include -#include -//! [0] -#include -//! [0] - -//! [1] //! [2] -int main(int argc, char *argv[]) -//! [1] //! [3] //! [4] -{ - QApplication app(argc, argv); -//! [3] - -//! [5] - QTranslator translator; -//! [5] //! [6] - translator.load("hellotr_la"); -//! [6] //! [7] - app.installTranslator(&translator); -//! [4] //! [7] - -//! [8] - QPushButton hello(QPushButton::tr("Hello world!")); -//! [8] - hello.resize(100, 30); - - hello.show(); - return app.exec(); -} -//! [2] diff --git a/examples/linguist/linguist.pro b/examples/linguist/linguist.pro deleted file mode 100644 index 6109ef0045..0000000000 --- a/examples/linguist/linguist.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = arrowpad \ - hellotr \ - trollprint - -QT += widgets diff --git a/examples/linguist/trollprint/main.cpp b/examples/linguist/trollprint/main.cpp deleted file mode 100644 index 9438d987b2..0000000000 --- a/examples/linguist/trollprint/main.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "mainwindow.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QString locale = QLocale::system().name(); - -//! [0] - QTranslator translator; - translator.load(QString("trollprint_") + locale); - app.installTranslator(&translator); -//! [0] - - MainWindow mainWindow; - mainWindow.show(); - return app.exec(); -} diff --git a/examples/linguist/trollprint/mainwindow.cpp b/examples/linguist/trollprint/mainwindow.cpp deleted file mode 100644 index d98aba6f3d..0000000000 --- a/examples/linguist/trollprint/mainwindow.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "mainwindow.h" -#include "printpanel.h" - -MainWindow::MainWindow() -{ - printPanel = new PrintPanel; - setCentralWidget(printPanel); - - createActions(); - createMenus(); - -//! [0] - setWindowTitle(tr("Troll Print 1.0")); -//! [0] -} - -void MainWindow::about() -{ - QMessageBox::information(this, tr("About Troll Print 1.0"), - tr("Troll Print 1.0.\n\n" - "Copyright 1999 Software, Inc.")); -} - -//! [1] -void MainWindow::createActions() -{ -//! [2] - exitAct = new QAction(tr("E&xit"), this); - exitAct->setShortcut(tr("Ctrl+Q", "Quit")); -//! [2] - connect(exitAct, SIGNAL(triggered()), this, SLOT(close())); - - aboutAct = new QAction(tr("&About"), this); - aboutAct->setShortcut(Qt::Key_F1); - connect(aboutAct, SIGNAL(triggered()), this, SLOT(about())); - - aboutQtAct = new QAction(tr("About &Qt"), this); - connect(aboutQtAct, SIGNAL(triggered()), qApp, SLOT(aboutQt())); -} - -void MainWindow::createMenus() -//! [1] //! [3] -{ - QMenu *fileMenu = menuBar()->addMenu(tr("&File")); - fileMenu->addAction(exitAct); - - menuBar()->addSeparator(); - - QMenu *helpMenu = menuBar()->addMenu(tr("&Help")); - helpMenu->addAction(aboutAct); - helpMenu->addAction(aboutQtAct); -} -//! [3] diff --git a/examples/linguist/trollprint/mainwindow.h b/examples/linguist/trollprint/mainwindow.h deleted file mode 100644 index d55d6fb897..0000000000 --- a/examples/linguist/trollprint/mainwindow.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include - -QT_BEGIN_NAMESPACE -class QAction; -class QMenu; -QT_END_NAMESPACE -class PrintPanel; - -class MainWindow : public QMainWindow -{ - Q_OBJECT - -public: - MainWindow(); - -private slots: - void about(); - -private: - void createActions(); - void createMenus(); - - PrintPanel *printPanel; - QMenu *fileMenu; - QMenu *helpMenu; - QAction *exitAct; - QAction *aboutAct; - QAction *aboutQtAct; -}; - -#endif diff --git a/examples/linguist/trollprint/printpanel.cpp b/examples/linguist/trollprint/printpanel.cpp deleted file mode 100644 index 163fc6de11..0000000000 --- a/examples/linguist/trollprint/printpanel.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include - -#include "printpanel.h" - -//! [0] -PrintPanel::PrintPanel(QWidget *parent) - : QWidget(parent) -{ -/* - QLabel *label = new QLabel(tr("TROLL PRINT")); - label->setAlignment(Qt::AlignCenter); -*/ -//! [0] - -//! [1] - twoSidedGroupBox = new QGroupBox(tr("2-sided")); - twoSidedEnabledRadio = new QRadioButton(tr("Enabled")); - twoSidedDisabledRadio = new QRadioButton(tr("Disabled")); -//! [1] //! [2] - twoSidedDisabledRadio->setChecked(true); - - colorsGroupBox = new QGroupBox(tr("Colors")); - colorsEnabledRadio = new QRadioButton(tr("Enabled")); - colorsDisabledRadio = new QRadioButton(tr("Disabled")); -//! [2] - colorsDisabledRadio->setChecked(true); - - QHBoxLayout *twoSidedLayout = new QHBoxLayout; - twoSidedLayout->addWidget(twoSidedEnabledRadio); - twoSidedLayout->addWidget(twoSidedDisabledRadio); - twoSidedGroupBox->setLayout(twoSidedLayout); - - QHBoxLayout *colorsLayout = new QHBoxLayout; - colorsLayout->addWidget(colorsEnabledRadio); - colorsLayout->addWidget(colorsDisabledRadio); - colorsGroupBox->setLayout(colorsLayout); - - QVBoxLayout *mainLayout = new QVBoxLayout; -/* - mainLayout->addWidget(label); -*/ - mainLayout->addWidget(twoSidedGroupBox); - mainLayout->addWidget(colorsGroupBox); - setLayout(mainLayout); -} diff --git a/examples/linguist/trollprint/printpanel.h b/examples/linguist/trollprint/printpanel.h deleted file mode 100644 index a773a29700..0000000000 --- a/examples/linguist/trollprint/printpanel.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef PRINTPANEL_H -#define PRINTPANEL_H - -#include - -QT_BEGIN_NAMESPACE -class QGroupBox; -class QRadioButton; -QT_END_NAMESPACE - -//! [0] -class PrintPanel : public QWidget -{ - Q_OBJECT -//! [0] - -public: - PrintPanel(QWidget *parent = 0); - -private: - QGroupBox *twoSidedGroupBox; - QGroupBox *colorsGroupBox; - QRadioButton *twoSidedEnabledRadio; - QRadioButton *twoSidedDisabledRadio; - QRadioButton *colorsEnabledRadio; - QRadioButton *colorsDisabledRadio; -}; - -#endif diff --git a/examples/linguist/trollprint/trollprint.pro b/examples/linguist/trollprint/trollprint.pro deleted file mode 100644 index f4f60c41cf..0000000000 --- a/examples/linguist/trollprint/trollprint.pro +++ /dev/null @@ -1,14 +0,0 @@ -HEADERS = mainwindow.h \ - printpanel.h -SOURCES = main.cpp \ - mainwindow.cpp \ - printpanel.cpp -TRANSLATIONS = trollprint_pt.ts - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/linguist/trollprint -INSTALLS += target - -QT += widgets - -simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/linguist/trollprint/trollprint_pt.ts b/examples/linguist/trollprint/trollprint_pt.ts deleted file mode 100644 index e5871bd087..0000000000 --- a/examples/linguist/trollprint/trollprint_pt.ts +++ /dev/null @@ -1,65 +0,0 @@ - - - MainWindow - - Troll Print 1.0 - Troll Imprimir 1.0 - - - E&xit - &Sair - - - &About - &Sobre - - - About &Qt - Sobre &Qt - - - &File - &Arquivo - - - &Help - A&juda - - - About Troll Print 1.0 - Sobre Troll Imprimir 1.0 - - - Troll Print 1.0. - -Copyright 1999 Software, Inc. - Troll Imprimir 1.0 - -Copyright 1999 Software, Inc. - - - Ctrl+Q - Quit - Ctrl+Q - - - - PrintPanel - - 2-sided - 2-lados - - - Enabled - Ativado - - - Disabled - Desativado - - - Colors - Cores - - - From 771e29178d792274bd122e68c71a97eced2aafe4 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 17 Dec 2012 15:20:39 +0100 Subject: [PATCH 278/386] Doc: Correcting qhp link to Qt GUI C++ API. Task-number: QTBUG-28579 Change-Id: I224d55adc1be77138237da4efcac01641964c06b Reviewed-by: Geir Vattekar --- src/gui/doc/qtgui.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/doc/qtgui.qdocconf b/src/gui/doc/qtgui.qdocconf index cf324ad8ac..933d990c77 100644 --- a/src/gui/doc/qtgui.qdocconf +++ b/src/gui/doc/qtgui.qdocconf @@ -21,7 +21,7 @@ qhp.QtGui.customFilters.Qt.filterAttributes = qtgui 5.0.0 qhp.QtGui.subprojects = classes qhp.QtGui.subprojects.classes.title = C++ Classes -qhp.QtGui.subprojects.classes.indexTitle = Qt GUI C++ Classes +qhp.QtGui.subprojects.classes.indexTitle = Qt GUI C++ API qhp.QtGui.subprojects.classes.selectors = class fake:headerfile qhp.QtGui.subprojects.classes.sortPages = true From 7d685afe5d9f2055dc24d5a978355893c8183758 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 17 Dec 2012 15:38:58 +0100 Subject: [PATCH 279/386] Doc: Correcting qhp link to Qt SQL's C++ Classes. Task-number: QTBUG-28579 Change-Id: I0faae04ab125236554cb39659169780e2ab64629 Reviewed-by: Geir Vattekar --- src/sql/doc/qtsql.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/doc/qtsql.qdocconf b/src/sql/doc/qtsql.qdocconf index 4de56207f6..61573d542c 100644 --- a/src/sql/doc/qtsql.qdocconf +++ b/src/sql/doc/qtsql.qdocconf @@ -21,7 +21,7 @@ qhp.QtSql.customFilters.Qt.filterAttributes = qtsql 5.0.0 qhp.QtSql.subprojects = classes qhp.QtSql.subprojects.classes.title = C++ Classes -qhp.QtSql.subprojects.classes.indexTitle = Qt SQL C++ Classes +qhp.QtSql.subprojects.classes.indexTitle = Qt SQL Module C++ Classes qhp.QtSql.subprojects.classes.selectors = class fake:headerfile qhp.QtSql.subprojects.classes.sortPages = true tagfile = ../../../doc/qtsql/qtsql.tags From 058c029b1e035bc00447e846e888a7935c8f1902 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Sun, 16 Dec 2012 21:19:24 +0100 Subject: [PATCH 280/386] Remove useless QVERIFY(true) More QVERIFY()s were added in the meanwhile to the test function, so we can drop this one. Change-Id: If6f137f45ba606b61d6a7004556a667ed316b61f Reviewed-by: Olivier Goffart --- tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index cefbf6a17b..374975001f 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -4892,8 +4892,6 @@ void tst_QObject::connectCxx0xTypeMatching() QVERIFY(QObject::connect(&obj, &Foo::const_signal_vi, &obj, &Foo::slot_vi)); QVERIFY(QObject::connect(&obj, &Foo::signal_vi, &obj, &Foo::const_slot_vi)); QVERIFY(QObject::connect(&obj, &Foo::signal_vi, &obj, &Foo::const_slot_v)); - - QVERIFY(true); //compilation only test } class StringVariant : public QObject From c4f433d581e2d609d2eaecc4e4b999a469950eb3 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Sun, 16 Dec 2012 23:06:45 +0100 Subject: [PATCH 281/386] Reset the QMetaObject::Connection dptr when disconnect()ing The QObjectPrivate::Connection refcount was not decreased when disconnect()ing, therefore it was kept alive by the owning QMetaObject::Connection object. This removes a leak in case the QMetaObject::Connection survives the sender object, after a successful disconnect(). Change-Id: Ie2ea59b269a0e589ae23c1457df7533be77c0797 Reviewed-by: Olivier Goffart --- src/corelib/kernel/qobject.cpp | 4 ++ .../corelib/kernel/qobject/tst_qobject.cpp | 56 +++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 0a3db0cd06..20c634ad78 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -4293,6 +4293,10 @@ bool QObject::disconnect(const QMetaObject::Connection &connection) if (c->next) c->next->prev = c->prev; c->receiver = 0; + + const_cast(connection).d_ptr = 0; + c->deref(); // has been removed from the QMetaObject::Connection object + // disconnectNotify() not called (the signal index is unknown). return true; diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index 374975001f..76a97f89f4 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -141,6 +141,7 @@ private slots: void returnValue2(); void connectVirtualSlots(); void connectFunctorArgDifference(); + void disconnectDoesNotLeakFunctor(); }; class SenderObject : public QObject @@ -5569,5 +5570,60 @@ void tst_QObject::connectFunctorArgDifference() QVERIFY(true); } +static int countedStructObjectsCount = 0; +struct CountedStruct +{ + CountedStruct() { ++countedStructObjectsCount; } + CountedStruct(const CountedStruct &) { ++countedStructObjectsCount; } + CountedStruct &operator=(const CountedStruct &) { return *this; } + ~CountedStruct() { --countedStructObjectsCount; } + void operator()() const {} +}; + +void tst_QObject::disconnectDoesNotLeakFunctor() +{ + QCOMPARE(countedStructObjectsCount, 0); + { + QMetaObject::Connection c; + { + CountedStruct s; + QCOMPARE(countedStructObjectsCount, 1); + QTimer timer; + + c = connect(&timer, &QTimer::timeout, s); + QVERIFY(c); + QCOMPARE(countedStructObjectsCount, 2); + QVERIFY(QObject::disconnect(c)); + // the connection list has been marked dirty, but not cleaned yet. + QCOMPARE(countedStructObjectsCount, 2); + } + // disconnect() dropped the reference that c had to the functor; + // the sender has been destroyed. Therefore, the QObjectPrivate::Connection + // refcount dropped to zero and destroyed the functor. + QCOMPARE(countedStructObjectsCount, 0); + } + QCOMPARE(countedStructObjectsCount, 0); + { + QMetaObject::Connection c1, c2; + { + CountedStruct s; + QCOMPARE(countedStructObjectsCount, 1); + QTimer timer; + + c1 = connect(&timer, &QTimer::timeout, s); + QVERIFY(c1); + c2 = c1; + QVERIFY(c2); + QCOMPARE(countedStructObjectsCount, 2); + QVERIFY(QObject::disconnect(c1)); + // the connection list has been marked dirty, but not cleaned yet. + QCOMPARE(countedStructObjectsCount, 2); + } + // c2 still holds a reference; c1 has been cleaned up + QCOMPARE(countedStructObjectsCount, 1); + } + QCOMPARE(countedStructObjectsCount, 0); +} + QTEST_MAIN(tst_QObject) #include "tst_qobject.moc" From cc89509f831111aadf869b1065ec1ae01f6759b8 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 17 Dec 2012 00:28:44 +0100 Subject: [PATCH 282/386] Delete the QSlotObject when disconnect()ing When disconnect()ing through a QMetaObject::Connection, if the QObjectPrivate::Connection contains a slot object, deref it, so that it will be destroyed before the next run of cleanConnectionList. Previously, a copy of the functor passed to connect() was kept until QObjectPrivate::cleanConnectionLists was called (by adding a new signal, or the sender was destroyed), even after a successful call to disconnect(). That is, we were keeping that copy allocated without any good reason. Change-Id: Ie6074ea797df1611cb995dec07c5b5a742360833 Reviewed-by: Olivier Goffart --- src/corelib/kernel/qobject.cpp | 6 +++ .../corelib/kernel/qobject/tst_qobject.cpp | 47 +++++++++++++++---- 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 20c634ad78..9091b5579e 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -4294,6 +4294,12 @@ bool QObject::disconnect(const QMetaObject::Connection &connection) c->next->prev = c->prev; c->receiver = 0; + // destroy the QSlotObject, if possible + if (c->isSlotObject) { + c->slotObj->destroyIfLastRef(); + c->isSlotObject = false; + } + const_cast(connection).d_ptr = 0; c->deref(); // has been removed from the QMetaObject::Connection object diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index 76a97f89f4..581644b19f 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -5594,12 +5594,8 @@ void tst_QObject::disconnectDoesNotLeakFunctor() QVERIFY(c); QCOMPARE(countedStructObjectsCount, 2); QVERIFY(QObject::disconnect(c)); - // the connection list has been marked dirty, but not cleaned yet. - QCOMPARE(countedStructObjectsCount, 2); + QCOMPARE(countedStructObjectsCount, 1); } - // disconnect() dropped the reference that c had to the functor; - // the sender has been destroyed. Therefore, the QObjectPrivate::Connection - // refcount dropped to zero and destroyed the functor. QCOMPARE(countedStructObjectsCount, 0); } QCOMPARE(countedStructObjectsCount, 0); @@ -5616,11 +5612,46 @@ void tst_QObject::disconnectDoesNotLeakFunctor() QVERIFY(c2); QCOMPARE(countedStructObjectsCount, 2); QVERIFY(QObject::disconnect(c1)); - // the connection list has been marked dirty, but not cleaned yet. - QCOMPARE(countedStructObjectsCount, 2); + // functor object has been destroyed + QCOMPARE(countedStructObjectsCount, 1); } - // c2 still holds a reference; c1 has been cleaned up + QCOMPARE(countedStructObjectsCount, 0); + } + QCOMPARE(countedStructObjectsCount, 0); + { + CountedStruct s; QCOMPARE(countedStructObjectsCount, 1); + QTimer timer; + + QMetaObject::Connection c = connect(&timer, &QTimer::timeout, s); + QVERIFY(c); + QCOMPARE(countedStructObjectsCount, 2); + QVERIFY(QObject::disconnect(c)); + QCOMPARE(countedStructObjectsCount, 1); + } + QCOMPARE(countedStructObjectsCount, 0); + { + QTimer timer; + + QMetaObject::Connection c = connect(&timer, &QTimer::timeout, CountedStruct()); + QVERIFY(c); + QCOMPARE(countedStructObjectsCount, 1); // only one instance, in Qt internals + QVERIFY(QObject::disconnect(c)); + QCOMPARE(countedStructObjectsCount, 0); // functor being destroyed + } + QCOMPARE(countedStructObjectsCount, 0); + { +#if defined(Q_COMPILER_LAMBDA) + CountedStruct s; + QCOMPARE(countedStructObjectsCount, 1); + QTimer timer; + + QMetaObject::Connection c = connect(&timer, &QTimer::timeout, [s](){}); + QVERIFY(c); + QCOMPARE(countedStructObjectsCount, 2); + QVERIFY(QObject::disconnect(c)); + QCOMPARE(countedStructObjectsCount, 1); +#endif // Q_COMPILER_LAMBDA } QCOMPARE(countedStructObjectsCount, 0); } From d5d79f3c7f9e597cb63dfa8a9ccfb9dca733a782 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 17 Dec 2012 11:15:33 +0100 Subject: [PATCH 283/386] Use frameless widgets in tst_qgridlayout. Avoid failures caused by minimum window widths on Windows Areo/8. Task-number: QTBUG-28611 Change-Id: I9affcce84ab804a45fa1a12fb93ad0136e6ae877 Reviewed-by: Oliver Wolff --- .../kernel/qgridlayout/tst_qgridlayout.cpp | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp index e52ff3fa8b..dc7318ca64 100644 --- a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp +++ b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp @@ -54,6 +54,16 @@ #include #include +// Make a widget frameless to prevent size constraints of title bars +// from interfering (Windows). +static inline void setFrameless(QWidget *w) +{ + Qt::WindowFlags flags = w->windowFlags(); + flags |= Qt::FramelessWindowHint; + flags &= ~(Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); + w->setWindowFlags(flags); +} + class tst_QGridLayout : public QObject { Q_OBJECT @@ -256,6 +266,7 @@ void tst_QGridLayout::badDistributionBug() void tst_QGridLayout::setMinAndMaxSize() { QWidget widget; + setFrameless(&widget); QGridLayout layout(&widget); layout.setMargin(0); layout.setSpacing(0); @@ -412,6 +423,7 @@ private: void tst_QGridLayout::spacingAndSpacers() { QWidget widget; + setFrameless(&widget); QGridLayout layout(&widget); layout.setMargin(0); layout.setSpacing(0); @@ -667,6 +679,8 @@ void tst_QGridLayout::spacingsAndMargins() QApplication::setStyle(new Qt42Style); QWidget toplevel; + setFrameless(&toplevel); + QVBoxLayout vbox(&toplevel); QGridLayout grid1; vbox.addLayout(&grid1); @@ -853,8 +867,10 @@ void tst_QGridLayout::minMaxSize() QApplication::setStyle(style); if (!m_grid) m_grid = new QGridLayout(); - if (!m_toplevel) + if (!m_toplevel) { m_toplevel = new QWidget(); + setFrameless(m_toplevel); + } if (fixedSize.isValid()) { m_toplevel->setFixedSize(fixedSize); } else { @@ -1061,6 +1077,7 @@ void tst_QGridLayout::styleDependentSpacingsAndMargins() QApplication::setStyle(new CustomLayoutStyle()); QWidget widget; + setFrameless(&widget); QGridLayout layout(&widget); QList > sizehinters; for (int i = 0; i < rows; ++i) { @@ -1101,6 +1118,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = false; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QVBoxLayout *layout = new QVBoxLayout(); QRadioButton *rb1 = new QRadioButton(QLatin1String("Radio 1"), w); QRadioButton *rb2 = new QRadioButton(QLatin1String("Radio 2"), w); @@ -1137,6 +1155,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = false; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QHBoxLayout *layout = new QHBoxLayout(); QLineEdit *le1 = new QLineEdit(w); QLineEdit *le2 = new QLineEdit(w); @@ -1174,6 +1193,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = true; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QVBoxLayout *layout = new QVBoxLayout(); QPushButton *pb1 = new QPushButton(QLatin1String("Push 1"), w); @@ -1210,6 +1230,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = true; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QGridLayout *layout = new QGridLayout(); QPushButton *pb1 = new QPushButton(QLatin1String("Push 1"), w); QPushButton *pb2 = new QPushButton(QLatin1String("Push 2"), w); @@ -1277,6 +1298,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = true; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QVBoxLayout *layout = new QVBoxLayout(); QPushButton *pb1 = new QPushButton(QLatin1String("Push 1"), w); @@ -1316,6 +1338,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = true; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QVBoxLayout *layout = new QVBoxLayout(); QPushButton *pb1 = new QPushButton(QLatin1String("Push 1"), w); @@ -1364,6 +1387,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = false; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QGridLayout *layout = new QGridLayout(); QPushButton *left = new QPushButton(w); QPushButton *up = new QPushButton(w); @@ -1405,6 +1429,7 @@ void tst_QGridLayout::layoutSpacing_data() style->reimplementSubelementRect = false; QApplication::setStyle(style); QWidget *w = new QWidget(); + setFrameless(w); QGridLayout *layout = new QGridLayout(); QPushButton *left = new QPushButton(w); QPushButton *up = new QPushButton(w); @@ -1442,6 +1467,7 @@ void tst_QGridLayout::layoutSpacing() QFETCH(bool, customSubElementRect); QWidget toplevel; + setFrameless(&toplevel); CustomLayoutStyle *style = new CustomLayoutStyle(); style->hspacing = hSpacing; @@ -1466,6 +1492,7 @@ void tst_QGridLayout::layoutSpacing() void tst_QGridLayout::spacing() { QWidget w; + setFrameless(&w); CustomLayoutStyle *style = new CustomLayoutStyle(); style->hspacing = 5; style->vspacing = 10; @@ -1569,6 +1596,7 @@ void tst_QGridLayout::spacerWithSpacing() void tst_QGridLayout::contentsRect() { QWidget w; + setFrameless(&w); QGridLayout grid; w.setLayout(&grid); grid.addWidget(new QPushButton(&w)); From 87dedd9b2d1326c85d51594256e1f5c79fc6ec05 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 17 Dec 2012 11:51:18 +0100 Subject: [PATCH 284/386] tst_qstyle: Fix compiler warning about unused variables. Change-Id: Ida6a45be577cc1e21a2ba2b45f57b1e96c944fb2 Reviewed-by: Oliver Wolff --- tests/auto/widgets/styles/qstyle/tst_qstyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp index d266692096..1363ee9ed2 100644 --- a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp +++ b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp @@ -586,8 +586,8 @@ public: }; -int Qt42Style::pixelMetric(PixelMetric metric, const QStyleOption * option /*= 0*/, - const QWidget * widget /*= 0*/ ) const +int Qt42Style::pixelMetric(PixelMetric metric, const QStyleOption * /* option = 0*/, + const QWidget * /* widget = 0*/ ) const { switch (metric) { case QStyle::PM_DefaultTopLevelMargin: From dde9569d389b4382e8869ac48f942adb3c51ade7 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Mon, 17 Dec 2012 22:46:45 +0100 Subject: [PATCH 285/386] Initalize the printinfo on Mac if it requests and it needs initalizing When the print panel was closed then it would clean up the printinfo and if it was requested for the same QPrinter then it would not be recreated in time. Therefore we check if it is initalized and if not we re-initalize it. Task-number: QTBUG-28657 Change-Id: I7dc9011b80e03cfa3eae8fee2fcf6cc8021a8566 Reviewed-by: Lars Knoll --- src/plugins/platforms/cocoa/qcocoanativeinterface.mm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoanativeinterface.mm b/src/plugins/platforms/cocoa/qcocoanativeinterface.mm index f0b1bd330a..271c9d2894 100644 --- a/src/plugins/platforms/cocoa/qcocoanativeinterface.mm +++ b/src/plugins/platforms/cocoa/qcocoanativeinterface.mm @@ -107,8 +107,10 @@ QPlatformPrinterSupport *QCocoaNativeInterface::createPlatformPrinterSupport() void *QCocoaNativeInterface::NSPrintInfoForPrintEngine(QPrintEngine *printEngine) { #ifndef QT_NO_WIDGETS - QMacPrintEngine *macPrintEngine = static_cast(printEngine); - return macPrintEngine->d_func()->printInfo; + QMacPrintEnginePrivate *macPrintEnginePriv = static_cast(printEngine)->d_func(); + if (macPrintEnginePriv->state == QPrinter::Idle && !macPrintEnginePriv->isPrintSessionInitialized()) + macPrintEnginePriv->initialize(); + return macPrintEnginePriv->printInfo; #else qFatal("Printing is not supported when Qt is configured with -no-widgets"); return 0; From 019f9158e64ae24aaebb72d600ad9e90407d20ff Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Fri, 14 Dec 2012 17:15:47 +0000 Subject: [PATCH 286/386] Blackberry: Reset virtual keyboard when shown. The keyboard mode is shared between applications. You can reproduce this bug by clicking on a spin box, it will open a number only keyboard, then close the application and run an application that shows a text edit: a number only keyboard will appear. PPS keyboard already does this. Change-Id: Ia22e96ce13ad0cec1fd3b43fcdf4d03abfc25134 Reviewed-by: Sean Harmer --- src/plugins/platforms/qnx/qqnxvirtualkeyboardbps.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/platforms/qnx/qqnxvirtualkeyboardbps.cpp b/src/plugins/platforms/qnx/qqnxvirtualkeyboardbps.cpp index 059dcb574b..3d2f49aa6c 100644 --- a/src/plugins/platforms/qnx/qqnxvirtualkeyboardbps.cpp +++ b/src/plugins/platforms/qnx/qqnxvirtualkeyboardbps.cpp @@ -86,6 +86,11 @@ bool QQnxVirtualKeyboardBps::handleEvent(bps_event_t *event) bool QQnxVirtualKeyboardBps::showKeyboard() { qVirtualKeyboardDebug() << Q_FUNC_INFO << "current visibility=" << isVisible(); + + // They keyboard's mode is global between applications, we have to set it each time + if ( !isVisible() ) + applyKeyboardMode(keyboardMode()); + virtualkeyboard_show(); return true; } From 797f3c0a01e9adf0af3bc7c0bd3f7f63849d99b9 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 17 Dec 2012 15:25:35 -0800 Subject: [PATCH 287/386] Fix direct compilation of qtypeinfo.h and others qtypeinfo.h is included by qglobal.h, so it needs to include that before the #ifdef. Otherwise, we get a circular dependency problem with qflags.h: ./QtCore/../../src/corelib/global/qflags.h:60:27: error: "Q_PRIMITIVE_TYPE" has not been declared Also, take the opportunity to fix the other headers that are included from qglobal.h to avoid similar problems in the future. Change-Id: I99a56f42775c24bdcc796995b06509c1ca0cb849 Reviewed-by: Olivier Goffart --- src/corelib/global/qflags.h | 3 ++- src/corelib/global/qsysinfo.h | 4 ++-- src/corelib/global/qtypeinfo.h | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/corelib/global/qflags.h b/src/corelib/global/qflags.h index 3edbef3bd6..cbd7185a92 100644 --- a/src/corelib/global/qflags.h +++ b/src/corelib/global/qflags.h @@ -39,10 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QFLAGS_H #define QFLAGS_H -#include #include #include diff --git a/src/corelib/global/qsysinfo.h b/src/corelib/global/qsysinfo.h index 275b899662..867acd4d60 100644 --- a/src/corelib/global/qsysinfo.h +++ b/src/corelib/global/qsysinfo.h @@ -39,11 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QSYSINFO_H #define QSYSINFO_H -#include - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE diff --git a/src/corelib/global/qtypeinfo.h b/src/corelib/global/qtypeinfo.h index a4b12feae3..68df50a2af 100644 --- a/src/corelib/global/qtypeinfo.h +++ b/src/corelib/global/qtypeinfo.h @@ -39,11 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QTYPEINFO_H #define QTYPEINFO_H -#include - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE From 85338a9c638f080e54ae9047dd5a86de3509199d Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Fri, 14 Dec 2012 14:19:43 +0100 Subject: [PATCH 288/386] Doc: Moved content from qtdoc - The qdoc pages were related to qtcore and they were referring to snippets inside the qtcore module boundary. - Fixed the exampledirs for QtCore to include the examples that are referred by the \snippet instances in the moved qdoc pages work. Change-Id: Ibb6dbb131920ea8692a203f6145863e5012e4602 Reviewed-by: Jerome Pasion (cherry picked from commit 69e602941112da325b1154e0dc52714bc27a2cc8) Reviewed-by: Sergio Ahumada --- src/corelib/doc/qtcore.qdocconf | 4 +- src/corelib/doc/src/custom-types.qdoc | 165 ++++++++++++++++++++ src/corelib/doc/src/objectmodel/object.qdoc | 3 +- src/corelib/doc/src/timers.qdoc | 123 +++++++++++++++ 4 files changed, 293 insertions(+), 2 deletions(-) create mode 100644 src/corelib/doc/src/custom-types.qdoc create mode 100644 src/corelib/doc/src/timers.qdoc diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index e0c74c9ae5..7e6d06eaa6 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -35,6 +35,8 @@ sourcedirs += .. exampledirs += \ ../ \ snippets \ - ../../../examples/threads + ../../../examples/threads/ \ + ../../../examples/tools/ \ + ../../../examples/widgets/widgets/analogclock imagedirs += images diff --git a/src/corelib/doc/src/custom-types.qdoc b/src/corelib/doc/src/custom-types.qdoc new file mode 100644 index 0000000000..95987ec014 --- /dev/null +++ b/src/corelib/doc/src/custom-types.qdoc @@ -0,0 +1,165 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \page custom-types.html + \title Creating Custom Qt Types + \brief How to create and register new types with Qt. + + \ingroup best-practices + + \tableofcontents + + \section1 Overview + + When creating user interfaces with Qt, particularly those with specialized controls and + features, developers sometimes need to create new data types that can be used alongside + or in place of Qt's existing set of value types. + + Standard types such as QSize, QColor and QString can all be stored in QVariant objects, + used as the types of properties in QObject-based classes, and emitted in signal-slot + communication. + + In this document, we take a custom type and describe how to integrate it into Qt's object + model so that it can be stored in the same way as standard Qt types. We then show how to + register the custom type to allow it to be used in signals and slots connections. + + \section1 Creating a Custom Type + + Before we begin, we need to ensure that the custom type we are creating meets all the + requirements imposed by QMetaType. In other words, it must provide: + + \list + \li a public default constructor, + \li a public copy constructor, and + \li a public destructor. + \endlist + + The following \c Message class definition includes these members: + + \snippet customtype/message.h custom type definition + + The class also provides a constructor for normal use and two public member functions + that are used to obtain the private data. + + \section1 Declaring the Type with QMetaType + + The \c Message class only needs a suitable implementation in order to be usable. + However, Qt's type system will not be able to understand how to store, retrieve + and serialize instances of this class without some assistance. For example, we + will be unable to store \c Message values in QVariant. + + The class in Qt responsible for custom types is QMetaType. To make the type known + to this class, we invoke the Q_DECLARE_METATYPE() macro on the class in the header + file where it is defined: + + \snippet customtype/message.h custom type meta-type declaration + + This now makes it possible for \c Message values to be stored in QVariant objects + and retrieved later. See the \l{Custom Type Example} for code that demonstrates + this. + + The Q_DECLARE_METATYPE() macro also makes it possible for these values to be used as + arguments to signals, but \e{only in direct signal-slot connections}. + To make the custom type generally usable with the signals and slots mechanism, we + need to perform some extra work. + + \section1 Creating and Destroying Custom Objects + + Although the declaration in the previous section makes the type available for use + in direct signal-slot connections, it cannot be used for queued signal-slot + connections, such as those that are made between objects in different threads. + This is because the meta-object system does not know how to handle creation and + destruction of objects of the custom type at run-time. + + To enable creation of objects at run-time, call the qRegisterMetaType() template + function to register it with the meta-object system. This also makes the type + available for queued signal-slot communication as long as you call it before you + make the first connection that uses the type. + + The \l{Queued Custom Type Example} declares a \c Block class which is registered + in the \c{main.cpp} file: + + \snippet queuedcustomtype/main.cpp main start + \dots + \snippet queuedcustomtype/main.cpp register meta-type for queued communications + \dots + \snippet queuedcustomtype/main.cpp main finish + + This type is later used in a signal-slot connection in the \c{window.cpp} file: + + \snippet queuedcustomtype/window.cpp Window constructor start + \dots + \snippet queuedcustomtype/window.cpp connecting signal with custom type + \dots + \snippet queuedcustomtype/window.cpp Window constructor finish + + If a type is used in a queued connection without being registered, a warning will be + printed at the console; for example: + + \code + QObject::connect: Cannot queue arguments of type 'Block' + (Make sure 'Block' is registered using qRegisterMetaType().) + \endcode + + \section1 Making the Type Printable + + It is often quite useful to make a custom type printable for debugging purposes, + as in the following code: + + \snippet customtype/main.cpp printing a custom type + + This is achieved by creating a streaming operator for the type, which is often + defined in the header file for that type: + + \snippet customtype/message.h custom type streaming operator + + The implementation for the \c Message type in the \l{Custom Type Example} + goes to some effort to make the printable representation as readable as + possible: + + \snippet customtype/message.cpp custom type streaming operator + + The output sent to the debug stream can, of course, be made as simple or as + complicated as you like. Note that the value returned by this function is + the QDebug object itself, though this is often obtained by calling the + maybeSpace() member function of QDebug that pads out the stream with space + characters to make it more readable. + + \section1 Further Reading + + The Q_DECLARE_METATYPE() macro and qRegisterMetaType() function documentation + contain more detailed information about their uses and limitations. + + The \l{Custom Type Example}{Custom Type}, + \l{Custom Type Sending Example}{Custom Type Sending} + and \l{Queued Custom Type Example}{Queued Custom Type} examples show how to + implement a custom type with the features outlined in this document. + + The \l{Debugging Techniques} document provides an overview of the debugging + mechanisms discussed above. +*/ diff --git a/src/corelib/doc/src/objectmodel/object.qdoc b/src/corelib/doc/src/objectmodel/object.qdoc index 47f56372de..edf5673da0 100644 --- a/src/corelib/doc/src/objectmodel/object.qdoc +++ b/src/corelib/doc/src/objectmodel/object.qdoc @@ -47,7 +47,7 @@ properties} \li powerful \l{The Event System}{events and event filters} \li contextual \l{i18n}{string translation for internationalization} - \li sophisticated interval driven \l timers that make it possible + \li sophisticated interval driven \l {Timers}{timers} that make it possible to elegantly integrate many tasks in an event-driven GUI \li hierarchical and queryable \l{Object Trees & Ownership}{object trees} that organize object ownership in a natural way @@ -56,6 +56,7 @@ pointers which become dangling pointers when their objects are destroyed \li a \l{metaobjects.html#qobjectcast}{dynamic cast} that works across library boundaries. + \li support for \l{Creating Custom Qt Types}{custom type} creation. \endlist Many of these Qt features are implemented with standard C++ diff --git a/src/corelib/doc/src/timers.qdoc b/src/corelib/doc/src/timers.qdoc new file mode 100644 index 0000000000..eddb600559 --- /dev/null +++ b/src/corelib/doc/src/timers.qdoc @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \page timers.html + \title Timers + \brief How to use Qt timers in your application. + + \ingroup best-practices + + QObject, the base class of all Qt objects, provides the basic + timer support in Qt. With QObject::startTimer(), you start a + timer with an interval in milliseconds as argument. The function + returns a unique integer timer ID. The timer will now fire at + regular intervals until you explicitly call QObject::killTimer() + with the timer ID. + + For this mechanism to work, the application must run in an event + loop. You start an event loop with QApplication::exec(). When a + timer fires, the application sends a QTimerEvent, and the flow of + control leaves the event loop until the timer event is processed. + This implies that a timer cannot fire while your application is + busy doing something else. In other words: the accuracy of timers + depends on the granularity of your application. + + In multithreaded applications, you can use the timer mechanism in + any thread that has an event loop. To start an event loop from a + non-GUI thread, use QThread::exec(). Qt uses the object's + \l{QObject::thread()}{thread affinity} to determine which thread + will deliver the QTimerEvent. Because of this, you must start and + stop all timers in the object's thread; it is not possible to + start timers for objects in another thread. + + The upper limit for the interval value is determined by the number + of milliseconds that can be specified in a signed integer + (in practice, this is a period of just over 24 days). The accuracy + depends on the underlying operating system. Windows 2000 has 15 + millisecond accuracy; other systems that we have tested can handle + 1 millisecond intervals. + + The main API for the timer functionality is QTimer. That class + provides regular timers that emit a signal when the timer fires, and + inherits QObject so that it fits well into the ownership structure + of most GUI programs. The normal way of using it is like this: + + \snippet timers/timers.cpp 0 + \snippet timers/timers.cpp 1 + \snippet timers/timers.cpp 2 + + The QTimer object is made into a child of this widget so that, + when this widget is deleted, the timer is deleted too. + Next, its \l{QTimer::}{timeout()} signal is connected to the slot + that will do the work, it is started with a value of 1000 + milliseconds, indicating that it will time out every second. + + QTimer also provides a static function for single-shot timers. + For example: + + \snippet timers/timers.cpp 3 + + 200 milliseconds (0.2 seconds) after this line of code is + executed, the \c updateCaption() slot will be called. + + For QTimer to work, you must have an event loop in your + application; that is, you must call QCoreApplication::exec() + somewhere. Timer events will be delivered only while the event + loop is running. + + In multithreaded applications, you can use QTimer in any thread + that has an event loop. To start an event loop from a non-GUI + thread, use QThread::exec(). Qt uses the timer's + \l{QObject::thread()}{thread affinity} to determine which thread + will emit the \l{QTimer::}{timeout()} signal. Because of this, you + must start and stop the timer in its thread; it is not possible to + start a timer from another thread. + + The \l{widgets/analogclock}{Analog Clock} example shows how to use + QTimer to redraw a widget at regular intervals. From \c{AnalogClock}'s + implementation: + + \snippet analogclock.cpp 0 + \snippet analogclock.cpp 2 + \snippet analogclock.cpp 3 + \snippet analogclock.cpp 4 + \snippet analogclock.cpp 5 + \snippet analogclock.cpp 6 + \dots + \snippet analogclock.cpp 7 + + Every second, QTimer will call the QWidget::update() slot to + refresh the clock's display. + + If you already have a QObject subclass and want an easy + optimization, you can use QBasicTimer instead of QTimer. With + QBasicTimer, you must reimplement + \l{QObject::timerEvent()}{timerEvent()} in your QObject subclass + and handle the timeout there. The \l{widgets/wiggly}{Wiggly} + example shows how to use QBasicTimer. +*/ From a71b1e94f10ab06bc6240d3bae968f8bf91b9ca7 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 12 Dec 2012 16:27:17 +0100 Subject: [PATCH 289/386] Fix mandlebrot and imagescaling example qdoc markup. Change-Id: I5c9802cab917203092d93fca73b166d2dfeb64bc Reviewed-by: Jerome Pasion (cherry picked from commit 127f9e109869897c144d86be3a7999a2e1b4dea7) Reviewed-by: Sergio Ahumada --- .../imagescaling/doc/src/qtconcurrent-imagescaling.qdoc | 5 ++--- examples/threads/doc/src/mandelbrot.qdoc | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc index 4cf07e8edb..c270bda102 100644 --- a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc +++ b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc @@ -28,11 +28,10 @@ /*! \example qtconcurrent/imagescaling \title Image Scaling Example - \bried Demonstrates how to asynchronously scale images. + \brief Demonstrates how to asynchronously scale images. \ingroup qtconcurrentexamples + \image imagescaling_example.png The QtConcurrent Map example shows how to use the asynchronous QtConcurrent API to load and scale a collection of images. - - \image imagescaling_example.png */ diff --git a/examples/threads/doc/src/mandelbrot.qdoc b/examples/threads/doc/src/mandelbrot.qdoc index 8ef8d0b01a..f2c544ad3d 100644 --- a/examples/threads/doc/src/mandelbrot.qdoc +++ b/examples/threads/doc/src/mandelbrot.qdoc @@ -28,21 +28,21 @@ /*! \example mandelbrot \title Mandelbrot Example - \brief Demonstrates multi-thread programming using Qt \ingroup qtconcurrent-mtexamples - \brief The Mandelbrot example shows how to use a worker thread to + \brief The Mandelbrot example demonstrates multi-thread programming + using Qt. It shows how to use a worker thread to perform heavy computations without blocking the main thread's event loop. + \image mandelbrot-example.png Screenshot of the Mandelbrot example + The heavy computation here is the Mandelbrot set, probably the world's most famous fractal. These days, while sophisticated programs such as \l{XaoS} that provide real-time zooming in the Mandelbrot set, the standard Mandelbrot algorithm is just slow enough for our purposes. - \image mandelbrot-example.png Screenshot of the Mandelbrot example - In real life, the approach described here is applicable to a large set of problems, including synchronous network I/O and database access, where the user interface must remain responsive From 1ff94b05e977378776ba9f73e82d5c20b4f6bc3e Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 17 Dec 2012 12:43:26 +0100 Subject: [PATCH 290/386] OpenGL examples: Add error message about ANGLE on Windows These OpenGL examples require a Desktop OpenGL and will not build with OpenGL ES 2.0. This means those examples do not build on Windows with the default configuration using ANGLE. ANGLE is wrapping OpenGL ES 2.0 to DirectX and does not support the full Desktop OpenGL feature set. Since this is confusing for Windows users that do not know about ANGLE this patch adds an explicit error message describing the solution. (configuring Qt with -opengl desktop) Task-number: QTBUG-28590 Change-Id: I782e6830b9e282ddcc8a2ee0a47faf3579d36aab Reviewed-by: hjk Reviewed-by: Oswald Buddenhagen (cherry picked from commit 63693430c7cb8e8ede611eb9e99f305370d11ff9) Reviewed-by: Sergio Ahumada --- examples/opengl/framebufferobject2/framebufferobject2.pro | 6 ++++++ examples/opengl/grabber/grabber.pro | 6 ++++++ examples/opengl/hellogl/hellogl.pro | 6 ++++++ examples/opengl/overpainting/overpainting.pro | 6 ++++++ examples/opengl/pbuffers/pbuffers.pro | 6 ++++++ examples/opengl/pbuffers2/pbuffers2.pro | 6 ++++++ examples/opengl/samplebuffers/samplebuffers.pro | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/examples/opengl/framebufferobject2/framebufferobject2.pro b/examples/opengl/framebufferobject2/framebufferobject2.pro index d26751ab0e..3a0dbb4446 100644 --- a/examples/opengl/framebufferobject2/framebufferobject2.pro +++ b/examples/opengl/framebufferobject2/framebufferobject2.pro @@ -10,3 +10,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/grabber/grabber.pro b/examples/opengl/grabber/grabber.pro index a60dbbe2dc..c4c54c7c32 100644 --- a/examples/opengl/grabber/grabber.pro +++ b/examples/opengl/grabber/grabber.pro @@ -11,3 +11,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/hellogl/hellogl.pro b/examples/opengl/hellogl/hellogl.pro index acaca35635..42913835a2 100644 --- a/examples/opengl/hellogl/hellogl.pro +++ b/examples/opengl/hellogl/hellogl.pro @@ -16,3 +16,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/overpainting/overpainting.pro b/examples/opengl/overpainting/overpainting.pro index 08fe9b3dae..141c8cb7ce 100644 --- a/examples/opengl/overpainting/overpainting.pro +++ b/examples/opengl/overpainting/overpainting.pro @@ -15,3 +15,9 @@ target.path = $$[QT_INSTALL_EXAMPLES]/opengl/overpainting INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/pbuffers/pbuffers.pro b/examples/opengl/pbuffers/pbuffers.pro index 1a9882c45d..57bb3aa32a 100644 --- a/examples/opengl/pbuffers/pbuffers.pro +++ b/examples/opengl/pbuffers/pbuffers.pro @@ -11,3 +11,9 @@ target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/pbuffers2/pbuffers2.pro b/examples/opengl/pbuffers2/pbuffers2.pro index 31fd22cced..c53309d1fa 100644 --- a/examples/opengl/pbuffers2/pbuffers2.pro +++ b/examples/opengl/pbuffers2/pbuffers2.pro @@ -9,3 +9,9 @@ target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers2 INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} diff --git a/examples/opengl/samplebuffers/samplebuffers.pro b/examples/opengl/samplebuffers/samplebuffers.pro index 5793ea3e68..d16993adfe 100644 --- a/examples/opengl/samplebuffers/samplebuffers.pro +++ b/examples/opengl/samplebuffers/samplebuffers.pro @@ -9,3 +9,9 @@ INSTALLS += target simulator: warning(This example might not fully work on Simulator platform) + +contains(QT_CONFIG, opengles.) { + contains(QT_CONFIG, angle): \ + warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c") + error("This example requires Qt to be configured with -opengl desktop") +} From fbcc5217e51d6ccdbd8866deea21f32e68e18f50 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 17 Dec 2012 15:20:39 +0100 Subject: [PATCH 291/386] Doc: Correcting qhp link to Qt GUI C++ API. Task-number: QTBUG-28579 Change-Id: I224d55adc1be77138237da4efcac01641964c06b Reviewed-by: Geir Vattekar (cherry picked from commit 771e29178d792274bd122e68c71a97eced2aafe4) Reviewed-by: Sergio Ahumada --- src/gui/doc/qtgui.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/doc/qtgui.qdocconf b/src/gui/doc/qtgui.qdocconf index cf324ad8ac..933d990c77 100644 --- a/src/gui/doc/qtgui.qdocconf +++ b/src/gui/doc/qtgui.qdocconf @@ -21,7 +21,7 @@ qhp.QtGui.customFilters.Qt.filterAttributes = qtgui 5.0.0 qhp.QtGui.subprojects = classes qhp.QtGui.subprojects.classes.title = C++ Classes -qhp.QtGui.subprojects.classes.indexTitle = Qt GUI C++ Classes +qhp.QtGui.subprojects.classes.indexTitle = Qt GUI C++ API qhp.QtGui.subprojects.classes.selectors = class fake:headerfile qhp.QtGui.subprojects.classes.sortPages = true From bb454255a3a25290a88891ea00f6570b0ee13b96 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 17 Dec 2012 15:38:58 +0100 Subject: [PATCH 292/386] Doc: Correcting qhp link to Qt SQL's C++ Classes. Task-number: QTBUG-28579 Change-Id: I0faae04ab125236554cb39659169780e2ab64629 Reviewed-by: Geir Vattekar (cherry picked from commit 7d685afe5d9f2055dc24d5a978355893c8183758) Reviewed-by: Sergio Ahumada --- src/sql/doc/qtsql.qdocconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/doc/qtsql.qdocconf b/src/sql/doc/qtsql.qdocconf index 4de56207f6..61573d542c 100644 --- a/src/sql/doc/qtsql.qdocconf +++ b/src/sql/doc/qtsql.qdocconf @@ -21,7 +21,7 @@ qhp.QtSql.customFilters.Qt.filterAttributes = qtsql 5.0.0 qhp.QtSql.subprojects = classes qhp.QtSql.subprojects.classes.title = C++ Classes -qhp.QtSql.subprojects.classes.indexTitle = Qt SQL C++ Classes +qhp.QtSql.subprojects.classes.indexTitle = Qt SQL Module C++ Classes qhp.QtSql.subprojects.classes.selectors = class fake:headerfile qhp.QtSql.subprojects.classes.sortPages = true tagfile = ../../../doc/qtsql/qtsql.tags From 3a75e2f227810d75adc22d426fcab1355611adee Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Mon, 17 Dec 2012 22:46:45 +0100 Subject: [PATCH 293/386] Initalize the printinfo on Mac if it requests and it needs initalizing When the print panel was closed then it would clean up the printinfo and if it was requested for the same QPrinter then it would not be recreated in time. Therefore we check if it is initalized and if not we re-initalize it. Task-number: QTBUG-28657 Change-Id: I7dc9011b80e03cfa3eae8fee2fcf6cc8021a8566 Reviewed-by: Lars Knoll (cherry picked from commit dde9569d389b4382e8869ac48f942adb3c51ade7) Reviewed-by: Sergio Ahumada --- src/plugins/platforms/cocoa/qcocoanativeinterface.mm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoanativeinterface.mm b/src/plugins/platforms/cocoa/qcocoanativeinterface.mm index f0b1bd330a..271c9d2894 100644 --- a/src/plugins/platforms/cocoa/qcocoanativeinterface.mm +++ b/src/plugins/platforms/cocoa/qcocoanativeinterface.mm @@ -107,8 +107,10 @@ QPlatformPrinterSupport *QCocoaNativeInterface::createPlatformPrinterSupport() void *QCocoaNativeInterface::NSPrintInfoForPrintEngine(QPrintEngine *printEngine) { #ifndef QT_NO_WIDGETS - QMacPrintEngine *macPrintEngine = static_cast(printEngine); - return macPrintEngine->d_func()->printInfo; + QMacPrintEnginePrivate *macPrintEnginePriv = static_cast(printEngine)->d_func(); + if (macPrintEnginePriv->state == QPrinter::Idle && !macPrintEnginePriv->isPrintSessionInitialized()) + macPrintEnginePriv->initialize(); + return macPrintEnginePriv->printInfo; #else qFatal("Printing is not supported when Qt is configured with -no-widgets"); return 0; From c8b1c9dceaee73df30b6c154df5eed6d119242fe Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 14 Dec 2012 10:42:08 +0100 Subject: [PATCH 294/386] tst_QDBusXmlParser: make XML attribute order deterministic Avoid QHash randomization so that the order of the XML attributes is stable This was causing intermittent failures. Change-Id: I4cc0dba4b0c2ec36601f3b06fb17ff80005cc9fb Reviewed-by: Sean Harmer (cherry picked from commit aa434bc90861f1599209edd6bc614802c50704dc) Reviewed-by: Sergio Ahumada --- tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp index 35cf989753..6d58fdf6d0 100644 --- a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp +++ b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp @@ -58,6 +58,7 @@ private: QString clean_xml(const QString&); private slots: + void initTestCase(); void parsing_data(); void parsing(); void parsingWithDoctype_data(); @@ -71,6 +72,12 @@ private slots: void properties(); }; +void tst_QDBusXmlParser::initTestCase() +{ + // Avoid QHash randomization so that the order of the XML attributes is stable + qputenv("QT_HASH_SEED", "123"); +} + void tst_QDBusXmlParser::parsing_data() { QTest::addColumn("xmlData"); From e14dd5a65d1ba9cd37c8ca9924886e0b36de9911 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 17 Dec 2012 15:25:35 -0800 Subject: [PATCH 295/386] Fix direct compilation of qtypeinfo.h and others qtypeinfo.h is included by qglobal.h, so it needs to include that before the #ifdef. Otherwise, we get a circular dependency problem with qflags.h: ./QtCore/../../src/corelib/global/qflags.h:60:27: error: "Q_PRIMITIVE_TYPE" has not been declared Also, take the opportunity to fix the other headers that are included from qglobal.h to avoid similar problems in the future. Change-Id: I99a56f42775c24bdcc796995b06509c1ca0cb849 Reviewed-by: Olivier Goffart (cherry picked from commit 797f3c0a01e9adf0af3bc7c0bd3f7f63849d99b9) Reviewed-by: Sergio Ahumada --- src/corelib/global/qflags.h | 3 ++- src/corelib/global/qsysinfo.h | 4 ++-- src/corelib/global/qtypeinfo.h | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/corelib/global/qflags.h b/src/corelib/global/qflags.h index 3edbef3bd6..cbd7185a92 100644 --- a/src/corelib/global/qflags.h +++ b/src/corelib/global/qflags.h @@ -39,10 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QFLAGS_H #define QFLAGS_H -#include #include #include diff --git a/src/corelib/global/qsysinfo.h b/src/corelib/global/qsysinfo.h index 275b899662..867acd4d60 100644 --- a/src/corelib/global/qsysinfo.h +++ b/src/corelib/global/qsysinfo.h @@ -39,11 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QSYSINFO_H #define QSYSINFO_H -#include - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE diff --git a/src/corelib/global/qtypeinfo.h b/src/corelib/global/qtypeinfo.h index a4b12feae3..68df50a2af 100644 --- a/src/corelib/global/qtypeinfo.h +++ b/src/corelib/global/qtypeinfo.h @@ -39,11 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QTYPEINFO_H #define QTYPEINFO_H -#include - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE From daef188711e4c7459eb8d399778d1766979e80e0 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 17 Dec 2012 11:51:59 +0200 Subject: [PATCH 296/386] Do not build dlldata.c in static builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Symbols in dlldata.c conflict with symbols defined in ActiveQt when linking Windows platform plugin statically into same binary. Fixed by not building dlldata.c when building static library. Task-number: QTBUG-28645 Change-Id: Ibc5928124ad6e1fde2a1fa761ada4f345eb65a20 Reviewed-by: Jan Arve Sæther --- src/3rdparty/iaccessible2/iaccessible2.pri | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/3rdparty/iaccessible2/iaccessible2.pri b/src/3rdparty/iaccessible2/iaccessible2.pri index 954f4c9e7c..b3cdfa9356 100644 --- a/src/3rdparty/iaccessible2/iaccessible2.pri +++ b/src/3rdparty/iaccessible2/iaccessible2.pri @@ -40,8 +40,12 @@ SOURCES += $${MIDL_GENERATED}/Accessible2_i.c \ $${MIDL_GENERATED}/AccessibleText_i.c \ $${MIDL_GENERATED}/AccessibleValue_i.c -SOURCES += $${MIDL_GENERATED}/IA2TypeLibrary_i.c \ - $${MIDL_GENERATED}/dlldata.c +SOURCES += $${MIDL_GENERATED}/IA2TypeLibrary_i.c + +# Do not add dlldata.c when building accessibility into a static library, as the COM entry points +# defined there can cause duplicate symbol errors when linking into a binary that also defines +# such entry points, e.g. anything linked against QtAxServer. +!static: SOURCES += $${MIDL_GENERATED}/dlldata.c HEADERS += $${MIDL_GENERATED}/Accessible2.h \ $${MIDL_GENERATED}/AccessibleAction.h \ From 5a2fc03ef40d9b2a8384abffe3f1cb9d943b9acc Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 14 Dec 2012 14:55:20 +0100 Subject: [PATCH 297/386] Fix building of the painting examples that use shared code Task-number: QTCREATORBUG-8437 Change-Id: I66031184a009f3b26ad4af36b1975204e8fa80dc Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit 2dc6ad8adf7f98d55aca5def8ee3f9c12934fb7b) --- examples/widgets/painting/shared/shared.pri | 31 ++++++++++----------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/examples/widgets/painting/shared/shared.pri b/examples/widgets/painting/shared/shared.pri index 2d6b3c78f9..6aef1bdd5b 100644 --- a/examples/widgets/painting/shared/shared.pri +++ b/examples/widgets/painting/shared/shared.pri @@ -1,20 +1,19 @@ -INCLUDEPATH += $$SHARED_FOLDER +INCLUDEPATH += $$PWD -build_all:!build_pass { - CONFIG -= build_all - CONFIG += release -} -contains(CONFIG, debug_and_release_target) { - CONFIG(debug, debug|release) { - QMAKE_LIBDIR += $$SHARED_FOLDER/debug - } else { - QMAKE_LIBDIR += $$SHARED_FOLDER/release - } -} else { - QMAKE_LIBDIR += $$SHARED_FOLDER +contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { + DEFINES += QT_OPENGL_SUPPORT + QT += opengl widgets } -hpux-acc*:LIBS += $$SHARED_FOLDER/libdemo_shared.a -hpuxi-acc*:LIBS += $$SHARED_FOLDER/libdemo_shared.a -!hpuxi-acc*:!hpux-acc*:LIBS += -ldemo_shared +SOURCES += \ + $$PWD/arthurstyle.cpp\ + $$PWD/arthurwidgets.cpp \ + $$PWD/hoverpoints.cpp + +HEADERS += \ + $$PWD/arthurstyle.h \ + $$PWD/arthurwidgets.h \ + $$PWD/hoverpoints.h + +RESOURCES += $$PWD/shared.qrc From 34e60228d4d449f6ec9177e3ef731089db0fcef9 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 17 Dec 2012 11:47:12 +0100 Subject: [PATCH 298/386] Fix QStyle-test for Windows Aero / 8. Increase tolerance on Windows for the Aero style. Set small top level widgets frameless to avoid warnings about minimum size of decorated windows on Windows. Task-number: QTBUG-28611 Change-Id: Ia4aec0cf0763da9955577054cb8cf81337fac134 Reviewed-by: Oliver Wolff Reviewed-by: Jens Bache-Wiig --- .../auto/widgets/styles/qstyle/tst_qstyle.cpp | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp index 1363ee9ed2..9dee368768 100644 --- a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp +++ b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp @@ -85,6 +85,16 @@ static bool qt_wince_is_smartphone() { #include +// Make a widget frameless to prevent size constraints of title bars +// from interfering (Windows). +static inline void setFrameless(QWidget *w) +{ + Qt::WindowFlags flags = w->windowFlags(); + flags |= Qt::FramelessWindowHint; + flags &= ~(Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); + w->setWindowFlags(flags); +} + class tst_QStyle : public QObject { Q_OBJECT @@ -337,6 +347,7 @@ bool tst_QStyle::testScrollBarSubControls(QStyle* style) #endif QScrollBar scrollBar; + setFrameless(&scrollBar); scrollBar.show(); const QStyleOptionSlider opt = qt_qscrollbarStyleOption(&scrollBar); foreach (int subControl, QList() << 1 << 2 << 4 << 8) { @@ -660,6 +671,7 @@ void tst_QStyle::progressBarChangeStyle() void tst_QStyle::lineUpLayoutTest(QStyle *style) { QWidget widget; + setFrameless(&widget); QHBoxLayout layout; QFont font; font.setPointSize(9); //Plastique is lined up for odd numbers... @@ -677,10 +689,21 @@ void tst_QStyle::lineUpLayoutTest(QStyle *style) foreach (QWidget *w, qFindChildren(&widget)) w->setStyle(style); widget.show(); - QTest::qWait( 500 ); + QVERIFY(QTest::qWaitForWindowExposed(&widget)); - QVERIFY(qAbs(spinbox.height() - lineedit.height()) <= 1); - QVERIFY(qAbs(spinbox.height() - combo.height()) <= 1); +#ifdef Q_OS_WIN + const int limit = 2; // Aero style has larger margins +#else + const int limit = 1; +#endif + const int slDiff = qAbs(spinbox.height() - lineedit.height()); + const int scDiff = qAbs(spinbox.height() - combo.height()); + QVERIFY2(slDiff <= limit, + qPrintable(QString::fromLatin1("%1 exceeds %2 for %3") + .arg(slDiff).arg(limit).arg(style->objectName()))); + QVERIFY2(scDiff <= limit, + qPrintable(QString::fromLatin1("%1 exceeds %2 for %3") + .arg(scDiff).arg(limit).arg(style->objectName()))); } void tst_QStyle::defaultFont() @@ -690,6 +713,7 @@ void tst_QStyle::defaultFont() pointFont.setPixelSize(9); qApp->setFont(pointFont); QPushButton button; + setFrameless(&button); button.show(); qApp->processEvents(); qApp->setFont(defaultFont); @@ -716,6 +740,7 @@ void tst_QStyle::testDrawingShortcuts() { { QWidget w; + setFrameless(&w); QToolButton *tb = new QToolButton(&w); tb->setText("&abc"); DrawTextStyle *dts = new DrawTextStyle; @@ -730,6 +755,7 @@ void tst_QStyle::testDrawingShortcuts() } { QToolBar w; + setFrameless(&w); QToolButton *tb = new QToolButton(&w); tb->setText("&abc"); DrawTextStyle *dts = new DrawTextStyle; From 3e3451f42989a0dbd2398da78ad84441c7898fd3 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 14 Dec 2012 13:26:02 +0100 Subject: [PATCH 299/386] QMdiArea: Increase minimum size for Windows 8/Large fonts. Task-number: QTBUG-28611 Change-Id: I115a5fa6726ac99c2bbff4ec65d3f8856b2530df Reviewed-by: Oliver Wolff --- tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp index 4bd04d6bee..ba5c461223 100644 --- a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp +++ b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp @@ -1733,9 +1733,9 @@ void tst_QMdiArea::tileSubWindows() QTRY_COMPARE(workspace.viewport()->rect().size(), expectedViewportSize); // Not enough space for all sub-windows to be visible -> provide scroll bars. - workspace.resize(150, 150); + workspace.resize(160, 150); qApp->processEvents(); - QTRY_COMPARE(workspace.size(), QSize(150, 150)); + QTRY_COMPARE(workspace.size(), QSize(160, 150)); // Horizontal scroll bar. QScrollBar *hBar = workspace.horizontalScrollBar(); From 51cf4215dc0777d0ed57e973c8343549f217bf54 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 11 Dec 2012 20:31:00 +0100 Subject: [PATCH 300/386] Accessibility Linux: Prevent access to invalid interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Especially with the newer QML accessibility we can end up with events for objects that cannot instantiate a QAccessibleInterface. Let's not crash in that case. Change-Id: Ie5d38315f32d30540eb4adcb74a7b3bfa667f03f Reviewed-by: Marc Mutz Reviewed-by: Morten Johan Sørvig --- .../linuxaccessibility/atspiadaptor.cpp | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index 66541e6a61..0db8e31537 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -971,7 +971,10 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) case QAccessible::TextUpdated: { if (sendObject || sendObject_text_changed) { QAIPointer iface = QAIPointer(event->accessibleInterface()); - Q_ASSERT(iface->textInterface()); + if (!iface || !iface->textInterface()) { + qAtspiDebug() << "Received text event for invalid interface."; + return; + } QString path = pathForInterface(iface); int changePosition = 0; @@ -1026,8 +1029,8 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) case QAccessible::TextCaretMoved: { if (sendObject || sendObject_text_caret_moved) { QAIPointer iface = QAIPointer(event->accessibleInterface()); - if (!iface->textInterface()) { - qWarning() << "Sending TextCaretMoved from object that does not implement text interface: " << iface << iface->object(); + if (!iface || !iface->textInterface()) { + qWarning() << "Sending TextCaretMoved from object that does not implement text interface: " << iface; return; } @@ -1054,7 +1057,11 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) case QAccessible::ValueChanged: { if (sendObject || sendObject_value_changed || sendObject_property_change_accessible_value) { QAIPointer iface = QAIPointer(event->accessibleInterface()); - Q_ASSERT(iface->valueInterface()); + if (!iface || !iface->valueInterface()) { + qWarning() << "ValueChanged event from invalid accessible: " << iface; + return; + } + QString path = pathForInterface(iface); QVariantList args = packDBusSignalArguments(QLatin1String("accessible-value"), 0, 0, variantForPath(path)); sendDBusSignal(path, QLatin1String(ATSPI_DBUS_INTERFACE_EVENT_OBJECT), @@ -1064,6 +1071,10 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) } case QAccessible::Selection: { QAIPointer iface = QAIPointer(event->accessibleInterface()); + if (!iface) { + qWarning() << "Selection event from invalid accessible."; + return; + } QString path = pathForInterface(iface); int selected = iface->state().selected ? 1 : 0; QVariantList stateArgs = packDBusSignalArguments(QLatin1String("selected"), selected, 0, variantForPath(path)); @@ -1077,11 +1088,15 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event) QAccessible::State stateChange = static_cast(event)->changedStates(); if (stateChange.checked) { QAIPointer iface = QAIPointer(event->accessibleInterface()); + if (!iface) { + qWarning() << "StateChanged event from invalid accessible."; + return; + } int checked = iface->state().checked; notifyStateChange(iface, QLatin1String("checked"), checked); } else if (stateChange.active) { QAIPointer iface = QAIPointer(event->accessibleInterface()); - if (!(iface->role() == QAccessible::Window && (sendWindow || sendWindow_activate))) + if (!iface || !(iface->role() == QAccessible::Window && (sendWindow || sendWindow_activate))) return; QString windowTitle = iface->text(QAccessible::Name); QDBusVariant data; From 3bf50a7db9a1add66fb66b7a1f9c1d3b038c5e7f Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 18 Dec 2012 14:05:45 +0100 Subject: [PATCH 301/386] Fix font sizes when X11 has a forced dpi setting On X11, the X resource system can override the physical DPI of the screen for resolving font sizes etc. Correctly load the setting and adjust the logicalDpi() accordingly. Change-Id: Id60d03d1d214fb99e9de17a65976abd170bb7cca Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/plugins/platforms/xcb/qxcbscreen.cpp | 44 ++++++++++++++++++++++++ src/plugins/platforms/xcb/qxcbscreen.h | 2 ++ 2 files changed, 46 insertions(+) diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp index 4f0c3ba6bb..fc80662c46 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.cpp +++ b/src/plugins/platforms/xcb/qxcbscreen.cpp @@ -66,6 +66,7 @@ QXcbScreen::QXcbScreen(QXcbConnection *connection, xcb_screen_t *scr, , m_orientation(Qt::PrimaryOrientation) , m_number(number) , m_refreshRate(60) + , m_forcedDpi(-1) { if (connection->hasXRandr()) xcb_randr_select_input(xcb_connection(), screen()->root, true); @@ -82,6 +83,9 @@ QXcbScreen::QXcbScreen(QXcbConnection *connection, xcb_screen_t *scr, if (m_availableGeometry.isEmpty()) m_availableGeometry = QRect(QPoint(), m_virtualSize); + readXResources(); + + #ifdef Q_XCB_DEBUG qDebug(); qDebug("Screen output %s of xcb screen %d:", m_outputName.toUtf8().constData(), m_number); @@ -243,6 +247,9 @@ QImage::Format QXcbScreen::format() const QDpi QXcbScreen::logicalDpi() const { + if (m_forcedDpi > 0) + return QDpi(m_forcedDpi, m_forcedDpi); + return QDpi(Q_MM_PER_INCH * m_virtualSize.width() / m_virtualSizeMillimeters.width(), Q_MM_PER_INCH * m_virtualSize.height() / m_virtualSizeMillimeters.height()); } @@ -474,4 +481,41 @@ QPixmap QXcbScreen::grabWindow(WId window, int x, int y, int width, int height) return result; } +void QXcbScreen::readXResources() +{ + int offset = 0; + QByteArray resources; + while(1) { + xcb_get_property_reply_t *reply = + xcb_get_property_reply(xcb_connection(), + xcb_get_property_unchecked(xcb_connection(), false, screen()->root, + XCB_ATOM_RESOURCE_MANAGER, + XCB_ATOM_STRING, offset/4, 8192), NULL); + bool more = false; + if (reply && reply->format == 8 && reply->type == XCB_ATOM_STRING) { + resources += QByteArray((const char *)xcb_get_property_value(reply), xcb_get_property_value_length(reply)); + offset += xcb_get_property_value_length(reply); + more = reply->bytes_after != 0; + } + + if (reply) + free(reply); + + if (!more) + break; + } + + QList split = resources.split('\n'); + for (int i = 0; i < split.size(); ++i) { + const QByteArray &r = split.at(i); + if (r.startsWith("Xft.dpi:\t")) { + bool ok; + int dpi = r.mid(sizeof("Xft.dpi:")).toInt(&ok); + if (ok) + m_forcedDpi = dpi; + break; + } + } +} + QT_END_NAMESPACE diff --git a/src/plugins/platforms/xcb/qxcbscreen.h b/src/plugins/platforms/xcb/qxcbscreen.h index d9eee464dc..96d30cde8b 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.h +++ b/src/plugins/platforms/xcb/qxcbscreen.h @@ -96,6 +96,7 @@ public: void updateGeometry(xcb_timestamp_t timestamp); void updateRefreshRate(); + void readXResources(); private: xcb_screen_t *m_screen; xcb_randr_crtc_t m_crtc; @@ -114,6 +115,7 @@ private: QMap m_visuals; QXcbCursor *m_cursor; int m_refreshRate; + int m_forcedDpi; }; QT_END_NAMESPACE From dc2bfb6f8977732e1cd5ed9faac5a32870e2967a Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Tue, 18 Dec 2012 00:37:11 +1100 Subject: [PATCH 302/386] ANGLE: Fix typedefs for Win64 The long int type is incorrect for Windows 64-bit as LLP64 is used there. Change-Id: If4ccf49d6bb0cd7ba4ff2997cebfdbe5e7e9711c Reviewed-by: Sean Harmer Reviewed-by: Friedemann Kleint --- src/3rdparty/angle/include/KHR/khrplatform.h | 7 ++++ .../0007-ANGLE-Fix-typedefs-for-Win64.patch | 38 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 src/angle/patches/0007-ANGLE-Fix-typedefs-for-Win64.patch diff --git a/src/3rdparty/angle/include/KHR/khrplatform.h b/src/3rdparty/angle/include/KHR/khrplatform.h index 8ec0d199ff..56c676c77b 100644 --- a/src/3rdparty/angle/include/KHR/khrplatform.h +++ b/src/3rdparty/angle/include/KHR/khrplatform.h @@ -221,10 +221,17 @@ typedef signed char khronos_int8_t; typedef unsigned char khronos_uint8_t; typedef signed short int khronos_int16_t; typedef unsigned short int khronos_uint16_t; +#ifdef _WIN64 +typedef signed long long int khronos_intptr_t; +typedef unsigned long long int khronos_uintptr_t; +typedef signed long long int khronos_ssize_t; +typedef unsigned long long int khronos_usize_t; +#else typedef signed long int khronos_intptr_t; typedef unsigned long int khronos_uintptr_t; typedef signed long int khronos_ssize_t; typedef unsigned long int khronos_usize_t; +#endif #if KHRONOS_SUPPORT_FLOAT /* diff --git a/src/angle/patches/0007-ANGLE-Fix-typedefs-for-Win64.patch b/src/angle/patches/0007-ANGLE-Fix-typedefs-for-Win64.patch new file mode 100644 index 0000000000..ed744bbbd9 --- /dev/null +++ b/src/angle/patches/0007-ANGLE-Fix-typedefs-for-Win64.patch @@ -0,0 +1,38 @@ +From cf01d1953de652910734d0e01b032da99194590d Mon Sep 17 00:00:00 2001 +From: Jonathan Liu +Date: Tue, 18 Dec 2012 00:37:11 +1100 +Subject: [PATCH] ANGLE: Fix typedefs for Win64 + +The long int type is incorrect for Windows 64-bit as LLP64 is used +there. + +Change-Id: If4ccf49d6bb0cd7ba4ff2997cebfdbe5e7e9711c +--- + src/3rdparty/angle/include/KHR/khrplatform.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/src/3rdparty/angle/include/KHR/khrplatform.h b/src/3rdparty/angle/include/KHR/khrplatform.h +index 8ec0d19..56c676c 100644 +--- a/src/3rdparty/angle/include/KHR/khrplatform.h ++++ b/src/3rdparty/angle/include/KHR/khrplatform.h +@@ -221,10 +221,17 @@ typedef signed char khronos_int8_t; + typedef unsigned char khronos_uint8_t; + typedef signed short int khronos_int16_t; + typedef unsigned short int khronos_uint16_t; ++#ifdef _WIN64 ++typedef signed long long int khronos_intptr_t; ++typedef unsigned long long int khronos_uintptr_t; ++typedef signed long long int khronos_ssize_t; ++typedef unsigned long long int khronos_usize_t; ++#else + typedef signed long int khronos_intptr_t; + typedef unsigned long int khronos_uintptr_t; + typedef signed long int khronos_ssize_t; + typedef unsigned long int khronos_usize_t; ++#endif + + #if KHRONOS_SUPPORT_FLOAT + /* +-- +1.8.0.1 + From fd925d630f6d96b89352359960d7dc8f35d90152 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Dec 2012 16:26:23 +0100 Subject: [PATCH 303/386] added changelog for linguist Change-Id: Id4920837017de1496fa1a72581a3453e32dc93a2 Reviewed-by: Lars Knoll --- dist/changes-5.0.0 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index a969fc84d5..564df7f701 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -891,6 +891,11 @@ Qt for Windows CE - Linguist + * The integration with Mac OS' document handling was improved + * lupdate can now treat other .ts files as sources + * lupdate's CODECFORTR is deprecated and will be removed soon. All source code + written with Qt is expected to use UTF-8 encoding. + - rcc From ce66a61a7113fe5ac3588dd2a732026f604bd0a3 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Dec 2012 16:28:09 +0100 Subject: [PATCH 304/386] mention that qt3support is gone Change-Id: I08f01eef9d93876471d365ce09f5e1706e74312d Reviewed-by: Lars Knoll --- dist/changes-5.0.0 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 564df7f701..3574c401bb 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -11,6 +11,8 @@ information about a particular change. * Source incompatible changes * **************************************************************************** +- The Qt 3 support module and all related code was removed. + - QAtomicInt's and QAtomicPointer's non-atomic convenience methods (i.e., operator=, operator int / operator T*, operator!, operator==, operator!= and operator->) have been removed as they did implicit @@ -908,9 +910,6 @@ Qt for Windows CE - uic -- uic3 - - - qmake * QMAKE_MOC_OPTIONS variable is now available for passing additional parameters From dd69e430ca3d8be0465b43d8fd332aed5a2d0634 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Dec 2012 16:09:59 +0100 Subject: [PATCH 305/386] finish changelog for qmake, configure & co. Change-Id: I69e88421b2959215f05f024aedc60dc2c52133fe Reviewed-by: Lars Knoll --- dist/changes-5.0.0 | 139 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 108 insertions(+), 31 deletions(-) diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 3574c401bb..212e08f11f 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -284,23 +284,6 @@ information about a particular change. - QIconEngineV2 was merged into QIconEngine You might need to adjust your code if it used a QIconEngine. -- qmake - * Projects which explicitly set an empty TARGET are considered broken now. - * The makespec and .qmake.cache do not see build pass specific variables any more. - * load()/include() with a target namespace and infile()/$$fromfile() now start with - an entirely pristine context. - * Configure's -sysroot and -hostprefix are now handled slightly differently. - The QT_INSTALL_... properties are now automatically prefixed with the sysroot; - the raw values are available as QT_INSTALL_.../raw and the sysroot as QT_SYSROOT. - The new QT_HOST_... properties can be used to refer to the Qt host tools. - * Several functions and built-in variables were modified to return normalized paths. - * The -(no-)exception flags in configure have been removed. Qt modules are now compiled - without exceptions by default, as they do not use them and can neither handle them - properly. Qt Core still has exceptions enabled to correctly throw bad_alloc exceptions - in our tool classes. - Whether code should be compiled with exception support enabled or disabled can be - controlled by a CONFIG += exceptions/exceptions_off setting in the .pro file. - - QTextCodecPlugin has been removed since it is no longer used. All text codecs are now built into QtCore. @@ -880,9 +863,66 @@ Qt for Windows CE - Build System - * Remove qttest_p4.prf file. From now on we should explicitly enable the - things from it which we want. Autotest .pro files should stop using - 'load(qttest_p4)' and start using 'CONFIG+=testcase' instead. + * Qt has been split into numerous repositories. Configure covers mostly only qtbase's options. + * Qt will now install CMake configuration files for all its libraries. + +- configure + + * The Mac OS X -dwarf2 configure argument has been removed. DWARF2 is always + used on Mac OS X now. + * The following options have been added: (-no)-force-asserts, (-no)-strip, (-no)-gui & + (-no)-widgets, -device & -device-option, -archdatadir, -libexecdir & -qmldir, + and numerous changes relating to specific Qt features and dependencies. + * Configure will no longer call "qmake -recursive" by default, as the subsequent + build invokes qmake as needed. Use -fully-process to restore the old behavior. + +- qmake + + * default_pre.prf is now evaluated per subproject & build pass, symmetrically + to default_post.prf. + * .qmake.conf files (.qmake.cache equivalent in source tree) are read now. + * Project-specific mkspecs/ and features/ directories are supported now. + QMAKEPATH and QMAKEFEATURES can be set in .qmake.{config,cache} to specifiy their + location, and qmake will find them in the project's top-level directory automatically. + * Mixing host and target subprojects is now supported. "default-host" makespec + was added; option(host_build) enables its use. + * QMAKE_MOC_OPTIONS variable is now available for passing additional parameters + to the moc. + * The CROSS_COMPILE variable and property can be used to parametrize the device + and mingw makespecs. + * QMAKE_RPATHLINKDIR (complementary to QMAKE_RPATHDIR) is now understood. + * The "aux" TEMPLATE was added. Does not work with vcproj and xcode output files. + * The properties QT_INSTALL_ARCHDATA, QT_INSTALL_LIBEXECS, QT_INSTALL_QML, + QMAKE_SPEC & QMAKE_XSPEC were added. QT_INSTALL_DEMOS is obsolete. + * The following functions have been added: $$sort_depends, $$resolve_depends, + $$enumerate_vars, $$reverse, $$val_escape, $$format_number, $$shadowed, + $$clean_path, $$system_path, $$shell_path, $$absolute_path, $$relative_path, + $$system_quote, $$shell_quote, cache, write_file, touch, mkpath & log. + defined can now query variables; $$cat and $$system support more splitting modes. + qtCompileTest (available from configure.prf) was added. + * Removed qttest_p4.prf. Use CONFIG+=testcase and other flags instead. + * QMAKE_SUBSTITUTES can now copy files verbatim. + * MSVC desktop builds now use -Zc:wchar_t. + * The following variables were added: QMAKESPEC, _QMAKE_CONF_ & _QMAKE_SUPER_CACHE_. + * QDBUSXML2CPP_{INTERFACES,ADAPTORS}_{HEADER,SOURCE}_FLAGS are now understood, + and DBUS_{INTERFACES,ADAPTORS} support file groups with individual flags now. + * QT_PRIVATE and PKGCONFIG_PRIVATE (analogous to LIBS_PRIVATE resp. PKGCONFIG) are now understood. + * INSTALLS entries now support copying with subdirectory (e.g., entry.base = $$dirname(PWD)). + * Defining QTPLUGIN in dynamically linked projects does not hurt any more. + * CONFIG+=import_plugins will now cause plugin imports for QTPLUGIN being auto-generated. + * Debug info generation can now be enabled also for release builds (CONFIG+=force_debug_info). + * The following CONFIG flags have been deprecated in favor of QT module entries: + qtestlib, qdbus, help, designer, uitools, qaxserver & qaxcontainer (the leading 'q' + was stripped from the affected modules). + * The IN_PWD alias for PWD was deprecated. + * QMAKE_{DIST,}CLEAN support normalized path separators now. + * CONFIG+=depend_includepath is on by default now. DEPENDPATH is unnecessary in most projects. + * Makespecs should be adjusted in the following ways: + * The QMAKE_INCDIR_QT, QMAKE_LIBDIR_QT, QMAKE_MOC, QMAKE_UIC, QMAKE_IDC, TEMPLATE & QT + variables should not be defined any more. Furthermore, QMAKE_LIBS_X11SM is obsolete. + * The qt, warn_on, release, & link_prl CONFIG flags should not be set any more. + * The QMAKE_PLATFORM & QMAKE_COMPILER variables should be defined now. + Several other variables should be defined by including files from mkspecs/common/. - Assistant @@ -910,17 +950,6 @@ Qt for Windows CE - uic -- qmake - -* QMAKE_MOC_OPTIONS variable is now available for passing additional parameters - to the moc. - - -- configure - - * The Mac OS X -dwarf2 configure argument has been removed. DWARF2 is always - used on Mac OS X now. - - qtconfig @@ -969,6 +998,10 @@ Qt for Windows CE in the URL by themselves. Now, it will return "%25", like QUrl::toEncoded(). +- QLibraryInfo + + * location() always returns paths with normalized separators now. + - QVariant * Definition of QVariant::UserType changed. Currently it is the same as @@ -995,3 +1028,47 @@ Qt for Windows CE * The static function QMessageBox::question has changed the default argument for buttons. Before the default was to have an Ok button. That is changed to having a yes and a no button. + +- qmake & configure + + * The project file parser has been rewritten from scratch. Invalid syntax will be + rejected more aggressively, and interpretation may have changed in some corner cases. + * Projects which explicitly set an empty TARGET are considered broken now. + * The makespec and .qmake.cache do not see build pass specific variables any more. + * load()/include() with a target namespace and infile()/$$fromfile() now start with + an entirely pristine context. + * Configure's -sysroot and -hostprefix are now handled slightly differently. + The QT_INSTALL_... properties are now automatically prefixed with the sysroot; + the raw values are available as QT_INSTALL_.../raw and the sysroot as QT_SYSROOT. + The new QT_HOST_... properties can be used to refer to the Qt host tools. + -no-gcc-sysroot can be used for non-standard sysroot configurations. + * The QMAKE_MKSPECS property became unavailable at the command line. Query QT_HOST_DATA instead. + * The TEMPLATE_PREFIX variable is gone. Use contains(TEMPLATE, vc.*) instead. + * The "default" makespec symlink/directory is gone. Use qmake -query QMAKE_XSPEC instead. + * DEPENDPATH does not end up in VPATH any more. Some SOURCES may not be found any more. + * Several functions and built-in variables were modified to return normalized paths. + * The -(no-)exception flags in configure have been removed. Qt modules are now compiled + without exceptions by default, as they do not use them and can neither handle them + properly. Qt Core still has exceptions enabled to correctly throw bad_alloc exceptions + in our tool classes. + Whether code should be compiled with exception support enabled or disabled can be + controlled by a CONFIG += exceptions/exceptions_off setting in the .pro file. + * The -no/-stl configure options are gone. Qt always uses the STL now. + * The -prefix-install configure option is gone. Use -prefix, etc. instead. + * The -make option of the Windows configure was renamed to -make-tool. + -make now complements -no-make, like in the Unix version. + * The object_with_source CONFIG flag was removed. Use object_parallel_to_source instead. + * Support for universal binaries on Mac OS has been removed. + * The processor architecture handling changed significantly. This affects the -arch & -*-endian + configure options, the QT_ARCH qmake variable, and more. + * No "make_default" make targets will be generated any more. Use "make_first" instead. + * The "qmake" make targets are non-recursive now. Use "qmake_all" to recurse. + * load() with paths relative to the current project is not supported any more. + Use include() instead. + * Persistent qmake properties are not versioned any more. Also, the vendor changed to + "QtProject", so old settings are lost. + * Support for the Borland toolchain was removed. Numerous obsolete makespecs were culled. + * setcepaths.bat is gone. QMake-generated Makefiles are self-contained now. + * moc_dir, rcc_dir and some other tool variables are not defined in Qt's .pc files any more; + the generic host_bins is defined instead. + From d1c10615e31acc487eae0c966e8c3a8e5927af84 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Dec 2012 16:55:20 +0100 Subject: [PATCH 306/386] slash the -fast configure option it's completely broken, and i have no time to fix it properly now. configure runs no qmake -r by default any more, so it's fast enough. Change-Id: Ib2b4c68f1fc2fe95accecbe93dd5a87c9b015692 Reviewed-by: David Faure (KDE) Reviewed-by: Lars Knoll --- configure | 59 ------------------- dist/changes-5.0.0 | 1 + tools/configure/configureapp.cpp | 98 +------------------------------- tools/configure/configureapp.h | 1 - 4 files changed, 3 insertions(+), 156 deletions(-) diff --git a/configure b/configure index 2fbe7a1006..faf8a6d380 100755 --- a/configure +++ b/configure @@ -861,7 +861,6 @@ PLATFORM=$QMAKESPEC QT_CROSS_COMPILE=no OPT_CONFIRM_LICENSE=no OPT_SHADOW=maybe -OPT_FAST=auto OPT_VERBOSE=no OPT_HELP= CFG_SILENT=no @@ -2015,13 +2014,6 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; - fast) - if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then - OPT_FAST="$VAL" - else - UNKNOWN_OPT=yes - fi - ;; rpath) if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then CFG_RPATH="$VAL" @@ -2305,14 +2297,6 @@ if [ ! -d "${outpath}/lib/fonts" ]; then fi fi -if [ "$OPT_FAST" = "auto" ]; then - if [ '!' -z "$AWK" ] && [ "$CFG_DEV" = "yes" ]; then - OPT_FAST=yes - else - OPT_FAST=no - fi -fi - # find a make command if [ -z "$MAKE" ]; then MAKE= @@ -3099,12 +3083,6 @@ Configure options: -fully-process ..... Generate Makefiles for the entire Qt tree. -dont-process ...... Do not generate any Makefiles. - * -no-fast ........... Configure Qt normally by generating Makefiles for all - project files. - -fast .............. Configure Qt quickly by generating Makefiles only for - library and subdirectory targets. All other Makefiles - are created as wrappers, which will in turn run qmake. - -no-largefile ...... Disables large file support. + -largefile ......... Enables Qt to access files larger than 4 GB. @@ -6375,43 +6353,6 @@ if [ "$CFG_PROCESS" != "no" ]; then else "$outpath/bin/qmake" "$relpath" fi - - if [ "$OPT_FAST" = "yes" ]; then - PART_ROOTS= - for part in $CFG_BUILD_PARTS; do - case "$part" in - examples|tests) PART_ROOTS="$PART_ROOTS $part" ;; - esac - done - if [ "x$PART_ROOTS" != "x" ]; then - echo - echo "Creating stub makefiles. Please wait..." - QMAKE="$outpath/bin/qmake" - [ "$CFG_DEBUG_RELEASE" = "no" ] && first_tgt="first_target: first" || first_tgt= - (cd "$relpath" && find $PART_ROOTS -name '*.pro') | grep -v /testdata/ | while read p; do - d=${p%/*} - test -f "$outpath/$d/Makefile" && continue - echo " for $relpath/$p" - - mkdir -p "$outpath/$d" || exit - cat > "$outpath/$d/Makefile" <", "Add part to the list of parts to be built at make time"); for (int i=0; idirectory == "tools/configure") - continue; // don't overwrite our own Makefile - - QString dirPath = it->directory + '/'; - QString projectName = it->proFile; - QString makefileName = buildPath + "/" + dirPath + it->target; - - // For shadowbuilds, we need to create the path first - QDir buildPathDir(buildPath); - if (sourcePath != buildPath && !buildPathDir.exists(dirPath)) - buildPathDir.mkpath(dirPath); - - QStringList args; - - args << QDir::toNativeSeparators(buildPath + "/bin/qmake.exe"); - args << sourcePath + "/" + dirPath + projectName; - - cout << "For " << qPrintable(QDir::toNativeSeparators(dirPath + projectName)) << endl; - args << "-o"; - args << it->target; - - QDir::setCurrent(dirPath); - - QFile file(makefileName); - if (!file.open(QFile::WriteOnly | QFile::Text)) { - printf("failed on dirPath=%s, makefile=%s\n", - qPrintable(QDir::toNativeSeparators(dirPath)), - qPrintable(QDir::toNativeSeparators(makefileName))); - continue; - } - QTextStream txt(&file); - txt << "all:\n"; - txt << "\t" << args.join(' ') << "\n"; - txt << "\t$(MAKE) -$(MAKEFLAGS) -f " << it->target << "\n"; - txt << "first: all\n"; - txt << "qmake: FORCE\n"; - txt << "\t" << args.join(' ') << "\n"; - txt << "FORCE:\n"; - } - } } QDir::setCurrent(pwd); } else { diff --git a/tools/configure/configureapp.h b/tools/configure/configureapp.h index dc79e3ff58..3f4987f689 100644 --- a/tools/configure/configureapp.h +++ b/tools/configure/configureapp.h @@ -85,7 +85,6 @@ public: void generateSystemVars(); #endif void showSummary(); - void findProjects( const QString& dirName ); QString firstLicensePath(); #if !defined(EVAL) From cdff53cda858fbf9e4e9b909805132f5033b5165 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 18 Dec 2012 11:26:09 +0100 Subject: [PATCH 307/386] fix DLL manifest resource ids for debug builds The resource id must be 2 for DLLs. This was broken for the "debug with incremental linking" case. Task-number: QTBUG-28682 Task-number: QTBUG-28683 Change-Id: Id8c48a1dec30e341de949213c63c1c9b73956dac Reviewed-by: Oswald Buddenhagen --- qmake/generators/win32/msvc_nmake.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qmake/generators/win32/msvc_nmake.cpp b/qmake/generators/win32/msvc_nmake.cpp index 6a1d6d1fa3..d899c707d4 100644 --- a/qmake/generators/win32/msvc_nmake.cpp +++ b/qmake/generators/win32/msvc_nmake.cpp @@ -409,6 +409,7 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t) manifest = escapeFilePath(fileFixify(manifest)); } + const QString resourceId = (templateName == "app") ? "1" : "2"; const bool incrementalLinking = project->values("QMAKE_LFLAGS").toQStringList().filter(QRegExp("(/|-)INCREMENTAL:NO")).isEmpty(); if (incrementalLinking) { // Link a resource that contains the manifest without modifying the exe/dll after linking. @@ -418,7 +419,8 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t) QString manifest_bak = escapeFilePath(target + "_manifest.bak"); project->values("QMAKE_CLEAN") << manifest_rc << manifest_res; - t << "\n\techo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ " + t << "\n\techo " << resourceId + << " /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ " << cQuoted(unescapeFilePath(manifest)) << ">" << manifest_rc; if (generateManifest) { @@ -441,7 +443,6 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t) // directly embed the manifest in the executable after linking t << "\n\t"; writeLinkCommand(t, extraLFlags); - const QString resourceId = (templateName == "app") ? "1" : "2"; t << "\n\t" << "mt.exe /nologo /manifest " << manifest << " /outputresource:$(DESTDIR_TARGET);" << resourceId; } From 01f1ef11856a683fa843d7e9c0147e244f0d1694 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 17 Dec 2012 14:52:33 +0100 Subject: [PATCH 308/386] Accessibility indexes are no longer 1-based. The updates for focus/selection in QTreeView were still adding +1 as it was required in Qt 4. Task-number: QTBUG-28174 Change-Id: Ib9fea7e20d431a0ef0db18494e7bdda06a0646b0 Reviewed-by: Stephen Kelly --- src/widgets/itemviews/qtreeview.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/widgets/itemviews/qtreeview.cpp b/src/widgets/itemviews/qtreeview.cpp index 9c4a4336b9..884b0b8f65 100644 --- a/src/widgets/itemviews/qtreeview.cpp +++ b/src/widgets/itemviews/qtreeview.cpp @@ -3743,7 +3743,7 @@ void QTreeView::currentChanged(const QModelIndex ¤t, const QModelIndex &pr } #ifndef QT_NO_ACCESSIBILITY if (QAccessible::isActive() && current.isValid()) { - int entry = (visualIndex(current) + (header()?1:0))*current.model()->columnCount()+current.column() + 1; + int entry = (visualIndex(current) + (header()?1:0))*current.model()->columnCount()+current.column(); QAccessibleEvent event(this, QAccessible::Focus); event.setChild(entry); QAccessible::updateAccessibility(&event); @@ -3763,16 +3763,16 @@ void QTreeView::selectionChanged(const QItemSelection &selected, // ### does not work properly for selection ranges. QModelIndex sel = selected.indexes().value(0); if (sel.isValid()) { - int entry = (visualIndex(sel) + (header()?1:0))*sel.model()->columnCount()+sel.column() + 1; - Q_ASSERT(entry > 0); + int entry = (visualIndex(sel) + (header()?1:0))*sel.model()->columnCount()+sel.column(); + Q_ASSERT(entry >= 0); QAccessibleEvent event(this, QAccessible::Selection); event.setChild(entry); QAccessible::updateAccessibility(&event); } QModelIndex desel = deselected.indexes().value(0); if (desel.isValid()) { - int entry = (visualIndex(desel) + (header()?1:0))*desel.model()->columnCount()+desel.column() + 1; - Q_ASSERT(entry > 0); + int entry = (visualIndex(desel) + (header()?1:0))*desel.model()->columnCount()+desel.column(); + Q_ASSERT(entry >= 0); QAccessibleEvent event(this, QAccessible::SelectionRemove); event.setChild(entry); QAccessible::updateAccessibility(&event); From f6e9d1c2603627a3b6db263993b4b871d7d51f75 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Tue, 18 Dec 2012 17:04:01 +0100 Subject: [PATCH 309/386] Doc: Removing extra included images in the HTML online build. -images not needed and removed. Change-Id: I917544dcc9e3cf959b1f8f2723cf4709cdc96a46 Reviewed-by: Venugopal Shivashankar Reviewed-by: Geir Vattekar --- doc/global/qt-html-templates-online.qdocconf | 32 +++----------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/doc/global/qt-html-templates-online.qdocconf b/doc/global/qt-html-templates-online.qdocconf index a484e00e17..040a5483c2 100644 --- a/doc/global/qt-html-templates-online.qdocconf +++ b/doc/global/qt-html-templates-online.qdocconf @@ -1,36 +1,14 @@ HTML.nobreadcrumbs = "true" HTML.stylesheets = template/style/online.css -HTML.extraimages = template/images/btn_next_green.png \ - template/images/box_bg.png \ - template/images/page.png \ - template/images/arrow_down.png \ - template/images/btn_prev.png \ - template/images/blu_dot.png \ - template/images/ico_note_attention.png \ - template/images/btn_prev_green.png \ - template/images/bg_ll_blank.png \ - template/images/btn_next.png \ - template/images/bg_l_blank.png \ +HTML.extraimages += template/images/ico_out.png \ template/images/ico_note.png \ - template/images/home.png \ - template/images/ico_out.png \ - template/images/header_bg.png \ - template/images/page_bg.png \ - template/images/bg_l.png \ - template/images/bg_r.png \ - template/images/breadcrumb.png \ + template/images/ico_note_attention.png \ + template/images/btn_prev.png \ + template/images/btn_next.png \ template/images/bullet_dn.png \ - template/images/feedbackground.png \ - template/images/bullet_gt.png \ - template/images/arrow.png \ template/images/bullet_sq.png \ - template/images/bullet_up.png \ - template/images/sprites-combined.png \ - template/images/horBar.png \ - template/images/bg_ul_blank.png \ - template/images/bgrContent.png \ - + template/images/bgrContent.png HTML.headerstyles = \ " \n" From 084306783828839b957ef5073a477122f7aed679 Mon Sep 17 00:00:00 2001 From: Christiaan Janssen Date: Tue, 18 Dec 2012 13:00:29 +0100 Subject: [PATCH 310/386] Qt Gui Examples: Fixed QDoc files Change-Id: I160d8d186a1078f20f2b779bfbdae90459c27641 Reviewed-by: Jerome Pasion --- examples/gui/doc/{ => src}/analogclockwindow.qdoc | 0 examples/gui/doc/{ => src}/openglwindow.qdoc | 0 examples/gui/doc/{ => src}/rasterwindow.qdoc | 0 src/gui/doc/qtgui.qdocconf | 5 +++-- 4 files changed, 3 insertions(+), 2 deletions(-) rename examples/gui/doc/{ => src}/analogclockwindow.qdoc (100%) rename examples/gui/doc/{ => src}/openglwindow.qdoc (100%) rename examples/gui/doc/{ => src}/rasterwindow.qdoc (100%) diff --git a/examples/gui/doc/analogclockwindow.qdoc b/examples/gui/doc/src/analogclockwindow.qdoc similarity index 100% rename from examples/gui/doc/analogclockwindow.qdoc rename to examples/gui/doc/src/analogclockwindow.qdoc diff --git a/examples/gui/doc/openglwindow.qdoc b/examples/gui/doc/src/openglwindow.qdoc similarity index 100% rename from examples/gui/doc/openglwindow.qdoc rename to examples/gui/doc/src/openglwindow.qdoc diff --git a/examples/gui/doc/rasterwindow.qdoc b/examples/gui/doc/src/rasterwindow.qdoc similarity index 100% rename from examples/gui/doc/rasterwindow.qdoc rename to examples/gui/doc/src/rasterwindow.qdoc diff --git a/src/gui/doc/qtgui.qdocconf b/src/gui/doc/qtgui.qdocconf index 933d990c77..f58b4faf9f 100644 --- a/src/gui/doc/qtgui.qdocconf +++ b/src/gui/doc/qtgui.qdocconf @@ -40,9 +40,10 @@ depends += \ headerdirs += .. sourcedirs += .. \ - ../../../examples/gui/doc + ../../../examples/gui/doc/src exampledirs += ../../../examples/gui \ snippets -imagedirs += images +imagedirs += images \ + ../../../examples/gui/doc/images From 5efcd5a6c33688f5fb123342226db821924e8020 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Tue, 18 Dec 2012 21:13:53 +0100 Subject: [PATCH 311/386] Change ftp.qt.nokia.com -> ftp.qt-project.org Task-number: QTBUG-28156 Change-Id: I0060144f0336791933205355b125251ccba73b3e Reviewed-by: Thiago Macieira --- .../externalsites/external-resources.qdoc | 2 +- .../code/src_corelib_tools_qbytearray.cpp | 2 +- src/corelib/io/qurl.cpp | 2 +- .../snippets/code/src_network_access_qftp.cpp | 4 +- tests/auto/corelib/io/qurl/tst_qurl.cpp | 44 +++++++++---------- tests/auto/network/access/qftp/tst_qftp.cpp | 2 +- 6 files changed, 28 insertions(+), 28 deletions(-) diff --git a/doc/global/externalsites/external-resources.qdoc b/doc/global/externalsites/external-resources.qdoc index 61f9c01bdb..39e72204d6 100644 --- a/doc/global/externalsites/external-resources.qdoc +++ b/doc/global/externalsites/external-resources.qdoc @@ -464,7 +464,7 @@ */ /*! - \externalpage ftp://ftp.qt.nokia.com/pub/qt/solutions/lgpl/qtmotifextension-2.7_1-opensource.tar.gz + \externalpage ftp://ftp.qt-project.org/pub/qt/solutions/lgpl/qtmotifextension-2.7_1-opensource.tar.gz \title Motif Extension */ diff --git a/src/corelib/doc/snippets/code/src_corelib_tools_qbytearray.cpp b/src/corelib/doc/snippets/code/src_corelib_tools_qbytearray.cpp index 71c6fbd80f..eef026af75 100644 --- a/src/corelib/doc/snippets/code/src_corelib_tools_qbytearray.cpp +++ b/src/corelib/doc/snippets/code/src_corelib_tools_qbytearray.cpp @@ -251,7 +251,7 @@ ba.lastIndexOf("X"); // returns -1 //! [25] -QByteArray url("ftp://ftp.qt.nokia.com/"); +QByteArray url("ftp://ftp.qt-project.org/"); if (url.startsWith("ftp:")) ... //! [25] diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index a7a722bc46..d231bdda61 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3812,7 +3812,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \list \li qt.nokia.com becomes http://qt.nokia.com - \li ftp.qt.nokia.com becomes ftp://ftp.qt.nokia.com + \li ftp.qt-project.org becomes ftp://ftp.qt-project.org \li hostname becomes http://hostname \li /home/user/test.html becomes file:///home/user/test.html \endlist diff --git a/src/network/doc/snippets/code/src_network_access_qftp.cpp b/src/network/doc/snippets/code/src_network_access_qftp.cpp index 77f5ee2df2..4fa81efd84 100644 --- a/src/network/doc/snippets/code/src_network_access_qftp.cpp +++ b/src/network/doc/snippets/code/src_network_access_qftp.cpp @@ -40,13 +40,13 @@ //! [0] QFtp *ftp = new QFtp(parent); -ftp->connectToHost("ftp.qt.nokia.com"); +ftp->connectToHost("ftp.qt-project.org"); ftp->login(); //! [0] //! [1] -ftp->connectToHost("ftp.qt.nokia.com"); // id == 1 +ftp->connectToHost("ftp.qt-project.org"); // id == 1 ftp->login(); // id == 2 ftp->cd("qt"); // id == 3 ftp->get("INSTALL"); // id == 4 diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index 361713bbc7..12bc4cffe7 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -1164,8 +1164,8 @@ void tst_QUrl::compat_constructor_01_data() //next we fill it with data QTest::newRow( "data0" ) << QString("Makefile") << QString("Makefile"); // nolonger add file by default QTest::newRow( "data1" ) << QString("Makefile") << QString("Makefile"); - QTest::newRow( "data2" ) << QString("ftp://ftp.qt.nokia.com/qt/INSTALL") << QString("ftp://ftp.qt.nokia.com/qt/INSTALL"); - QTest::newRow( "data3" ) << QString("ftp://ftp.qt.nokia.com/qt/INSTALL") << QString("ftp://ftp.qt.nokia.com/qt/INSTALL"); + QTest::newRow( "data2" ) << QString("ftp://ftp.qt-project.org/qt/INSTALL") << QString("ftp://ftp.qt-project.org/qt/INSTALL"); + QTest::newRow( "data3" ) << QString("ftp://ftp.qt-project.org/qt/INSTALL") << QString("ftp://ftp.qt-project.org/qt/INSTALL"); } void tst_QUrl::compat_constructor_01() @@ -1180,7 +1180,7 @@ void tst_QUrl::compat_constructor_01() * as well as the following: * * QUrlOperator op; - * op.copy(QString("ftp://ftp.qt.nokia.com/qt/INSTALL"), "."); + * op.copy(QString("ftp://ftp.qt-project.org/qt/INSTALL"), "."); */ QFETCH( QString, urlStr ); @@ -1205,15 +1205,15 @@ void tst_QUrl::compat_constructor_02_data() QTest::addColumn("res"); //next we fill it with data - QTest::newRow( "data0" ) << QString("ftp://ftp.qt.nokia.com/qt") << QString("INSTALL") << QString("ftp://ftp.qt.nokia.com/INSTALL"); - QTest::newRow( "data1" ) << QString("ftp://ftp.qt.nokia.com/qt/") << QString("INSTALL") << QString("ftp://ftp.qt.nokia.com/qt/INSTALL"); + QTest::newRow( "data0" ) << QString("ftp://ftp.qt-project.org/qt") << QString("INSTALL") << QString("ftp://ftp.qt-project.org/INSTALL"); + QTest::newRow( "data1" ) << QString("ftp://ftp.qt-project.org/qt/") << QString("INSTALL") << QString("ftp://ftp.qt-project.org/qt/INSTALL"); } void tst_QUrl::compat_constructor_02() { /* The following should work as expected: * - * QUrlOperator op( "ftp://ftp.qt.nokia.com/qt" ); + * QUrlOperator op( "ftp://ftp.qt-project.org/qt" ); * op.copy(QString("INSTALL"), "."); */ QFETCH( QString, urlStr ); @@ -1236,7 +1236,7 @@ void tst_QUrl::compat_constructor_03_data() QTest::newRow( "protocol02" ) << QString( "http://qt.nokia.com/" ) << QString( "http://qt.nokia.com/" ); QTest::newRow( "protocol03" ) << QString( "http://qt.nokia.com/foo" ) << QString( "http://qt.nokia.com/foo" ); QTest::newRow( "protocol04" ) << QString( "http://qt.nokia.com/foo/" ) << QString( "http://qt.nokia.com/foo/" ); - QTest::newRow( "protocol05" ) << QString( "ftp://ftp.qt.nokia.com/foo/index.txt" ) << QString( "ftp://ftp.qt.nokia.com/foo/index.txt" ); + QTest::newRow( "protocol05" ) << QString( "ftp://ftp.qt-project.org/foo/index.txt" ) << QString( "ftp://ftp.qt-project.org/foo/index.txt" ); QTest::newRow( "local00" ) << QString( "/foo" ) << QString( "/foo" ); QTest::newRow( "local01" ) << QString( "/foo/" ) << QString( "/foo/" ); @@ -1278,11 +1278,11 @@ void tst_QUrl::compat_isValid_01_data() QTest::addColumn("urlStr"); QTest::addColumn("res"); - QTest::newRow( "ok_01" ) << QString("ftp://ftp.qt.nokia.com/qt/INSTALL") << (bool)true; + QTest::newRow( "ok_01" ) << QString("ftp://ftp.qt-project.org/qt/INSTALL") << (bool)true; QTest::newRow( "ok_02" ) << QString( "file:/foo") << (bool)true; QTest::newRow( "ok_03" ) << QString( "file:foo") << (bool)true; - QTest::newRow( "err_01" ) << QString("#ftp://ftp.qt.nokia.com/qt/INSTALL") << (bool)true; + QTest::newRow( "err_01" ) << QString("#ftp://ftp.qt-project.org/qt/INSTALL") << (bool)true; QTest::newRow( "err_02" ) << QString( "file:/::foo") << (bool)true; } @@ -1310,18 +1310,18 @@ void tst_QUrl::compat_isValid_02_data() QString n = ""; QTest::newRow( "ok_01" ) << n << n << n << n << -1 << QString("path") << (bool)true; - QTest::newRow( "ok_02" ) << QString("ftp") << n << n << QString("ftp.qt.nokia.com") << -1 << n << (bool)true; - QTest::newRow( "ok_03" ) << QString("ftp") << QString("foo") << n << QString("ftp.qt.nokia.com") << -1 << n << (bool)true; - QTest::newRow( "ok_04" ) << QString("ftp") << QString("foo") << QString("bar") << QString("ftp.qt.nokia.com") << -1 << n << (bool)true; - QTest::newRow( "ok_05" ) << QString("ftp") << n << n << QString("ftp.qt.nokia.com") << -1 << QString("/path")<< (bool)true; - QTest::newRow( "ok_06" ) << QString("ftp") << QString("foo") << n << QString("ftp.qt.nokia.com") << -1 << QString("/path") << (bool)true; - QTest::newRow( "ok_07" ) << QString("ftp") << QString("foo") << QString("bar") << QString("ftp.qt.nokia.com") << -1 << QString("/path")<< (bool)true; + QTest::newRow( "ok_02" ) << QString("ftp") << n << n << QString("ftp.qt-project.org") << -1 << n << (bool)true; + QTest::newRow( "ok_03" ) << QString("ftp") << QString("foo") << n << QString("ftp.qt-project.org") << -1 << n << (bool)true; + QTest::newRow( "ok_04" ) << QString("ftp") << QString("foo") << QString("bar") << QString("ftp.qt-project.org") << -1 << n << (bool)true; + QTest::newRow( "ok_05" ) << QString("ftp") << n << n << QString("ftp.qt-project.org") << -1 << QString("/path")<< (bool)true; + QTest::newRow( "ok_06" ) << QString("ftp") << QString("foo") << n << QString("ftp.qt-project.org") << -1 << QString("/path") << (bool)true; + QTest::newRow( "ok_07" ) << QString("ftp") << QString("foo") << QString("bar") << QString("ftp.qt-project.org") << -1 << QString("/path")<< (bool)true; QTest::newRow( "err_01" ) << n << n << n << n << -1 << n << (bool)false; QTest::newRow( "err_02" ) << QString("ftp") << n << n << n << -1 << n << (bool)true; QTest::newRow( "err_03" ) << n << QString("foo") << n << n << -1 << n << (bool)true; QTest::newRow( "err_04" ) << n << n << QString("bar") << n << -1 << n << (bool)true; - QTest::newRow( "err_05" ) << n << n << n << QString("ftp.qt.nokia.com") << -1 << n << (bool)true; + QTest::newRow( "err_05" ) << n << n << n << QString("ftp.qt-project.org") << -1 << n << (bool)true; QTest::newRow( "err_06" ) << n << n << n << n << 80 << n << (bool)true; QTest::newRow( "err_07" ) << QString("ftp") << QString("foo") << n << n << -1 << n << (bool)true; QTest::newRow( "err_08" ) << QString("ftp") << n << QString("bar") << n << -1 << n << (bool)true; @@ -1811,12 +1811,12 @@ void tst_QUrl::schemeValidator_data() // ftp QTest::newRow("ftp:") << QByteArray("ftp:") << true << QString("ftp:"); - QTest::newRow("ftp://ftp.qt.nokia.com") - << QByteArray("ftp://ftp.qt.nokia.com") - << true << QString("ftp://ftp.qt.nokia.com"); - QTest::newRow("ftp://ftp.qt.nokia.com/") - << QByteArray("ftp://ftp.qt.nokia.com/") - << true << QString("ftp://ftp.qt.nokia.com/"); + QTest::newRow("ftp://ftp.qt-project.org") + << QByteArray("ftp://ftp.qt-project.org") + << true << QString("ftp://ftp.qt-project.org"); + QTest::newRow("ftp://ftp.qt-project.org/") + << QByteArray("ftp://ftp.qt-project.org/") + << true << QString("ftp://ftp.qt-project.org/"); QTest::newRow("ftp:/index.html") << QByteArray("ftp:/index.html") << false << QString(); diff --git a/tests/auto/network/access/qftp/tst_qftp.cpp b/tests/auto/network/access/qftp/tst_qftp.cpp index 702d56db54..bd922d4223 100644 --- a/tests/auto/network/access/qftp/tst_qftp.cpp +++ b/tests/auto/network/access/qftp/tst_qftp.cpp @@ -2077,7 +2077,7 @@ void tst_QFtp::queueMoreCommandsInDoneSlot() this->ftp = &ftp; connect(&ftp, SIGNAL(done(bool)), this, SLOT(cdUpSlot(bool))); - ftp.connectToHost("ftp.qt.nokia.com"); + ftp.connectToHost("ftp.qt-project.org"); ftp.login(); ftp.cd("qt"); ftp.rmdir("qtest-removedir-noexist"); From 854e5c473b618b7bcec213faf92ffa24cadc5f3e Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Wed, 19 Dec 2012 00:53:46 +1100 Subject: [PATCH 312/386] Fix linking ANGLE on MinGW-w64 32-bit MinGW-w64 32-bit requires the functions exported in the .def file to be decorated. Change-Id: I174a92829706a9fb6b0007b2c057300bd69e6d9e Reviewed-by: Friedemann Kleint Reviewed-by: Kai Koehne --- .../angle/src/libEGL/libEGL_mingw.def | 36 ++++ .../angle/src/libEGL/libEGLd_mingw.def | 36 ++++ .../angle/src/libGLESv2/libGLESv2_mingw.def | 182 ++++++++++++++++++ .../angle/src/libGLESv2/libGLESv2d_mingw.def | 182 ++++++++++++++++++ src/angle/README.qt | 5 + src/angle/src/libEGL/libEGL.pro | 5 +- src/angle/src/libGLESv2/libGLESv2.pro | 5 +- 7 files changed, 449 insertions(+), 2 deletions(-) create mode 100644 src/3rdparty/angle/src/libEGL/libEGL_mingw.def create mode 100644 src/3rdparty/angle/src/libEGL/libEGLd_mingw.def create mode 100644 src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw.def create mode 100644 src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw.def diff --git a/src/3rdparty/angle/src/libEGL/libEGL_mingw.def b/src/3rdparty/angle/src/libEGL/libEGL_mingw.def new file mode 100644 index 0000000000..8128e7c4f0 --- /dev/null +++ b/src/3rdparty/angle/src/libEGL/libEGL_mingw.def @@ -0,0 +1,36 @@ +LIBRARY libEGL +EXPORTS + eglBindAPI@4 @14 + eglBindTexImage@12 @20 + eglChooseConfig@20 @7 + eglCopyBuffers@12 @33 + eglCreateContext@16 @23 + eglCreatePbufferFromClientBuffer@20 @18 + eglCreatePbufferSurface@12 @10 + eglCreatePixmapSurface@16 @11 + eglCreateWindowSurface@16 @9 + eglDestroyContext@8 @24 + eglDestroySurface@8 @12 + eglGetConfigAttrib@16 @8 + eglGetConfigs@16 @6 + eglGetCurrentContext@0 @26 + eglGetCurrentDisplay@0 @28 + eglGetCurrentSurface@4 @27 + eglGetDisplay@4 @2 + eglGetError@0 @1 + eglGetProcAddress@4 @34 + eglInitialize@12 @3 + eglMakeCurrent@16 @25 + eglQueryAPI@0 @15 + eglQueryContext@16 @29 + eglQueryString@8 @5 + eglQuerySurface@16 @13 + eglReleaseTexImage@12 @21 + eglReleaseThread@0 @17 + eglSurfaceAttrib@16 @19 + eglSwapBuffers@8 @32 + eglSwapInterval@8 @22 + eglTerminate@4 @4 + eglWaitClient@0 @16 + eglWaitGL@0 @30 + eglWaitNative@4 @31 diff --git a/src/3rdparty/angle/src/libEGL/libEGLd_mingw.def b/src/3rdparty/angle/src/libEGL/libEGLd_mingw.def new file mode 100644 index 0000000000..1c72413f89 --- /dev/null +++ b/src/3rdparty/angle/src/libEGL/libEGLd_mingw.def @@ -0,0 +1,36 @@ +LIBRARY libEGLd +EXPORTS + eglBindAPI@4 @14 + eglBindTexImage@12 @20 + eglChooseConfig@20 @7 + eglCopyBuffers@12 @33 + eglCreateContext@16 @23 + eglCreatePbufferFromClientBuffer@20 @18 + eglCreatePbufferSurface@12 @10 + eglCreatePixmapSurface@16 @11 + eglCreateWindowSurface@16 @9 + eglDestroyContext@8 @24 + eglDestroySurface@8 @12 + eglGetConfigAttrib@16 @8 + eglGetConfigs@16 @6 + eglGetCurrentContext@0 @26 + eglGetCurrentDisplay@0 @28 + eglGetCurrentSurface@4 @27 + eglGetDisplay@4 @2 + eglGetError@0 @1 + eglGetProcAddress@4 @34 + eglInitialize@12 @3 + eglMakeCurrent@16 @25 + eglQueryAPI@0 @15 + eglQueryContext@16 @29 + eglQueryString@8 @5 + eglQuerySurface@16 @13 + eglReleaseTexImage@12 @21 + eglReleaseThread@0 @17 + eglSurfaceAttrib@16 @19 + eglSwapBuffers@8 @32 + eglSwapInterval@8 @22 + eglTerminate@4 @4 + eglWaitClient@0 @16 + eglWaitGL@0 @30 + eglWaitNative@4 @31 diff --git a/src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw.def b/src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw.def new file mode 100644 index 0000000000..dc5900854a --- /dev/null +++ b/src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw.def @@ -0,0 +1,182 @@ +LIBRARY libGLESv2 +EXPORTS + glActiveTexture@4 @1 + glAttachShader@8 @2 + glBindAttribLocation@12 @3 + glBindBuffer@8 @4 + glBindFramebuffer@8 @5 + glBindRenderbuffer@8 @6 + glBindTexture@8 @7 + glBlendColor@16 @8 + glBlendEquation@4 @9 + glBlendEquationSeparate@8 @10 + glBlendFunc@8 @11 + glBlendFuncSeparate@16 @12 + glBufferData@16 @13 + glBufferSubData@16 @14 + glCheckFramebufferStatus@4 @15 + glClear@4 @16 + glClearColor@16 @17 + glClearDepthf@4 @18 + glClearStencil@4 @19 + glColorMask@16 @20 + glCompileShader@4 @21 + glCompressedTexImage2D@32 @22 + glCompressedTexSubImage2D@36 @23 + glCopyTexImage2D@32 @24 + glCopyTexSubImage2D@32 @25 + glCreateProgram@0 @26 + glCreateShader@4 @27 + glCullFace@4 @28 + glDeleteBuffers@8 @29 + glDeleteFramebuffers@8 @30 + glDeleteProgram@4 @32 + glDeleteRenderbuffers@8 @33 + glDeleteShader@4 @34 + glDeleteTextures@8 @31 + glDepthFunc@4 @36 + glDepthMask@4 @37 + glDepthRangef@8 @38 + glDetachShader@8 @35 + glDisable@4 @39 + glDisableVertexAttribArray@4 @40 + glDrawArrays@12 @41 + glDrawElements@16 @42 + glEnable@4 @43 + glEnableVertexAttribArray@4 @44 + glFinish@0 @45 + glFlush@0 @46 + glFramebufferRenderbuffer@16 @47 + glFramebufferTexture2D@20 @48 + glFrontFace@4 @49 + glGenBuffers@8 @50 + glGenFramebuffers@8 @52 + glGenRenderbuffers@8 @53 + glGenTextures@8 @54 + glGenerateMipmap@4 @51 + glGetActiveAttrib@28 @55 + glGetActiveUniform@28 @56 + glGetAttachedShaders@16 @57 + glGetAttribLocation@8 @58 + glGetBooleanv@8 @59 + glGetBufferParameteriv@12 @60 + glGetError@0 @61 + glGetFloatv@8 @62 + glGetFramebufferAttachmentParameteriv@16 @63 + glGetIntegerv@8 @64 + glGetProgramInfoLog@16 @66 + glGetProgramiv@12 @65 + glGetRenderbufferParameteriv@12 @67 + glGetShaderInfoLog@16 @69 + glGetShaderPrecisionFormat@16 @70 + glGetShaderSource@16 @71 + glGetShaderiv@12 @68 + glGetString@4 @72 + glGetTexParameterfv@12 @73 + glGetTexParameteriv@12 @74 + glGetUniformLocation@8 @77 + glGetUniformfv@12 @75 + glGetUniformiv@12 @76 + glGetVertexAttribPointerv@12 @80 + glGetVertexAttribfv@12 @78 + glGetVertexAttribiv@12 @79 + glHint@8 @81 + glIsBuffer@4 @82 + glIsEnabled@4 @83 + glIsFramebuffer@4 @84 + glIsProgram@4 @85 + glIsRenderbuffer@4 @86 + glIsShader@4 @87 + glIsTexture@4 @88 + glLineWidth@4 @89 + glLinkProgram@4 @90 + glPixelStorei@8 @91 + glPolygonOffset@8 @92 + glReadPixels@28 @93 + glReleaseShaderCompiler@0 @94 + glRenderbufferStorage@16 @95 + glSampleCoverage@8 @96 + glScissor@16 @97 + glShaderBinary@20 @98 + glShaderSource@16 @99 + glStencilFunc@12 @100 + glStencilFuncSeparate@16 @101 + glStencilMask@4 @102 + glStencilMaskSeparate@8 @103 + glStencilOp@12 @104 + glStencilOpSeparate@16 @105 + glTexImage2D@36 @106 + glTexParameterf@12 @107 + glTexParameterfv@12 @108 + glTexParameteri@12 @109 + glTexParameteriv@12 @110 + glTexSubImage2D@36 @111 + glUniform1f@8 @112 + glUniform1fv@12 @113 + glUniform1i@8 @114 + glUniform1iv@12 @115 + glUniform2f@12 @116 + glUniform2fv@12 @117 + glUniform2i@12 @118 + glUniform2iv@12 @119 + glUniform3f@16 @120 + glUniform3fv@12 @121 + glUniform3i@16 @122 + glUniform3iv@12 @123 + glUniform4f@20 @124 + glUniform4fv@12 @125 + glUniform4i@20 @126 + glUniform4iv@12 @127 + glUniformMatrix2fv@16 @128 + glUniformMatrix3fv@16 @129 + glUniformMatrix4fv@16 @130 + glUseProgram@4 @131 + glValidateProgram@4 @132 + glVertexAttrib1f@8 @133 + glVertexAttrib1fv@8 @134 + glVertexAttrib2f@12 @135 + glVertexAttrib2fv@8 @136 + glVertexAttrib3f@16 @137 + glVertexAttrib3fv@8 @138 + glVertexAttrib4f@20 @139 + glVertexAttrib4fv@8 @140 + glVertexAttribPointer@24 @141 + glViewport@16 @142 + + ; Extensions + glTexImage3DOES@40 @143 + glBlitFramebufferANGLE@40 @149 + glRenderbufferStorageMultisampleANGLE@20 @150 + glDeleteFencesNV@8 @151 + glFinishFenceNV@4 @152 + glGenFencesNV@8 @153 + glGetFenceivNV@12 @154 + glIsFenceNV@4 @155 + glSetFenceNV@8 @156 + glTestFenceNV@4 @157 + glGetTranslatedShaderSourceANGLE@16 @159 + glTexStorage2DEXT@20 @160 + glGetGraphicsResetStatusEXT@0 @161 + glReadnPixelsEXT@32 @162 + glGetnUniformfvEXT@16 @163 + glGetnUniformivEXT@16 @164 + glGenQueriesEXT@8 @165 + glDeleteQueriesEXT@8 @166 + glIsQueryEXT@4 @167 + glBeginQueryEXT@8 @168 + glEndQueryEXT@4 @169 + glGetQueryivEXT@12 @170 + glGetQueryObjectuivEXT@12 @171 + glVertexAttribDivisorANGLE@8 @172 + glDrawArraysInstancedANGLE@16 @173 + glDrawElementsInstancedANGLE@20 @174 + glProgramBinaryOES@16 @175 + glGetProgramBinaryOES@20 @176 + + ; EGL dependencies + glCreateContext @144 NONAME + glDestroyContext @145 NONAME + glMakeCurrent @146 NONAME + glGetCurrentContext @147 NONAME + glGetProcAddress@4 @148 NONAME + glBindTexImage@4 @158 NONAME diff --git a/src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw.def b/src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw.def new file mode 100644 index 0000000000..610e5e1173 --- /dev/null +++ b/src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw.def @@ -0,0 +1,182 @@ +LIBRARY libGLESv2d +EXPORTS + glActiveTexture@4 @1 + glAttachShader@8 @2 + glBindAttribLocation@12 @3 + glBindBuffer@8 @4 + glBindFramebuffer@8 @5 + glBindRenderbuffer@8 @6 + glBindTexture@8 @7 + glBlendColor@16 @8 + glBlendEquation@4 @9 + glBlendEquationSeparate@8 @10 + glBlendFunc@8 @11 + glBlendFuncSeparate@16 @12 + glBufferData@16 @13 + glBufferSubData@16 @14 + glCheckFramebufferStatus@4 @15 + glClear@4 @16 + glClearColor@16 @17 + glClearDepthf@4 @18 + glClearStencil@4 @19 + glColorMask@16 @20 + glCompileShader@4 @21 + glCompressedTexImage2D@32 @22 + glCompressedTexSubImage2D@36 @23 + glCopyTexImage2D@32 @24 + glCopyTexSubImage2D@32 @25 + glCreateProgram@0 @26 + glCreateShader@4 @27 + glCullFace@4 @28 + glDeleteBuffers@8 @29 + glDeleteFramebuffers@8 @30 + glDeleteProgram@4 @32 + glDeleteRenderbuffers@8 @33 + glDeleteShader@4 @34 + glDeleteTextures@8 @31 + glDepthFunc@4 @36 + glDepthMask@4 @37 + glDepthRangef@8 @38 + glDetachShader@8 @35 + glDisable@4 @39 + glDisableVertexAttribArray@4 @40 + glDrawArrays@12 @41 + glDrawElements@16 @42 + glEnable@4 @43 + glEnableVertexAttribArray@4 @44 + glFinish@0 @45 + glFlush@0 @46 + glFramebufferRenderbuffer@16 @47 + glFramebufferTexture2D@20 @48 + glFrontFace@4 @49 + glGenBuffers@8 @50 + glGenFramebuffers@8 @52 + glGenRenderbuffers@8 @53 + glGenTextures@8 @54 + glGenerateMipmap@4 @51 + glGetActiveAttrib@28 @55 + glGetActiveUniform@28 @56 + glGetAttachedShaders@16 @57 + glGetAttribLocation@8 @58 + glGetBooleanv@8 @59 + glGetBufferParameteriv@12 @60 + glGetError@0 @61 + glGetFloatv@8 @62 + glGetFramebufferAttachmentParameteriv@16 @63 + glGetIntegerv@8 @64 + glGetProgramInfoLog@16 @66 + glGetProgramiv@12 @65 + glGetRenderbufferParameteriv@12 @67 + glGetShaderInfoLog@16 @69 + glGetShaderPrecisionFormat@16 @70 + glGetShaderSource@16 @71 + glGetShaderiv@12 @68 + glGetString@4 @72 + glGetTexParameterfv@12 @73 + glGetTexParameteriv@12 @74 + glGetUniformLocation@8 @77 + glGetUniformfv@12 @75 + glGetUniformiv@12 @76 + glGetVertexAttribPointerv@12 @80 + glGetVertexAttribfv@12 @78 + glGetVertexAttribiv@12 @79 + glHint@8 @81 + glIsBuffer@4 @82 + glIsEnabled@4 @83 + glIsFramebuffer@4 @84 + glIsProgram@4 @85 + glIsRenderbuffer@4 @86 + glIsShader@4 @87 + glIsTexture@4 @88 + glLineWidth@4 @89 + glLinkProgram@4 @90 + glPixelStorei@8 @91 + glPolygonOffset@8 @92 + glReadPixels@28 @93 + glReleaseShaderCompiler@0 @94 + glRenderbufferStorage@16 @95 + glSampleCoverage@8 @96 + glScissor@16 @97 + glShaderBinary@20 @98 + glShaderSource@16 @99 + glStencilFunc@12 @100 + glStencilFuncSeparate@16 @101 + glStencilMask@4 @102 + glStencilMaskSeparate@8 @103 + glStencilOp@12 @104 + glStencilOpSeparate@16 @105 + glTexImage2D@36 @106 + glTexParameterf@12 @107 + glTexParameterfv@12 @108 + glTexParameteri@12 @109 + glTexParameteriv@12 @110 + glTexSubImage2D@36 @111 + glUniform1f@8 @112 + glUniform1fv@12 @113 + glUniform1i@8 @114 + glUniform1iv@12 @115 + glUniform2f@12 @116 + glUniform2fv@12 @117 + glUniform2i@12 @118 + glUniform2iv@12 @119 + glUniform3f@16 @120 + glUniform3fv@12 @121 + glUniform3i@16 @122 + glUniform3iv@12 @123 + glUniform4f@20 @124 + glUniform4fv@12 @125 + glUniform4i@20 @126 + glUniform4iv@12 @127 + glUniformMatrix2fv@16 @128 + glUniformMatrix3fv@16 @129 + glUniformMatrix4fv@16 @130 + glUseProgram@4 @131 + glValidateProgram@4 @132 + glVertexAttrib1f@8 @133 + glVertexAttrib1fv@8 @134 + glVertexAttrib2f@12 @135 + glVertexAttrib2fv@8 @136 + glVertexAttrib3f@16 @137 + glVertexAttrib3fv@8 @138 + glVertexAttrib4f@20 @139 + glVertexAttrib4fv@8 @140 + glVertexAttribPointer@24 @141 + glViewport@16 @142 + + ; Extensions + glTexImage3DOES@40 @143 + glBlitFramebufferANGLE@40 @149 + glRenderbufferStorageMultisampleANGLE@20 @150 + glDeleteFencesNV@8 @151 + glFinishFenceNV@4 @152 + glGenFencesNV@8 @153 + glGetFenceivNV@12 @154 + glIsFenceNV@4 @155 + glSetFenceNV@8 @156 + glTestFenceNV@4 @157 + glGetTranslatedShaderSourceANGLE@16 @159 + glTexStorage2DEXT@20 @160 + glGetGraphicsResetStatusEXT@0 @161 + glReadnPixelsEXT@32 @162 + glGetnUniformfvEXT@16 @163 + glGetnUniformivEXT@16 @164 + glGenQueriesEXT@8 @165 + glDeleteQueriesEXT@8 @166 + glIsQueryEXT@4 @167 + glBeginQueryEXT@8 @168 + glEndQueryEXT@4 @169 + glGetQueryivEXT@12 @170 + glGetQueryObjectuivEXT@12 @171 + glVertexAttribDivisorANGLE@8 @172 + glDrawArraysInstancedANGLE@16 @173 + glDrawElementsInstancedANGLE@20 @174 + glProgramBinaryOES@16 @175 + glGetProgramBinaryOES@20 @176 + + ; EGL dependencies + glCreateContext @144 NONAME + glDestroyContext @145 NONAME + glMakeCurrent @146 NONAME + glGetCurrentContext @147 NONAME + glGetProcAddress@4 @148 NONAME + glBindTexImage@4 @158 NONAME diff --git a/src/angle/README.qt b/src/angle/README.qt index a8888604cc..e84d29f004 100644 --- a/src/angle/README.qt +++ b/src/angle/README.qt @@ -29,6 +29,11 @@ Since we build debug and release versions the .def files (libEGLd.def) must be created as copies with the LIBRARY name entry adapted. +MinGW-w64 32-bit requires function exports in the .def files +to be decorated. Modified versions of the .def files are created as +_mingw.def. The decorated names of each function can be found +using the nm command to list the symbols in libEGL.o and libGLESv2.o. + Using a custom ANGLE ------------------------------------------------------------- Qt supports building a version of ANGLE other than the one that diff --git a/src/angle/src/libEGL/libEGL.pro b/src/angle/src/libEGL/libEGL.pro index 78be1625c0..cab94c4ea2 100644 --- a/src/angle/src/libEGL/libEGL.pro +++ b/src/angle/src/libEGL/libEGL.pro @@ -24,7 +24,10 @@ SOURCES += \ $$ANGLE_DIR/src/libEGL/main.cpp \ $$ANGLE_DIR/src/libEGL/Surface.cpp -!static:DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def +!static { + DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def + win32-g++*: DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}_mingw.def +} load(qt_installs) diff --git a/src/angle/src/libGLESv2/libGLESv2.pro b/src/angle/src/libGLESv2/libGLESv2.pro index 7f2c59355d..47c765b7ce 100644 --- a/src/angle/src/libGLESv2/libGLESv2.pro +++ b/src/angle/src/libGLESv2/libGLESv2.pro @@ -66,7 +66,10 @@ SOURCES += \ SSE2_SOURCES += $$ANGLE_DIR/src/libGLESv2/TextureSSE2.cpp -!static:DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def +!static { + DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def + win32-g++*: DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}_mingw.def +} float_converter.target = float_converter float_converter.commands = python $$ANGLE_DIR/src/libGLESv2/Float16ToFloat32.py \ From 234163adb3ceb9a6f2fac04a276724bf8495ca8e Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 18 Dec 2012 17:39:07 +0100 Subject: [PATCH 313/386] QDoc: Fix warning - unused variable Change-Id: Id4068e1a1fcfad8fb3cc9174f995cb2b73b6e194 Reviewed-by: Martin Smith --- src/tools/qdoc/qmlvisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qdoc/qmlvisitor.cpp b/src/tools/qdoc/qmlvisitor.cpp index e0bee2e664..63a69ee0af 100644 --- a/src/tools/qdoc/qmlvisitor.cpp +++ b/src/tools/qdoc/qmlvisitor.cpp @@ -344,7 +344,7 @@ void QmlDocVisitor::applyMetacommands(QQmlJS::AST::SourceLocation, else if ((command == COMMAND_INGROUP) && !args.isEmpty()) { ArgList::ConstIterator argsIter = args.constBegin(); while (argsIter != args.constEnd()) { - DocNode* dn = QDocDatabase::qdocDB()->addToGroup(argsIter->first, node); + QDocDatabase::qdocDB()->addToGroup(argsIter->first, node); ++argsIter; } } From a0584f678b20103fe4ccbe482848051acbb00b21 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 18 Dec 2012 15:22:48 +0100 Subject: [PATCH 314/386] tst_qaccessibility: Fix warnings about window geometry on Windows. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make windows frameless so that size constraints for decorated windows do not interfere. Task-number: QTBUG-28696 Change-Id: Ic4410d8a6e8166bdfe013ed2362173f8e02d4b29 Reviewed-by: Jan Arve Sæther --- .../qaccessibility/tst_qaccessibility.cpp | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index 768217c008..09faa7a3f2 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -69,6 +69,16 @@ #include "QtTest/qtestaccessible.h" +// Make a widget frameless to prevent size constraints of title bars +// from interfering (Windows). +static inline void setFrameless(QWidget *w) +{ + Qt::WindowFlags flags = w->windowFlags(); + flags |= Qt::FramelessWindowHint; + flags &= ~(Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); + w->setWindowFlags(flags); +} + #if defined(Q_OS_WINCE) extern "C" bool SystemParametersInfo(UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni); #define SPI_GETPLATFORMTYPE 257 @@ -363,6 +373,7 @@ void tst_QAccessibility::eventTest() { QPushButton* button = new QPushButton(0); button->setObjectName(QString("Olaf")); + setFrameless(button); button->show(); QAccessibleEvent showEvent(button, QAccessible::ObjectShow); @@ -440,6 +451,7 @@ void tst_QAccessibility::sliderTest() { { QSlider *slider = new QSlider(0); + setFrameless(slider); slider->setObjectName(QString("Slidy")); slider->show(); QAIPtr iface(QAccessible::queryAccessibleInterface(slider)); @@ -667,6 +679,7 @@ void tst_QAccessibility::textAttributes() void tst_QAccessibility::hideShowTest() { QWidget * const window = new QWidget(); + window->resize(200, 200); QWidget * const child = new QWidget(window); QVERIFY(state(window).invisible); @@ -727,6 +740,7 @@ void tst_QAccessibility::actionTest() { QPushButton *button = new QPushButton; + setFrameless(button); button->show(); QVERIFY(QTest::qWaitForWindowExposed(button)); button->clearFocus(); @@ -912,6 +926,7 @@ void tst_QAccessibility::buttonTest() QMenu *menu = new QMenu(); menu->addAction(foo); QPushButton menuButton; + setFrameless(&menuButton); menuButton.setMenu(menu); menuButton.show(); QAccessibleInterface *interface = QAccessible::queryAccessibleInterface(&menuButton); @@ -1067,6 +1082,7 @@ void tst_QAccessibility::scrollBarTest() void tst_QAccessibility::tabTest() { QTabBar *tabBar = new QTabBar(); + setFrameless(tabBar); tabBar->show(); QAccessibleInterface * const interface = QAccessible::queryAccessibleInterface(tabBar); @@ -1443,6 +1459,7 @@ void tst_QAccessibility::menuTest() void tst_QAccessibility::spinBoxTest() { QSpinBox * const spinBox = new QSpinBox(); + setFrameless(spinBox); spinBox->setValue(3); spinBox->show(); @@ -1485,6 +1502,7 @@ void tst_QAccessibility::spinBoxTest() void tst_QAccessibility::doubleSpinBoxTest() { QDoubleSpinBox *doubleSpinBox = new QDoubleSpinBox; + setFrameless(doubleSpinBox); doubleSpinBox->show(); QAccessibleInterface *interface = QAccessible::queryAccessibleInterface(doubleSpinBox); @@ -1533,6 +1551,7 @@ void tst_QAccessibility::textEditTest() for (int pass = 0; pass < 2; ++pass) { { QTextEdit edit; + setFrameless(&edit); int startOffset; int endOffset; // create two blocks of text. The first block has two lines. @@ -2131,6 +2150,7 @@ void tst_QAccessibility::dialogButtonBoxTest() QDialogButtonBox box(QDialogButtonBox::Reset | QDialogButtonBox::Help | QDialogButtonBox::Ok, Qt::Horizontal); + setFrameless(&box); // Test up and down navigation @@ -2172,6 +2192,7 @@ void tst_QAccessibility::dialTest() { { QDial dial; + setFrameless(&dial); dial.setMinimum(23); dial.setMaximum(121); dial.setValue(42); @@ -2895,6 +2916,7 @@ void tst_QAccessibility::labelTest() { QString text = "Hello World"; QLabel *label = new QLabel(text); + setFrameless(label); label->show(); #if defined(Q_OS_UNIX) From eb2d0c82eb8842713f897c0de8c960d07e62df7d Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Sun, 9 Dec 2012 20:03:35 +0100 Subject: [PATCH 315/386] Respect the OBJECTS_DIR setting for XCode projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-28104 Change-Id: I0361cb979c40ce14ac163453d8229efc69527b6c Reviewed-by: Oswald Buddenhagen Reviewed-by: Tor Arne Vestbø Reviewed-by: Joerg Bornemann --- qmake/generators/mac/pbuilder_pbx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmake/generators/mac/pbuilder_pbx.cpp b/qmake/generators/mac/pbuilder_pbx.cpp index c538814ac4..fbb7680bad 100644 --- a/qmake/generators/mac/pbuilder_pbx.cpp +++ b/qmake/generators/mac/pbuilder_pbx.cpp @@ -1250,8 +1250,6 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t) t << "\t\t\t\t" << writeSettings("DYLIB_COMPATIBILITY_VERSION", project->first("COMPAT_VERSION")) << ";" << "\n"; if(!project->isEmpty("QMAKE_MACOSX_DEPLOYMENT_TARGET")) t << "\t\t\t\t" << writeSettings("MACOSX_DEPLOYMENT_TARGET", project->first("QMAKE_MACOSX_DEPLOYMENT_TARGET")) << ";" << "\n"; - if (!project->isEmpty("OBJECTS_DIR")) - t << "\t\t\t\t" << writeSettings("OBJROOT", fixForOutput(project->first("OBJECTS_DIR").toQString())) << ";" << "\n"; if(project->first("TEMPLATE") == "app") { t << "\t\t\t\t" << writeSettings("PRODUCT_NAME", fixForOutput(project->first("QMAKE_ORIG_TARGET").toQString())) << ";" << "\n"; } else { @@ -1429,6 +1427,8 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t) const ProStringList &archs = project->values("QT_ARCH"); if (!archs.isEmpty()) t << "\t\t\t\t" << writeSettings("ARCHS", archs) << ";" << "\n"; + if (!project->isEmpty("OBJECTS_DIR")) + t << "\t\t\t\t" << writeSettings("OBJROOT", escapeFilePath(project->first("OBJECTS_DIR").toQString())) << ";" << "\n"; } else { if (project->first("TEMPLATE") == "app") { t << "\t\t\t\t" << writeSettings("PRODUCT_NAME", fixForOutput(project->first("QMAKE_ORIG_TARGET").toQString())) << ";" << "\n"; From 3537ecfecb3dc8bf47261125395a3282455849c6 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Tue, 11 Dec 2012 22:15:40 +0100 Subject: [PATCH 316/386] Fix handling of precompiled header files in XCode projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-24589 Change-Id: If81e15aa038f418abea25d96a7b7ec773a87d2db Reviewed-by: Tor Arne Vestbø --- qmake/generators/mac/pbuilder_pbx.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qmake/generators/mac/pbuilder_pbx.cpp b/qmake/generators/mac/pbuilder_pbx.cpp index fbb7680bad..00db664e7d 100644 --- a/qmake/generators/mac/pbuilder_pbx.cpp +++ b/qmake/generators/mac/pbuilder_pbx.cpp @@ -1180,10 +1180,6 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t) << "\t\t\t\t" << writeSettings("SECTORDER_FLAGS", ProStringList()) << ";" << "\n" << "\t\t\t\t" << writeSettings("WARNING_CFLAGS", ProStringList()) << ";" << "\n" << "\t\t\t\t" << writeSettings("PREBINDING", ProStringList((project->isEmpty("QMAKE_DO_PREBINDING") ? "NO" : "YES")), SettingsNoQuote) << ";" << "\n"; - if(!project->isEmpty("PRECOMPILED_HEADER")) { - t << "\t\t\t\t" << writeSettings("GCC_PRECOMPILE_PREFIX_HEADER", "YES") << ";" << "\n" - << "\t\t\t\t" << writeSettings("GCC_PREFIX_HEADER", escapeFilePath(project->first("PRECOMPILED_HEADER"))) << ";" << "\n"; - } if((project->first("TEMPLATE") == "app" && project->isActiveConfig("app_bundle")) || (project->first("TEMPLATE") == "lib" && !project->isActiveConfig("staticlib") && project->isActiveConfig("lib_bundle"))) { @@ -1391,6 +1387,10 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t) << "\t\t\t" << "buildSettings = {" << "\n"; for (QMap::Iterator set_it = settings.begin(); set_it != settings.end(); ++set_it) t << "\t\t\t\t" << writeSettings(set_it.key(), set_it.value()) << ";\n"; + if (!project->isEmpty("PRECOMPILED_HEADER")) { + t << "\t\t\t\t" << writeSettings("GCC_PRECOMPILE_PREFIX_HEADER", "YES") << ";" << "\n" + << "\t\t\t\t" << writeSettings("GCC_PREFIX_HEADER", escapeFilePath(project->first("PRECOMPILED_HEADER"))) << ";" << "\n"; + } if (buildConfigGroups.at(i) == QLatin1String("PROJECT")) { t << "\t\t\t\t" << writeSettings("HEADER_SEARCH_PATHS", fixListForOutput("INCLUDEPATH") + ProStringList(fixForOutput(specdir())), SettingsAsList, 5) << ";" << "\n" << "\t\t\t\t" << writeSettings("LIBRARY_SEARCH_PATHS", fixListForOutput("QMAKE_PBX_LIBPATHS"), SettingsAsList, 5) << ";" << "\n" From 7fcf1cf674d09d9dd1d41e2913252017f1d599ca Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Tue, 4 Dec 2012 14:25:36 +0100 Subject: [PATCH 317/386] Check for gtk_adjustment_configure as this is not always implemented MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some implementations seem to not have the gtk_adjustment_configure function implemented so we check for this so that there is no problem when it tries to use it. Task-number: QTBUG-23569 QTBUG-25760 Change-Id: I777ce09268f86907f3da3cede408c9a41be566cf Reviewed-by: Jan Arve Sæther Reviewed-by: Karim Pinter --- src/widgets/styles/qgtkstyle.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/styles/qgtkstyle.cpp b/src/widgets/styles/qgtkstyle.cpp index 75d2306da7..3ee242334d 100644 --- a/src/widgets/styles/qgtkstyle.cpp +++ b/src/widgets/styles/qgtkstyle.cpp @@ -2204,8 +2204,10 @@ void QGtkStyle::drawComplexControl(ComplexControl control, const QStyleOptionCom GtkRange *range = (GtkRange*)(horizontal ? gtkHScrollBar : gtkVScrollBar); - GtkAdjustment *adjustment = d->gtk_range_get_adjustment(range); + GtkAdjustment *adjustment = 0; + if (d->gtk_adjustment_configure) + adjustment = d->gtk_range_get_adjustment(range); if (adjustment) { d->gtk_adjustment_configure(adjustment, fakePos, 0, maximum, 0, 0, 0); } else { From 2aab04866f36ae4241cb1b77eee505f227db97b8 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Wed, 19 Dec 2012 14:53:29 +0200 Subject: [PATCH 318/386] Add qmake generated files to .gitignore. Add source files generated by qmake for automatic static plugin imports to .gitignore. Change-Id: I2a2da2f8db41b41601566e66238affa3dcc66dff Reviewed-by: Oswald Buddenhagen --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index fe9fe84693..ec33ed9737 100644 --- a/.gitignore +++ b/.gitignore @@ -312,3 +312,6 @@ tests/auto/dbus/qdbusinterface/qmyserver/qmyserver tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/qfileopeneventexternal tests/auto/network/bearer/qnetworksession/lackey/lackey tests/auto/widgets/kernel/qapplication/modal/modal + +# Generated static plugin import sources +*_plugin_import.cpp From 1cf191ec6d18ba433c50cbd41c85d5e80c8fb69c Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 17 Dec 2012 17:37:40 +0100 Subject: [PATCH 319/386] fix examples/gui/analogclock for MSVC This example is hit by the infamous QTBUG-13496 issue. Task-number: QTBUG-28665 Change-Id: I9bcffe72d34b1eaa9f5beafc69a16913a597d17f Reviewed-by: Oswald Buddenhagen Reviewed-by: Eskil Abrahamsen Blomfeldt --- examples/gui/analogclock/analogclock.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/gui/analogclock/analogclock.pro b/examples/gui/analogclock/analogclock.pro index 2183c6888a..eef17274f5 100644 --- a/examples/gui/analogclock/analogclock.pro +++ b/examples/gui/analogclock/analogclock.pro @@ -1,5 +1,8 @@ include(../rasterwindow/rasterwindow.pri) +# work-around for QTBUG-13496 +CONFIG += no_batch + SOURCES += \ main.cpp From 4e38747d8deb13593e0f277fa10145a6608063c1 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Tue, 11 Dec 2012 12:35:15 +0100 Subject: [PATCH 320/386] Mac: New rendering for disclose triangle, get proper color when selected Change-Id: I2be0a28df3f5dd2fdfae13be6ec98763a04187c1 Reviewed-by: Jens Bache-Wiig --- src/widgets/styles/qmacstyle_mac.mm | 42 ++++++++++++++++---------- src/widgets/styles/qmacstyle_mac_p_p.h | 1 + 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/widgets/styles/qmacstyle_mac.mm b/src/widgets/styles/qmacstyle_mac.mm index b6adc38687..bde33cdb97 100644 --- a/src/widgets/styles/qmacstyle_mac.mm +++ b/src/widgets/styles/qmacstyle_mac.mm @@ -1764,8 +1764,8 @@ void QMacStylePrivate::drawColorlessButton(const HIRect &macRect, HIThemeButtonD QMacStyle::QMacStyle() : QCommonStyle(*new QMacStylePrivate) { -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 Q_D(QMacStyle); +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_7) { d->receiver = [[NotificationReceiver alloc] initWithPrivate:d]; NotificationReceiver *receiver = static_cast(d->receiver); @@ -1778,6 +1778,7 @@ QMacStyle::QMacStyle() d->nsscroller = [[NSScroller alloc] init]; } #endif + d->indicatorBranchButtonCell = nil; } QMacStyle::~QMacStyle() @@ -3080,21 +3081,30 @@ void QMacStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPai case PE_IndicatorBranch: { if (!(opt->state & State_Children)) break; - HIThemeButtonDrawInfo bi; - bi.version = qt_mac_hitheme_version; - bi.state = tds; - if (tds == kThemeStateInactive && opt->palette.currentColorGroup() == QPalette::Active) - bi.state = kThemeStateActive; - if (opt->state & State_Sunken) - bi.state |= kThemeStatePressed; - bi.kind = kThemeDisclosureButton; - if (opt->state & State_Open) - bi.value = kThemeDisclosureDown; - else - bi.value = opt->direction == Qt::LeftToRight ? kThemeDisclosureRight : kThemeDisclosureLeft; - bi.adornment = kThemeAdornmentNone; - HIRect hirect = qt_hirectForQRect(opt->rect.adjusted(DisclosureOffset,0,-DisclosureOffset,0)); - HIThemeDrawButton(&hirect, &bi, cg, kHIThemeOrientationNormal, 0); + if (!d->indicatorBranchButtonCell) + const_cast(d)->indicatorBranchButtonCell = (void *)[[NSButtonCell alloc] init]; + NSButtonCell *triangleCell = (NSButtonCell *)d->indicatorBranchButtonCell; + [triangleCell setButtonType:NSOnOffButton]; + [triangleCell setState:(opt->state & State_Open) ? NSOnState : NSOffState]; + [triangleCell setBezelStyle:NSDisclosureBezelStyle]; + [triangleCell setBackgroundStyle:((opt->state & State_Selected) && w->hasFocus()) ? NSBackgroundStyleDark : NSBackgroundStyleLight]; + + CGContextSaveGState(cg); + [NSGraphicsContext saveGraphicsState]; + + [NSGraphicsContext setCurrentContext:[NSGraphicsContext + graphicsContextWithGraphicsPort:(CGContextRef)cg flipped:NO]]; + + QRect qtRect = opt->rect.adjusted(DisclosureOffset, 0, -DisclosureOffset, 0); + CGRect rect = CGRectMake(qtRect.x() + 1, qtRect.y(), qtRect.width(), qtRect.height()); + CGContextTranslateCTM(cg, rect.origin.x, rect.origin.y + rect.size.height); + CGContextScaleCTM(cg, 1, -1); + CGContextTranslateCTM(cg, -rect.origin.x, -rect.origin.y); + + [triangleCell drawBezelWithFrame:rect inView:[triangleCell controlView]]; + + [NSGraphicsContext restoreGraphicsState]; + CGContextRestoreGState(cg); break; } case PE_Frame: { diff --git a/src/widgets/styles/qmacstyle_mac_p_p.h b/src/widgets/styles/qmacstyle_mac_p_p.h index a23c45fa55..dae87bfec6 100644 --- a/src/widgets/styles/qmacstyle_mac_p_p.h +++ b/src/widgets/styles/qmacstyle_mac_p_p.h @@ -209,6 +209,7 @@ public: void* receiver; void *nsscroller; #endif + void *indicatorBranchButtonCell; }; class QScrollbarAnimation : public QNumberStyleAnimation From 56dc245a2beb42ceb9f2159da8cd5dd131e23a02 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Wed, 5 Dec 2012 17:26:38 +0100 Subject: [PATCH 321/386] Mac: Ignore ScrollBarAlwaysOn policy for transient scrollbars Change-Id: I8a542263df64a21cad6b8cddc5ab1d8a93e153d5 Reviewed-by: Jens Bache-Wiig --- src/corelib/global/qnamespace.qdoc | 4 +++- src/widgets/widgets/qabstractscrollarea.cpp | 25 ++++++++++++--------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index f09e3ce484..0b0d089ba5 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -1721,7 +1721,9 @@ \value ScrollBarAlwaysOff QAbstractScrollArea never shows a scroll bar. - \value ScrollBarAlwaysOn QAbstractScrollArea always shows a scroll bar. + \value ScrollBarAlwaysOn QAbstractScrollArea always shows a scroll bar. This + property is ignored on systems with transient scroll bars (e.g., on Mac from + version 10.7). (The modes for the horizontal and vertical scroll bars are independent.) diff --git a/src/widgets/widgets/qabstractscrollarea.cpp b/src/widgets/widgets/qabstractscrollarea.cpp index ae363fe71f..c277f7bd45 100644 --- a/src/widgets/widgets/qabstractscrollarea.cpp +++ b/src/widgets/widgets/qabstractscrollarea.cpp @@ -328,11 +328,14 @@ void QAbstractScrollAreaPrivate::setSingleFingerPanEnabled(bool on) void QAbstractScrollAreaPrivate::layoutChildren() { Q_Q(QAbstractScrollArea); - bool needh = (hbarpolicy == Qt::ScrollBarAlwaysOn - || (hbarpolicy == Qt::ScrollBarAsNeeded && hbar->minimum() < hbar->maximum() && !hbar->sizeHint().isEmpty())); + bool transient = q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, vbar ? vbar : hbar); + bool needh = (hbarpolicy == Qt::ScrollBarAlwaysOn && !transient) + || ((hbarpolicy == Qt::ScrollBarAsNeeded || transient) + && hbar->minimum() < hbar->maximum() && !hbar->sizeHint().isEmpty()); - bool needv = (vbarpolicy == Qt::ScrollBarAlwaysOn - || (vbarpolicy == Qt::ScrollBarAsNeeded && vbar->minimum() < vbar->maximum() && !vbar->sizeHint().isEmpty())); + bool needv = (vbarpolicy == Qt::ScrollBarAlwaysOn && !transient) + || ((vbarpolicy == Qt::ScrollBarAsNeeded || transient) + && vbar->minimum() < vbar->maximum() && !vbar->sizeHint().isEmpty()); QStyleOption opt(0); opt.init(q); @@ -490,7 +493,7 @@ void QAbstractScrollAreaPrivate::layoutChildren() horizontalScrollBarRect.adjust(vsbExt, 0, 0, 0); #endif #ifdef Q_OS_MAC - if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, hbar)) + if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && transient) horizontalScrollBarRect.adjust(0, 0, cornerOffset.x(), 0); #endif scrollBarContainers[Qt::Horizontal]->setGeometry(QStyle::visualRect(opt.direction, opt.rect, horizontalScrollBarRect)); @@ -500,7 +503,7 @@ void QAbstractScrollAreaPrivate::layoutChildren() if (needv) { QRect verticalScrollBarRect (QPoint(cornerPoint.x(), controlsRect.top() + hHeaderBottom), QPoint(controlsRect.right(), cornerPoint.y() - 1)); #ifdef Q_OS_MAC - if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, vbar)) + if (!hasCornerWidget && QSysInfo::macVersion() >= QSysInfo::MV_10_8 && transient) verticalScrollBarRect.adjust(0, 0, 0, cornerOffset.y()); #endif scrollBarContainers[Qt::Vertical]->setGeometry(QStyle::visualRect(opt.direction, opt.rect, verticalScrollBarRect)); @@ -662,7 +665,6 @@ void QAbstractScrollArea::setVerticalScrollBarPolicy(Qt::ScrollBarPolicy policy) d->layoutChildren(); if (oldPolicy != d->vbarpolicy) d->scrollBarPolicyChanged(Qt::Vertical, d->vbarpolicy); - d->setScrollBarTransient(d->vbar, policy == Qt::ScrollBarAsNeeded); } @@ -724,7 +726,6 @@ void QAbstractScrollArea::setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy polic d->layoutChildren(); if (oldPolicy != d->hbarpolicy) d->scrollBarPolicyChanged(Qt::Horizontal, d->hbarpolicy); - d->setScrollBarTransient(d->hbar, policy == Qt::ScrollBarAsNeeded); } /*! @@ -943,7 +944,7 @@ bool QAbstractScrollArea::eventFilter(QObject *o, QEvent *e) Q_D(QAbstractScrollArea); if ((o == d->hbar || o == d->vbar) && (e->type() == QEvent::HoverEnter || e->type() == QEvent::HoverLeave)) { Qt::ScrollBarPolicy policy = o == d->hbar ? d->vbarpolicy : d->hbarpolicy; - if (policy == Qt::ScrollBarAsNeeded) { + if (policy == Qt::ScrollBarAsNeeded || style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, d->vbar ? d->vbar : d->hbar)) { QScrollBar *sibling = o == d->hbar ? d->vbar : d->hbar; d->setScrollBarTransient(sibling, e->type() == QEvent::HoverLeave); } @@ -1453,9 +1454,11 @@ bool QAbstractScrollAreaPrivate::canStartScrollingAt( const QPoint &startPos ) void QAbstractScrollAreaPrivate::flashScrollBars() { - if (hbarpolicy == Qt::ScrollBarAsNeeded) + Q_Q(QAbstractScrollArea); + bool transient = q->style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, vbar ? vbar : hbar); + if (hbarpolicy == Qt::ScrollBarAsNeeded || transient) hbar->d_func()->flash(); - if (vbarpolicy == Qt::ScrollBarAsNeeded) + if (vbarpolicy == Qt::ScrollBarAsNeeded || transient) vbar->d_func()->flash(); } From c9aa1f2c2a7f6d7a238fa2554a419a80cc64752d Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 19 Dec 2012 14:19:18 +0100 Subject: [PATCH 322/386] Fix compilation of Open GL ES 2 examples when using a Qt-namespace. Change-Id: I174569a8c989ab53fb6b9bb700c110db2f93c2d5 Reviewed-by: hjk --- examples/opengl/hellogl_es2/bubble.h | 2 +- examples/opengl/hellogl_es2/mainwindow.h | 3 --- examples/opengl/textures/glwidget.h | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/opengl/hellogl_es2/bubble.h b/examples/opengl/hellogl_es2/bubble.h index cd4c8d91cc..b913d3620d 100644 --- a/examples/opengl/hellogl_es2/bubble.h +++ b/examples/opengl/hellogl_es2/bubble.h @@ -47,7 +47,7 @@ #include #include -class QPainter; +QT_FORWARD_DECLARE_CLASS(QPainter) class Bubble { diff --git a/examples/opengl/hellogl_es2/mainwindow.h b/examples/opengl/hellogl_es2/mainwindow.h index 7e16a6b6a7..4aac220692 100644 --- a/examples/opengl/hellogl_es2/mainwindow.h +++ b/examples/opengl/hellogl_es2/mainwindow.h @@ -43,9 +43,6 @@ #include -class QSlider; -class GLWidget; - class MainWindow : public QMainWindow { Q_OBJECT diff --git a/examples/opengl/textures/glwidget.h b/examples/opengl/textures/glwidget.h index 11a9818e19..757a7df627 100644 --- a/examples/opengl/textures/glwidget.h +++ b/examples/opengl/textures/glwidget.h @@ -44,7 +44,7 @@ #include #include -class QGLShaderProgram; +QT_FORWARD_DECLARE_CLASS(QGLShaderProgram); class GLWidget : public QGLWidget { From 22ce26234ed9b5c8e35fb10f54c769db76eefbbb Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 17 Dec 2012 16:13:41 -0800 Subject: [PATCH 323/386] Similarly to the 797f3c0a01e9, fix qbasicatomic.h inclusion qatomic.h includes qbasicatomic.h, so break the cyclic inclusion problem. Change-Id: If72bacbcfa36993336786f31e8980fbd43df8bdc Reviewed-by: Olivier Goffart --- src/corelib/thread/qbasicatomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/thread/qbasicatomic.h b/src/corelib/thread/qbasicatomic.h index 4177ddbd39..70b69827c2 100644 --- a/src/corelib/thread/qbasicatomic.h +++ b/src/corelib/thread/qbasicatomic.h @@ -39,11 +39,11 @@ ** ****************************************************************************/ +#include + #ifndef QBASICATOMIC_H #define QBASICATOMIC_H -#include - #if defined(QT_MOC) || defined(QT_BUILD_QMAKE) || defined(QT_RCC) || defined(QT_UIC) || defined(QT_BOOTSTRAPPED) # include From d7df8e39f36117433605827421dcdc676fe2e58d Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 17 Dec 2012 16:17:25 -0800 Subject: [PATCH 324/386] Make qtestaccessible.h compile on its own. It needs the QTest namespace and QTest::qWait to be declared. Change-Id: I1c72a13231603a61221cf1b7ad9234aa4cba6d60 Reviewed-by: Frederik Gladhorn --- src/testlib/qtestaccessible.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/testlib/qtestaccessible.h b/src/testlib/qtestaccessible.h index 2642ee206a..b4603a776d 100644 --- a/src/testlib/qtestaccessible.h +++ b/src/testlib/qtestaccessible.h @@ -56,6 +56,8 @@ #include #include #include +#include +#include QT_BEGIN_HEADER From 12b68e817f58d001e294b388b7f9b8963d41fa0b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 17 Dec 2012 16:51:42 -0800 Subject: [PATCH 325/386] Remove compat, obsolete headers These headers did not exist before 5.0 and should not exist in 5.0 release. Change-Id: I9dd40cb07c468db32777a7ce45afa41e693b7839 Reviewed-by: Lars Knoll --- sync.profile | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/sync.profile b/sync.profile index dd01df96d6..756f83e409 100644 --- a/sync.profile +++ b/sync.profile @@ -42,24 +42,6 @@ "QtGui" => { "QGenericPlugin" => "QtGui/QGenericPlugin", "QGenericPluginFactory" => "QtGui/QGenericPluginFactory" - }, - "QtWidgets" => { - "qplatformmenu_qpa.h" => "qpa/qplatformmenu.h", - "QPlatformMenu" => "qpa/qplatformmenu.h", - "QPlatformMenuAction" => "qpa/qplatformmenu.h", - "QPlatformMenuBar" => "qpa/qplatformmenu.h" - }, - "QtPrintSupport" => { - "qplatformprintersupport_qpa.h" => "qpa/qplatformprintersupport.h", - "QPlatformPrinterSupport" => "qpa/qplatformprintersupport.h", - "QPlatformPrinterSupportPlugin" => "XXXXXXXXXXXXXXXXXXXX", - "qplatformprintplugin_qpa.h" => "qpa/qplatformprintplugin.h", - "QPlatformPrintPlugin" => "qpa/qplatformprintplugin.h" - }, - "QtPlatformSupport" => { - "qplatforminputcontextfactory_qpa_p.h" => "qpa/qplatforminputcontextfactory_p.h", - "qplatforminputcontextplugin_qpa_p.h" => "qpa/qplatforminputcontextplugin_p.h", - "QPlatformInputContextPlugin" => "qpa/qplatforminputcontextplugin_p.h" } ); %explicitheaders = ( From 2efccfeeef70ebd8a2db2ebccb3c63722ae76e1f Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Fri, 7 Dec 2012 07:41:44 +1000 Subject: [PATCH 326/386] Update connman bearer plugin for changed connman API. This should also remain working for previous connman Change-Id: I5f0a1947f11948b202391ba0c256067faa01ce6d Reviewed-by: Lorn Potter Reviewed-by: Robin Burchell Reviewed-by: Thiago Macieira --- .../bearer/connman/qconnmanservice_linux.cpp | 50 ++++++++++++++++--- .../bearer/connman/qconnmanservice_linux_p.h | 13 +++++ 2 files changed, 57 insertions(+), 6 deletions(-) diff --git a/src/plugins/bearer/connman/qconnmanservice_linux.cpp b/src/plugins/bearer/connman/qconnmanservice_linux.cpp index 46757ab021..dbfac6b438 100644 --- a/src/plugins/bearer/connman/qconnmanservice_linux.cpp +++ b/src/plugins/bearer/connman/qconnmanservice_linux.cpp @@ -57,9 +57,24 @@ #ifndef QT_NO_DBUS QT_BEGIN_NAMESPACE + +QDBusArgument &operator<<(QDBusArgument &argument, const ConnmanMap &map) +{ + argument.beginStructure(); + argument << map.objectPath << map.propertyMap; + argument.endStructure(); + return argument; +} + +const QDBusArgument &operator>>(const QDBusArgument &argument, ConnmanMap &map) +{ + argument.beginStructure(); + argument >> map.objectPath >> map.propertyMap; + argument.endStructure(); + return argument; +} + static QDBusConnection dbusConnection = QDBusConnection::systemBus(); - - QConnmanManagerInterface::QConnmanManagerInterface( QObject *parent) : QDBusAbstractInterface(QLatin1String(CONNMAN_SERVICE), QLatin1String(CONNMAN_MANAGER_PATH), @@ -301,14 +316,37 @@ QStringList QConnmanManagerInterface::getProfiles() QStringList QConnmanManagerInterface::getTechnologies() { - QVariant var = getProperty("Technologies"); - return qdbus_cast(var); + QStringList list; + QDBusReply replyList = this->call(QLatin1String("GetTechnologies")); + if (replyList.isValid()) { + Q_FOREACH (ConnmanMap map, replyList.value()) { + list << map.objectPath.path(); + } + } else { + // try for older version + QVariant var = getProperty("Technologies"); + if (!var.isNull()) { + list = qdbus_cast(var); + } + } + return list; } QStringList QConnmanManagerInterface::getServices() { - QVariant var = getProperty("Services"); - return qdbus_cast(var); + QStringList list; + QDBusReply replyList = this->call(QLatin1String("GetServices")); + if (replyList.isValid()) { + Q_FOREACH (ConnmanMap map, replyList.value()) { + list << map.objectPath.path(); + } + } else { + QVariant var = getProperty("Services"); + if (!var.isNull()) { + list = qdbus_cast(var); + } + } + return list; } QString QConnmanManagerInterface::getPathForTechnology(const QString &name) diff --git a/src/plugins/bearer/connman/qconnmanservice_linux_p.h b/src/plugins/bearer/connman/qconnmanservice_linux_p.h index be2063f8e8..3ed66f4769 100644 --- a/src/plugins/bearer/connman/qconnmanservice_linux_p.h +++ b/src/plugins/bearer/connman/qconnmanservice_linux_p.h @@ -59,6 +59,7 @@ #include #include #include +#include #include #include @@ -90,11 +91,23 @@ QT_BEGIN_NAMESPACE +struct ConnmanMap { + QDBusObjectPath objectPath; + QVariantMap propertyMap; +}; + +typedef QList< ConnmanMap > ConnmanMapList; + QT_END_NAMESPACE +Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE(ConnmanMap)) +Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE(ConnmanMapList)) QT_BEGIN_NAMESPACE +QDBusArgument &operator<<(QDBusArgument &argument, const ConnmanMap &obj); +const QDBusArgument &operator>>(const QDBusArgument &argument, ConnmanMap &obj); + class QConnmanManagerInterface : public QDBusAbstractInterface { Q_OBJECT From cc79ed5c6a4a9a22ce41b9c5df52676784df5f80 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Fri, 14 Dec 2012 17:49:01 +0100 Subject: [PATCH 327/386] QUrl auto tests: ensure toEncoded() and toString() match wrt. empty auth Task-number: QTBUG-8701 Change-Id: I55780a910a0d0996488475f5ce49a240f6223df0 Reviewed-by: Thiago Macieira --- tests/auto/corelib/io/qurl/tst_qurl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index 12bc4cffe7..740e205336 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -2734,10 +2734,16 @@ void tst_QUrl::acceptEmptyAuthoritySegments() QString foo_triple_bar("foo:///bar"), foo_uni_bar("foo:/bar"); QCOMPARE(foo_triple_bar, QUrl(foo_triple_bar).toString()); + QCOMPARE(foo_triple_bar, QString::fromUtf8(QUrl(foo_triple_bar).toEncoded())); + QCOMPARE(foo_uni_bar, QUrl(foo_uni_bar).toString()); + QCOMPARE(foo_uni_bar, QString::fromUtf8(QUrl(foo_uni_bar).toEncoded())); QCOMPARE(foo_triple_bar, QUrl(foo_triple_bar, QUrl::StrictMode).toString()); + QCOMPARE(foo_triple_bar, QString::fromUtf8(QUrl(foo_triple_bar, QUrl::StrictMode).toEncoded())); + QCOMPARE(foo_uni_bar, QUrl(foo_uni_bar, QUrl::StrictMode).toString()); + QCOMPARE(foo_uni_bar, QString::fromUtf8(QUrl(foo_uni_bar, QUrl::StrictMode).toEncoded())); } void tst_QUrl::effectiveTLDs_data() From 6e5938311f144b237c88cff8aaddfe0159a00eb8 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 17 Dec 2012 23:33:49 +0100 Subject: [PATCH 328/386] Review of documentation. Terms fixing. Changes apply to Qt5 as well as Qt4. Change-Id: Ibb31ab0d68c62f3feb63722dd967932c2543fa37 Reviewed-by: Thiago Macieira --- src/corelib/thread/qwaitcondition.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/thread/qwaitcondition.qdoc b/src/corelib/thread/qwaitcondition.qdoc index e3a526d7f8..f0649c605a 100644 --- a/src/corelib/thread/qwaitcondition.qdoc +++ b/src/corelib/thread/qwaitcondition.qdoc @@ -38,7 +38,7 @@ QWaitCondition allows a thread to tell other threads that some sort of condition has been met. One or many threads can block waiting for a QWaitCondition to set a condition with wakeOne() or - wakeAll(). Use wakeOne() to wake one randomly selected condition or + wakeAll(). Use wakeOne() to wake one randomly selected thread or wakeAll() to wake them all. For example, let's suppose that we have three tasks that should From 85557694df4246f8a8a9d5d3351dd6716af31d96 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 17 Dec 2012 12:03:53 +0100 Subject: [PATCH 329/386] DBUS: Fix linker errors on Windows. QDBusMarshaller symbols were duplicated. Initial-patch-by: vonreth@kde.org Change-Id: Ic66681696aaf2a440119c06fce8d1dbd99c8396a Reviewed-by: Patrick von Reth Reviewed-by: Andreas Holzammer Reviewed-by: Thiago Macieira --- src/tools/qdbuscpp2xml/qdbuscpp2xml.pro | 1 - src/tools/qdbusxml2cpp/qdbusxml2cpp.pro | 1 - 2 files changed, 2 deletions(-) diff --git a/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro b/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro index a17b91dd79..02c3655f33 100644 --- a/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro +++ b/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro @@ -19,7 +19,6 @@ SOURCES += qdbuscpp2xml.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusutil.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusmisc.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusargument.cpp \ - $$QT_SOURCE_TREE/src/dbus/qdbusmarshaller.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusextratypes.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbus_symbols.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusunixfiledescriptor.cpp diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro b/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro index 7c2bb2e22f..b473014938 100644 --- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro +++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro @@ -19,7 +19,6 @@ SOURCES = qdbusxml2cpp.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusutil.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusmetatype.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusargument.cpp \ - $$QT_SOURCE_TREE/src/dbus/qdbusmarshaller.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusextratypes.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbus_symbols.cpp \ $$QT_SOURCE_TREE/src/dbus/qdbusunixfiledescriptor.cpp From f2dbf6a8194cd244c08cde3cc008f4a6e21caee8 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 19 Dec 2012 14:29:29 -0800 Subject: [PATCH 330/386] Disable the JSC portion of the test unless we have a system PCRE CONFIG += pcre is enabled if we're using the Qt PCRE, which isn't compiled for 8-bit. If it isn't set, then we have a system PCRE. Change-Id: I29d043b9d3f4d3223dcbb41eadc9f859e710eb88 Reviewed-by: Giuseppe D'Angelo --- tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index d62b5b1c11..ef50a22d4d 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -6,7 +6,7 @@ CONFIG += release exceptions SOURCES += main.cpp RESOURCES += qregexp.qrc -!isEmpty(QT.script.name) { +!isEmpty(QT.script.name):!pcre { DEFINES += HAVE_JSC QT += script } From 9f28f8bcbbf72d737616bcf57820c1e4bef3be95 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Mon, 17 Dec 2012 11:53:55 +0100 Subject: [PATCH 331/386] Prevent a crash if the pixmap passed in is null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the pixmap passed in is null then we should not try to create a NSImage for it, so we just return 0 instead. Change-Id: Idae7ba304c97878e0aa8ae1eead5f4bb644a73de Reviewed-by: Morten Johan Sørvig --- src/plugins/platforms/cocoa/qcocoahelpers.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.mm b/src/plugins/platforms/cocoa/qcocoahelpers.mm index c1146612a6..e242b4e366 100644 --- a/src/plugins/platforms/cocoa/qcocoahelpers.mm +++ b/src/plugins/platforms/cocoa/qcocoahelpers.mm @@ -138,6 +138,8 @@ NSImage *qt_mac_cgimage_to_nsimage(CGImageRef image) NSImage *qt_mac_create_nsimage(const QPixmap &pm) { + if (pm.isNull()) + return 0; QImage image = pm.toImage(); CGImageRef cgImage = qt_mac_image_to_cgimage(image); NSImage *nsImage = qt_mac_cgimage_to_nsimage(cgImage); From 40474ceb11fd10a03c28ed3fa2836bcd2fd66929 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 19 Dec 2012 16:34:10 +0100 Subject: [PATCH 332/386] Fix the computation of the location of mkspecs. The location of the mkspecs directory comes from the archdatadir, which distros will all set. Change-Id: I20dbdce76db13dbd37eec065009e215f98985907 Reviewed-by: Oswald Buddenhagen Reviewed-by: Thiago Macieira --- mkspecs/features/create_cmake.prf | 8 ++++---- src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index 8c8079b3bd..63001f3e89 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -59,11 +59,11 @@ contains(CMAKE_BIN_DIR, "$${CMAKE_QT_INSTALL_PREFIX_ESCAPED}.*") { CMAKE_BIN_DIR_IS_ABSOLUTE = True } -CMAKE_DATA_DIR = $$[QT_INSTALL_DATA]/ # For the mkspecs -contains(CMAKE_DATA_DIR, "$${CMAKE_QT_INSTALL_PREFIX_ESCAPED}.*") { - CMAKE_DATA_DIR = $$replace(CMAKE_DATA_DIR, "$$CMAKE_QT_INSTALL_PREFIX_ESCAPED", ) +CMAKE_ARCHDATA_DIR = $$[QT_INSTALL_ARCHDATA]/ # For the mkspecs +contains(CMAKE_ARCHDATA_DIR, "$${CMAKE_QT_INSTALL_PREFIX_ESCAPED}.*") { + CMAKE_ARCHDATA_DIR = $$replace(CMAKE_ARCHDATA_DIR, "$$CMAKE_QT_INSTALL_PREFIX_ESCAPED", ) } else { - CMAKE_DATA_DIR_IS_ABSOLUTE = True + CMAKE_ARCHDATA_DIR_IS_ABSOLUTE = True } static|staticlib:CMAKE_STATIC_TYPE = true diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in index 0df27039d0..06ff6dc831 100644 --- a/src/corelib/Qt5CoreConfigExtras.cmake.in +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in @@ -43,10 +43,10 @@ set(Qt5Core_QMAKE_EXECUTABLE Qt5::qmake) set(Qt5Core_MOC_EXECUTABLE Qt5::moc) set(Qt5Core_RCC_EXECUTABLE Qt5::rcc) -!!IF isEmpty(CMAKE_DATA_DIR_IS_ABSOLUTE) -list(APPEND Qt5Core_INCLUDE_DIRS \"${_qt5_corelib_install_prefix}/mkspecs/$${CMAKE_MKSPEC}\") +!!IF isEmpty(CMAKE_ARCHDATA_DIR_IS_ABSOLUTE) +list(APPEND Qt5Core_INCLUDE_DIRS \"${_qt5_corelib_install_prefix}/$${CMAKE_ARCHDATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\") !!ELSE -list(APPEND Qt5Core_INCLUDE_DIRS \"$${CMAKE_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\") +list(APPEND Qt5Core_INCLUDE_DIRS \"$${CMAKE_ARCHDATA_DIR}mkspecs/$${CMAKE_MKSPEC}\") !!ENDIF !!IF !isEmpty(CMAKE_ADD_FPIE_FLAGS) From bc71836fc46b308b767af86a42ad5b6e01b78c1f Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Thu, 20 Dec 2012 05:26:50 +0100 Subject: [PATCH 333/386] Use PG_VERSION if PG_MAJORVERSION is not defined When only PG_VERSION was available for getting the client driver version for PostgreSQL it meant that it would not detect the client version and subsequently would not set the connection up correctly as a result. This fixes the blob test already in tst_qsqlquery. Change-Id: Ie2176a43b6be9c0e835498fca5aea129f0cc8fc6 Reviewed-by: Mark Brand --- src/sql/drivers/psql/qsql_psql.cpp | 35 +++++++++++++++++------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/sql/drivers/psql/qsql_psql.cpp b/src/sql/drivers/psql/qsql_psql.cpp index 8a0e2b86ea..5181d4f27a 100644 --- a/src/sql/drivers/psql/qsql_psql.cpp +++ b/src/sql/drivers/psql/qsql_psql.cpp @@ -695,25 +695,30 @@ QPSQLDriver::Protocol QPSQLDriverPrivate::getPSQLVersion() int vMaj = rx.cap(1).toInt(); int vMin = rx.cap(2).toInt(); serverVersion = qMakePSQLVersion(vMaj, vMin); -#ifdef PG_MAJORVERSION - if (rx.indexIn(QLatin1String(PG_MAJORVERSION)) != -1) { +#if defined(PG_MAJORVERSION) + if (rx.indexIn(QLatin1String(PG_MAJORVERSION)) != -1) +#elif defined(PG_VERSION) + if (rx.indexIn(QLatin1String(PG_VERSION)) != -1) +#else + if (0) +#endif + { vMaj = rx.cap(1).toInt(); vMin = rx.cap(2).toInt(); - } - QPSQLDriver::Protocol clientVersion = qMakePSQLVersion(vMaj, vMin); + QPSQLDriver::Protocol clientVersion = qMakePSQLVersion(vMaj, vMin); - if (serverVersion >= QPSQLDriver::Version9 && clientVersion < QPSQLDriver::Version9) { - //Client version before QPSQLDriver::Version9 only supports escape mode for bytea type, - //but bytea format is set to hex by default in PSQL 9 and above. So need to force the - //server use the old escape mode when connects to the new server with old client library. - result = exec("SET bytea_output=escape; "); - status = PQresultStatus(result); - } else if (serverVersion == QPSQLDriver::VersionUnknown) { - serverVersion = clientVersion; - if (serverVersion != QPSQLDriver::VersionUnknown) - qWarning("The server version of this PostgreSQL is unknown, falling back to the client version."); + if (serverVersion >= QPSQLDriver::Version9 && clientVersion < QPSQLDriver::Version9) { + //Client version before QPSQLDriver::Version9 only supports escape mode for bytea type, + //but bytea format is set to hex by default in PSQL 9 and above. So need to force the + //server use the old escape mode when connects to the new server with old client library. + result = exec("SET bytea_output=escape; "); + status = PQresultStatus(result); + } else if (serverVersion == QPSQLDriver::VersionUnknown) { + serverVersion = clientVersion; + if (serverVersion != QPSQLDriver::VersionUnknown) + qWarning("The server version of this PostgreSQL is unknown, falling back to the client version."); + } } -#endif } } PQclear(result); From b7f63c6bf74a0eb62bb49c1085584da1b3714a06 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Fri, 23 Nov 2012 05:20:04 +0900 Subject: [PATCH 334/386] Enable module build with QT_NO_ACCESSIBILITY Change-Id: I330c3ddd70232d94eae5543cb0282b962e67eae5 Reviewed-by: Oswald Buddenhagen Reviewed-by: Frederik Gladhorn --- src/gui/accessible/qaccessible.cpp | 14 ++++---------- src/gui/accessible/qaccessible.h | 3 +++ .../linuxaccessibility/application.cpp | 4 ++++ .../linuxaccessibility/application_p.h | 4 ++++ .../linuxaccessibility/atspiadaptor.cpp | 4 ++++ .../linuxaccessibility/atspiadaptor_p.h | 4 ++++ src/platformsupport/linuxaccessibility/bridge.cpp | 4 ++++ src/platformsupport/linuxaccessibility/bridge_p.h | 4 ++++ src/platformsupport/linuxaccessibility/cache.cpp | 4 ++++ src/platformsupport/linuxaccessibility/cache_p.h | 4 ++++ .../linuxaccessibility/constant_mappings.cpp | 4 ++++ .../linuxaccessibility/constant_mappings_p.h | 3 +++ .../linuxaccessibility/dbusconnection.cpp | 4 ++++ .../linuxaccessibility/dbusconnection_p.h | 4 ++++ .../linuxaccessibility/struct_marshallers.cpp | 4 ++++ 15 files changed, 58 insertions(+), 10 deletions(-) diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp index f55037c37a..47d159380d 100644 --- a/src/gui/accessible/qaccessible.cpp +++ b/src/gui/accessible/qaccessible.cpp @@ -55,6 +55,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + /*! \class QAccessible \brief The QAccessible class provides enums and static functions @@ -437,23 +439,19 @@ QAccessible::RootObjectHandler QAccessible::rootObjectHandler = 0; static bool accessibility_active = false; static bool cleanupAdded = false; -#ifndef QT_NO_ACCESSIBILITY static QPlatformAccessibility *platformAccessibility() { QPlatformIntegration *pfIntegration = QGuiApplicationPrivate::platformIntegration(); return pfIntegration ? pfIntegration->accessibility() : 0; } -#endif /*! \internal */ void QAccessible::cleanup() { -#ifndef QT_NO_ACCESSIBILITY if (QPlatformAccessibility *pfAccessibility = platformAccessibility()) pfAccessibility->cleanup(); -#endif } static void qAccessibleCleanup() @@ -597,10 +595,8 @@ QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *object) mo = mo->superClass(); } -#ifndef QT_NO_ACCESSIBILITY if (object == qApp) return new QAccessibleApplication; -#endif return 0; } @@ -640,10 +636,8 @@ void QAccessible::setRootObject(QObject *object) return; } -#ifndef QT_NO_ACCESSIBILITY if (QPlatformAccessibility *pfAccessibility = platformAccessibility()) pfAccessibility->setRootObject(object); -#endif } /*! @@ -675,10 +669,8 @@ void QAccessible::updateAccessibility(QAccessibleEvent *event) if (!isActive()) return; -#ifndef QT_NO_ACCESSIBILITY if (QPlatformAccessibility *pfAccessibility = platformAccessibility()) pfAccessibility->notifyAccessibilityUpdate(event); -#endif } #if QT_DEPRECATED_SINCE(5, 0) @@ -1532,5 +1524,7 @@ QDebug operator<<(QDebug d, const QAccessibleEvent &ev) #endif +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h index 5f61634ba2..5bcf9e7d0d 100644 --- a/src/gui/accessible/qaccessible.h +++ b/src/gui/accessible/qaccessible.h @@ -57,6 +57,7 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY class QAccessibleInterface; class QAccessibleEvent; @@ -676,6 +677,8 @@ inline void QAccessible::updateAccessibility(QObject *object, int child, Event r } #endif +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/platformsupport/linuxaccessibility/application.cpp b/src/platformsupport/linuxaccessibility/application.cpp index c2049e536a..22059de864 100644 --- a/src/platformsupport/linuxaccessibility/application.cpp +++ b/src/platformsupport/linuxaccessibility/application.cpp @@ -52,6 +52,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + /*! \class QSpiApplicationAdaptor \internal @@ -217,4 +219,6 @@ void QSpiApplicationAdaptor::notifyKeyboardListenerError(const QDBusError& error } } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/platformsupport/linuxaccessibility/application_p.h b/src/platformsupport/linuxaccessibility/application_p.h index 14b8a71b42..4a60bbfe84 100644 --- a/src/platformsupport/linuxaccessibility/application_p.h +++ b/src/platformsupport/linuxaccessibility/application_p.h @@ -49,6 +49,8 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + /* * Used for the root object. * @@ -80,6 +82,8 @@ private: QDBusConnection dbusConnection; }; +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index 0db8e31537..c88f89b634 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -65,6 +65,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + static bool isDebugging = false; #define qAtspiDebug if (!::isDebugging); else qDebug @@ -2356,4 +2358,6 @@ bool AtSpiAdaptor::tableInterface(const QAIPointer &interface, const QString &fu return true; } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor_p.h b/src/platformsupport/linuxaccessibility/atspiadaptor_p.h index 5b5eb60228..e6f95195fe 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor_p.h +++ b/src/platformsupport/linuxaccessibility/atspiadaptor_p.h @@ -56,6 +56,8 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + class QAccessibleInterface; class QSpiAccessibleInterface; class QSpiApplicationAdaptor; @@ -216,6 +218,8 @@ private: uint sendWindow_unshade : 1; }; +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/platformsupport/linuxaccessibility/bridge.cpp b/src/platformsupport/linuxaccessibility/bridge.cpp index f22dc4e191..bf2486fc57 100644 --- a/src/platformsupport/linuxaccessibility/bridge.cpp +++ b/src/platformsupport/linuxaccessibility/bridge.cpp @@ -56,6 +56,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + /*! \class QSpiAccessibleBridge \internal @@ -182,4 +184,6 @@ void QSpiAccessibleBridge::initializeConstantMappings() qSpiRoleMapping.insert(map[i].role, RoleNames(map[i].spiRole, QLatin1String(map[i].name), tr(map[i].name))); } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/platformsupport/linuxaccessibility/bridge_p.h b/src/platformsupport/linuxaccessibility/bridge_p.h index f7c243cfbb..3865e06489 100644 --- a/src/platformsupport/linuxaccessibility/bridge_p.h +++ b/src/platformsupport/linuxaccessibility/bridge_p.h @@ -51,6 +51,8 @@ class DeviceEventControllerAdaptor; QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + class DBusConnection; class QSpiDBusCache; class AtSpiAdaptor; @@ -79,6 +81,8 @@ private: bool initialized; }; +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/platformsupport/linuxaccessibility/cache.cpp b/src/platformsupport/linuxaccessibility/cache.cpp index 81a54a1ce5..9201fc1d8b 100644 --- a/src/platformsupport/linuxaccessibility/cache.cpp +++ b/src/platformsupport/linuxaccessibility/cache.cpp @@ -49,6 +49,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + /*! \class QSpiDBusCache \internal @@ -89,4 +91,6 @@ QSpiAccessibleCacheArray QSpiDBusCache::GetItems() return cacheArray; } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/platformsupport/linuxaccessibility/cache_p.h b/src/platformsupport/linuxaccessibility/cache_p.h index 898f06f0d6..4b606eadb1 100644 --- a/src/platformsupport/linuxaccessibility/cache_p.h +++ b/src/platformsupport/linuxaccessibility/cache_p.h @@ -49,6 +49,8 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + class QSpiDBusCache : public QObject { Q_OBJECT @@ -66,6 +68,8 @@ public Q_SLOTS: QSpiAccessibleCacheArray GetItems(); }; +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/platformsupport/linuxaccessibility/constant_mappings.cpp b/src/platformsupport/linuxaccessibility/constant_mappings.cpp index 1840868aa2..5138b9a163 100644 --- a/src/platformsupport/linuxaccessibility/constant_mappings.cpp +++ b/src/platformsupport/linuxaccessibility/constant_mappings.cpp @@ -55,6 +55,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + QHash qSpiRoleMapping; quint64 spiStatesFromQState(QAccessible::State state) @@ -154,4 +156,6 @@ AtspiRelationType qAccessibleRelationToAtSpiRelation(QAccessible::Relation relat return ATSPI_RELATION_NULL; } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/platformsupport/linuxaccessibility/constant_mappings_p.h b/src/platformsupport/linuxaccessibility/constant_mappings_p.h index 837a68516d..870a3a4b2a 100644 --- a/src/platformsupport/linuxaccessibility/constant_mappings_p.h +++ b/src/platformsupport/linuxaccessibility/constant_mappings_p.h @@ -53,6 +53,7 @@ #include #include +#ifndef QT_NO_ACCESSIBILITY // interface names from at-spi2-core/atspi/atspi-misc-private.h #define ATSPI_DBUS_NAME_REGISTRY "org.a11y.atspi.Registry" @@ -135,4 +136,6 @@ AtspiRelationType qAccessibleRelationToAtSpiRelation(QAccessible::Relation relat QT_END_NAMESPACE QT_END_HEADER +#endif // QT_NO_ACCESSIBILITY + #endif /* Q_SPI_CONSTANT_MAPPINGS_H */ diff --git a/src/platformsupport/linuxaccessibility/dbusconnection.cpp b/src/platformsupport/linuxaccessibility/dbusconnection.cpp index a99e8f0a5e..a38570a465 100644 --- a/src/platformsupport/linuxaccessibility/dbusconnection.cpp +++ b/src/platformsupport/linuxaccessibility/dbusconnection.cpp @@ -48,6 +48,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + /*! \class DBusConnection \internal @@ -104,4 +106,6 @@ QDBusConnection DBusConnection::connection() const return dbusConnection; } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE diff --git a/src/platformsupport/linuxaccessibility/dbusconnection_p.h b/src/platformsupport/linuxaccessibility/dbusconnection_p.h index 674cf28c34..da090da9cf 100644 --- a/src/platformsupport/linuxaccessibility/dbusconnection_p.h +++ b/src/platformsupport/linuxaccessibility/dbusconnection_p.h @@ -49,6 +49,8 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + class DBusConnection { public: @@ -62,6 +64,8 @@ private: QDBusConnection dbusConnection; }; +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE QT_END_HEADER diff --git a/src/platformsupport/linuxaccessibility/struct_marshallers.cpp b/src/platformsupport/linuxaccessibility/struct_marshallers.cpp index 713e26f25a..027993c4bd 100644 --- a/src/platformsupport/linuxaccessibility/struct_marshallers.cpp +++ b/src/platformsupport/linuxaccessibility/struct_marshallers.cpp @@ -50,6 +50,8 @@ QT_BEGIN_NAMESPACE +#ifndef QT_NO_ACCESSIBILITY + QSpiObjectReference::QSpiObjectReference() : path(QDBusObjectPath(ATSPI_DBUS_PATH_NULL)) {} @@ -234,4 +236,6 @@ void qSpiInitializeStructTypes() qDBusRegisterMetaType(); } +#endif // QT_NO_ACCESSIBILITY + QT_END_NAMESPACE From 3a810c8238c712d308709da7f459476e8c5f42bf Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 20 Dec 2012 10:05:29 +0200 Subject: [PATCH 335/386] Enable forcing generation of static plugin imports Using some modules requires importing static plugins also for shared libraries (namely QtAxServer), so provided a way to force plugin imports even for non-applications using force_import_plugins MODULE_CONFIG value. This required moving the plugin handling after qtAddModules calls in qt.prf. Task-number: QTBUG-28215 Change-Id: Id6bb92ed7c078cc8c54538ddc9bb8e8ad316f277 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt.prf | 87 ++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 7b41859d09..2db61f734a 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -30,11 +30,52 @@ plugin { #Qt plugins } } -QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN +qtestlib { + warning("CONFIG+=qtestlib is deprecated. Use QT+=testlib instead.") + QT += testlib +} +qdbus { + warning("CONFIG+=qdbus is deprecated. Use QT+=dbus instead.") + QT += dbus +} +help { + warning("CONFIG+=help is deprecated. Use QT+=help instead.") + QT += help-private # sic! +} +designer { + warning("CONFIG+=designer is deprecated. Use QT+=designer instead.") + QT += designer +} +uitools { + warning("CONFIG+=uitools is deprecated. Use QT+=uitools instead.") + QT += uitools +} +qaxcontainer { + warning("CONFIG+=qaxcontainer is deprecated. Use QT+=axcontainer instead.") + QT += axcontainer +} +qaxserver { + warning("CONFIG+=qaxserver is deprecated. Use QT+=axserver instead.") + QT += axserver +} +unset(using_privates) +qtAddModules(QT, LIBS) +qtAddModules(QT_PRIVATE, LIBS_PRIVATE) +!isEmpty(using_privates):!auto_use_privates:!no_private_qt_headers_warning:if(!debug_and_release|!build_pass) { + message("This project is using private headers and will therefore be tied to this specific Qt module build version.") + message("Running this project against other versions of the Qt modules may crash at any arbitrary point.") + message("This is not a bug, but a result of using Qt internals. You have been warned!") +} + +wince*:static:gui { + QTLIB += qmenu_wce.res +} + +QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN contains(QT_CONFIG, static) { QT_PLUGIN_VERIFY += QTPLUGIN - contains(TEMPLATE, .*app) { + force_import_plugins|contains(TEMPLATE, .*app) { contains(QT, gui):import_qpa_plugin { qpa_minimal_plugin: \ QTPLUGIN += qminimal @@ -93,45 +134,3 @@ for(QT_CURRENT_VERIFY, $$list($$QT_PLUGIN_VERIFY)) { } } } - -qtestlib { - warning("CONFIG+=qtestlib is deprecated. Use QT+=testlib instead.") - QT += testlib -} -qdbus { - warning("CONFIG+=qdbus is deprecated. Use QT+=dbus instead.") - QT += dbus -} -help { - warning("CONFIG+=help is deprecated. Use QT+=help instead.") - QT += help-private # sic! -} -designer { - warning("CONFIG+=designer is deprecated. Use QT+=designer instead.") - QT += designer -} -uitools { - warning("CONFIG+=uitools is deprecated. Use QT+=uitools instead.") - QT += uitools -} -qaxcontainer { - warning("CONFIG+=qaxcontainer is deprecated. Use QT+=axcontainer instead.") - QT += axcontainer -} -qaxserver { - warning("CONFIG+=qaxserver is deprecated. Use QT+=axserver instead.") - QT += axserver -} - -unset(using_privates) -qtAddModules(QT, LIBS) -qtAddModules(QT_PRIVATE, LIBS_PRIVATE) -!isEmpty(using_privates):!auto_use_privates:!no_private_qt_headers_warning:if(!debug_and_release|!build_pass) { - message("This project is using private headers and will therefore be tied to this specific Qt module build version.") - message("Running this project against other versions of the Qt modules may crash at any arbitrary point.") - message("This is not a bug, but a result of using Qt internals. You have been warned!") -} - -wince*:static:gui { - QTLIB += qmenu_wce.res -} From 889e9917731af71762becaf61d8154888178ab39 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 20 Dec 2012 10:07:20 +0200 Subject: [PATCH 336/386] Generalize the check for gui in static plugin import generation Generalize the check for gui by checking for needs_qpa_plugin CONFIG value instead, which gui adds to MODULE_CONFIG. Task-number: QTBUG-28215 Change-Id: I5834a3f81e5c3868ee1a3fa405ebc6410db1f900 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt.prf | 2 +- src/gui/gui.pro | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 2db61f734a..9e36b6da16 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -76,7 +76,7 @@ QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN contains(QT_CONFIG, static) { QT_PLUGIN_VERIFY += QTPLUGIN force_import_plugins|contains(TEMPLATE, .*app) { - contains(QT, gui):import_qpa_plugin { + needs_qpa_plugin:import_qpa_plugin { qpa_minimal_plugin: \ QTPLUGIN += qminimal else: \ diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 5f94426c94..058cfe92ec 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -1,6 +1,8 @@ TARGET = QtGui QT = core-private -contains(QT_CONFIG, opengl.*):MODULE_CONFIG = opengl + +MODULE_CONFIG = needs_qpa_plugin +contains(QT_CONFIG, opengl.*):MODULE_CONFIG += opengl DEFINES += QT_NO_USING_NAMESPACE From b2c44985e740d0a0ea86b7b9f4cc849258ac2340 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Thu, 20 Dec 2012 23:13:50 +1100 Subject: [PATCH 337/386] Fix linking ANGLE on MinGW-w64 64-bit The MinGW-w64 32-bit .def files shouldn't be used with MinGW-w64 64-bit. Rename .def files from _mingw.def to _mingw32.def and only use them if QT_ARCH is i386. Change-Id: I5dc2a87f7d2ed59bf954faf2983d0787ed9e00e9 Reviewed-by: Kai Koehne Reviewed-by: Patrick von Reth Reviewed-by: Friedemann Kleint --- .../angle/src/libEGL/{libEGL_mingw.def => libEGL_mingw32.def} | 0 .../angle/src/libEGL/{libEGLd_mingw.def => libEGLd_mingw32.def} | 0 .../libGLESv2/{libGLESv2_mingw.def => libGLESv2_mingw32.def} | 0 .../libGLESv2/{libGLESv2d_mingw.def => libGLESv2d_mingw32.def} | 0 src/angle/README.qt | 2 +- src/angle/src/libEGL/libEGL.pro | 2 +- src/angle/src/libGLESv2/libGLESv2.pro | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename src/3rdparty/angle/src/libEGL/{libEGL_mingw.def => libEGL_mingw32.def} (100%) rename src/3rdparty/angle/src/libEGL/{libEGLd_mingw.def => libEGLd_mingw32.def} (100%) rename src/3rdparty/angle/src/libGLESv2/{libGLESv2_mingw.def => libGLESv2_mingw32.def} (100%) rename src/3rdparty/angle/src/libGLESv2/{libGLESv2d_mingw.def => libGLESv2d_mingw32.def} (100%) diff --git a/src/3rdparty/angle/src/libEGL/libEGL_mingw.def b/src/3rdparty/angle/src/libEGL/libEGL_mingw32.def similarity index 100% rename from src/3rdparty/angle/src/libEGL/libEGL_mingw.def rename to src/3rdparty/angle/src/libEGL/libEGL_mingw32.def diff --git a/src/3rdparty/angle/src/libEGL/libEGLd_mingw.def b/src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def similarity index 100% rename from src/3rdparty/angle/src/libEGL/libEGLd_mingw.def rename to src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def diff --git a/src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw.def b/src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw32.def similarity index 100% rename from src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw.def rename to src/3rdparty/angle/src/libGLESv2/libGLESv2_mingw32.def diff --git a/src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw.def b/src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw32.def similarity index 100% rename from src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw.def rename to src/3rdparty/angle/src/libGLESv2/libGLESv2d_mingw32.def diff --git a/src/angle/README.qt b/src/angle/README.qt index e84d29f004..ce5b6332bc 100644 --- a/src/angle/README.qt +++ b/src/angle/README.qt @@ -31,7 +31,7 @@ with the LIBRARY name entry adapted. MinGW-w64 32-bit requires function exports in the .def files to be decorated. Modified versions of the .def files are created as -_mingw.def. The decorated names of each function can be found +_mingw32.def. The decorated names of each function can be found using the nm command to list the symbols in libEGL.o and libGLESv2.o. Using a custom ANGLE diff --git a/src/angle/src/libEGL/libEGL.pro b/src/angle/src/libEGL/libEGL.pro index cab94c4ea2..6f3bc25cfb 100644 --- a/src/angle/src/libEGL/libEGL.pro +++ b/src/angle/src/libEGL/libEGL.pro @@ -26,7 +26,7 @@ SOURCES += \ !static { DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def - win32-g++*: DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}_mingw.def + win32-g++*:equals(QT_ARCH, i386): DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}_mingw32.def } load(qt_installs) diff --git a/src/angle/src/libGLESv2/libGLESv2.pro b/src/angle/src/libGLESv2/libGLESv2.pro index 47c765b7ce..2412a01b82 100644 --- a/src/angle/src/libGLESv2/libGLESv2.pro +++ b/src/angle/src/libGLESv2/libGLESv2.pro @@ -68,7 +68,7 @@ SSE2_SOURCES += $$ANGLE_DIR/src/libGLESv2/TextureSSE2.cpp !static { DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def - win32-g++*: DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}_mingw.def + win32-g++*:equals(QT_ARCH, i386): DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}_mingw32.def } float_converter.target = float_converter From fbdea2c9938601186dbbab96a3ac571f764ba141 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Fri, 14 Dec 2012 20:23:25 +0100 Subject: [PATCH 338/386] QUrl auto tests: make sure setAuthority is consistent with setHost ... with respect to empty and null strings. Change-Id: Ic107d5bcc8b659497a567b75a7244caceba5a715 Reviewed-by: Thiago Macieira --- tests/auto/corelib/io/qurl/tst_qurl.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index 740e205336..971fe27f30 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -149,6 +149,8 @@ private slots: void toEncoded(); void setAuthority_data(); void setAuthority(); + void setEmptyAuthority_data(); + void setEmptyAuthority(); void clear(); void resolvedWithAbsoluteSchemes() const; void resolvedWithAbsoluteSchemes_data() const; @@ -2498,6 +2500,28 @@ void tst_QUrl::setAuthority() QCOMPARE(u.toString(), url); } +void tst_QUrl::setEmptyAuthority_data() +{ + QTest::addColumn("host"); + QTest::addColumn("authority"); + QTest::addColumn("expectedUrlString"); + + QTest::newRow("null host and authority") << QString() << QString() << QString(""); + QTest::newRow("empty host and authority") << QString("") << QString("") << QString("//"); +} + +void tst_QUrl::setEmptyAuthority() +{ + QFETCH(QString, host); + QFETCH(QString, authority); + QFETCH(QString, expectedUrlString); + QUrl u; + u.setHost(host); + QCOMPARE(u.toString(), expectedUrlString); + u.setAuthority(authority); + QCOMPARE(u.toString(), expectedUrlString); +} + void tst_QUrl::clear() { QUrl url("a"); From a3a4114f5377597a4641f1c21cac37453afdda9c Mon Sep 17 00:00:00 2001 From: aavit Date: Wed, 19 Dec 2012 14:17:05 +0100 Subject: [PATCH 339/386] Fixes: out of bounds memory access in QImage autotest A pointer to the data of one qimage is used, with an offset, in a copy. In the mono case, that could lead to overflow: the last row would of the copy would stretch 1 byte beyond the end of the allocated area. Fix by reducing the height of the copy, so that it keeps within the allocated memory. Task-number: QTBUG-28322 Change-Id: I09abfc83f738f8af000fc50f8c94f63dba3a6cfe Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/auto/gui/image/qimage/tst_qimage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/gui/image/qimage/tst_qimage.cpp b/tests/auto/gui/image/qimage/tst_qimage.cpp index 1b0dbf754b..9cebdf3114 100644 --- a/tests/auto/gui/image/qimage/tst_qimage.cpp +++ b/tests/auto/gui/image/qimage/tst_qimage.cpp @@ -773,7 +773,7 @@ void tst_QImage::convertToFormat() int dp = (src.depth() < 8 || result.depth() < 8) ? 8 : 1; QImage src2(src.bits() + (dp*src.depth())/8, src.width() - dp*2, - src.height(), src.bytesPerLine(), + src.height() - 1, src.bytesPerLine(), src.format()); if (src.depth() < 8) src2.setColorTable(src.colorTable()); @@ -785,7 +785,7 @@ void tst_QImage::convertToFormat() QImage expected2(result.bits() + (dp*result.depth())/8, result.width() - dp*2, - result.height(), result.bytesPerLine(), + result.height() - 1, result.bytesPerLine(), result.format()); if (result.depth() < 8) expected2.setColorTable(result.colorTable()); From 12775b817f4e9f9053b4ea677910dd4101971959 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 19 Dec 2012 13:36:41 +0100 Subject: [PATCH 340/386] Style animations: fix QCommonStylePrivate::stopAnimation() Explicitly delete animations, and remove the check for stopped state as that is already done by QAbstractAnimation::stop() and we want to delete the animation regardless of the current state. Task-number: QTBUG-28506 Change-Id: I3e34316e5077a8627ff5e6d3babd1873bbbaa774 Reviewed-by: Jens Bache-Wiig --- src/widgets/styles/qcommonstyle.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/styles/qcommonstyle.cpp b/src/widgets/styles/qcommonstyle.cpp index a7b7edbc33..e7d2ac4961 100644 --- a/src/widgets/styles/qcommonstyle.cpp +++ b/src/widgets/styles/qcommonstyle.cpp @@ -1156,8 +1156,10 @@ void QCommonStylePrivate::startAnimation(QStyleAnimation *animation) const void QCommonStylePrivate::stopAnimation(const QObject *target) const { QStyleAnimation *animation = animations.take(target); - if (animation && animation->state() != QAbstractAnimation::Stopped) + if (animation) { animation->stop(); + delete animation; + } } /*! \internal */ From 84dbdc8db67991e8d9eb7825a2296a94f5812c66 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Tue, 18 Dec 2012 15:56:44 +0100 Subject: [PATCH 341/386] Doc: Removed the \relates instances QDoc supports \relates in the context of a function that relates to an existing class or a namespace, but not in the context of a class. We can use \sa to list the related classes or namespaces for a class instead. This change ensures that QDoc generates documentation for QMessageLogger and QMessageLogContext classes. Task-number: QTBUG-28468 Change-Id: I2242ab730fe5e3acf54b6fa65774e751d2daa7a4 Reviewed-by: Jerome Pasion Reviewed-by: Martin Smith Reviewed-by: Kai Koehne --- src/corelib/global/qlogging.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index e4ff7eece4..339cedb57e 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -83,7 +83,6 @@ static bool isFatal(QtMsgType msgType) /*! \class QMessageLogContext \inmodule QtCore - \relates \brief The QMessageLogContext class provides additional information about a log message. \since 5.0 @@ -96,7 +95,6 @@ static bool isFatal(QtMsgType msgType) /*! \class QMessageLogger \inmodule QtCore - \relates \brief The QMessageLogger class generates log messages. \since 5.0 From a42a1db6e1deade3ce9bdd1efaef1077dd0f2aeb Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 20 Dec 2012 13:20:29 +0100 Subject: [PATCH 342/386] QAbstractProxyModel: Document setSourceModel a bit more Especially so that subclasses remember to emit reset. Change-Id: Iadcae3fc5fe72584465d4134f385ed0a1d77bfcd Reviewed-by: Stephen Kelly --- src/corelib/itemmodels/qabstractproxymodel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/corelib/itemmodels/qabstractproxymodel.cpp b/src/corelib/itemmodels/qabstractproxymodel.cpp index 715a186b97..0175a0f2fa 100644 --- a/src/corelib/itemmodels/qabstractproxymodel.cpp +++ b/src/corelib/itemmodels/qabstractproxymodel.cpp @@ -124,6 +124,10 @@ QAbstractProxyModel::~QAbstractProxyModel() /*! Sets the given \a sourceModel to be processed by the proxy model. + + Subclasses should call beginResetModel() at the beginning of the method, + disconnect from the old model, call this method, connect to the new model, + and call endResetModel(). */ void QAbstractProxyModel::setSourceModel(QAbstractItemModel *sourceModel) { From 92243bc346aa3b99bb0a9ad356ef5cdb190bfbca Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 17 Dec 2012 18:27:20 +0100 Subject: [PATCH 343/386] tst_QDBusXmlParser: more reliable solution for setting the seed As recommended by Giuseppe, don't rely on the env var, but use the internal but exported seed atomic int. This way, the compiler will detect breakages, rather than runtime. Change-Id: Iec2bc88c53532d3463d2dc5c73631fc9bc34747b Reviewed-by: Thiago Macieira --- tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp index 6d58fdf6d0..ef7b020d89 100644 --- a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp +++ b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp @@ -72,10 +72,16 @@ private slots: void properties(); }; +QT_BEGIN_NAMESPACE +// Avoid QHash randomization so that the order of the XML attributes is stable +extern Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed; // from qhash.cpp +QT_END_NAMESPACE + void tst_QDBusXmlParser::initTestCase() { - // Avoid QHash randomization so that the order of the XML attributes is stable - qputenv("QT_HASH_SEED", "123"); + // If the seed not initialized yet (-1), set it to 0 + // otherwise abort, so we don't get unexplained test failures later. + QVERIFY(qt_qhash_seed.testAndSetRelaxed(-1, 0)); } void tst_QDBusXmlParser::parsing_data() From 71fdc0d8a65c1927d5fd2c94fb2926fdd278290b Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 20 Dec 2012 15:16:30 +0100 Subject: [PATCH 344/386] Tests: stabilize tst_QAbstractScrollArea::setScrollBars2() Use QWidget::isVisibleTo(parent) instead of isVisible(), just like QAbstractScrollArea::replaceScrollBar() does. This removes the need of using QCoreApplication::processEvents() to deliver the actual hide event just for testing if the scrollbar was requested to be hidden as it should. Change-Id: Ie9a816e7b871d280a4b3d9d76adb10601915bd56 Reviewed-by: J-P Nurmi Reviewed-by: Caroline Chao --- .../tst_qabstractscrollarea.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/auto/widgets/widgets/qabstractscrollarea/tst_qabstractscrollarea.cpp b/tests/auto/widgets/widgets/qabstractscrollarea/tst_qabstractscrollarea.cpp index 0420ecf1e0..d39b187c8b 100644 --- a/tests/auto/widgets/widgets/qabstractscrollarea/tst_qabstractscrollarea.cpp +++ b/tests/auto/widgets/widgets/qabstractscrollarea/tst_qabstractscrollarea.cpp @@ -238,17 +238,17 @@ void tst_QAbstractScrollArea::setScrollBars2() // Hide the OLD scroll bar and ensure that the NEW one is hidden. hbar->hide(); - scrollArea.setHorizontalScrollBar(new QScrollBar); - qApp->processEvents(); - QVERIFY(!scrollArea.horizontalScrollBar()->isVisible()); + hbar = new QScrollBar(&scrollArea); + scrollArea.setHorizontalScrollBar(hbar); + QVERIFY(!hbar->isVisibleTo(hbar->parentWidget())); vbar->hide(); - scrollArea.setVerticalScrollBar(new QScrollBar); - qApp->processEvents(); - QVERIFY(!scrollArea.verticalScrollBar()->isVisible()); + vbar = new QScrollBar(&scrollArea); + scrollArea.setVerticalScrollBar(vbar); + QVERIFY(!vbar->isVisibleTo(vbar->parentWidget())); - scrollArea.verticalScrollBar()->show(); - scrollArea.horizontalScrollBar()->show(); + vbar->show(); + hbar->show(); // Hide the NEW scroll bar and ensure that it's visible // (because the OLD one is visible). From 9f962612dafc4efaf44b9bc546b35c60a297a577 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 17 Dec 2012 18:04:40 +0100 Subject: [PATCH 345/386] Mac: fix transient QScrollBar flashing Task-number: QTBUG-28669 Change-Id: I9825584f15c34709f7897533220911b6bf3ea21d Reviewed-by: Gabriel de Dietrich --- src/widgets/widgets/qscrollbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/widgets/qscrollbar.cpp b/src/widgets/widgets/qscrollbar.cpp index 491f54ebd9..6ace736391 100644 --- a/src/widgets/widgets/qscrollbar.cpp +++ b/src/widgets/widgets/qscrollbar.cpp @@ -325,7 +325,7 @@ void QScrollBar::initStyleOption(QStyleOptionSlider *option) const option->upsideDown = d->invertedAppearance; if (d->orientation == Qt::Horizontal) option->state |= QStyle::State_Horizontal; - if ((d->flashed || !d->transient) && style()->styleHint(QStyle::SH_ScrollBar_Transient)) + if ((d->flashed || !d->transient) && style()->styleHint(QStyle::SH_ScrollBar_Transient, 0, this)) option->state |= QStyle::State_On; } From 0b085984874fd0415c419e60af25e7854d0b17de Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 20 Dec 2012 22:29:05 +0000 Subject: [PATCH 346/386] Fix typo in docs. Change-Id: I608fbf5751bf1fa819d9fe10e159fa2a9c5e238d Reviewed-by: hjk --- examples/network/doc/src/fortuneserver.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc index 7422120975..ca04d80ade 100644 --- a/examples/network/doc/src/fortuneserver.qdoc +++ b/examples/network/doc/src/fortuneserver.qdoc @@ -56,7 +56,7 @@ \snippet fortuneserver/server.cpp 2 - Our server generates a list of random fortunes that is can send to + Our server generates a list of random fortunes that it can send to connecting clients. \snippet fortuneserver/server.cpp 3 From 543e2d5e01712850171a7ed0f7de257e1fdee08b Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 20 Dec 2012 22:56:43 +0000 Subject: [PATCH 347/386] Fix typo in docs. Change-Id: I37ccb10d40d2a848b7c251286d29aeb85411e912 Reviewed-by: hjk --- src/network/ssl/qsslcertificate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index e9353916cb..6d3a77b45f 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -245,7 +245,7 @@ bool QSslCertificate::isNull() const expiryDate() and effectiveDate() with QDateTime::currentDateTime() This function checks that the current - data-time is within the date-time range during which the + date-time is within the date-time range during which the certificate is considered valid, and checks that the certificate is not in a blacklist of fraudulent certificates. From 7650494143eac9a159c9663a6218d74120d0670e Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 21 Dec 2012 13:19:45 +0100 Subject: [PATCH 348/386] Fix main() signature of headersclean stub file Fix MinGW build errors by using the standard main signature. Change-Id: I0ebe7307a825a7ec50e654f163fbf8fe7060a478 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/data/headersclean/tst_headersclean.cpp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/data/headersclean/tst_headersclean.cpp.in b/mkspecs/features/data/headersclean/tst_headersclean.cpp.in index 1784615dd5..c3aa9a9562 100644 --- a/mkspecs/features/data/headersclean/tst_headersclean.cpp.in +++ b/mkspecs/features/data/headersclean/tst_headersclean.cpp.in @@ -48,7 +48,7 @@ $${includes} #include -int main() +int main(int, char **) { qWarning(\"This is a compile test only\"); return 0; From 04a5a74685ceae7bc288f5960b9b5cab5ed28d79 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 21 Dec 2012 11:28:29 +0100 Subject: [PATCH 349/386] Add a manual test for QFile. Add a command line program allowing to test rename, copy, etc. Task-number: QTBUG-28246 Change-Id: Ie9667f03b65a874475700ec9ecd91ca2ed32ed97 Reviewed-by: David Faure (KDE) --- tests/manual/filetest/filetest.pro | 6 ++ tests/manual/filetest/main.cpp | 142 +++++++++++++++++++++++++++++ tests/manual/manual.pro | 1 + 3 files changed, 149 insertions(+) create mode 100644 tests/manual/filetest/filetest.pro create mode 100644 tests/manual/filetest/main.cpp diff --git a/tests/manual/filetest/filetest.pro b/tests/manual/filetest/filetest.pro new file mode 100644 index 0000000000..5d2ba9b82b --- /dev/null +++ b/tests/manual/filetest/filetest.pro @@ -0,0 +1,6 @@ +TEMPLATE = app +QT = core +CONFIG += console +CONFIG -= app_bundle + +SOURCES += main.cpp diff --git a/tests/manual/filetest/main.cpp b/tests/manual/filetest/main.cpp new file mode 100644 index 0000000000..857d6c05a3 --- /dev/null +++ b/tests/manual/filetest/main.cpp @@ -0,0 +1,142 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the examples of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include +#include +#include +#include +#include + +#include + +static const char usage1[] = +"\nTests various file functionality in Qt\n\n" +"Usage: "; +static const char usage2[] =" [KEYWORD] [ARGUMENTS]\n\n" +"Keywords: ls FILES list file information\n" +" mv SOURCE TARGET rename files using QFile::rename\n" +" cp SOURCE TARGET copy files using QFile::copy\n" +" rm FILE remove file using QFile::remove\n" +" rmr DIR remove directory recursively\n" +" using QDir::removeRecursively\n"; + +static int ls(int argCount, char **args) +{ + for (int i = 0 ; i < argCount; ++i) { + const QFileInfo fi(QString::fromLocal8Bit(args[i])); + std::cout << QDir::toNativeSeparators(fi.absoluteFilePath()).toStdString() << ' ' << fi.size(); + if (fi.exists()) + std::cout << " [exists]"; + if (fi.isFile()) + std::cout << " [file]"; + if (fi.isSymLink()) { + std::cout << " [symlink to " + << QDir::toNativeSeparators(fi.symLinkTarget()).toStdString() << ']'; + } + if (fi.isDir()) + std::cout << " [dir]"; + std::cout << std::endl; + } + return 0; +} + +static int mv(const char *sourceFileName, const char *targetFileName) +{ + QFile sourceFile(QString::fromLocal8Bit(sourceFileName)); + if (!sourceFile.rename(QString::fromLocal8Bit(targetFileName))) { + qWarning().nospace() << sourceFile.errorString(); + return -1; + } + return 0; +} + +static int cp(const char *sourceFileName, const char *targetFileName) +{ + QFile sourceFile(QString::fromLocal8Bit(sourceFileName)); + if (!sourceFile.copy(QString::fromLocal8Bit(targetFileName))) { + qWarning().nospace() << sourceFile.errorString(); + return -1; + } + return 0; +} + +static int rm(const char *fileName) +{ + QFile file(QString::fromLocal8Bit(fileName)); + if (!file.remove()) { + qWarning().nospace() << file.errorString(); + return -1; + } + return 0; +} + +static int rmr(const char *dirName) +{ + QDir dir(QString::fromLocal8Bit(dirName)); + if (!dir.removeRecursively()) { + qWarning().nospace() << "Failed to remove " << dir.absolutePath(); + return -1; + } + return 0; +} + +int main(int argc, char *argv[]) +{ + QCoreApplication a(argc, argv); + Q_UNUSED(a) + if (argc >= 3 && !qstrcmp(argv[1], "ls")) + return ls(argc -2, argv + 2); + + if (argc == 4 && !qstrcmp(argv[1], "mv")) + return mv(argv[2], argv[3]); + + if (argc == 4 && !qstrcmp(argv[1], "cp")) + return cp(argv[2], argv[3]); + + if (argc == 3 && !qstrcmp(argv[1], "rm")) + return rm(argv[2]); + + if (argc == 3 && !qstrcmp(argv[1], "rmr")) + return rmr(argv[2]); + + std::cerr << usage1 << argv[0] << usage2; + return 0; +} diff --git a/tests/manual/manual.pro b/tests/manual/manual.pro index cfa812aaba..525f596d0e 100644 --- a/tests/manual/manual.pro +++ b/tests/manual/manual.pro @@ -1,6 +1,7 @@ TEMPLATE=subdirs SUBDIRS = bearerex \ +filetest \ gestures \ inputmethodhints \ keypadnavigation \ From 4d55b473b3a1514c53dc5ee8116e2c86e4f62eb6 Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Fri, 21 Dec 2012 10:24:44 +0800 Subject: [PATCH 350/386] qmake:Add a case sensitivity flag to ProString::{starts,ends}With() Change-Id: I457cd8288ae8a0138f7b28321fe87be3308b5215 Reviewed-by: Oswald Buddenhagen --- qmake/library/proitems.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qmake/library/proitems.h b/qmake/library/proitems.h index f08b38b5bd..1aa0c2b610 100644 --- a/qmake/library/proitems.h +++ b/qmake/library/proitems.h @@ -126,14 +126,14 @@ public: int compare(const ProString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().compare(sub.toQStringRef(), cs); } int compare(const QString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().compare(sub, cs); } int compare(const char *sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().compare(QLatin1String(sub), cs); } - bool startsWith(const ProString &sub) const { return toQStringRef().startsWith(sub.toQStringRef()); } - bool startsWith(const QString &sub) const { return toQStringRef().startsWith(sub); } - bool startsWith(const char *sub) const { return toQStringRef().startsWith(QLatin1String(sub)); } - bool startsWith(QChar c) const { return toQStringRef().startsWith(c); } - bool endsWith(const ProString &sub) const { return toQStringRef().endsWith(sub.toQStringRef()); } - bool endsWith(const QString &sub) const { return toQStringRef().endsWith(sub); } - bool endsWith(const char *sub) const { return toQStringRef().endsWith(QLatin1String(sub)); } - bool endsWith(QChar c) const { return toQStringRef().endsWith(c); } + bool startsWith(const ProString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().startsWith(sub.toQStringRef(), cs); } + bool startsWith(const QString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().startsWith(sub, cs); } + bool startsWith(const char *sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().startsWith(QLatin1String(sub), cs); } + bool startsWith(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().startsWith(c, cs); } + bool endsWith(const ProString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().endsWith(sub.toQStringRef(), cs); } + bool endsWith(const QString &sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().endsWith(sub, cs); } + bool endsWith(const char *sub, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().endsWith(QLatin1String(sub), cs); } + bool endsWith(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().endsWith(c, cs); } int indexOf(const QString &s, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().indexOf(s, from, cs); } int indexOf(const char *s, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().indexOf(QLatin1String(s), from, cs); } int indexOf(QChar c, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const { return toQStringRef().indexOf(c, from, cs); } From 21e809a486874b96b15735c94df6f6576ccd5368 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 21 Dec 2012 10:36:10 +0100 Subject: [PATCH 351/386] fix linker command line gcc is apparently tolerant against this abuse. icc is not. Task-number: QTBUG-28775 Change-Id: I872d32177562f076ca8aecd263bc4bb3c7e8edc0 Reviewed-by: Kai Koehne --- src/plugins/platforms/xcb/xcb-plugin.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/xcb-plugin.pro b/src/plugins/platforms/xcb/xcb-plugin.pro index 20ec5701b9..5823e97f36 100644 --- a/src/plugins/platforms/xcb/xcb-plugin.pro +++ b/src/plugins/platforms/xcb/xcb-plugin.pro @@ -110,7 +110,7 @@ contains(QT_CONFIG, xcb-qt) { DEFINES += XCB_USE_RENDER XCB_DIR = ../../../3rdparty/xcb INCLUDEPATH += $$XCB_DIR/include $$XCB_DIR/sysinclude - LIBS += -lxcb -L ./xcb-static -l xcb-static + LIBS += -lxcb -L$$OUT_PWD/xcb-static -lxcb-static } else { LIBS += -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr !contains(DEFINES, QT_NO_SHAPE):LIBS += -lxcb-shape From 7706c31eaa686299d7e22da809fec00c0db47c86 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Fri, 21 Dec 2012 15:51:50 +0100 Subject: [PATCH 352/386] Fix some typos Change-Id: I4e8d9bd8ea66ec810e4f1fbfd8ddbf25c4b3d980 Reviewed-by: Mitch Curtis --- src/corelib/io/qurl.cpp | 2 +- src/corelib/kernel/qeventdispatcher_blackberry.cpp | 2 +- src/corelib/thread/qmutex.cpp | 4 ++-- src/corelib/tools/qelapsedtimer_unix.cpp | 2 +- src/plugins/platforms/directfb/qdirectfbblitter.cpp | 2 +- src/widgets/styles/qfusionstyle.cpp | 2 +- src/widgets/styles/qstylehelper.cpp | 2 +- tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 2 +- tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp | 2 +- tests/manual/dialogs/filedialogpanel.cpp | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index d231bdda61..cc907daa3a 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -114,7 +114,7 @@ QUrl is capable of detecting many errors in URLs while parsing it or when components of the URL are set with individual setter methods (like setScheme(), setHost() or setPath()). If the parsing or setter function is - succesful, any previously recorded error conditions will be discarded. + successful, any previously recorded error conditions will be discarded. By default, QUrl setter methods operate in QUrl::TolerantMode, which means they accept some common mistakes and mis-representation of data. An diff --git a/src/corelib/kernel/qeventdispatcher_blackberry.cpp b/src/corelib/kernel/qeventdispatcher_blackberry.cpp index 2252b73ad4..69b4a8b172 100644 --- a/src/corelib/kernel/qeventdispatcher_blackberry.cpp +++ b/src/corelib/kernel/qeventdispatcher_blackberry.cpp @@ -132,7 +132,7 @@ static int bpsIOHandler(int fd, int io_events, void *data) } // post unblock event to our thread; in this callback the bps channel is - // guarenteed to be the same that was active when bps_add_fd was called + // guaranteed to be the same that was active when bps_add_fd was called result = bps_push_event(event); if (result != BPS_SUCCESS) { qWarning("QEventDispatcherBlackberryPrivate::QEventDispatcherBlackberry: bps_push_event() failed"); diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp index 3815ce16a7..97a5e5738c 100644 --- a/src/corelib/thread/qmutex.cpp +++ b/src/corelib/thread/qmutex.cpp @@ -394,7 +394,7 @@ bool QBasicMutex::isRecursive() to wait on the mutex. There are two tricks to keep in mind: We don't want to increment waiters after we checked no threads are waiting (waiters == 0). That's why we atomically set the BigNumber flag on waiters when - we check waiters. Similarily, if waiters is decremented right after we checked, + we check waiters. Similarly, if waiters is decremented right after we checked, the mutex would be unlocked (d->wakeUp() has (or will) be called), but there is no thread waiting. This is only happening if there was a timeout in tryLock at the same time as the mutex is unlocked. So when there was a timeout, we set the @@ -531,7 +531,7 @@ void QBasicMutex::unlockInternal() Q_DECL_NOTHROW QMutexPrivate *d = reinterpret_cast(copy); - // If no one is waiting for the lock anymore, we shoud reset d to 0x0. + // If no one is waiting for the lock anymore, we should reset d to 0x0. // Using fetchAndAdd, we atomically check that waiters was equal to 0, and add a flag // to the waiters variable (BigNumber). That way, we avoid the race in which waiters is // incremented right after we checked, because we won't increment waiters if is diff --git a/src/corelib/tools/qelapsedtimer_unix.cpp b/src/corelib/tools/qelapsedtimer_unix.cpp index 5dc18ce99f..b8f2180a5b 100644 --- a/src/corelib/tools/qelapsedtimer_unix.cpp +++ b/src/corelib/tools/qelapsedtimer_unix.cpp @@ -69,7 +69,7 @@ QT_BEGIN_NAMESPACE * http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html#tag_02_01_06 ) * * The macro _POSIX_MONOTONIC_CLOCK can therefore assume the following values: - * -1 monotonic clock is never supported on this sytem + * -1 monotonic clock is never supported on this system * 0 monotonic clock might be supported, runtime check is needed * >1 (such as 200809L) monotonic clock is always supported * diff --git a/src/plugins/platforms/directfb/qdirectfbblitter.cpp b/src/plugins/platforms/directfb/qdirectfbblitter.cpp index cac250fb9d..ec6ecd540c 100644 --- a/src/plugins/platforms/directfb/qdirectfbblitter.cpp +++ b/src/plugins/platforms/directfb/qdirectfbblitter.cpp @@ -133,7 +133,7 @@ void QDirectFbBlitter::alphaFillRect(const QRectF &rect, const QColor &color, QP int x, y, w, h; DFBResult result; - // check paramters + // check parameters rect.toRect().getRect(&x, &y ,&w, &h); if ((w <= 0) || (h <= 0)) return; diff --git a/src/widgets/styles/qfusionstyle.cpp b/src/widgets/styles/qfusionstyle.cpp index 623cdb55b9..6450ab049b 100644 --- a/src/widgets/styles/qfusionstyle.cpp +++ b/src/widgets/styles/qfusionstyle.cpp @@ -2631,7 +2631,7 @@ void QFusionStyle::drawComplexControl(ComplexControl control, const QStyleOption buttonOption.QStyleOption::operator=(*comboBox); buttonOption.rect = rect; buttonOption.state = (comboBox->state & (State_Enabled | State_MouseOver | State_HasFocus)) - | State_KeyboardFocusChange; // Allways show hig + | State_KeyboardFocusChange; // Always show hig if (sunken) { buttonOption.state |= State_Sunken; diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp index c6e9a8d013..1630130de2 100644 --- a/src/widgets/styles/qstylehelper.cpp +++ b/src/widgets/styles/qstylehelper.cpp @@ -78,7 +78,7 @@ QString uniqueName(const QString &key, const QStyleOption *option, const QSize & qreal dpiScaled(qreal value) { #ifdef Q_OS_MAC - // On mac the DPI is allways 72 so we should not scale it + // On mac the DPI is always 72 so we should not scale it return value; #else static const qreal scale = qreal(qt_defaultDpiX()) / 96.0; diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index b3282beaf5..240a459fe4 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -6497,7 +6497,7 @@ void tst_QNetworkReply::qtbug27161httpHeaderMayBeDamaged_data(){ /* * Purpose of this test is to check whether a content from server is parsed correctly - * if it is splitted into two parts. + * if it is split into two parts. */ void tst_QNetworkReply::qtbug27161httpHeaderMayBeDamaged(){ QFETCH(QByteArray, firstPacket); diff --git a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp index 5cb7c27387..879396a5bf 100644 --- a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp +++ b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp @@ -579,7 +579,7 @@ void tst_QSqlQuery::mysqlOutValues() void tst_QSqlQuery::bindBool() { - // QTBUG-27763: bool value got converted to int 127 by mysql driver becuase sizeof(bool) < sizeof(int). + // QTBUG-27763: bool value got converted to int 127 by mysql driver because sizeof(bool) < sizeof(int). // The problem was the way the bool value from the application was handled. It doesn't matter // whether the table column type is BOOL or INT. Use INT here because all DBMSs have it and all // should pass this test. diff --git a/tests/manual/dialogs/filedialogpanel.cpp b/tests/manual/dialogs/filedialogpanel.cpp index 4da3d6ee42..f33c27f502 100644 --- a/tests/manual/dialogs/filedialogpanel.cpp +++ b/tests/manual/dialogs/filedialogpanel.cpp @@ -105,9 +105,9 @@ inline void setComboBoxValue(QComboBox *c, int v) c->setCurrentIndex(c->findData(QVariant(v))); } -static inline void addButton(const QString &desription, QBoxLayout *layout, QObject *receiver, const char *slotFunc) +static inline void addButton(const QString &description, QBoxLayout *layout, QObject *receiver, const char *slotFunc) { - QPushButton *button = new QPushButton(desription); + QPushButton *button = new QPushButton(description); QObject::connect(button, SIGNAL(clicked()), receiver, slotFunc); layout->addWidget(button); } From 586adeabe4d58a7c8a71bbb1be79c3533ab858ff Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 21 Dec 2012 12:09:56 +0100 Subject: [PATCH 353/386] add and use qtHaveModule() function this is much more elegant than the so far propagated !isEmpty(QT.foo.name). also replace feature-specific tests (no-gui and no-widgets) and the obsolete contains(QT_CONFIG, foo) syntax. Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b Reviewed-by: Sergio Ahumada Reviewed-by: Tasuku Suzuki Reviewed-by: Oswald Buddenhagen --- examples/dbus/dbus.pro | 2 +- examples/examples.pro | 12 ++++++------ examples/network/network.pro | 2 +- examples/opengl/cube/cube.pro | 2 +- examples/qtconcurrent/qtconcurrent.pro | 2 +- examples/threads/threads.pro | 2 +- examples/touch/fingerpaint/fingerpaint.pro | 2 +- examples/widgets/animation/sub-attaq/sub-attaq.pro | 2 +- examples/widgets/graphicsview/chip/chip.pro | 4 ++-- examples/widgets/graphicsview/graphicsview.pro | 2 +- .../graphicsview/padnavigator/padnavigator.pro | 2 +- examples/widgets/itemviews/pixelator/pixelator.pro | 2 +- .../widgets/itemviews/spreadsheet/spreadsheet.pro | 4 ++-- .../widgets/mainwindows/dockwidgets/dockwidgets.pro | 2 +- examples/widgets/painting/affine/affine.pro | 2 +- .../widgets/painting/composition/composition.pro | 2 +- examples/widgets/painting/deform/deform.pro | 2 +- .../widgets/painting/fontsampler/fontsampler.pro | 2 +- examples/widgets/painting/gradients/gradients.pro | 2 +- examples/widgets/painting/pathstroke/pathstroke.pro | 2 +- examples/widgets/painting/shared/shared.pri | 2 +- examples/widgets/painting/shared/shared.pro | 2 +- examples/widgets/richtext/orderform/orderform.pro | 2 +- examples/widgets/richtext/textedit/textedit.pro | 2 +- examples/widgets/statemachine/statemachine.pro | 2 +- examples/widgets/tutorials/threads/threads.pro | 2 +- examples/widgets/widgets/imageviewer/imageviewer.pro | 2 +- examples/widgets/widgets/scribble/scribble.pro | 2 +- examples/xml/xml.pro | 2 +- mkspecs/features/ctest_testcase.prf | 2 +- mkspecs/features/qt_functions.prf | 7 +++++++ .../linuxaccessibility/linuxaccessibility.pri | 2 +- src/plugins/bearer/bearer.pro | 2 +- .../platforminputcontexts/platforminputcontexts.pro | 2 +- src/plugins/platforms/cocoa/cocoa.pro | 2 +- src/plugins/plugins.pro | 6 +++--- tests/auto/auto.pro | 8 ++++---- tests/auto/corelib/animation/animation.pro | 2 +- tests/auto/corelib/io/qprocess/qprocess.pri | 2 +- tests/auto/corelib/itemmodels/itemmodels.pro | 2 +- tests/auto/corelib/kernel/qpointer/qpointer.pro | 2 +- .../statemachine/qstatemachine/qstatemachine.pro | 2 +- tests/auto/gui/image/qicon/qicon.pro | 2 +- tests/auto/gui/image/qmovie/qmovie.pro | 2 +- tests/auto/gui/image/qpicture/qpicture.pro | 2 +- tests/auto/gui/image/qpixmap/qpixmap.pro | 2 +- tests/auto/gui/itemmodels/itemmodels.pro | 2 +- tests/auto/gui/kernel/kernel.pro | 2 +- tests/auto/gui/painting/qpainter/qpainter.pro | 4 ++-- tests/auto/gui/text/qfont/qfont.pro | 2 +- .../text/qsyntaxhighlighter/qsyntaxhighlighter.pro | 2 +- .../text/qtextdocumentlayout/qtextdocumentlayout.pro | 2 +- tests/auto/gui/text/qtextobject/qtextobject.pro | 2 +- tests/auto/gui/text/qtexttable/qtexttable.pro | 2 +- tests/auto/opengl/qgl/qgl.pro | 2 +- tests/auto/opengl/qglbuffer/qglbuffer.pro | 2 +- tests/auto/opengl/qglfunctions/qglfunctions.pro | 2 +- tests/auto/opengl/qglthreads/qglthreads.pro | 2 +- tests/auto/other/atwrapper/atWrapper.pro | 2 +- tests/auto/other/other.pro | 2 +- tests/auto/sql/models/models.pro | 2 +- tests/auto/tools/moc/moc.pro | 2 +- tests/auto/tools/tools.pro | 2 +- tests/auto/widgets/widgets/qmdiarea/qmdiarea.pro | 2 +- tests/benchmarks/benchmarks.pro | 4 ++-- tests/benchmarks/corelib/kernel/kernel.pro | 2 +- tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 2 +- tests/benchmarks/gui/animation/animation.pro | 2 +- .../GraphicsViewBenchmark/GraphicsViewBenchmark.pro | 2 +- tests/benchmarks/gui/graphicsview/graphicsview.pro | 2 +- .../qgraphicsview/benchapps/chipTest/chip.pro | 2 +- .../qgraphicsview/chiptester/chiptester.pri | 2 +- tests/benchmarks/gui/gui.pro | 2 +- tests/benchmarks/gui/image/image.pro | 2 +- tests/benchmarks/gui/kernel/kernel.pro | 2 +- tests/benchmarks/gui/painting/painting.pro | 2 +- tests/benchmarks/gui/styles/styles.pro | 2 +- tests/manual/lance/lance.pro | 2 +- 78 files changed, 98 insertions(+), 91 deletions(-) diff --git a/examples/dbus/dbus.pro b/examples/dbus/dbus.pro index 200dfb2484..fd43c23fa3 100644 --- a/examples/dbus/dbus.pro +++ b/examples/dbus/dbus.pro @@ -3,7 +3,7 @@ SUBDIRS = listnames \ pingpong \ complexpingpong -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += chat \ remotecontrolledcar } diff --git a/examples/examples.pro b/examples/examples.pro index e1c3611836..e66226703e 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -8,7 +8,7 @@ SUBDIRS = \ xml \ qpa -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += widgets \ ipc \ sql \ @@ -17,12 +17,12 @@ SUBDIRS = \ gestures } -wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded +wince*|embedded|x11:qtHaveModule(gui): SUBDIRS += embedded -contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):!contains(QT_CONFIG, no-widgets):SUBDIRS += qtestlib -contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl -contains(QT_CONFIG, dbus): SUBDIRS += dbus -contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent +contains(QT_BUILD_PARTS, tools):qtHaveModule(gui):qtHaveModule(widgets): SUBDIRS += qtestlib +qtHaveModule(opengl):qtHaveModule(widgets): SUBDIRS += opengl +qtHaveModule(dbus): SUBDIRS += dbus +qtHaveModule(concurrent): SUBDIRS += qtconcurrent aggregate.files = aggregate/examples.pro aggregate.path = $$[QT_INSTALL_EXAMPLES] diff --git a/examples/network/network.pro b/examples/network/network.pro index f473a112f6..342297528b 100644 --- a/examples/network/network.pro +++ b/examples/network/network.pro @@ -4,7 +4,7 @@ SUBDIRS = \ download \ downloadmanager -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += \ blockingfortuneclient \ broadcastreceiver \ diff --git a/examples/opengl/cube/cube.pro b/examples/opengl/cube/cube.pro index aaa933c1e2..710b4442c7 100644 --- a/examples/opengl/cube/cube.pro +++ b/examples/opengl/cube/cube.pro @@ -5,7 +5,7 @@ TEMPLATE = app SOURCES += main.cpp -contains(QT_CONFIG, opengl) { +qtHaveModule(opengl) { QT += opengl SOURCES += mainwidget.cpp \ diff --git a/examples/qtconcurrent/qtconcurrent.pro b/examples/qtconcurrent/qtconcurrent.pro index 72220b1ab3..dafbabb5c3 100644 --- a/examples/qtconcurrent/qtconcurrent.pro +++ b/examples/qtconcurrent/qtconcurrent.pro @@ -8,7 +8,7 @@ SUBDIRS = imagescaling \ SUBDIRS += progressdialog } -contains(QT_CONFIG, no-widgets) { +!qtHaveModule(widgets) { SUBDIRS -= \ imagescaling \ progressdialog \ diff --git a/examples/threads/threads.pro b/examples/threads/threads.pro index 027d4c2ebb..e47da84a06 100644 --- a/examples/threads/threads.pro +++ b/examples/threads/threads.pro @@ -4,4 +4,4 @@ CONFIG += no_docs_target SUBDIRS = semaphores \ waitconditions -!contains(QT_CONFIG, no-widgets):SUBDIRS += mandelbrot +qtHaveModule(widgets): SUBDIRS += mandelbrot diff --git a/examples/touch/fingerpaint/fingerpaint.pro b/examples/touch/fingerpaint/fingerpaint.pro index 5093c8ad8d..5391897af7 100644 --- a/examples/touch/fingerpaint/fingerpaint.pro +++ b/examples/touch/fingerpaint/fingerpaint.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport HEADERS = mainwindow.h \ scribblearea.h diff --git a/examples/widgets/animation/sub-attaq/sub-attaq.pro b/examples/widgets/animation/sub-attaq/sub-attaq.pro index 3ed823d1e6..ac79fd4249 100644 --- a/examples/widgets/animation/sub-attaq/sub-attaq.pro +++ b/examples/widgets/animation/sub-attaq/sub-attaq.pro @@ -1,5 +1,5 @@ QT += widgets -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(opengl): QT += opengl HEADERS += boat.h \ bomb.h \ mainwindow.h \ diff --git a/examples/widgets/graphicsview/chip/chip.pro b/examples/widgets/graphicsview/chip/chip.pro index 8e3d91f38e..a46f07ce35 100644 --- a/examples/widgets/graphicsview/chip/chip.pro +++ b/examples/widgets/graphicsview/chip/chip.pro @@ -5,8 +5,8 @@ SOURCES += main.cpp SOURCES += mainwindow.cpp view.cpp chip.cpp QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(printsupport): QT += printsupport +qtHaveModule(opengl): QT += opengl build_all:!build_pass { CONFIG -= build_all diff --git a/examples/widgets/graphicsview/graphicsview.pro b/examples/widgets/graphicsview/graphicsview.pro index 901533a8de..9d6d7a75f6 100644 --- a/examples/widgets/graphicsview/graphicsview.pro +++ b/examples/widgets/graphicsview/graphicsview.pro @@ -15,6 +15,6 @@ SUBDIRS = \ contains(DEFINES, QT_NO_CURSOR)|contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= dragdroprobot -contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles2):{ +qtHaveModule(opengl):!contains(QT_CONFIG, opengles.) { SUBDIRS += boxes } diff --git a/examples/widgets/graphicsview/padnavigator/padnavigator.pro b/examples/widgets/graphicsview/padnavigator/padnavigator.pro index 460cc90219..c2bc79b5cc 100644 --- a/examples/widgets/graphicsview/padnavigator/padnavigator.pro +++ b/examples/widgets/graphicsview/padnavigator/padnavigator.pro @@ -17,7 +17,7 @@ FORMS += \ form.ui QT += widgets -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(opengl): QT += opengl # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/padnavigator diff --git a/examples/widgets/itemviews/pixelator/pixelator.pro b/examples/widgets/itemviews/pixelator/pixelator.pro index b844e7c3a4..35176a6026 100644 --- a/examples/widgets/itemviews/pixelator/pixelator.pro +++ b/examples/widgets/itemviews/pixelator/pixelator.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport HEADERS = imagemodel.h \ mainwindow.h \ diff --git a/examples/widgets/itemviews/spreadsheet/spreadsheet.pro b/examples/widgets/itemviews/spreadsheet/spreadsheet.pro index b69811a4b8..56f7424a93 100644 --- a/examples/widgets/itemviews/spreadsheet/spreadsheet.pro +++ b/examples/widgets/itemviews/spreadsheet/spreadsheet.pro @@ -1,6 +1,6 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport -#unix:contains(QT_CONFIG, dbus):QT += dbus widgets +qtHaveModule(printsupport): QT += printsupport +#unix:qtHaveModule(dbus): QT += dbus widgets HEADERS += printview.h spreadsheet.h spreadsheetdelegate.h spreadsheetitem.h SOURCES += main.cpp \ diff --git a/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro b/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro index 4bccf49399..f445c5a89e 100644 --- a/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro +++ b/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport HEADERS = mainwindow.h SOURCES = main.cpp \ diff --git a/examples/widgets/painting/affine/affine.pro b/examples/widgets/painting/affine/affine.pro index e94f4d12fb..1f2f8df87f 100644 --- a/examples/widgets/painting/affine/affine.pro +++ b/examples/widgets/painting/affine/affine.pro @@ -1,7 +1,7 @@ SOURCES += main.cpp xform.cpp HEADERS += xform.h -contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl } diff --git a/examples/widgets/painting/composition/composition.pro b/examples/widgets/painting/composition/composition.pro index 7ff82d789a..0269945ac8 100644 --- a/examples/widgets/painting/composition/composition.pro +++ b/examples/widgets/painting/composition/composition.pro @@ -6,7 +6,7 @@ SHARED_FOLDER = ../shared include($$SHARED_FOLDER/shared.pri) RESOURCES += composition.qrc -contains(QT_CONFIG, opengl) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl } diff --git a/examples/widgets/painting/deform/deform.pro b/examples/widgets/painting/deform/deform.pro index 01dc0a869c..6409aaed96 100644 --- a/examples/widgets/painting/deform/deform.pro +++ b/examples/widgets/painting/deform/deform.pro @@ -7,7 +7,7 @@ include($$SHARED_FOLDER/shared.pri) RESOURCES += deform.qrc -contains(QT_CONFIG, opengl) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl } diff --git a/examples/widgets/painting/fontsampler/fontsampler.pro b/examples/widgets/painting/fontsampler/fontsampler.pro index 8325da0175..08dd07bc08 100644 --- a/examples/widgets/painting/fontsampler/fontsampler.pro +++ b/examples/widgets/painting/fontsampler/fontsampler.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport FORMS = mainwindowbase.ui HEADERS = mainwindow.h diff --git a/examples/widgets/painting/gradients/gradients.pro b/examples/widgets/painting/gradients/gradients.pro index a7d6ae68d1..73f3974c62 100644 --- a/examples/widgets/painting/gradients/gradients.pro +++ b/examples/widgets/painting/gradients/gradients.pro @@ -6,7 +6,7 @@ SHARED_FOLDER = ../shared include($$SHARED_FOLDER/shared.pri) RESOURCES += gradients.qrc -contains(QT_CONFIG, opengl) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl } diff --git a/examples/widgets/painting/pathstroke/pathstroke.pro b/examples/widgets/painting/pathstroke/pathstroke.pro index 197fe22024..8ab3cb9244 100644 --- a/examples/widgets/painting/pathstroke/pathstroke.pro +++ b/examples/widgets/painting/pathstroke/pathstroke.pro @@ -7,7 +7,7 @@ include($$SHARED_FOLDER/shared.pri) RESOURCES += pathstroke.qrc -contains(QT_CONFIG, opengl) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl } diff --git a/examples/widgets/painting/shared/shared.pri b/examples/widgets/painting/shared/shared.pri index 6aef1bdd5b..1b8be82d03 100644 --- a/examples/widgets/painting/shared/shared.pri +++ b/examples/widgets/painting/shared/shared.pri @@ -1,6 +1,6 @@ INCLUDEPATH += $$PWD -contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl widgets } diff --git a/examples/widgets/painting/shared/shared.pro b/examples/widgets/painting/shared/shared.pro index 42b474a946..2756bf75ca 100644 --- a/examples/widgets/painting/shared/shared.pro +++ b/examples/widgets/painting/shared/shared.pro @@ -1,7 +1,7 @@ TEMPLATE = lib CONFIG += static -contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { +qtHaveModule(opengl) { DEFINES += QT_OPENGL_SUPPORT QT += opengl } diff --git a/examples/widgets/richtext/orderform/orderform.pro b/examples/widgets/richtext/orderform/orderform.pro index 1477d6ecab..0eb9da3ae1 100644 --- a/examples/widgets/richtext/orderform/orderform.pro +++ b/examples/widgets/richtext/orderform/orderform.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport HEADERS = detailsdialog.h \ mainwindow.h diff --git a/examples/widgets/richtext/textedit/textedit.pro b/examples/widgets/richtext/textedit/textedit.pro index 36f860c5a8..c32bf68f68 100644 --- a/examples/widgets/richtext/textedit/textedit.pro +++ b/examples/widgets/richtext/textedit/textedit.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport TEMPLATE = app TARGET = textedit diff --git a/examples/widgets/statemachine/statemachine.pro b/examples/widgets/statemachine/statemachine.pro index 2a539d2e54..926e01cfda 100644 --- a/examples/widgets/statemachine/statemachine.pro +++ b/examples/widgets/statemachine/statemachine.pro @@ -3,7 +3,7 @@ SUBDIRS = \ factorial \ pingpong -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += \ eventtransitions \ rogue \ diff --git a/examples/widgets/tutorials/threads/threads.pro b/examples/widgets/tutorials/threads/threads.pro index 4d51120794..19718d760c 100644 --- a/examples/widgets/tutorials/threads/threads.pro +++ b/examples/widgets/tutorials/threads/threads.pro @@ -5,4 +5,4 @@ SUBDIRS = hellothread \ clock \ movedobject -contains(QT_CONFIG, concurrent): SUBDIRS += helloconcurrent +qtHaveModule(concurrent): SUBDIRS += helloconcurrent diff --git a/examples/widgets/widgets/imageviewer/imageviewer.pro b/examples/widgets/widgets/imageviewer/imageviewer.pro index 3378db7fb6..a0f9cebbda 100644 --- a/examples/widgets/widgets/imageviewer/imageviewer.pro +++ b/examples/widgets/widgets/imageviewer/imageviewer.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport HEADERS = imageviewer.h SOURCES = imageviewer.cpp \ diff --git a/examples/widgets/widgets/scribble/scribble.pro b/examples/widgets/widgets/scribble/scribble.pro index 8c35ba777f..aff0fb442c 100644 --- a/examples/widgets/widgets/scribble/scribble.pro +++ b/examples/widgets/widgets/scribble/scribble.pro @@ -1,5 +1,5 @@ QT += widgets -!isEmpty(QT.printsupport.name): QT += printsupport +qtHaveModule(printsupport): QT += printsupport HEADERS = mainwindow.h \ scribblearea.h diff --git a/examples/xml/xml.pro b/examples/xml/xml.pro index 7c7b6f7456..bc8686a475 100644 --- a/examples/xml/xml.pro +++ b/examples/xml/xml.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS = htmlinfo \ xmlstreamlint -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += dombookmarks \ rsslisting \ saxbookmarks \ diff --git a/mkspecs/features/ctest_testcase.prf b/mkspecs/features/ctest_testcase.prf index 555a0bbe5c..93ebd4607d 100644 --- a/mkspecs/features/ctest_testcase.prf +++ b/mkspecs/features/ctest_testcase.prf @@ -53,6 +53,6 @@ insignificant_test:!isEmpty(check.commands) { check.commands = -$${check.commands} } -isEmpty(QT.widgets.name):CONFIG += insignificant_test # QTBUG-28540 +!qtHaveModule(widgets): CONFIG += insignificant_test # QTBUG-28540 QMAKE_EXTRA_TARGETS *= check diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index 0bae5f3f87..389f2418ad 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -51,6 +51,13 @@ defineTest(qtProcessModuleFlags) { export($$1) } +# qt module +defineTest(qtHaveModule) { + !isEmpty(QT.$${1}.name): \ + return(true) + return(false) +} + # qt module, UsePrivate flag, libs variable defineTest(qtAddModule) { MODULE_NAME = $$eval(QT.$${1}.name) diff --git a/src/platformsupport/linuxaccessibility/linuxaccessibility.pri b/src/platformsupport/linuxaccessibility/linuxaccessibility.pri index 85a02da004..09d437678f 100644 --- a/src/platformsupport/linuxaccessibility/linuxaccessibility.pri +++ b/src/platformsupport/linuxaccessibility/linuxaccessibility.pri @@ -1,4 +1,4 @@ -contains(QT_CONFIG, dbus):contains(QT_CONFIG, xcb):contains(QT_CONFIG, accessibility) { +qtHaveModule(dbus):contains(QT_CONFIG, xcb):contains(QT_CONFIG, accessibility) { QT += dbus include(../../3rdparty/atspi2/atspi2.pri) diff --git a/src/plugins/bearer/bearer.pro b/src/plugins/bearer/bearer.pro index 899eede7bf..0375500306 100644 --- a/src/plugins/bearer/bearer.pro +++ b/src/plugins/bearer/bearer.pro @@ -1,6 +1,6 @@ TEMPLATE = subdirs -linux*:contains(QT_CONFIG, dbus) { +linux*:qtHaveModule(dbus) { SUBDIRS += generic SUBDIRS += connman networkmanager } diff --git a/src/plugins/platforminputcontexts/platforminputcontexts.pro b/src/plugins/platforminputcontexts/platforminputcontexts.pro index 7c1f55927d..c8449e7e44 100644 --- a/src/plugins/platforminputcontexts/platforminputcontexts.pro +++ b/src/plugins/platforminputcontexts/platforminputcontexts.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs -contains(QT_CONFIG, dbus) { +qtHaveModule(dbus) { !macx:!win32:SUBDIRS += ibus maliit } diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro index 85e3f0007c..83e2a88e6a 100644 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ b/src/plugins/platforms/cocoa/cocoa.pro @@ -82,7 +82,7 @@ LIBS += -framework Cocoa -framework IOKit QT += core-private gui-private platformsupport-private -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { OBJECTIVE_SOURCES += \ qpaintengine_mac.mm \ qprintengine_mac.mm \ diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro index b056fa4002..3b0ff3f6c8 100644 --- a/src/plugins/plugins.pro +++ b/src/plugins/plugins.pro @@ -1,7 +1,7 @@ TEMPLATE = subdirs SUBDIRS *= sqldrivers bearer -!contains(QT_CONFIG, no-gui): SUBDIRS *= imageformats platforms platforminputcontexts generic -!contains(QT_CONFIG, no-widgets): SUBDIRS += accessible +qtHaveModule(gui): SUBDIRS *= imageformats platforms platforminputcontexts generic +qtHaveModule(widgets): SUBDIRS += accessible -!wince*:!contains(QT_CONFIG, no-widgets):SUBDIRS += printsupport +!wince*:qtHaveModule(widgets): SUBDIRS += printsupport diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index b3906cc247..6ff0734186 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -18,7 +18,7 @@ SUBDIRS += \ wince*: SUBDIRS -= printsupport cross_compile: SUBDIRS -= tools -isEmpty(QT.opengl.name): SUBDIRS -= opengl -!unix|embedded|!contains(QT_CONFIG, dbus): SUBDIRS -= dbus -contains(QT_CONFIG, no-widgets): SUBDIRS -= widgets printsupport -!contains(QT_CONFIG, concurrent): SUBDIRS -= concurrent +!qtHaveModule(opengl): SUBDIRS -= opengl +!unix|embedded|!qtHaveModule(dbus): SUBDIRS -= dbus +!qtHaveModule(widgets): SUBDIRS -= widgets printsupport +!qtHaveModule(concurrent): SUBDIRS -= concurrent diff --git a/tests/auto/corelib/animation/animation.pro b/tests/auto/corelib/animation/animation.pro index 563b7184bf..30c98f4a11 100644 --- a/tests/auto/corelib/animation/animation.pro +++ b/tests/auto/corelib/animation/animation.pro @@ -8,5 +8,5 @@ SUBDIRS=\ qsequentialanimationgroup \ qvariantanimation -contains(QT_CONFIG, no-widgets): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qpropertyanimation diff --git a/tests/auto/corelib/io/qprocess/qprocess.pri b/tests/auto/corelib/io/qprocess/qprocess.pri index d139b3dcef..430251fbf1 100644 --- a/tests/auto/corelib/io/qprocess/qprocess.pri +++ b/tests/auto/corelib/io/qprocess/qprocess.pri @@ -17,5 +17,5 @@ SUBPROGRAMS = \ !contains(QMAKE_PLATFORM, wince): SUBPROGRAMS += testForwarding -contains(QT_CONFIG, no-widgets): SUBPROGRAMS -= \ +!qtHaveModule(widgets): SUBPROGRAMS -= \ testGuiProcess diff --git a/tests/auto/corelib/itemmodels/itemmodels.pro b/tests/auto/corelib/itemmodels/itemmodels.pro index 5221bfae81..2f681c3330 100644 --- a/tests/auto/corelib/itemmodels/itemmodels.pro +++ b/tests/auto/corelib/itemmodels/itemmodels.pro @@ -3,7 +3,7 @@ TEMPLATE=subdirs SUBDIRS = qabstractitemmodel \ qstringlistmodel -!contains(QT_CONFIG, no-widgets): SUBDIRS += \ +qtHaveModule(widgets): SUBDIRS += \ qabstractproxymodel \ qidentityproxymodel \ qitemmodel \ diff --git a/tests/auto/corelib/kernel/qpointer/qpointer.pro b/tests/auto/corelib/kernel/qpointer/qpointer.pro index 6c076e630f..8786d07292 100644 --- a/tests/auto/corelib/kernel/qpointer/qpointer.pro +++ b/tests/auto/corelib/kernel/qpointer/qpointer.pro @@ -2,6 +2,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qpointer QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES = tst_qpointer.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro b/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro index 1708735c52..b830efe3a5 100644 --- a/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro +++ b/tests/auto/corelib/statemachine/qstatemachine/qstatemachine.pro @@ -2,6 +2,6 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qstatemachine QT = core-private testlib gui -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES = tst_qstatemachine.cpp DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/gui/image/qicon/qicon.pro b/tests/auto/gui/image/qicon/qicon.pro index d4ade0e8ab..337b938915 100644 --- a/tests/auto/gui/image/qicon/qicon.pro +++ b/tests/auto/gui/image/qicon/qicon.pro @@ -3,7 +3,7 @@ CONFIG += parallel_test TARGET = tst_qicon QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES += tst_qicon.cpp RESOURCES = tst_qicon.qrc diff --git a/tests/auto/gui/image/qmovie/qmovie.pro b/tests/auto/gui/image/qmovie/qmovie.pro index a511f0b258..9290588625 100644 --- a/tests/auto/gui/image/qmovie/qmovie.pro +++ b/tests/auto/gui/image/qmovie/qmovie.pro @@ -2,7 +2,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qmovie QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES += tst_qmovie.cpp MOC_DIR=tmp diff --git a/tests/auto/gui/image/qpicture/qpicture.pro b/tests/auto/gui/image/qpicture/qpicture.pro index 8a93584aaa..b4927b4536 100644 --- a/tests/auto/gui/image/qpicture/qpicture.pro +++ b/tests/auto/gui/image/qpicture/qpicture.pro @@ -2,7 +2,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qpicture QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES += tst_qpicture.cpp diff --git a/tests/auto/gui/image/qpixmap/qpixmap.pro b/tests/auto/gui/image/qpixmap/qpixmap.pro index f079f56864..6188bf2c6e 100644 --- a/tests/auto/gui/image/qpixmap/qpixmap.pro +++ b/tests/auto/gui/image/qpixmap/qpixmap.pro @@ -2,7 +2,7 @@ CONFIG += testcase TARGET = tst_qpixmap QT += core-private gui-private testlib -!contains(QT_CONFIG, no-widgets): QT += widgets widgets-private +qtHaveModule(widgets): QT += widgets widgets-private SOURCES += tst_qpixmap.cpp !wince* { diff --git a/tests/auto/gui/itemmodels/itemmodels.pro b/tests/auto/gui/itemmodels/itemmodels.pro index 169100f486..8a300d0210 100644 --- a/tests/auto/gui/itemmodels/itemmodels.pro +++ b/tests/auto/gui/itemmodels/itemmodels.pro @@ -3,5 +3,5 @@ SUBDIRS= \ qstandarditem \ qstandarditemmodel -isEmpty(QT.widgets.name):SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qstandarditemmodel diff --git a/tests/auto/gui/kernel/kernel.pro b/tests/auto/gui/kernel/kernel.pro index fb8cd2d566..7e3f25d377 100644 --- a/tests/auto/gui/kernel/kernel.pro +++ b/tests/auto/gui/kernel/kernel.pro @@ -19,6 +19,6 @@ SUBDIRS=\ qwindow \ qguiapplication \ -contains(QT_CONFIG, no-widgets): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qmouseevent_modal \ qtouchevent diff --git a/tests/auto/gui/painting/qpainter/qpainter.pro b/tests/auto/gui/painting/qpainter/qpainter.pro index 90a801ecb3..a30564cc50 100644 --- a/tests/auto/gui/painting/qpainter/qpainter.pro +++ b/tests/auto/gui/painting/qpainter/qpainter.pro @@ -3,8 +3,8 @@ CONFIG += parallel_test TARGET = tst_qpainter QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets widgets-private -!contains(QT_CONFIG, no-widgets):!wince*: QT += printsupport +qtHaveModule(widgets): QT += widgets widgets-private +qtHaveModule(widgets):!wince*: QT += printsupport SOURCES += tst_qpainter.cpp diff --git a/tests/auto/gui/text/qfont/qfont.pro b/tests/auto/gui/text/qfont/qfont.pro index 562294dd66..ced66c226c 100644 --- a/tests/auto/gui/text/qfont/qfont.pro +++ b/tests/auto/gui/text/qfont/qfont.pro @@ -3,7 +3,7 @@ CONFIG += parallel_test TARGET = tst_qfont QT += testlib QT += core-private gui-private -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES += tst_qfont.cpp diff --git a/tests/auto/gui/text/qsyntaxhighlighter/qsyntaxhighlighter.pro b/tests/auto/gui/text/qsyntaxhighlighter/qsyntaxhighlighter.pro index c8db4df90e..24b58c7d3e 100644 --- a/tests/auto/gui/text/qsyntaxhighlighter/qsyntaxhighlighter.pro +++ b/tests/auto/gui/text/qsyntaxhighlighter/qsyntaxhighlighter.pro @@ -3,5 +3,5 @@ CONFIG += parallel_test TARGET = tst_qsyntaxhighlighter SOURCES += tst_qsyntaxhighlighter.cpp QT += testlib -!contains(QT_CONFIG, no-widgets) QT += widgets +qtHaveModule(widgets) QT += widgets DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/gui/text/qtextdocumentlayout/qtextdocumentlayout.pro b/tests/auto/gui/text/qtextdocumentlayout/qtextdocumentlayout.pro index d439e0deb9..76dd370a8d 100644 --- a/tests/auto/gui/text/qtextdocumentlayout/qtextdocumentlayout.pro +++ b/tests/auto/gui/text/qtextdocumentlayout/qtextdocumentlayout.pro @@ -2,7 +2,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qtextdocumentlayout QT += testlib -!contains(QT_CONFIG, no-widgets) QT += widgets +qtHaveModule(widgets) QT += widgets SOURCES += tst_qtextdocumentlayout.cpp diff --git a/tests/auto/gui/text/qtextobject/qtextobject.pro b/tests/auto/gui/text/qtextobject/qtextobject.pro index 59312ac1d5..ebeba2a64a 100644 --- a/tests/auto/gui/text/qtextobject/qtextobject.pro +++ b/tests/auto/gui/text/qtextobject/qtextobject.pro @@ -6,7 +6,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qtextobject QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES += tst_qtextobject.cpp diff --git a/tests/auto/gui/text/qtexttable/qtexttable.pro b/tests/auto/gui/text/qtexttable/qtexttable.pro index a1034dac67..1c59bf1471 100644 --- a/tests/auto/gui/text/qtexttable/qtexttable.pro +++ b/tests/auto/gui/text/qtexttable/qtexttable.pro @@ -2,7 +2,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qtexttable QT += testlib -!contains(QT_CONFIG, no-widgets): QT += widgets +qtHaveModule(widgets): QT += widgets SOURCES += tst_qtexttable.cpp diff --git a/tests/auto/opengl/qgl/qgl.pro b/tests/auto/opengl/qgl/qgl.pro index e5aff000ac..311e41a624 100644 --- a/tests/auto/opengl/qgl/qgl.pro +++ b/tests/auto/opengl/qgl/qgl.pro @@ -4,7 +4,7 @@ CONFIG += testcase TARGET = tst_qgl -requires(contains(QT_CONFIG,opengl)) +requires(qtHaveModule(opengl)) QT += widgets widgets-private opengl-private gui-private core-private testlib SOURCES += tst_qgl.cpp diff --git a/tests/auto/opengl/qglbuffer/qglbuffer.pro b/tests/auto/opengl/qglbuffer/qglbuffer.pro index 4d102415a8..72117322da 100644 --- a/tests/auto/opengl/qglbuffer/qglbuffer.pro +++ b/tests/auto/opengl/qglbuffer/qglbuffer.pro @@ -5,7 +5,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qglbuffer -requires(contains(QT_CONFIG,opengl)) +requires(qtHaveModule(opengl)) QT += opengl widgets testlib SOURCES += tst_qglbuffer.cpp diff --git a/tests/auto/opengl/qglfunctions/qglfunctions.pro b/tests/auto/opengl/qglfunctions/qglfunctions.pro index 321f62534e..a512ea0dd9 100644 --- a/tests/auto/opengl/qglfunctions/qglfunctions.pro +++ b/tests/auto/opengl/qglfunctions/qglfunctions.pro @@ -1,7 +1,7 @@ CONFIG += testcase CONFIG += parallel_test TARGET = tst_qglfunctions -requires(contains(QT_CONFIG,opengl)) +requires(qtHaveModule(opengl)) QT += opengl widgets testlib SOURCES += tst_qglfunctions.cpp diff --git a/tests/auto/opengl/qglthreads/qglthreads.pro b/tests/auto/opengl/qglthreads/qglthreads.pro index d5cbd0d9ed..3502c41c87 100644 --- a/tests/auto/opengl/qglthreads/qglthreads.pro +++ b/tests/auto/opengl/qglthreads/qglthreads.pro @@ -1,6 +1,6 @@ CONFIG += testcase TARGET = tst_qglthreads -requires(contains(QT_CONFIG,opengl)) +requires(qtHaveModule(opengl)) QT += opengl widgets testlib gui-private core-private HEADERS += tst_qglthreads.h diff --git a/tests/auto/other/atwrapper/atWrapper.pro b/tests/auto/other/atwrapper/atWrapper.pro index d14293302e..1617ae89d1 100644 --- a/tests/auto/other/atwrapper/atWrapper.pro +++ b/tests/auto/other/atwrapper/atWrapper.pro @@ -6,7 +6,7 @@ DEFINES += SRCDIR=\\\"$$PWD\\\" QT += xml svg network testlib -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(opengl): QT += opengl include($$ARTHUR/datagenerator/datagenerator.pri) diff --git a/tests/auto/other/other.pro b/tests/auto/other/other.pro index eb6ed667a8..ea6290db42 100644 --- a/tests/auto/other/other.pro +++ b/tests/auto/other/other.pro @@ -26,7 +26,7 @@ SUBDIRS=\ qtokenautomaton \ windowsmobile \ -contains(QT_CONFIG, no-widgets): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ baselineexample \ gestures \ headersclean \ diff --git a/tests/auto/sql/models/models.pro b/tests/auto/sql/models/models.pro index c00ec2c935..2c3ae4ef0a 100644 --- a/tests/auto/sql/models/models.pro +++ b/tests/auto/sql/models/models.pro @@ -4,5 +4,5 @@ SUBDIRS=\ qsqlrelationaltablemodel \ qsqltablemodel \ -contains(QT_CONFIG, no-widgets): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qsqlquerymodel diff --git a/tests/auto/tools/moc/moc.pro b/tests/auto/tools/moc/moc.pro index d91ae378da..772086d3c4 100644 --- a/tests/auto/tools/moc/moc.pro +++ b/tests/auto/tools/moc/moc.pro @@ -31,7 +31,7 @@ SOURCES += tst_moc.cpp QT -= gui QT += sql network testlib -contains(QT_CONFIG, dbus){ +qtHaveModule(dbus) { DEFINES += WITH_DBUS QT += dbus } diff --git a/tests/auto/tools/tools.pro b/tests/auto/tools/tools.pro index 4cc3d62a43..9b4d2ca22a 100644 --- a/tests/auto/tools/tools.pro +++ b/tests/auto/tools/tools.pro @@ -5,4 +5,4 @@ SUBDIRS=\ moc \ rcc \ -contains(QT_CONFIG, dbus):SUBDIRS += qdbuscpp2xml qdbusxml2cpp +qtHaveModule(dbus): SUBDIRS += qdbuscpp2xml qdbusxml2cpp diff --git a/tests/auto/widgets/widgets/qmdiarea/qmdiarea.pro b/tests/auto/widgets/widgets/qmdiarea/qmdiarea.pro index 141392b251..cc2bcb3c30 100644 --- a/tests/auto/widgets/widgets/qmdiarea/qmdiarea.pro +++ b/tests/auto/widgets/widgets/qmdiarea/qmdiarea.pro @@ -6,7 +6,7 @@ QT += gui-private widgets testlib INCLUDEPATH += . SOURCES += tst_qmdiarea.cpp DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(opengl): QT += opengl mac { LIBS += -framework Security diff --git a/tests/benchmarks/benchmarks.pro b/tests/benchmarks/benchmarks.pro index e685c3d7b2..5fd8ff6368 100644 --- a/tests/benchmarks/benchmarks.pro +++ b/tests/benchmarks/benchmarks.pro @@ -5,8 +5,8 @@ SUBDIRS = \ network \ sql \ -# removed-by-refactor contains(QT_CONFIG, opengl): SUBDIRS += opengl -contains(QT_CONFIG, dbus): SUBDIRS += dbus +# removed-by-refactor qtHaveModule(opengl): SUBDIRS += opengl +qtHaveModule(dbus): SUBDIRS += dbus check-trusted.CONFIG += recursive QMAKE_EXTRA_TARGETS += check-trusted diff --git a/tests/benchmarks/corelib/kernel/kernel.pro b/tests/benchmarks/corelib/kernel/kernel.pro index a55135b74d..02eeeaa254 100644 --- a/tests/benchmarks/corelib/kernel/kernel.pro +++ b/tests/benchmarks/corelib/kernel/kernel.pro @@ -7,6 +7,6 @@ SUBDIRS = \ qvariant \ qcoreapplication -isEmpty(QT.widgets.name): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qmetaobject \ qobject diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index ef50a22d4d..74544519f3 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -6,7 +6,7 @@ CONFIG += release exceptions SOURCES += main.cpp RESOURCES += qregexp.qrc -!isEmpty(QT.script.name):!pcre { +qtHaveModule(script):!pcre { DEFINES += HAVE_JSC QT += script } diff --git a/tests/benchmarks/gui/animation/animation.pro b/tests/benchmarks/gui/animation/animation.pro index 1c9a7c3c08..76c1a49e5c 100644 --- a/tests/benchmarks/gui/animation/animation.pro +++ b/tests/benchmarks/gui/animation/animation.pro @@ -1,2 +1,2 @@ TEMPLATE = subdirs -!isEmpty(QT.widgets.name):SUBDIRS = qanimation +qtHaveModule(widgets): SUBDIRS = qanimation diff --git a/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/GraphicsViewBenchmark.pro b/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/GraphicsViewBenchmark.pro index b0bc021b0a..a6ed4b84fb 100644 --- a/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/GraphicsViewBenchmark.pro +++ b/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/GraphicsViewBenchmark.pro @@ -1,7 +1,7 @@ TEMPLATE = app QT += svg testlib -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(opengl): QT += opengl HEADERS += widgets/gvbwidget.h \ widgets/abstractscrollarea.h \ diff --git a/tests/benchmarks/gui/graphicsview/graphicsview.pro b/tests/benchmarks/gui/graphicsview/graphicsview.pro index f8ba062829..d89a00c4b9 100644 --- a/tests/benchmarks/gui/graphicsview/graphicsview.pro +++ b/tests/benchmarks/gui/graphicsview/graphicsview.pro @@ -8,7 +8,7 @@ SUBDIRS = \ qgraphicsview \ qgraphicswidget -isEmpty(QT.widgets.name): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qgraphicsanchorlayout \ qgraphicsitem \ qgraphicsscene \ diff --git a/tests/benchmarks/gui/graphicsview/qgraphicsview/benchapps/chipTest/chip.pro b/tests/benchmarks/gui/graphicsview/qgraphicsview/benchapps/chipTest/chip.pro index 759216d46d..4047bad1ca 100644 --- a/tests/benchmarks/gui/graphicsview/qgraphicsview/benchapps/chipTest/chip.pro +++ b/tests/benchmarks/gui/graphicsview/qgraphicsview/benchapps/chipTest/chip.pro @@ -4,7 +4,7 @@ HEADERS += mainwindow.h view.h chip.h SOURCES += main.cpp SOURCES += mainwindow.cpp view.cpp chip.cpp -contains(QT_CONFIG, opengl):QT += opengl +qtHaveModule(opengl): QT += opengl build_all:!build_pass { CONFIG -= build_all diff --git a/tests/benchmarks/gui/graphicsview/qgraphicsview/chiptester/chiptester.pri b/tests/benchmarks/gui/graphicsview/qgraphicsview/chiptester/chiptester.pri index 8d02504b73..105117de30 100644 --- a/tests/benchmarks/gui/graphicsview/qgraphicsview/chiptester/chiptester.pri +++ b/tests/benchmarks/gui/graphicsview/qgraphicsview/chiptester/chiptester.pri @@ -10,4 +10,4 @@ RESOURCES += \ chiptester/images.qrc QT += widgets -contains(QT_CONFIG, opengl) QT += opengl +qtHaveModule(opengl): QT += opengl diff --git a/tests/benchmarks/gui/gui.pro b/tests/benchmarks/gui/gui.pro index f4b84f0428..e943347938 100644 --- a/tests/benchmarks/gui/gui.pro +++ b/tests/benchmarks/gui/gui.pro @@ -17,5 +17,5 @@ TRUSTED_BENCHMARKS += \ include(../trusted-benchmarks.pri) -isEmpty(QT.widgets.name): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ itemviews diff --git a/tests/benchmarks/gui/image/image.pro b/tests/benchmarks/gui/image/image.pro index fa26f3ec4c..2d5db35a73 100644 --- a/tests/benchmarks/gui/image/image.pro +++ b/tests/benchmarks/gui/image/image.pro @@ -6,5 +6,5 @@ SUBDIRS = \ qpixmap \ qpixmapcache -isEmpty(QT.widgets.name): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qimagereader diff --git a/tests/benchmarks/gui/kernel/kernel.pro b/tests/benchmarks/gui/kernel/kernel.pro index 303eff9759..cd7235cff8 100644 --- a/tests/benchmarks/gui/kernel/kernel.pro +++ b/tests/benchmarks/gui/kernel/kernel.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs -!isEmpty(QT.widgets.name):SUBDIRS = \ +qtHaveModule(widgets): SUBDIRS = \ qapplication \ qwidget diff --git a/tests/benchmarks/gui/painting/painting.pro b/tests/benchmarks/gui/painting/painting.pro index e55222a2c2..b3fb34757c 100644 --- a/tests/benchmarks/gui/painting/painting.pro +++ b/tests/benchmarks/gui/painting/painting.pro @@ -6,7 +6,7 @@ SUBDIRS = \ qtracebench \ qtbench -isEmpty(QT.widgets.name): SUBDIRS -= \ +!qtHaveModule(widgets): SUBDIRS -= \ qpainter \ qtracebench \ qtbench diff --git a/tests/benchmarks/gui/styles/styles.pro b/tests/benchmarks/gui/styles/styles.pro index 8930de127b..2c1d10b48c 100644 --- a/tests/benchmarks/gui/styles/styles.pro +++ b/tests/benchmarks/gui/styles/styles.pro @@ -1,3 +1,3 @@ TEMPLATE = subdirs -!isEmpty(QT.widgets.name):SUBDIRS = \ +qtHaveModule(widgets): SUBDIRS = \ qstylesheetstyle diff --git a/tests/manual/lance/lance.pro b/tests/manual/lance/lance.pro index 6d1d7fa392..177ca0e40e 100644 --- a/tests/manual/lance/lance.pro +++ b/tests/manual/lance/lance.pro @@ -13,6 +13,6 @@ SOURCES += interactivewidget.cpp \ RESOURCES += icons.qrc \ $$LANCELOT_DIR/images.qrc -contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2):QT += opengl +qtHaveModule(opengl): QT += opengl DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 From e1a1e80d46bc0dd2e4acbdc50a5d8f8b4c21d218 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 26 Sep 2012 12:10:32 +0200 Subject: [PATCH 354/386] Make sure that the strict parser is also operating on setXxx These cases weren't handled before. The validateComponent function is copied from QUrlPrivate::parse, with the added modification that it now needs to check the gen-delims for the userinfo. Change-Id: I055167b977199fa86b56a3a7259a7445585129c6 Reviewed-by: David Faure (KDE) --- src/corelib/io/qurl.cpp | 189 ++++++++++++++++++------ tests/auto/corelib/io/qurl/tst_qurl.cpp | 78 ++++++++++ 2 files changed, 219 insertions(+), 48 deletions(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index cc907daa3a..a4e1c1e3e3 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -363,6 +363,7 @@ public: enum ErrorCode { // the high byte of the error code matches the Section + // the first item in each value must be the generic "Invalid xxx Error" InvalidSchemeError = Scheme << 8, InvalidUserNameError = UserName << 8, @@ -410,6 +411,9 @@ public: void clearError(); void setError(ErrorCode errorCode, const QString &source, int supplement = -1); ErrorCode validityError(QString *source = 0, int *position = 0) const; + bool validateComponent(Section section, const QString &input, int begin, int end); + bool validateComponent(Section section, const QString &input) + { return validateComponent(section, input, 0, uint(input.length())); } // no QString scheme() const; void appendAuthority(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const; @@ -895,58 +899,72 @@ inline void QUrlPrivate::setAuthority(const QString &auth, int from, int end, QU { sectionIsPresent &= ~Authority; sectionIsPresent |= Host; - if (from == end) { - userName.clear(); - password.clear(); - host.clear(); - port = -1; - return; - } - int userInfoIndex = auth.indexOf(QLatin1Char('@'), from); - if (uint(userInfoIndex) < uint(end)) { - setUserInfo(auth, from, userInfoIndex); - from = userInfoIndex + 1; - } - - int colonIndex = auth.lastIndexOf(QLatin1Char(':'), end - 1); - if (colonIndex < from) - colonIndex = -1; - - if (uint(colonIndex) < uint(end)) { - if (auth.at(from).unicode() == '[') { - // check if colonIndex isn't inside the "[...]" part - int closingBracket = auth.indexOf(QLatin1Char(']'), from); - if (uint(closingBracket) > uint(colonIndex)) - colonIndex = -1; - } - } - - if (colonIndex == end - 1) { - // found a colon but no digits after it - setError(PortEmptyError, auth, colonIndex + 1); - } else if (uint(colonIndex) < uint(end)) { - unsigned long x = 0; - for (int i = colonIndex + 1; i < end; ++i) { - ushort c = auth.at(i).unicode(); - if (c >= '0' && c <= '9') { - x *= 10; - x += c - '0'; - } else { - x = ulong(-1); // x != ushort(x) + // we never actually _loop_ + while (from != end) { + int userInfoIndex = auth.indexOf(QLatin1Char('@'), from); + if (uint(userInfoIndex) < uint(end)) { + setUserInfo(auth, from, userInfoIndex); + if (mode == QUrl::StrictMode && !validateComponent(UserInfo, auth, from, userInfoIndex)) break; + from = userInfoIndex + 1; + } + + int colonIndex = auth.lastIndexOf(QLatin1Char(':'), end - 1); + if (colonIndex < from) + colonIndex = -1; + + if (uint(colonIndex) < uint(end)) { + if (auth.at(from).unicode() == '[') { + // check if colonIndex isn't inside the "[...]" part + int closingBracket = auth.indexOf(QLatin1Char(']'), from); + if (uint(closingBracket) > uint(colonIndex)) + colonIndex = -1; } } - if (x == ushort(x)) { - port = ushort(x); - } else { - setError(InvalidPortError, auth, colonIndex + 1); - } - } else { - port = -1; - } - setHost(auth, from, qMin(end, colonIndex), mode); + if (colonIndex == end - 1) { + // found a colon but no digits after it + setError(PortEmptyError, auth, colonIndex + 1); + } else if (uint(colonIndex) < uint(end)) { + unsigned long x = 0; + for (int i = colonIndex + 1; i < end; ++i) { + ushort c = auth.at(i).unicode(); + if (c >= '0' && c <= '9') { + x *= 10; + x += c - '0'; + } else { + x = ulong(-1); // x != ushort(x) + break; + } + } + if (x == ushort(x)) { + port = ushort(x); + } else { + setError(InvalidPortError, auth, colonIndex + 1); + if (mode == QUrl::StrictMode) + break; + } + } else { + port = -1; + } + + setHost(auth, from, qMin(end, colonIndex), mode); + if (mode == QUrl::StrictMode && !validateComponent(Host, auth, from, qMin(end, colonIndex))) { + // clear host too + sectionIsPresent &= ~Authority; + break; + } + + // success + return; + } + // clear all sections but host + sectionIsPresent &= ~Authority | Host; + userName.clear(); + password.clear(); + host.clear(); + port = -1; } inline void QUrlPrivate::setUserInfo(const QString &userInfo, int from, int end) @@ -1519,6 +1537,67 @@ inline QUrlPrivate::ErrorCode QUrlPrivate::validityError(QString *source, int *p return NoError; } +bool QUrlPrivate::validateComponent(QUrlPrivate::Section section, const QString &input, + int begin, int end) +{ + // What we need to look out for, that the regular parser tolerates: + // - percent signs not followed by two hex digits + // - forbidden characters, which should always appear encoded + // '"' / '<' / '>' / '\' / '^' / '`' / '{' / '|' / '}' / BKSP + // control characters + // - delimiters not allowed in certain positions + // . scheme: parser is already strict + // . user info: gen-delims except ":" disallowed ("/" / "?" / "#" / "[" / "]" / "@") + // . host: parser is stricter than the standard + // . port: parser is stricter than the standard + // . path: all delimiters allowed + // . fragment: all delimiters allowed + // . query: all delimiters allowed + static const char forbidden[] = "\"<>\\^`{|}\x7F"; + static const char forbiddenUserInfo[] = ":/?#[]@"; + + Q_ASSERT(section != Authority && section != Hierarchy && section != FullUrl); + + const ushort *const data = reinterpret_cast(input.constData()); + for (uint i = uint(begin); i < uint(end); ++i) { + register uint uc = data[i]; + if (uc >= 0x80) + continue; + + bool error = false; + if ((uc == '%' && (uint(end) < i + 2 || !isHex(data[i + 1]) || !isHex(data[i + 2]))) + || uc <= 0x20 || strchr(forbidden, uc)) { + // found an error + error = true; + } else if (section & UserInfo) { + if (section == UserInfo && strchr(forbiddenUserInfo + 1, uc)) + error = true; + else if (section != UserInfo && strchr(forbiddenUserInfo, uc)) + error = true; + } + + if (!error) + continue; + + ErrorCode errorCode = ErrorCode(int(section) << 8); + if (section == UserInfo) { + // is it the user name or the password? + errorCode = InvalidUserNameError; + for (uint j = uint(begin); j < i; ++j) + if (data[j] == ':') { + errorCode = InvalidPasswordError; + break; + } + } + + setError(errorCode, input, i); + return false; + } + + // no errors + return true; +} + #if 0 inline void QUrlPrivate::validate() const { @@ -1954,6 +2033,10 @@ void QUrl::setUserInfo(const QString &userInfo, ParsingMode mode) // QUrlPrivate::setUserInfo cleared almost everything // but it leaves the UserName bit set d->sectionIsPresent &= ~QUrlPrivate::UserInfo; + } else if (mode == StrictMode && !d->validateComponent(QUrlPrivate::UserInfo, userInfo)) { + d->sectionIsPresent &= ~QUrlPrivate::UserInfo; + d->userName.clear(); + d->password.clear(); } } @@ -2010,10 +2093,11 @@ void QUrl::setUserName(const QString &userName, ParsingMode mode) mode = TolerantMode; } - d->setUserName(data, 0, data.length()); if (userName.isNull()) d->sectionIsPresent &= ~QUrlPrivate::UserName; + else if (mode == StrictMode && !d->validateComponent(QUrlPrivate::UserName, userName)) + d->userName.clear(); } /*! @@ -2105,6 +2189,8 @@ void QUrl::setPassword(const QString &password, ParsingMode mode) d->setPassword(data, 0, data.length()); if (password.isNull()) d->sectionIsPresent &= ~QUrlPrivate::Password; + else if (mode == StrictMode && !d->validateComponent(QUrlPrivate::Password, password)) + d->password.clear(); } /*! @@ -2354,6 +2440,9 @@ void QUrl::setPath(const QString &path, ParsingMode mode) // optimized out, since there is no path delimiter // if (path.isNull()) // d->sectionIsPresent &= ~QUrlPrivate::Path; +// else + if (mode == StrictMode && !d->validateComponent(QUrlPrivate::Path, path)) + d->path.clear(); } /*! @@ -2474,6 +2563,8 @@ void QUrl::setQuery(const QString &query, ParsingMode mode) d->setQuery(data, 0, data.length()); if (query.isNull()) d->sectionIsPresent &= ~QUrlPrivate::Query; + else if (mode == StrictMode && !d->validateComponent(QUrlPrivate::Query, query)) + d->query.clear(); } /*! @@ -2835,6 +2926,8 @@ void QUrl::setFragment(const QString &fragment, ParsingMode mode) d->setFragment(data, 0, data.length()); if (fragment.isNull()) d->sectionIsPresent &= ~QUrlPrivate::Fragment; + else if (mode == StrictMode && !d->validateComponent(QUrlPrivate::Fragment, fragment)) + d->fragment.clear(); } /*! diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index 971fe27f30..a45efce0db 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -3165,6 +3165,31 @@ void tst_QUrl::setComponents_data() << int(Scheme) << "http%61" << Strict << false << PrettyDecoded << "" << ""; + QTest::newRow("invalid-username-1") << QUrl("http://example.com") + << int(UserName) << "{}" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-username-2") << QUrl("http://example.com") + << int(UserName) << "foo/bar" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-username-3") << QUrl("http://example.com") + << int(UserName) << "foo:bar" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-password-1") << QUrl("http://example.com") + << int(Password) << "{}" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-password-2") << QUrl("http://example.com") + << int(Password) << "foo/bar" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-password-3") << QUrl("http://example.com") + << int(Password) << "foo:bar" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-userinfo-1") << QUrl("http://example.com") + << int(UserInfo) << "{}" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-userinfo-2") << QUrl("http://example.com") + << int(UserInfo) << "foo/bar" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-host-1") << QUrl("http://example.com") << int(Host) << "-not-valid-" << Tolerant << false << PrettyDecoded << "" << ""; @@ -3178,6 +3203,16 @@ void tst_QUrl::setComponents_data() << int(Authority) << "%31%30.%30.%30.%31" << Strict << false << PrettyDecoded << "" << ""; + QTest::newRow("invalid-path-0") << QUrl("http://example.com") + << int(Path) << "{}" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-query-1") << QUrl("http://example.com") + << int(Query) << "{}" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("invalid-fragment-1") << QUrl("http://example.com") + << int(Fragment) << "{}" << Strict << false + << PrettyDecoded << "" << ""; + // these test cases are "compound invalid": // they produces isValid == false, but the original is still available QTest::newRow("invalid-path-1") << QUrl("/relative") @@ -3187,6 +3222,49 @@ void tst_QUrl::setComponents_data() << int(Path) << "relative" << Strict << false << PrettyDecoded << "relative" << ""; + // -- test bad percent encoding -- + // unnecessary to test the scheme, since percent-decoding is not performed in it; + // see tests above + QTest::newRow("bad-percent-username") << QUrl("http://example.com") + << int(UserName) << "bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-password") << QUrl("http://user@example.com") + << int(Password) << "bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-userinfo-1") << QUrl("http://example.com") + << int(UserInfo) << "bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-userinfo-2") << QUrl("http://example.com") + << int(UserInfo) << "bar%:foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-userinfo-3") << QUrl("http://example.com") + << int(UserInfo) << "bar:%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-authority-1") << QUrl("http://example.com") + << int(Authority) << "bar%foo@example.org" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-authority-2") << QUrl("http://example.com") + << int(Authority) << "bar%:foo@example.org" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-authority-3") << QUrl("http://example.com") + << int(Authority) << "bar:%foo@example.org" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-authority-4") << QUrl("http://example.com") + << int(Authority) << "bar:foo@bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-host") << QUrl("http://example.com") + << int(Host) << "bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-path") << QUrl("http://example.com") + << int(Path) << "/bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-query") << QUrl("http://example.com") + << int(Query) << "bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + QTest::newRow("bad-percent-fragment") << QUrl("http://example.com") + << int(Fragment) << "bar%foo" << Strict << false + << PrettyDecoded << "" << ""; + // -- test decoded behaviour -- // '%' characters are not permitted in the scheme, this tests that it fails to set anything QTest::newRow("invalid-scheme-encode") << QUrl("http://example.com") From a2f63dfd7ac0e122c62cba5106496e147b912941 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 26 Sep 2012 12:23:21 +0200 Subject: [PATCH 355/386] Use the new QUrlPrivate::validateComponent validator in the main parser The code was copied from the main parser there, so remove the duplication. Change-Id: I85748f6f76b3097ff22958d9de67cfa27061a72b Reviewed-by: David Faure (KDE) --- src/corelib/io/qurl.cpp | 65 +++++++---------------------------------- 1 file changed, 11 insertions(+), 54 deletions(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index a4e1c1e3e3..494caf60d5 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -1315,61 +1315,18 @@ inline void QUrlPrivate::parse(const QString &url, QUrl::ParsingMode parsingMode if (error || parsingMode == QUrl::TolerantMode) return; - // The parsing so far was tolerant of errors, so the StrictMode - // parsing is actually implemented here, as an extra post-check. - // We only execute it if we haven't found any errors so far. + // The parsing so far was partially tolerant of errors, except for the + // scheme parser (which is always strict) and the authority (which was + // executed in strict mode). + // If we haven't found any errors so far, continue the strict-mode parsing + // from the path component onwards. - // What we need to look out for, that the regular parser tolerates: - // - percent signs not followed by two hex digits - // - forbidden characters, which should always appear encoded - // '"' / '<' / '>' / '\' / '^' / '`' / '{' / '|' / '}' / BKSP - // control characters - // - delimiters not allowed in certain positions - // . scheme: parser is already strict - // . user info: gen-delims (except for ':') disallowed - // . host: parser is stricter than the standard - // . port: parser is stricter than the standard - // . path: all delimiters allowed - // . fragment: all delimiters allowed - // . query: all delimiters allowed - // We would only need to check the user-info. However, the presence - // of the disallowed gen-delims changes the parsing, so we don't - // actually need to do anything - static const char forbidden[] = "\"<>\\^`{|}\x7F"; - for (uint i = 0; i < uint(len); ++i) { - register uint uc = data[i]; - if (uc >= 0x80) - continue; - - if ((uc == '%' && (uint(len) < i + 2 || !isHex(data[i + 1]) || !isHex(data[i + 2]))) - || uc <= 0x20 || strchr(forbidden, uc)) { - // found an error - ErrorCode errorCode; - - // where are we? - if (i > uint(hash)) { - errorCode = InvalidFragmentError; - } else if (i > uint(question)) { - errorCode = InvalidQueryError; - } else if (i > uint(pathStart)) { - // pathStart is never -1 - errorCode = InvalidPathError; - } else { - // It must be in the authority, since the scheme is strict. - // Since the port and hostname parsers are also strict, - // the error can only have happened in the user info. - int pos = url.indexOf(QLatin1Char(':'), hierStart); - if (i > uint(pos)) { - errorCode = InvalidPasswordError; - } else { - errorCode = InvalidUserNameError; - } - } - - setError(errorCode, url, i); - return; - } - } + if (!validateComponent(Path, url, pathStart, hierEnd)) + return; + if (uint(question) < uint(hash) && !validateComponent(Query, url, question + 1, qMin(hash, len))) + return; + if (hash != -1) + validateComponent(Fragment, url, hash + 1, len); } /* From 7426102c734509269701a1e1dfaecfd76143294f Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Thu, 20 Dec 2012 12:31:53 +0100 Subject: [PATCH 356/386] Bump Qt version to 5.0.1 Change-Id: Ie8f437b8dfe8a67c7b34321439dd988a02612437 Reviewed-by: Thiago Macieira --- dist/changes-5.0.1 | 115 +++++++++++++++++++ src/concurrent/doc/qtconcurrent.qdocconf | 10 +- src/corelib/doc/qtcore.qdocconf | 10 +- src/corelib/global/qglobal.h | 4 +- src/dbus/doc/qtdbus.qdocconf | 2 +- src/gui/doc/qtgui.qdocconf | 10 +- src/network/doc/qtnetwork.qdocconf | 10 +- src/opengl/doc/qtopengl.qdocconf | 2 +- src/printsupport/doc/qtprintsupport.qdocconf | 10 +- src/sql/doc/qtsql.qdocconf | 10 +- src/testlib/doc/qttestlib.qdocconf | 10 +- src/widgets/doc/qtwidgets.qdocconf | 10 +- src/xml/doc/qtxml.qdocconf | 10 +- 13 files changed, 164 insertions(+), 49 deletions(-) create mode 100644 dist/changes-5.0.1 diff --git a/dist/changes-5.0.1 b/dist/changes-5.0.1 new file mode 100644 index 0000000000..479ac344ce --- /dev/null +++ b/dist/changes-5.0.1 @@ -0,0 +1,115 @@ +Qt 5.0.1 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.0.0. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + + http://qt-project.org/doc/qt-5.0/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + + http://bugreports.qt-project.org/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + + +**************************************************************************** +* General * +**************************************************************************** + +General Improvements +-------------------- + +Third party components +---------------------- + +Legal +----- + + +**************************************************************************** +* Library * +**************************************************************************** + + +QtCore +----- + +QtGui +----- + +QtWidgets +--------- + +QtNetwork +--------- + +QtDBus +------ + +QtConcurrent +------------ + +QtOpenGL +-------- + +QtScript +-------- + +QTestLib +-------- + +QtSql +----- + +**************************************************************************** +* Database Drivers * +**************************************************************************** + +sqlite +------ + +postgres +-------- + +**************************************************************************** +* Platform Specific Changes * +**************************************************************************** + +Qt for Linux/X11 +---------------- + +Qt for Windows +-------------- + +Qt for Mac OS X +--------------- + +Qt for Embedded Linux +--------------------- + +Qt for Windows CE +----------------- + + +**************************************************************************** +* Compiler Specific Changes * +**************************************************************************** + + +**************************************************************************** +* Tools * +**************************************************************************** + + +**************************************************************************** +* Plugins * +**************************************************************************** + + +**************************************************************************** +* Important Behavior Changes * +**************************************************************************** + diff --git a/src/concurrent/doc/qtconcurrent.qdocconf b/src/concurrent/doc/qtconcurrent.qdocconf index 30fdcad847..442f69372c 100644 --- a/src/concurrent/doc/qtconcurrent.qdocconf +++ b/src/concurrent/doc/qtconcurrent.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtConcurrent description = Qt Concurrent Reference Documentation url = http://qt-project.org/doc/qtconcurrent -version = 5.0.0 +version = 5.0.1 examplesinstallpath = qtconcurrent qhp.projects = QtConcurrent qhp.QtConcurrent.file = qtconcurrent.qhp -qhp.QtConcurrent.namespace = org.qt-project.qtconcurrent.500 +qhp.QtConcurrent.namespace = org.qt-project.qtconcurrent.501 qhp.QtConcurrent.virtualFolder = qtconcurrent qhp.QtConcurrent.indexTitle = Qt Concurrent qhp.QtConcurrent.indexRoot = -qhp.QtConcurrent.filterAttributes = qtconcurrent 5.0.0 qtrefdoc -qhp.QtConcurrent.customFilters.Qt.name = QtConcurrent 5.0.0 -qhp.QtConcurrent.customFilters.Qt.filterAttributes = qtconcurrent 5.0.0 +qhp.QtConcurrent.filterAttributes = qtconcurrent 5.0.1 qtrefdoc +qhp.QtConcurrent.customFilters.Qt.name = QtConcurrent 5.0.1 +qhp.QtConcurrent.customFilters.Qt.filterAttributes = qtconcurrent 5.0.1 qhp.QtConcurrent.subprojects = classes qhp.QtConcurrent.subprojects.classes.title = C++ Classes diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index 7e6d06eaa6..61c9d2bc00 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtCore description = Qt Core Reference Documentation url = http://qt-project.org/doc/qtcore -version = 5.0.0 +version = 5.0.1 examplesinstallpath = core qhp.projects = QtCore qhp.QtCore.file = qtcore.qhp -qhp.QtCore.namespace = org.qt-project.qtcore.500 +qhp.QtCore.namespace = org.qt-project.qtcore.501 qhp.QtCore.virtualFolder = qtcore qhp.QtCore.indexTitle = Qt Core qhp.QtCore.indexRoot = -qhp.QtCore.filterAttributes = qtcore 5.0.0 qtrefdoc -qhp.QtCore.customFilters.Qt.name = QtCore 5.0.0 -qhp.QtCore.customFilters.Qt.filterAttributes = qtcore 5.0.0 +qhp.QtCore.filterAttributes = qtcore 5.0.1 qtrefdoc +qhp.QtCore.customFilters.Qt.name = QtCore 5.0.1 +qhp.QtCore.customFilters.Qt.filterAttributes = qtcore 5.0.1 qhp.QtCore.subprojects = classes qhp.QtCore.subprojects.classes.title = C++ Classes qhp.QtCore.subprojects.classes.indexTitle = Qt Core C++ Classes diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 6c2900e215..48cc477d51 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -45,11 +45,11 @@ #include -#define QT_VERSION_STR "5.0.0" +#define QT_VERSION_STR "5.0.1" /* QT_VERSION is (major << 16) + (minor << 8) + patch. */ -#define QT_VERSION 0x050000 +#define QT_VERSION 0x050001 /* can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0)) */ diff --git a/src/dbus/doc/qtdbus.qdocconf b/src/dbus/doc/qtdbus.qdocconf index 8915e1ee2e..7a58dada63 100644 --- a/src/dbus/doc/qtdbus.qdocconf +++ b/src/dbus/doc/qtdbus.qdocconf @@ -36,7 +36,7 @@ qhp.qtdbus.file = qtdbus.qhp # Namespace for the output file. This namespace is used to distinguish between # different documentation files in Creator/Assistant. -qhp.qtdbus.namespace = org.qt-project.qtdbus.500 +qhp.qtdbus.namespace = org.qt-project.qtdbus.501 # Title for the package, will be the main title for the package in # Assistant/Creator. diff --git a/src/gui/doc/qtgui.qdocconf b/src/gui/doc/qtgui.qdocconf index f58b4faf9f..a46aa9b3d1 100644 --- a/src/gui/doc/qtgui.qdocconf +++ b/src/gui/doc/qtgui.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtGui description = Qt GUI Reference Documentation url = http://qt-project.org/doc/qtgui -version = 5.0.0 +version = 5.0.1 examplesinstallpath = gui qhp.projects = QtGui qhp.QtGui.file = qtgui.qhp -qhp.QtGui.namespace = org.qt-project.qtgui.500 +qhp.QtGui.namespace = org.qt-project.qtgui.501 qhp.QtGui.virtualFolder = qtgui qhp.QtGui.indexTitle = Qt GUI qhp.QtGui.indexRoot = -qhp.QtGui.filterAttributes = qtgui 5.0.0 qtrefdoc -qhp.QtGui.customFilters.Qt.name = Qtgui 5.0.0 -qhp.QtGui.customFilters.Qt.filterAttributes = qtgui 5.0.0 +qhp.QtGui.filterAttributes = qtgui 5.0.1 qtrefdoc +qhp.QtGui.customFilters.Qt.name = Qtgui 5.0.1 +qhp.QtGui.customFilters.Qt.filterAttributes = qtgui 5.0.1 qhp.QtGui.subprojects = classes qhp.QtGui.subprojects.classes.title = C++ Classes diff --git a/src/network/doc/qtnetwork.qdocconf b/src/network/doc/qtnetwork.qdocconf index 17aa5e4251..702338e224 100644 --- a/src/network/doc/qtnetwork.qdocconf +++ b/src/network/doc/qtnetwork.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtNetwork description = Qt Network Reference Documentation url = http://qt-project.org/doc/qtnetwork -version = 5.0.0 +version = 5.0.1 examplesinstallpath = network qhp.projects = QtNetwork qhp.QtNetwork.file = qtnetwork.qhp -qhp.QtNetwork.namespace = org.qt-project.qtnetwork.500 +qhp.QtNetwork.namespace = org.qt-project.qtnetwork.501 qhp.QtNetwork.virtualFolder = qtnetwork qhp.QtNetwork.indexTitle = Qt Network qhp.QtNetwork.indexRoot = -qhp.QtNetwork.filterAttributes = qtnetwork 5.0.0 qtrefdoc -qhp.QtNetwork.customFilters.Qt.name = QtNetwork 5.0.0 -qhp.QtNetwork.customFilters.Qt.filterAttributes = qtnetwork 5.0.0 +qhp.QtNetwork.filterAttributes = qtnetwork 5.0.1 qtrefdoc +qhp.QtNetwork.customFilters.Qt.name = QtNetwork 5.0.1 +qhp.QtNetwork.customFilters.Qt.filterAttributes = qtnetwork 5.0.1 qhp.QtNetwork.subprojects = classes qhp.QtNetwork.subprojects.classes.title = C++ Classes diff --git a/src/opengl/doc/qtopengl.qdocconf b/src/opengl/doc/qtopengl.qdocconf index 9ba0c1a797..131fdb8968 100644 --- a/src/opengl/doc/qtopengl.qdocconf +++ b/src/opengl/doc/qtopengl.qdocconf @@ -39,7 +39,7 @@ qhp.qtopengl.file = qtopengl.qhp # Namespace for the output file. This namespace is used to distinguish between # different documentation files in Creator/Assistant. -qhp.qtopengl.namespace = org.qt-project.qtopengl.500 +qhp.qtopengl.namespace = org.qt-project.qtopengl.501 # Title for the package, will be the main title for the package in # Assistant/Creator. diff --git a/src/printsupport/doc/qtprintsupport.qdocconf b/src/printsupport/doc/qtprintsupport.qdocconf index 98160f3d5d..1a4d37ae49 100644 --- a/src/printsupport/doc/qtprintsupport.qdocconf +++ b/src/printsupport/doc/qtprintsupport.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtPrintSupport description = Qt Print Support Reference Documentation url = http://qt-project.org/doc/qtprintsupport -version = 5.0.0 +version = 5.0.1 examplesinstallpath = printsupport qhp.projects = QtPrintSupport qhp.QtPrintSupport.file = qtprintsupport.qhp -qhp.QtPrintSupport.namespace = org.qt-project.qtprintsupport.500 +qhp.QtPrintSupport.namespace = org.qt-project.qtprintsupport.501 qhp.QtPrintSupport.virtualFolder = qtprintsupport qhp.QtPrintSupport.indexTitle = Qt Print Support qhp.QtPrintSupport.indexRoot = -qhp.QtPrintSupport.filterAttributes = qtprintsupport 5.0.0 qtrefdoc -qhp.QtPrintSupport.customFilters.Qt.name = QtPrintSupport 5.0.0 -qhp.QtPrintSupport.customFilters.Qt.filterAttributes = qtprintsupport 5.0.0 +qhp.QtPrintSupport.filterAttributes = qtprintsupport 5.0.1 qtrefdoc +qhp.QtPrintSupport.customFilters.Qt.name = QtPrintSupport 5.0.1 +qhp.QtPrintSupport.customFilters.Qt.filterAttributes = qtprintsupport 5.0.1 qhp.QtPrintSupport.subprojects = classes qhp.QtPrintSupport.subprojects.classes.title = C++ Classes diff --git a/src/sql/doc/qtsql.qdocconf b/src/sql/doc/qtsql.qdocconf index 61573d542c..6c5af37de8 100644 --- a/src/sql/doc/qtsql.qdocconf +++ b/src/sql/doc/qtsql.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtSql description = Qt SQL Reference Documentation url = http://qt-project.org/doc/qtsql -version = 5.0.0 +version = 5.0.1 examplesinstallpath = sql qhp.projects = QtSql qhp.QtSql.file = qtsql.qhp -qhp.QtSql.namespace = org.qt-project.qtsql.500 +qhp.QtSql.namespace = org.qt-project.qtsql.501 qhp.QtSql.virtualFolder = qtsql qhp.QtSql.indexTitle = Qt SQL qhp.QtSql.indexRoot = -qhp.QtSql.filterAttributes = qtsql 5.0.0 qtrefdoc -qhp.QtSql.customFilters.Qt.name = QtSql 5.0.0 -qhp.QtSql.customFilters.Qt.filterAttributes = qtsql 5.0.0 +qhp.QtSql.filterAttributes = qtsql 5.0.1 qtrefdoc +qhp.QtSql.customFilters.Qt.name = QtSql 5.0.1 +qhp.QtSql.customFilters.Qt.filterAttributes = qtsql 5.0.1 qhp.QtSql.subprojects = classes qhp.QtSql.subprojects.classes.title = C++ Classes diff --git a/src/testlib/doc/qttestlib.qdocconf b/src/testlib/doc/qttestlib.qdocconf index d83ebfefe2..2a2a1e4ea0 100644 --- a/src/testlib/doc/qttestlib.qdocconf +++ b/src/testlib/doc/qttestlib.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtTestLib description = Qt Test Reference Documentation url = http://qt-project.org/doc/qttestlib -version = 5.0.0 +version = 5.0.1 examplesinstallpath = testlib qhp.projects = QtTestLib qhp.QtTestLib.file = qttestlib.qhp -qhp.QtTestLib.namespace = org.qt-project.qttest.500 +qhp.QtTestLib.namespace = org.qt-project.qttest.501 qhp.QtTestLib.virtualFolder = qttest qhp.QtTestLib.indexTitle = Qt Test qhp.QtTestLib.indexRoot = -qhp.QtTestLib.filterAttributes = qttestlib 5.0.0 qtrefdoc -qhp.QtTestLib.customFilters.Qt.name = QtTestLib 5.0.0 -qhp.QtTestLib.customFilters.Qt.filterAttributes = qttest 5.0.0 +qhp.QtTestLib.filterAttributes = qttestlib 5.0.1 qtrefdoc +qhp.QtTestLib.customFilters.Qt.name = QtTestLib 5.0.1 +qhp.QtTestLib.customFilters.Qt.filterAttributes = qttest 5.0.1 qhp.QtTestLib.subprojects = classes qhp.QtTestLib.subprojects.classes.title = C++ Classes diff --git a/src/widgets/doc/qtwidgets.qdocconf b/src/widgets/doc/qtwidgets.qdocconf index b4bd262c26..062adc7f7c 100644 --- a/src/widgets/doc/qtwidgets.qdocconf +++ b/src/widgets/doc/qtwidgets.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtWidgets description = Qt Widgets Reference Documentation url = http://qt-project.org/doc/qtwidgets -version = 5.0.0 +version = 5.0.1 examplesinstallpath = widgets qhp.projects = QtWidgets qhp.QtWidgets.file = qtwidgets.qhp -qhp.QtWidgets.namespace = org.qt-project.qtwidgets.500 +qhp.QtWidgets.namespace = org.qt-project.qtwidgets.501 qhp.QtWidgets.virtualFolder = qtwidgets qhp.QtWidgets.indexTitle = Qt Widgets qhp.QtWidgets.indexRoot = -qhp.QtWidgets.filterAttributes = qtwidgets 5.0.0 qtrefdoc -qhp.QtWidgets.customFilters.Qt.name = QtWidgets 5.0.0 -qhp.QtWidgets.customFilters.Qt.filterAttributes = qtwidgets 5.0.0 +qhp.QtWidgets.filterAttributes = qtwidgets 5.0.1 qtrefdoc +qhp.QtWidgets.customFilters.Qt.name = QtWidgets 5.0.1 +qhp.QtWidgets.customFilters.Qt.filterAttributes = qtwidgets 5.0.1 qhp.QtWidgets.subprojects = classes qhp.QtWidgets.subprojects.classes.title = C++ Classes diff --git a/src/xml/doc/qtxml.qdocconf b/src/xml/doc/qtxml.qdocconf index 3796e4d53e..bf77059a02 100644 --- a/src/xml/doc/qtxml.qdocconf +++ b/src/xml/doc/qtxml.qdocconf @@ -3,21 +3,21 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) project = QtXml description = Qt XML Reference Documentation url = http://qt-project.org/doc/qtxml -version = 5.0.0 +version = 5.0.1 examplesinstallpath = xml qhp.projects = QtXml qhp.QtXml.file = qtxml.qhp -qhp.QtXml.namespace = org.qt-project.qtxml.500 +qhp.QtXml.namespace = org.qt-project.qtxml.501 qhp.QtXml.virtualFolder = qtxml qhp.QtXml.indexTitle = Qt XML qhp.QtXml.indexRoot = -qhp.QtXml.filterAttributes = qtxml 5.0.0 qtrefdoc -qhp.QtXml.customFilters.Qt.name = QtXml 5.0.0 -qhp.QtXml.customFilters.Qt.filterAttributes = qtxml 5.0.0 +qhp.QtXml.filterAttributes = qtxml 5.0.1 qtrefdoc +qhp.QtXml.customFilters.Qt.name = QtXml 5.0.1 +qhp.QtXml.customFilters.Qt.filterAttributes = qtxml 5.0.1 qhp.QtXml.subprojects = classes qhp.QtXml.subprojects.classes.title = C++ Classes From 2ebb71468642b7ba3360d5169c0a7e5b3178c4dc Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 19:36:12 -0800 Subject: [PATCH 357/386] Fix warning about unused variable in QtPlatformSupport GCC was complaining: qevdevtouch.cpp:475:13: error: 'maxId' may be used uninitialized in this function [-Werror=maybe-uninitialized] Which got me scratching my head: maxId was unconditionally initialised. How could GCC be complaining about it being uninitialised? Well, turns out that bestId could be uninitialised and the code does: if (bestId > maxId) maxId = bestId; Of course, if bestId was uninitialised, the warning should have been in the "if" line first. Change-Id: I5e174ab2957d76ad040c14fa6ef8535129b6dce3 Reviewed-by: Laszlo Agocs --- src/platformsupport/input/evdevtouch/qevdevtouch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platformsupport/input/evdevtouch/qevdevtouch.cpp b/src/platformsupport/input/evdevtouch/qevdevtouch.cpp index 9dd607b425..042d7547b6 100644 --- a/src/platformsupport/input/evdevtouch/qevdevtouch.cpp +++ b/src/platformsupport/input/evdevtouch/qevdevtouch.cpp @@ -457,7 +457,7 @@ void QEvdevTouchScreenData::assignIds() int maxId = -1; QHash::iterator it, ite, bestMatch; while (!pending.isEmpty() && !candidates.isEmpty()) { - int bestDist = -1, bestId; + int bestDist = -1, bestId = 0; for (it = pending.begin(), ite = pending.end(); it != ite; ++it) { int dist; int id = findClosestContact(candidates, it->x, it->y, &dist); From 69627730eaf3a024186e2f2dad1842aa32d9ccb8 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Thu, 20 Dec 2012 19:20:27 +0100 Subject: [PATCH 358/386] Fix QSqlQuery test in relation to PSQL support Some things needed to be corrected for testing with PSQL, this was checked against the the PostgreSQL documentation to confirm that the exepected behaviour is correct. Change-Id: I45a6b343e9eb920fcae2a62910ecc956abcac0f0 Reviewed-by: Mark Brand --- .../sql/kernel/qsqldatabase/tst_databases.h | 7 ++++ .../sql/kernel/qsqlquery/tst_qsqlquery.cpp | 35 +++++++++++-------- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/tests/auto/sql/kernel/qsqldatabase/tst_databases.h b/tests/auto/sql/kernel/qsqldatabase/tst_databases.h index fee1d006b2..f20b2dae2a 100644 --- a/tests/auto/sql/kernel/qsqldatabase/tst_databases.h +++ b/tests/auto/sql/kernel/qsqldatabase/tst_databases.h @@ -463,6 +463,13 @@ public: return "blob"; } + static QString dateTimeTypeName(QSqlDatabase db) + { + if (db.driverName().startsWith("QPSQL")) + return QLatin1String("timestamp"); + return QLatin1String("datetime"); + } + static QString autoFieldName( QSqlDatabase db ) { if ( db.driverName().startsWith( "QMYSQL" ) ) diff --git a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp index 879396a5bf..d6216ee8f3 100644 --- a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp +++ b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp @@ -3406,7 +3406,7 @@ void tst_QSqlQuery::QTBUG_2192() tst_Databases::safeDropTable( db, tableName ); QSqlQuery q(db); - QVERIFY_SQL(q, exec("CREATE TABLE " + tableName + " (dt DATETIME)")); + QVERIFY_SQL(q, exec(QString("CREATE TABLE " + tableName + " (dt %1)").arg(tst_Databases::dateTimeTypeName(db)))); QVERIFY_SQL(q, prepare("INSERT INTO " + tableName + " (dt) VALUES (?)")); q.bindValue(0, QVariant(QDateTime(QDate(2012, 7, 4), QTime(23, 59, 59, 999)))); @@ -3578,6 +3578,10 @@ void tst_QSqlQuery::aggregateFunctionTypes() QFETCH(QString, dbName); QSqlDatabase db = QSqlDatabase::database(dbName); CHECK_DATABASE(db); + QVariant::Type intType = QVariant::Int; + // QPSQL uses LongLong for manipulation of integers + if (db.driverName().startsWith("QPSQL")) + intType = QVariant::LongLong; { const QString tableName(qTableName("numericFunctionsWithIntValues", __FILE__)); tst_Databases::safeDropTable( db, tableName ); @@ -3591,7 +3595,7 @@ void tst_QSqlQuery::aggregateFunctionTypes() if (db.driverName().startsWith("QSQLITE")) QCOMPARE(q.record().field(0).type(), QVariant::Invalid); else - QCOMPARE(q.record().field(0).type(), QVariant::Int); + QCOMPARE(q.record().field(0).type(), intType); QVERIFY_SQL(q, exec("INSERT INTO " + tableName + " (id) VALUES (1)")); QVERIFY_SQL(q, exec("INSERT INTO " + tableName + " (id) VALUES (2)")); @@ -3599,11 +3603,11 @@ void tst_QSqlQuery::aggregateFunctionTypes() QVERIFY_SQL(q, exec("SELECT SUM(id) FROM " + tableName)); QVERIFY(q.next()); QCOMPARE(q.value(0).toInt(), 3); - QCOMPARE(q.record().field(0).type(), QVariant::Int); + QCOMPARE(q.record().field(0).type(), intType); QVERIFY_SQL(q, exec("SELECT AVG(id) FROM " + tableName)); QVERIFY(q.next()); - if (db.driverName().startsWith("QSQLITE")) { + if (db.driverName().startsWith("QSQLITE") || db.driverName().startsWith("QPSQL")) { QCOMPARE(q.value(0).toDouble(), 1.5); QCOMPARE(q.record().field(0).type(), QVariant::Double); } else { @@ -3614,7 +3618,7 @@ void tst_QSqlQuery::aggregateFunctionTypes() QVERIFY_SQL(q, exec("SELECT COUNT(id) FROM " + tableName)); QVERIFY(q.next()); QCOMPARE(q.value(0).toInt(), 2); - QCOMPARE(q.record().field(0).type(), QVariant::Int); + QCOMPARE(q.record().field(0).type(), intType); QVERIFY_SQL(q, exec("SELECT MIN(id) FROM " + tableName)); QVERIFY(q.next()); @@ -3657,7 +3661,7 @@ void tst_QSqlQuery::aggregateFunctionTypes() QVERIFY_SQL(q, exec("SELECT COUNT(id) FROM " + tableName)); QVERIFY(q.next()); QCOMPARE(q.value(0).toInt(), 2); - QCOMPARE(q.record().field(0).type(), QVariant::Int); + QCOMPARE(q.record().field(0).type(), intType); QVERIFY_SQL(q, exec("SELECT MIN(id) FROM " + tableName)); QVERIFY(q.next()); @@ -3669,15 +3673,18 @@ void tst_QSqlQuery::aggregateFunctionTypes() QCOMPARE(q.value(0).toDouble(), 2.5); QCOMPARE(q.record().field(0).type(), QVariant::Double); - QVERIFY_SQL(q, exec("SELECT ROUND(id, 1) FROM " + tableName + " WHERE id=1.5")); - QVERIFY(q.next()); - QCOMPARE(q.value(0).toDouble(), 1.5); - QCOMPARE(q.record().field(0).type(), QVariant::Double); + // PSQL does not have support for the round() function + if (!db.driverName().startsWith("QPSQL")) { + QVERIFY_SQL(q, exec("SELECT ROUND(id, 1) FROM " + tableName + " WHERE id=1.5")); + QVERIFY(q.next()); + QCOMPARE(q.value(0).toDouble(), 1.5); + QCOMPARE(q.record().field(0).type(), QVariant::Double); - QVERIFY_SQL(q, exec("SELECT ROUND(id, 0) FROM " + tableName + " WHERE id=2.5")); - QVERIFY(q.next()); - QCOMPARE(q.value(0).toDouble(), 3.0); - QCOMPARE(q.record().field(0).type(), QVariant::Double); + QVERIFY_SQL(q, exec("SELECT ROUND(id, 0) FROM " + tableName + " WHERE id=2.5")); + QVERIFY(q.next()); + QCOMPARE(q.value(0).toDouble(), 3.0); + QCOMPARE(q.record().field(0).type(), QVariant::Double); + } } { const QString tableName(qTableName("stringFunctions", __FILE__)); From 8b2728ec382565c5bd57148600e34740a3c3fe52 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 21 Dec 2012 17:38:19 +0100 Subject: [PATCH 359/386] QUrl::fromUserInput: fix for urls without a host. QUrl::fromUserInput("http://") was invalid, which doesn't make sense since QUrl("http://") is valid. Same for "smb:" which is actually even more a valid URL from a user's point of view. Change-Id: I371ac393d61b49499edf5adbbc2a90b426fe9e5d Reviewed-by: Marco Martin Reviewed-by: Thiago Macieira --- src/corelib/io/qurl.cpp | 3 +-- tests/auto/corelib/io/qurl/tst_qurl.cpp | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 494caf60d5..2a439b3a7c 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3878,12 +3878,11 @@ QUrl QUrl::fromUserInput(const QString &userInput) QUrl url = QUrl(trimmedString, QUrl::TolerantMode); QUrl urlPrepended = QUrl(QStringLiteral("http://") + trimmedString, QUrl::TolerantMode); - // Check the most common case of a valid url with scheme and host + // Check the most common case of a valid url with a scheme // We check if the port would be valid by adding the scheme to handle the case host:port // where the host would be interpretted as the scheme if (url.isValid() && !url.scheme().isEmpty() - && (!url.host().isEmpty() || !url.path().isEmpty()) && urlPrepended.port() == -1) return adjustFtpPath(url); diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index a45efce0db..ec402dd986 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -2617,6 +2617,10 @@ void tst_QUrl::fromUserInput_data() QTest::newRow("add scheme-2") << "ftp.example.org" << QUrl("ftp://ftp.example.org"); QTest::newRow("add scheme-3") << "hostname" << QUrl("http://hostname"); + // no host + QTest::newRow("nohost-1") << "http://" << QUrl("http://"); + QTest::newRow("nohost-2") << "smb:" << QUrl("smb:"); + // QUrl's tolerant parser should already handle this QTest::newRow("not-encoded-0") << "http://example.org/test page.html" << QUrl::fromEncoded("http://example.org/test%20page.html"); From 96b48ee0cbd7261c11215226f8dcdfb07fa6ab77 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 19:11:58 -0800 Subject: [PATCH 360/386] Fix warning about unused variable in qdoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit codeparser.cpp:245:18: error: unused variable ‘dn’ [-Werror=unused-variable] Change-Id: Id271b3829ba3278e80d4e79746db7aabfabd751a Reviewed-by: Olivier Goffart --- src/tools/qdoc/codeparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qdoc/codeparser.cpp b/src/tools/qdoc/codeparser.cpp index 5fb4909f44..9569081ec4 100644 --- a/src/tools/qdoc/codeparser.cpp +++ b/src/tools/qdoc/codeparser.cpp @@ -242,7 +242,7 @@ void CodeParser::processCommonMetaCommand(const Location& location, else if ((command == COMMAND_INGROUP) || (command == COMMAND_INPUBLICGROUP)) { // Note: \ingroup and \inpublicgroup are now the same. // Not that they were ever different. - DocNode* dn = qdb_->addToGroup(arg.first, node); + qdb_->addToGroup(arg.first, node); } else if (command == COMMAND_INMODULE) { qdb_->addToModule(arg.first,node); From 9ea57542919618f6d6b588e2110952730c7866f1 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 00:47:47 -0800 Subject: [PATCH 361/386] Fix Clang warning about memcpy a class with vtables Change-Id: I7966014a49cdf4c6c82f012d8b1d16ba8ddc3fcc Reviewed-by: Olivier Goffart --- src/corelib/tools/qlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qlist.h b/src/corelib/tools/qlist.h index f5858bf22a..0d4c10fecd 100644 --- a/src/corelib/tools/qlist.h +++ b/src/corelib/tools/qlist.h @@ -368,7 +368,7 @@ Q_INLINE_TEMPLATE void QList::node_construct(Node *n, const T &t) else *reinterpret_cast(n) = t; #else // This is always safe, but penaltizes unoptimized builds a lot. - else ::memcpy(n, &t, sizeof(T)); + else ::memcpy(n, static_cast(&t), sizeof(T)); #endif } From 96d06124a1da7e2bbd8bda2fc8e762cb46af8204 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:31:04 -0800 Subject: [PATCH 362/386] Fix standalone header compilation qtconcurrentfunctionwrappers.h:277:22: error: 'QStringList' was not declared in this scope Change-Id: I54c48386d90146c872679672a1d8cc3675d49c39 Reviewed-by: Olivier Goffart --- src/concurrent/qtconcurrentfunctionwrappers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/concurrent/qtconcurrentfunctionwrappers.h b/src/concurrent/qtconcurrentfunctionwrappers.h index 59a29d4653..734aa2a06d 100644 --- a/src/concurrent/qtconcurrentfunctionwrappers.h +++ b/src/concurrent/qtconcurrentfunctionwrappers.h @@ -43,6 +43,7 @@ #define QTCONCURRENT_FUNCTIONWRAPPERS_H #include +#include #ifndef QT_NO_CONCURRENT From 3adbcb58d590c48e5799bce7ded0157c26460f6c Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 11:41:30 -0800 Subject: [PATCH 363/386] Fix QMutex::tryLock with negative values The Linux futex implementation had a Q_ASSERT for positive values, but the documentation says that negative values should be interpreted as infinite (equal to lock()). Test that too. Change-Id: I2f96a502d672732781e88e49797756ca9a809121 Reviewed-by: David Faure (KDE) Reviewed-by: Olivier Goffart --- src/corelib/thread/qmutex_linux.cpp | 5 +- .../auto/corelib/thread/qmutex/tst_qmutex.cpp | 51 +++++++++++++++++++ 2 files changed, 53 insertions(+), 3 deletions(-) diff --git a/src/corelib/thread/qmutex_linux.cpp b/src/corelib/thread/qmutex_linux.cpp index 4f70014acb..94aec0ede0 100644 --- a/src/corelib/thread/qmutex_linux.cpp +++ b/src/corelib/thread/qmutex_linux.cpp @@ -187,7 +187,7 @@ bool lockInternal_helper(QBasicAtomicPointer &d_ptr, int timeout = - struct timespec ts, *pts = 0; QElapsedTimer elapsedTimer; checkElapsedTimerIsTrivial(); - if (IsTimed) { + if (IsTimed && timeout > 0) { ts.tv_sec = timeout / 1000; ts.tv_nsec = (timeout % 1000) * 1000 * 1000; elapsedTimer.start(); @@ -206,7 +206,7 @@ bool lockInternal_helper(QBasicAtomicPointer &d_ptr, int timeout = - ts.tv_sec = xtimeout / Q_INT64_C(1000) / 1000 / 1000; ts.tv_nsec = xtimeout % (Q_INT64_C(1000) * 1000 * 1000); } - if (IsTimed) + if (IsTimed && timeout > 0) pts = &ts; // successfully set the waiting bit, now sleep @@ -232,7 +232,6 @@ void QBasicMutex::lockInternal() Q_DECL_NOTHROW bool QBasicMutex::lockInternal(int timeout) Q_DECL_NOTHROW { Q_ASSERT(!isRecursive()); - Q_ASSERT(timeout >= 0); return lockInternal_helper(d_ptr, timeout); } diff --git a/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp b/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp index 7e3e720739..e51f8c9a23 100644 --- a/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp +++ b/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp @@ -57,6 +57,8 @@ private slots: void stressTest(); void tryLockRace(); void tryLockDeadlock(); + void tryLockNegative_data(); + void tryLockNegative(); void moreStress(); }; @@ -579,6 +581,55 @@ void tst_QMutex::tryLockDeadlock() QCOMPARE(tryLockDeadlockFailureCount, 0); } +void tst_QMutex::tryLockNegative_data() +{ + QTest::addColumn("timeout"); + QTest::newRow("-1") << -1; + QTest::newRow("-2") << -2; + QTest::newRow("INT_MIN/2") << INT_MIN/2; + QTest::newRow("INT_MIN") << INT_MIN; +} + +void tst_QMutex::tryLockNegative() +{ + // the documentation says tryLock() with a negative number is the same as lock() + struct TrylockThread : QThread { + TrylockThread(QMutex &mut, int timeout) + : mut(mut), timeout(timeout), tryLockResult(-1) + {} + QMutex &mut; + int timeout; + int tryLockResult; + void run() { + tryLockResult = mut.tryLock(timeout); + mut.unlock(); + } + }; + + QFETCH(int, timeout); + + QMutex mutex; + TrylockThread thr(mutex, timeout); + QSignalSpy spy(&thr, SIGNAL(started())); + mutex.lock(); + thr.start(); + + // the thread should have stopped in tryLock(), waiting for us to unlock + // the mutex. The following test can be falsely positive due to timing: + // tryLock may still fail but hasn't failed yet. But it certainly cannot be + // a false negative: if wait() returns, tryLock failed. + QVERIFY(!thr.wait(200)); + + // after we unlock the mutex, the thread should succeed in locking, then + // unlock and exit. Do this before more tests to avoid deadlocking due to + // ~QThread waiting forever on a thread that won't exit. + mutex.unlock(); + + QCOMPARE(spy.count(), 1); + QVERIFY(thr.wait()); + QCOMPARE(thr.tryLockResult, 1); +} + class MoreStressTestThread : public QThread { From f59163e79b009a4e84d85ee74846450b9990e7ce Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Fri, 21 Dec 2012 12:51:37 +0100 Subject: [PATCH 364/386] Mac: Bring back proper layout in QMessageBox Resolved by s/Q_WS_MAC/Q_OS_MAC where appropriate. Task-number: QTBUG-28738 Change-Id: I8f1239839bffb092387d527af78e9dbe1628ef67 Reviewed-by: Jens Bache-Wiig --- src/widgets/dialogs/qmessagebox.cpp | 30 ++++++++++++++--------------- src/widgets/styles/qcommonstyle.cpp | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index e2e15870db..751fe289bc 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -240,7 +240,7 @@ void QMessageBoxPrivate::init(const QString &title, const QString &text) label->setTextInteractionFlags(Qt::TextInteractionFlags(q->style()->styleHint(QStyle::SH_MessageBox_TextInteractionFlags, 0, q))); label->setAlignment(Qt::AlignVCenter | Qt::AlignLeft); label->setOpenExternalLinks(true); -#if defined(Q_WS_MAC) +#if defined(Q_OS_MAC) label->setContentsMargins(16, 0, 0, 0); #else label->setContentsMargins(2, 0, 0, 0); @@ -258,7 +258,7 @@ void QMessageBoxPrivate::init(const QString &title, const QString &text) q, SLOT(_q_buttonClicked(QAbstractButton*))); QGridLayout *grid = new QGridLayout; -#ifndef Q_WS_MAC +#ifndef Q_OS_MAC grid->addWidget(iconLabel, 0, 0, 2, 1, Qt::AlignTop); grid->addWidget(label, 0, 1, 1, 1); // -- leave space for information label -- @@ -285,7 +285,7 @@ void QMessageBoxPrivate::init(const QString &title, const QString &text) } q->setModal(true); -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC QFont f = q->font(); f.setBold(true); label->setFont(f); @@ -316,7 +316,7 @@ void QMessageBoxPrivate::updateSize() if (screenSize.width() <= 1024) hardLimit = screenSize.width(); #endif -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC int softLimit = qMin(screenSize.width()/2, 420); #else // note: ideally on windows, hard and soft limits but it breaks compat @@ -1304,7 +1304,7 @@ void QMessageBox::changeEvent(QEvent *ev) } case QEvent::FontChange: case QEvent::ApplicationFontChange: -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC { QFont f = font(); f.setBold(true); @@ -1324,12 +1324,12 @@ void QMessageBox::keyPressEvent(QKeyEvent *e) { Q_D(QMessageBox); if (e->key() == Qt::Key_Escape -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC || (e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) #endif ) { if (d->detectedEscapeButton) { -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC d->detectedEscapeButton->animateClick(); #else d->detectedEscapeButton->click(); @@ -1663,7 +1663,7 @@ QMessageBox::StandardButton QMessageBox::critical(QWidget *parent, const QString */ void QMessageBox::about(QWidget *parent, const QString &title, const QString &text) { -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC static QPointer oldMsgBox; if (oldMsgBox && oldMsgBox->text() == text) { @@ -1675,7 +1675,7 @@ void QMessageBox::about(QWidget *parent, const QString &title, const QString &te #endif QMessageBox *msgBox = new QMessageBox(title, text, Information, 0, 0, 0, parent -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC , Qt::WindowTitleHint | Qt::WindowSystemMenuHint #endif ); @@ -1685,7 +1685,7 @@ void QMessageBox::about(QWidget *parent, const QString &title, const QString &te msgBox->setIconPixmap(icon.pixmap(size)); // should perhaps be a style hint -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC oldMsgBox = msgBox; #if 0 // ### doesn't work until close button is enabled in title bar @@ -1716,7 +1716,7 @@ void QMessageBox::about(QWidget *parent, const QString &title, const QString &te */ void QMessageBox::aboutQt(QWidget *parent, const QString &title) { -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC static QPointer oldMsgBox; if (oldMsgBox) { @@ -1778,7 +1778,7 @@ void QMessageBox::aboutQt(QWidget *parent, const QString &title) #endif // should perhaps be a style hint -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC oldMsgBox = msgBox; #if 0 // ### doesn't work until close button is enabled in title bar @@ -2443,7 +2443,7 @@ void QMessageBox::setInformativeText(const QString &text) layout()->removeWidget(d->informativeLabel); delete d->informativeLabel; d->informativeLabel = 0; -#ifndef Q_WS_MAC +#ifndef Q_OS_MAC d->label->setContentsMargins(2, 0, 0, 0); #endif d->updateSize(); @@ -2457,7 +2457,7 @@ void QMessageBox::setInformativeText(const QString &text) label->setAlignment(Qt::AlignTop | Qt::AlignLeft); label->setOpenExternalLinks(true); label->setWordWrap(true); -#ifndef Q_WS_MAC +#ifndef Q_OS_MAC d->label->setContentsMargins(2, 0, 0, 0); label->setContentsMargins(2, 0, 0, 6); label->setIndent(9); @@ -2487,7 +2487,7 @@ void QMessageBox::setInformativeText(const QString &text) void QMessageBox::setWindowTitle(const QString &title) { // Message boxes on the mac do not have a title -#ifndef Q_WS_MAC +#ifndef Q_OS_MAC QDialog::setWindowTitle(title); #else Q_UNUSED(title); diff --git a/src/widgets/styles/qcommonstyle.cpp b/src/widgets/styles/qcommonstyle.cpp index e7d2ac4961..7519d7f910 100644 --- a/src/widgets/styles/qcommonstyle.cpp +++ b/src/widgets/styles/qcommonstyle.cpp @@ -4636,7 +4636,7 @@ int QCommonStyle::pixelMetric(PixelMetric m, const QStyleOption *opt, const QWid ret = int(QStyleHelper::dpiScaled(13.)); break; case PM_MessageBoxIconSize: -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC if (QApplication::desktopSettingsAware()) { ret = 64; // No DPI scaling, it's handled elsewhere. } else From 3262ba8de68a4af7169e884f36f3ba26ad00806f Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Tue, 11 Dec 2012 12:34:46 +0100 Subject: [PATCH 365/386] Cocoa: Re-enable per class palette on QPA plugin Task-number: QTBUG-28443 Change-Id: If66604e8d002be6cf4c308378199c96be7422e06 Reviewed-by: Jake Petroules Reviewed-by: Jens Bache-Wiig --- .../platforms/cocoa/qcocoasystemsettings.mm | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoasystemsettings.mm b/src/plugins/platforms/cocoa/qcocoasystemsettings.mm index aacf47ec43..692e504432 100644 --- a/src/plugins/platforms/cocoa/qcocoasystemsettings.mm +++ b/src/plugins/platforms/cocoa/qcocoasystemsettings.mm @@ -96,6 +96,8 @@ QColor qt_mac_colorForThemeTextColor(ThemeTextColor themeColor) case kThemeTextColorTabFrontInactive: case kThemeTextColorBevelButtonInactive: return QColor(127, 127, 127, 255); + case kThemeTextColorMenuItemSelected: + return Qt::white; default: return QColor(0, 0, 0, 255); // ### TODO: Sample color like Qt 4. } @@ -153,21 +155,19 @@ struct QMacPaletteMap { }; static QMacPaletteMap mac_widget_colors[] = { -// TODO (msorvig): Fix/match palette behavior with Qt 4 and enable. -// -// QMacPaletteMap(QPlatformTheme::ToolButtonPalette, kThemeTextColorBevelButtonActive, kThemeTextColorBevelButtonInactive), -// QMacPaletteMap(QPlatformTheme::ButtonPalette, kThemeTextColorPushButtonActive, kThemeTextColorPushButtonInactive), -// QMacPaletteMap(QPlatformTheme::HeaderPalette, kThemeTextColorPushButtonActive, kThemeTextColorPushButtonInactive), -// QMacPaletteMap(QPlatformTheme::ComboBoxPalette, kThemeTextColorPopupButtonActive, kThemeTextColorPopupButtonInactive), -// QMacPaletteMap(QPlatformTheme::ItemViewPalette, kThemeTextColorListView, kThemeTextColorDialogInactive), -// QMacPaletteMap(QPlatformTheme::MessageBoxLabelPelette, kThemeTextColorAlertActive, kThemeTextColorAlertInactive), -// QMacPaletteMap(QPlatformTheme::TabBarPalette, kThemeTextColorTabFrontActive, kThemeTextColorTabFrontInactive), -// QMacPaletteMap(QPlatformTheme::LabelPalette, kThemeTextColorPlacardActive, kThemeTextColorPlacardInactive), -// QMacPaletteMap(QPlatformTheme::GroupBoxPalette, kThemeTextColorPlacardActive, kThemeTextColorPlacardInactive), -// QMacPaletteMap(QPlatformTheme::MenuPalette, kThemeTextColorPopupLabelActive, kThemeTextColorPopupLabelInactive), -// ### TODO: The zeros below gives white-on-black text. -// QMacPaletteMap(QPlatformTheme::TextEditPalette, 0, 0), -// QMacPaletteMap(QPlatformTheme::TextLineEditPalette, 0, 0), + QMacPaletteMap(QPlatformTheme::ToolButtonPalette, kThemeTextColorBevelButtonActive, kThemeTextColorBevelButtonInactive), + QMacPaletteMap(QPlatformTheme::ButtonPalette, kThemeTextColorPushButtonActive, kThemeTextColorPushButtonInactive), + QMacPaletteMap(QPlatformTheme::HeaderPalette, kThemeTextColorPushButtonActive, kThemeTextColorPushButtonInactive), + QMacPaletteMap(QPlatformTheme::ComboBoxPalette, kThemeTextColorPopupButtonActive, kThemeTextColorPopupButtonInactive), + QMacPaletteMap(QPlatformTheme::ItemViewPalette, kThemeTextColorListView, kThemeTextColorDialogInactive), + QMacPaletteMap(QPlatformTheme::MessageBoxLabelPelette, kThemeTextColorAlertActive, kThemeTextColorAlertInactive), + QMacPaletteMap(QPlatformTheme::TabBarPalette, kThemeTextColorTabFrontActive, kThemeTextColorTabFrontInactive), + QMacPaletteMap(QPlatformTheme::LabelPalette, kThemeTextColorPlacardActive, kThemeTextColorPlacardInactive), + QMacPaletteMap(QPlatformTheme::GroupBoxPalette, kThemeTextColorPlacardActive, kThemeTextColorPlacardInactive), + QMacPaletteMap(QPlatformTheme::MenuPalette, kThemeTextColorPopupLabelActive, kThemeTextColorPopupLabelInactive), + //### TODO: The zeros below gives white-on-black text. + QMacPaletteMap(QPlatformTheme::TextEditPalette, 0, 0), + QMacPaletteMap(QPlatformTheme::TextLineEditPalette, 0, 0), QMacPaletteMap(QPlatformTheme::NPalettes, 0, 0) }; QHash qt_mac_createRolePalettes() @@ -175,7 +175,7 @@ QHash qt_mac_createRolePalettes() QHash palettes; QColor qc; for (int i = 0; mac_widget_colors[i].paletteRole != QPlatformTheme::NPalettes; i++) { - QPalette pal; + QPalette pal = *qt_mac_createSystemPalette(); if (mac_widget_colors[i].active != 0) { qc = qt_mac_colorForThemeTextColor(mac_widget_colors[i].active); pal.setColor(QPalette::Active, QPalette::Text, qc); From 1d09c5623bb0e6e16a7a4b8d679f9535e65276f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Fri, 28 Dec 2012 11:09:02 +0100 Subject: [PATCH 366/386] Fixed typo 'collasping' in QTreeView documentation Change-Id: Ib49c3500c4b3a40a7eaf17404cecc2c38de90530 Reviewed-by: Sergio Ahumada Reviewed-by: Robin Burchell --- src/widgets/itemviews/qtreeview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/itemviews/qtreeview.cpp b/src/widgets/itemviews/qtreeview.cpp index 884b0b8f65..194fb71880 100644 --- a/src/widgets/itemviews/qtreeview.cpp +++ b/src/widgets/itemviews/qtreeview.cpp @@ -876,7 +876,7 @@ bool QTreeView::isSortingEnabled() const \brief whether animations are enabled If this property is true the treeview will animate expandsion - and collasping of branches. If this property is false, the treeview + and collapsing of branches. If this property is false, the treeview will expand or collapse branches immediately without showing the animation. From a1cdc17be98be3aca3a48e904d44ee8cb6605545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Fri, 28 Dec 2012 11:29:25 +0100 Subject: [PATCH 367/386] Removed an unnecessary forward declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qstringlist.h is already being included. Change-Id: I1790cd560b934b6697702bd11f78f39cddc3389f Reviewed-by: Thorbjørn Lindeijer --- src/corelib/io/qstandardpaths.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/io/qstandardpaths.h b/src/corelib/io/qstandardpaths.h index d9d572db08..cfd2b52e9b 100644 --- a/src/corelib/io/qstandardpaths.h +++ b/src/corelib/io/qstandardpaths.h @@ -51,8 +51,6 @@ QT_BEGIN_NAMESPACE #ifndef QT_NO_STANDARDPATHS -class QStringList; - class Q_CORE_EXPORT QStandardPaths { public: From 4eac2c4728da85a5cdf91ec25170b3417f7deb68 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 28 Dec 2012 01:11:45 +0100 Subject: [PATCH 368/386] Add test for QByteArray::setNum Change-Id: I66f3954433bf50fb23fdaeef804838d993e965b5 Reviewed-by: Olivier Goffart Reviewed-by: Friedemann Kleint --- .../tools/qbytearray/tst_qbytearray.cpp | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp index 848fdb14a4..bbfffb2063 100644 --- a/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp +++ b/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp @@ -68,6 +68,7 @@ private slots: void constByteArray(); void leftJustified(); void rightJustified(); + void setNum(); void startsWith_data(); void startsWith(); void startsWith_char(); @@ -397,6 +398,32 @@ void tst_QByteArray::rightJustified() QCOMPARE(a,QByteArray("ABC")); } +void tst_QByteArray::setNum() +{ + QByteArray a; + QCOMPARE(a.setNum(123), QByteArray("123")); + QCOMPARE(a.setNum(-123), QByteArray("-123")); + QCOMPARE(a.setNum(0x123,16), QByteArray("123")); + QCOMPARE(a.setNum((short)123), QByteArray("123")); + + QCOMPARE(a.setNum(1.23), QByteArray("1.23")); + QCOMPARE(a.setNum(1.234567), QByteArray("1.23457")); + + // Note that there are no 'long' overloads, so not all of the + // QString::setNum() tests can be re-used. + QCOMPARE(a.setNum(Q_INT64_C(123)), QByteArray("123")); + // 2^40 == 1099511627776 + QCOMPARE(a.setNum(Q_INT64_C(-1099511627776)), QByteArray("-1099511627776")); + QCOMPARE(a.setNum(Q_UINT64_C(1099511627776)), QByteArray("1099511627776")); + QCOMPARE(a.setNum(Q_INT64_C(9223372036854775807)), // LLONG_MAX + QByteArray("9223372036854775807")); + QCOMPARE(a.setNum(-Q_INT64_C(9223372036854775807) - Q_INT64_C(1)), + QByteArray("-9223372036854775808")); + QCOMPARE(a.setNum(Q_UINT64_C(18446744073709551615)), // ULLONG_MAX + QByteArray("18446744073709551615")); + QCOMPARE(a.setNum(0.000000000931322574615478515625), QByteArray("9.31323e-10")); +} + void tst_QByteArray::startsWith_data() { QTest::addColumn("ba"); From 0136252cb2973824b7f97abad1d4c3a4d9301178 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 19 Dec 2012 11:27:10 +0100 Subject: [PATCH 369/386] Polish code of some opengl examples Change-Id: If24ae1845176fc525cf6a239a5079f4802f8df3f Reviewed-by: Friedemann Kleint --- examples/opengl/2dpainting/glwidget.cpp | 3 +- examples/opengl/2dpainting/glwidget.h | 4 -- examples/opengl/2dpainting/helper.cpp | 16 +++-- examples/opengl/2dpainting/helper.h | 6 +- examples/opengl/2dpainting/main.cpp | 3 +- examples/opengl/2dpainting/widget.cpp | 3 +- examples/opengl/2dpainting/widget.h | 3 - examples/opengl/2dpainting/window.cpp | 10 +-- examples/opengl/2dpainting/window.h | 7 +- examples/opengl/cube/geometryengine.cpp | 3 +- examples/opengl/cube/geometryengine.h | 8 +-- examples/opengl/cube/main.cpp | 19 +++--- examples/opengl/cube/mainwidget.cpp | 65 +++++++------------ examples/opengl/cube/mainwidget.h | 24 +++---- examples/opengl/grabber/glwidget.cpp | 63 +++++++++--------- examples/opengl/grabber/glwidget.h | 2 +- examples/opengl/grabber/main.cpp | 8 +-- examples/opengl/grabber/mainwindow.cpp | 5 +- examples/opengl/grabber/mainwindow.h | 4 +- examples/opengl/hellowindow/hellowindow.cpp | 56 +++++++--------- examples/opengl/hellowindow/hellowindow.h | 13 ++-- examples/opengl/hellowindow/main.cpp | 20 +++--- examples/opengl/overpainting/bubble.cpp | 2 - examples/opengl/overpainting/bubble.h | 12 +--- examples/opengl/overpainting/glwidget.cpp | 12 ++-- examples/opengl/overpainting/glwidget.h | 10 +-- examples/opengl/overpainting/main.cpp | 3 +- examples/opengl/overpainting/overpainting.pro | 4 +- examples/opengl/shared/qtlogo.cpp | 49 +++++++------- 29 files changed, 182 insertions(+), 255 deletions(-) diff --git a/examples/opengl/2dpainting/glwidget.cpp b/examples/opengl/2dpainting/glwidget.cpp index 23065a0b42..e1e40ea84c 100644 --- a/examples/opengl/2dpainting/glwidget.cpp +++ b/examples/opengl/2dpainting/glwidget.cpp @@ -38,10 +38,11 @@ ** ****************************************************************************/ -#include #include "glwidget.h" #include "helper.h" +#include + //! [0] GLWidget::GLWidget(Helper *helper, QWidget *parent) : QGLWidget(QGLFormat(QGL::SampleBuffers), parent), helper(helper) diff --git a/examples/opengl/2dpainting/glwidget.h b/examples/opengl/2dpainting/glwidget.h index f8e44f8a3e..3540810983 100644 --- a/examples/opengl/2dpainting/glwidget.h +++ b/examples/opengl/2dpainting/glwidget.h @@ -45,10 +45,6 @@ //! [0] class Helper; -QT_BEGIN_NAMESPACE -class QPaintEvent; -class QWidget; -QT_END_NAMESPACE class GLWidget : public QGLWidget { diff --git a/examples/opengl/2dpainting/helper.cpp b/examples/opengl/2dpainting/helper.cpp index b412dc11dc..168df2aff3 100644 --- a/examples/opengl/2dpainting/helper.cpp +++ b/examples/opengl/2dpainting/helper.cpp @@ -38,9 +38,12 @@ ** ****************************************************************************/ -#include #include "helper.h" +#include +#include +#include + //! [0] Helper::Helper() { @@ -70,14 +73,15 @@ void Helper::paint(QPainter *painter, QPaintEvent *event, int elapsed) painter->setPen(circlePen); painter->rotate(elapsed * 0.030); - qreal r = elapsed/1000.0; + qreal r = elapsed / 1000.0; int n = 30; for (int i = 0; i < n; ++i) { painter->rotate(30); - qreal radius = 0 + 120.0*((i+r)/n); - qreal circleRadius = 1 + ((i+r)/n)*20; + qreal factor = (i + r) / n; + qreal radius = 0 + 120.0 * factor; + qreal circleRadius = 1 + factor * 20; painter->drawEllipse(QRectF(radius, -circleRadius, - circleRadius*2, circleRadius*2)); + circleRadius * 2, circleRadius * 2)); } painter->restore(); //! [2] @@ -85,6 +89,6 @@ void Helper::paint(QPainter *painter, QPaintEvent *event, int elapsed) //! [3] painter->setPen(textPen); painter->setFont(textFont); - painter->drawText(QRect(-50, -50, 100, 100), Qt::AlignCenter, "Qt"); + painter->drawText(QRect(-50, -50, 100, 100), Qt::AlignCenter, QStringLiteral("Qt")); } //! [3] diff --git a/examples/opengl/2dpainting/helper.h b/examples/opengl/2dpainting/helper.h index 10bb2a5a9c..47f4c96639 100644 --- a/examples/opengl/2dpainting/helper.h +++ b/examples/opengl/2dpainting/helper.h @@ -44,11 +44,7 @@ #include #include #include - -QT_BEGIN_NAMESPACE -class QPainter; -class QPaintEvent; -QT_END_NAMESPACE +#include //! [0] class Helper diff --git a/examples/opengl/2dpainting/main.cpp b/examples/opengl/2dpainting/main.cpp index 3374e57964..903795685f 100644 --- a/examples/opengl/2dpainting/main.cpp +++ b/examples/opengl/2dpainting/main.cpp @@ -38,9 +38,10 @@ ** ****************************************************************************/ -#include #include "window.h" +#include + int main(int argc, char *argv[]) { QApplication app(argc, argv); diff --git a/examples/opengl/2dpainting/widget.cpp b/examples/opengl/2dpainting/widget.cpp index 49ce8b1329..832f37eb36 100644 --- a/examples/opengl/2dpainting/widget.cpp +++ b/examples/opengl/2dpainting/widget.cpp @@ -38,10 +38,11 @@ ** ****************************************************************************/ -#include #include "widget.h" #include "helper.h" +#include +#include //! [0] Widget::Widget(Helper *helper, QWidget *parent) diff --git a/examples/opengl/2dpainting/widget.h b/examples/opengl/2dpainting/widget.h index 7d665b3952..ccf424330c 100644 --- a/examples/opengl/2dpainting/widget.h +++ b/examples/opengl/2dpainting/widget.h @@ -45,9 +45,6 @@ //! [0] class Helper; -QT_BEGIN_NAMESPACE -class QPaintEvent; -QT_END_NAMESPACE class Widget : public QWidget { diff --git a/examples/opengl/2dpainting/window.cpp b/examples/opengl/2dpainting/window.cpp index 700d0caaa8..b6aba2a945 100644 --- a/examples/opengl/2dpainting/window.cpp +++ b/examples/opengl/2dpainting/window.cpp @@ -38,15 +38,19 @@ ** ****************************************************************************/ -#include #include "glwidget.h" #include "widget.h" #include "window.h" +#include +#include +#include + //! [0] Window::Window() - : QWidget() { + setWindowTitle(tr("2D Painting on Native and OpenGL Widgets")); + Widget *native = new Widget(&helper, this); GLWidget *openGL = new GLWidget(&helper, this); QLabel *nativeLabel = new QLabel(tr("Native")); @@ -65,7 +69,5 @@ Window::Window() connect(timer, SIGNAL(timeout()), native, SLOT(animate())); connect(timer, SIGNAL(timeout()), openGL, SLOT(animate())); timer->start(50); - - setWindowTitle(tr("2D Painting on Native and OpenGL Widgets")); } //! [0] diff --git a/examples/opengl/2dpainting/window.h b/examples/opengl/2dpainting/window.h index 263572637e..acded9895f 100644 --- a/examples/opengl/2dpainting/window.h +++ b/examples/opengl/2dpainting/window.h @@ -41,14 +41,9 @@ #ifndef WINDOW_H #define WINDOW_H -#include - #include "helper.h" -QT_BEGIN_NAMESPACE -class QLabel; -class QWidget; -QT_END_NAMESPACE +#include //! [0] class Window : public QWidget diff --git a/examples/opengl/cube/geometryengine.cpp b/examples/opengl/cube/geometryengine.cpp index d8dfeab822..277a6e9cfc 100644 --- a/examples/opengl/cube/geometryengine.cpp +++ b/examples/opengl/cube/geometryengine.cpp @@ -49,14 +49,13 @@ struct VertexData QVector2D texCoord; }; -GeometryEngine::GeometryEngine() : vboIds(new GLuint[2]) +GeometryEngine::GeometryEngine() { } GeometryEngine::~GeometryEngine() { glDeleteBuffers(2, vboIds); - delete[] vboIds; } void GeometryEngine::init() diff --git a/examples/opengl/cube/geometryengine.h b/examples/opengl/cube/geometryengine.h index 2716b05c2b..6a15c3ce03 100644 --- a/examples/opengl/cube/geometryengine.h +++ b/examples/opengl/cube/geometryengine.h @@ -41,8 +41,8 @@ #ifndef GEOMETRYENGINE_H #define GEOMETRYENGINE_H -#include -#include +#include +#include class GeometryEngine : protected QGLFunctions { @@ -51,14 +51,12 @@ public: virtual ~GeometryEngine(); void init(); - void drawCubeGeometry(QGLShaderProgram *program); private: void initCubeGeometry(); - GLuint *vboIds; - + GLuint vboIds[2]; }; #endif // GEOMETRYENGINE_H diff --git a/examples/opengl/cube/main.cpp b/examples/opengl/cube/main.cpp index fbc1d93e4a..fdae1caa16 100644 --- a/examples/opengl/cube/main.cpp +++ b/examples/opengl/cube/main.cpp @@ -47,16 +47,15 @@ int main(int argc, char *argv[]) { - QApplication a(argc, argv); - a.setApplicationName("cube"); - a.setApplicationVersion("0.1"); -#ifndef QT_NO_OPENGL - MainWidget w; - w.resize(640, 480); - w.show(); + QApplication app(argc, argv); + app.setApplicationName("cube"); + app.setApplicationVersion("0.1"); +#ifdef QT_NO_OPENGL + MainWidget widget; + widget.show(); #else - QLabel * notifyLabel = new QLabel("OpenGL Support required"); - notifyLabel->show(); + QLabel note("OpenGL Support required"); + note.show(); #endif - return a.exec(); + return app.exec(); } diff --git a/examples/opengl/cube/mainwidget.cpp b/examples/opengl/cube/mainwidget.cpp index 055dcf49cf..4a42eca159 100644 --- a/examples/opengl/cube/mainwidget.cpp +++ b/examples/opengl/cube/mainwidget.cpp @@ -40,39 +40,26 @@ #include "mainwidget.h" -#include "geometryengine.h" - -#include - -#include #include -#include #include #include MainWidget::MainWidget(QWidget *parent) : QGLWidget(parent), - timer(new QBasicTimer), - program(new QGLShaderProgram), - geometries(new GeometryEngine), angularSpeed(0) { } MainWidget::~MainWidget() { - delete timer; timer = 0; - delete program; program = 0; - delete geometries; geometries = 0; - deleteTexture(texture); } //! [0] void MainWidget::mousePressEvent(QMouseEvent *e) { - // Saving mouse press position + // Save mouse press position mousePressPosition = QVector2D(e->localPos()); } @@ -97,17 +84,15 @@ void MainWidget::mouseReleaseEvent(QMouseEvent *e) //! [0] //! [1] -void MainWidget::timerEvent(QTimerEvent *e) +void MainWidget::timerEvent(QTimerEvent *) { - Q_UNUSED(e); - // Decrease angular speed (friction) angularSpeed *= 0.99; // Stop rotation when speed goes below threshold - if (angularSpeed < 0.01) + if (angularSpeed < 0.01) { angularSpeed = 0.0; - else { + } else { // Update rotation rotation = QQuaternion::fromAxisAndAngle(rotationAxis, angularSpeed) * rotation; @@ -120,13 +105,8 @@ void MainWidget::timerEvent(QTimerEvent *e) void MainWidget::initializeGL() { initializeGLFunctions(); - qglClearColor(Qt::black); - - qDebug() << "Initializing shaders..."; initShaders(); - - qDebug() << "Initializing textures..."; initTextures(); //! [2] @@ -137,33 +117,32 @@ void MainWidget::initializeGL() glEnable(GL_CULL_FACE); //! [2] - qDebug() << "Initializing geometries..."; - geometries->init(); + geometries.init(); - // using QBasicTimer because its faster that QTimer - timer->start(12, this); + // Use QBasicTimer because its faster than QTimer + timer.start(12, this); } //! [3] void MainWidget::initShaders() { - // Overriding system locale until shaders are compiled + // Override system locale until shaders are compiled setlocale(LC_NUMERIC, "C"); - // Compiling vertex shader - if (!program->addShaderFromSourceFile(QGLShader::Vertex, ":/vshader.glsl")) + // Compile vertex shader + if (!program.addShaderFromSourceFile(QGLShader::Vertex, ":/vshader.glsl")) close(); - // Compiling fragment shader - if (!program->addShaderFromSourceFile(QGLShader::Fragment, ":/fshader.glsl")) + // Compile fragment shader + if (!program.addShaderFromSourceFile(QGLShader::Fragment, ":/fshader.glsl")) close(); - // Linking shader pipeline - if (!program->link()) + // Link shader pipeline + if (!program.link()) close(); - // Binding shader pipeline for use - if (!program->bind()) + // Bind shader pipeline for use + if (!program.bind()) close(); // Restore system locale @@ -174,7 +153,7 @@ void MainWidget::initShaders() //! [4] void MainWidget::initTextures() { - // Loading cube.png + // Load cube.png image glEnable(GL_TEXTURE_2D); texture = bindTexture(QImage(":/cube.png")); @@ -198,7 +177,7 @@ void MainWidget::resizeGL(int w, int h) glViewport(0, 0, w, h); // Calculate aspect ratio - qreal aspect = (qreal)w / ((qreal)h?h:1); + qreal aspect = qreal(w) / qreal(h ? h : 1); // Set near plane to 3.0, far plane to 7.0, field of view 45 degrees const qreal zNear = 3.0, zFar = 7.0, fov = 45.0; @@ -223,12 +202,12 @@ void MainWidget::paintGL() matrix.rotate(rotation); // Set modelview-projection matrix - program->setUniformValue("mvp_matrix", projection * matrix); + program.setUniformValue("mvp_matrix", projection * matrix); //! [6] - // Using texture unit 0 which contains cube.png - program->setUniformValue("texture", 0); + // Use texture unit 0 which contains cube.png + program.setUniformValue("texture", 0); // Draw cube geometry - geometries->drawCubeGeometry(program); + geometries.drawCubeGeometry(&program); } diff --git a/examples/opengl/cube/mainwidget.h b/examples/opengl/cube/mainwidget.h index bd30ea93a0..cebfb30999 100644 --- a/examples/opengl/cube/mainwidget.h +++ b/examples/opengl/cube/mainwidget.h @@ -41,30 +41,26 @@ #ifndef MAINWIDGET_H #define MAINWIDGET_H -#include -#include +#include "geometryengine.h" +#include +#include #include #include #include +#include +#include -QT_BEGIN_NAMESPACE -class QBasicTimer; -class QGLShaderProgram; -QT_END_NAMESPACE class GeometryEngine; class MainWidget : public QGLWidget, protected QGLFunctions { Q_OBJECT + public: explicit MainWidget(QWidget *parent = 0); - virtual ~MainWidget(); - -signals: - -public slots: + ~MainWidget(); protected: void mousePressEvent(QMouseEvent *e); @@ -79,9 +75,9 @@ protected: void initTextures(); private: - QBasicTimer *timer; - QGLShaderProgram *program; - GeometryEngine *geometries; + QBasicTimer timer; + QGLShaderProgram program; + GeometryEngine geometries; GLuint texture; diff --git a/examples/opengl/grabber/glwidget.cpp b/examples/opengl/grabber/glwidget.cpp index 6d8ef0049f..00964c1a0f 100644 --- a/examples/opengl/grabber/glwidget.cpp +++ b/examples/opengl/grabber/glwidget.cpp @@ -38,13 +38,13 @@ ** ****************************************************************************/ -#include -#include +#include "glwidget.h" + +#include +#include #include -#include "glwidget.h" - GLWidget::GLWidget(QWidget *parent) : QGLWidget(parent) { @@ -191,57 +191,52 @@ GLuint GLWidget::makeGear(const GLfloat *reflectance, GLdouble innerRadius, GLdouble r2 = outerRadius + toothSize / 2.0; GLdouble delta = (2.0 * Pi / toothCount) / 4.0; GLdouble z = thickness / 2.0; - int i, j; glShadeModel(GL_FLAT); - for (i = 0; i < 2; ++i) { + for (int i = 0; i < 2; ++i) { GLdouble sign = (i == 0) ? +1.0 : -1.0; glNormal3d(0.0, 0.0, sign); glBegin(GL_QUAD_STRIP); - for (j = 0; j <= toothCount; ++j) { + for (int j = 0; j <= toothCount; ++j) { GLdouble angle = 2.0 * Pi * j / toothCount; - glVertex3d(r0 * cos(angle), r0 * sin(angle), sign * z); - glVertex3d(r1 * cos(angle), r1 * sin(angle), sign * z); - glVertex3d(r0 * cos(angle), r0 * sin(angle), sign * z); - glVertex3d(r1 * cos(angle + 3 * delta), r1 * sin(angle + 3 * delta), - sign * z); + glVertex3d(r0 * cos(angle), r0 * sin(angle), sign * z); + glVertex3d(r1 * cos(angle), r1 * sin(angle), sign * z); + glVertex3d(r0 * cos(angle), r0 * sin(angle), sign * z); + glVertex3d(r1 * cos(angle + 3 * delta), r1 * sin(angle + 3 * delta), sign * z); } glEnd(); glBegin(GL_QUADS); - for (j = 0; j < toothCount; ++j) { + for (int j = 0; j < toothCount; ++j) { GLdouble angle = 2.0 * Pi * j / toothCount; - glVertex3d(r1 * cos(angle), r1 * sin(angle), sign * z); - glVertex3d(r2 * cos(angle + delta), r2 * sin(angle + delta), - sign * z); - glVertex3d(r2 * cos(angle + 2 * delta), r2 * sin(angle + 2 * delta), - sign * z); - glVertex3d(r1 * cos(angle + 3 * delta), r1 * sin(angle + 3 * delta), - sign * z); + glVertex3d(r1 * cos(angle), r1 * sin(angle), sign * z); + glVertex3d(r2 * cos(angle + delta), r2 * sin(angle + delta), sign * z); + glVertex3d(r2 * cos(angle + 2 * delta), r2 * sin(angle + 2 * delta), sign * z); + glVertex3d(r1 * cos(angle + 3 * delta), r1 * sin(angle + 3 * delta), sign * z); } glEnd(); } glBegin(GL_QUAD_STRIP); - for (i = 0; i < toothCount; ++i) { - for (j = 0; j < 2; ++j) { - GLdouble angle = 2.0 * Pi * (i + (j / 2.0)) / toothCount; + for (int i = 0; i < toothCount; ++i) { + for (int j = 0; j < 2; ++j) { + GLdouble angle = 2.0 * Pi * (i + j / 2.0) / toothCount; GLdouble s1 = r1; GLdouble s2 = r2; if (j == 1) qSwap(s1, s2); - glNormal3d(cos(angle), sin(angle), 0.0); - glVertex3d(s1 * cos(angle), s1 * sin(angle), +z); - glVertex3d(s1 * cos(angle), s1 * sin(angle), -z); + glNormal3d(cos(angle), sin(angle), 0.0); + glVertex3d(s1 * cos(angle), s1 * sin(angle), +z); + glVertex3d(s1 * cos(angle), s1 * sin(angle), -z); - glNormal3d(s2 * sin(angle + delta) - s1 * sin(angle), + glNormal3d(s2 * sin(angle + delta) - s1 * sin(angle), s1 * cos(angle) - s2 * cos(angle + delta), 0.0); - glVertex3d(s2 * cos(angle + delta), s2 * sin(angle + delta), +z); - glVertex3d(s2 * cos(angle + delta), s2 * sin(angle + delta), -z); + glVertex3d(s2 * cos(angle + delta), s2 * sin(angle + delta), +z); + glVertex3d(s2 * cos(angle + delta), s2 * sin(angle + delta), -z); } } glVertex3d(r1, 0.0, +z); @@ -251,11 +246,11 @@ GLuint GLWidget::makeGear(const GLfloat *reflectance, GLdouble innerRadius, glShadeModel(GL_SMOOTH); glBegin(GL_QUAD_STRIP); - for (i = 0; i <= toothCount; ++i) { - GLdouble angle = i * 2.0 * Pi / toothCount; - glNormal3d(-cos(angle), -sin(angle), 0.0); - glVertex3d(r0 * cos(angle), r0 * sin(angle), +z); - glVertex3d(r0 * cos(angle), r0 * sin(angle), -z); + for (int i = 0; i <= toothCount; ++i) { + GLdouble angle = i * 2.0 * Pi / toothCount; + glNormal3d(-cos(angle), -sin(angle), 0.0); + glVertex3d(r0 * cos(angle), r0 * sin(angle), +z); + glVertex3d(r0 * cos(angle), r0 * sin(angle), -z); } glEnd(); diff --git a/examples/opengl/grabber/glwidget.h b/examples/opengl/grabber/glwidget.h index 88a97ac8b0..6f48102111 100644 --- a/examples/opengl/grabber/glwidget.h +++ b/examples/opengl/grabber/glwidget.h @@ -94,4 +94,4 @@ private: QPoint lastPos; }; -#endif +#endif // GLWIDGET_H diff --git a/examples/opengl/grabber/main.cpp b/examples/opengl/grabber/main.cpp index f03543e449..be0e7b11cc 100644 --- a/examples/opengl/grabber/main.cpp +++ b/examples/opengl/grabber/main.cpp @@ -38,14 +38,14 @@ ** ****************************************************************************/ -#include - #include "mainwindow.h" +#include + int main(int argc, char *argv[]) { QApplication app(argc, argv); - MainWindow mainWin; - mainWin.show(); + MainWindow window; + window.show(); return app.exec(); } diff --git a/examples/opengl/grabber/mainwindow.cpp b/examples/opengl/grabber/mainwindow.cpp index a559649c55..e521b39dab 100644 --- a/examples/opengl/grabber/mainwindow.cpp +++ b/examples/opengl/grabber/mainwindow.cpp @@ -38,12 +38,11 @@ ** ****************************************************************************/ -#include -#include - #include "glwidget.h" #include "mainwindow.h" +#include + MainWindow::MainWindow() { centralWidget = new QWidget; diff --git a/examples/opengl/grabber/mainwindow.h b/examples/opengl/grabber/mainwindow.h index 6f981c5381..552f902c07 100644 --- a/examples/opengl/grabber/mainwindow.h +++ b/examples/opengl/grabber/mainwindow.h @@ -44,12 +44,12 @@ #include QT_BEGIN_NAMESPACE -class QAction; class QLabel; class QMenu; class QScrollArea; class QSlider; QT_END_NAMESPACE + class GLWidget; class MainWindow : public QMainWindow @@ -91,4 +91,4 @@ private: QAction *aboutQtAct; }; -#endif +#endif // MAINWINDOW_H diff --git a/examples/opengl/hellowindow/hellowindow.cpp b/examples/opengl/hellowindow/hellowindow.cpp index b5166abe50..b1140c4f1d 100644 --- a/examples/opengl/hellowindow/hellowindow.cpp +++ b/examples/opengl/hellowindow/hellowindow.cpp @@ -41,9 +41,6 @@ #include "hellowindow.h" #include - -#include - #include Renderer::Renderer(const QSurfaceFormat &format, Renderer *share, QScreen *screen) @@ -77,10 +74,8 @@ HelloWindow::HelloWindow(const QSharedPointer &renderer) updateColor(); } -void HelloWindow::exposeEvent(QExposeEvent *event) +void HelloWindow::exposeEvent(QExposeEvent *) { - Q_UNUSED(event); - render(); if (!m_timer) { @@ -109,10 +104,7 @@ void HelloWindow::updateColor() }; m_color = colors[m_colorIndex]; - - m_colorIndex++; - if (m_colorIndex >= int(sizeof(colors) / sizeof(colors[0]))) - m_colorIndex = 0; + m_colorIndex = 1 - m_colorIndex; } void Renderer::render(QSurface *surface, const QColor &color, const QSize &viewSize) @@ -171,31 +163,29 @@ void Renderer::initialize() glClearColor(0.1f, 0.1f, 0.2f, 1.0f); QOpenGLShader *vshader = new QOpenGLShader(QOpenGLShader::Vertex, this); - const char *vsrc = - "attribute highp vec4 vertex;\n" - "attribute mediump vec3 normal;\n" - "uniform mediump mat4 matrix;\n" - "uniform lowp vec4 sourceColor;\n" - "varying mediump vec4 color;\n" - "void main(void)\n" - "{\n" - " vec3 toLight = normalize(vec3(0.0, 0.3, 1.0));\n" - " float angle = max(dot(normal, toLight), 0.0);\n" - " vec3 col = sourceColor.rgb;\n" - " color = vec4(col * 0.2 + col * 0.8 * angle, 1.0);\n" - " color = clamp(color, 0.0, 1.0);\n" - " gl_Position = matrix * vertex;\n" - "}\n"; - vshader->compileSourceCode(vsrc); + vshader->compileSourceCode( + "attribute highp vec4 vertex;" + "attribute mediump vec3 normal;" + "uniform mediump mat4 matrix;" + "uniform lowp vec4 sourceColor;" + "varying mediump vec4 color;" + "void main(void)" + "{" + " vec3 toLight = normalize(vec3(0.0, 0.3, 1.0));" + " float angle = max(dot(normal, toLight), 0.0);" + " vec3 col = sourceColor.rgb;" + " color = vec4(col * 0.2 + col * 0.8 * angle, 1.0);" + " color = clamp(color, 0.0, 1.0);" + " gl_Position = matrix * vertex;" + "}"); QOpenGLShader *fshader = new QOpenGLShader(QOpenGLShader::Fragment, this); - const char *fsrc = - "varying mediump vec4 color;\n" - "void main(void)\n" - "{\n" - " gl_FragColor = color;\n" - "}\n"; - fshader->compileSourceCode(fsrc); + fshader->compileSourceCode( + "varying mediump vec4 color;" + "void main(void)" + "{" + " gl_FragColor = color;" + "}"); m_program = new QOpenGLShaderProgram(this); m_program->addShader(vshader); diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h index adb85c1a6e..27cae4be7d 100644 --- a/examples/opengl/hellowindow/hellowindow.h +++ b/examples/opengl/hellowindow/hellowindow.h @@ -40,21 +40,15 @@ #include -#include -#include - #include -#include +#include #include - -QT_BEGIN_NAMESPACE -class QOpenGLContext; -class QTimer; -QT_END_NAMESPACE +#include class Renderer : public QObject { Q_OBJECT + public: explicit Renderer(const QSurfaceFormat &format, Renderer *share = 0, QScreen *screen = 0); @@ -89,6 +83,7 @@ private: class HelloWindow : public QWindow { Q_OBJECT + public: explicit HelloWindow(const QSharedPointer &renderer); diff --git a/examples/opengl/hellowindow/main.cpp b/examples/opengl/hellowindow/main.cpp index 343160f755..e63b27d093 100644 --- a/examples/opengl/hellowindow/main.cpp +++ b/examples/opengl/hellowindow/main.cpp @@ -38,21 +38,22 @@ ** ****************************************************************************/ -#include +#include "hellowindow.h" + #include #include + +#include #include #include -#include "hellowindow.h" - -int main(int argc, char **argv) +int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); const bool multipleWindows = QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::ThreadedOpenGL) - && !QGuiApplication::arguments().contains(QLatin1String("--single")); + && !QGuiApplication::arguments().contains(QStringLiteral("--single")); QScreen *screen = QGuiApplication::primaryScreen(); @@ -71,7 +72,7 @@ int main(int argc, char **argv) HelloWindow *windowA = new HelloWindow(rendererA); windowA->setGeometry(QRect(center, windowSize).translated(-windowSize.width() - delta / 2, 0)); - windowA->setTitle(QLatin1String("Thread A - Context A")); + windowA->setTitle(QStringLiteral("Thread A - Context A")); windowA->setVisible(true); windows.prepend(windowA); @@ -85,13 +86,13 @@ int main(int argc, char **argv) HelloWindow *windowB = new HelloWindow(rendererA); windowB->setGeometry(QRect(center, windowSize).translated(delta / 2, 0)); - windowB->setTitle(QLatin1String("Thread A - Context A")); + windowB->setTitle(QStringLiteral("Thread A - Context A")); windowB->setVisible(true); windows.prepend(windowB); HelloWindow *windowC = new HelloWindow(rendererB); windowC->setGeometry(QRect(center, windowSize).translated(-windowSize.width() / 2, windowSize.height() + delta)); - windowC->setTitle(QLatin1String("Thread B - Context B")); + windowC->setTitle(QStringLiteral("Thread B - Context B")); windowC->setVisible(true); windows.prepend(windowC); @@ -113,7 +114,7 @@ int main(int argc, char **argv) window->setGeometry(QRect(center, windowSize).translated(-windowSize.width() / 2, -windowSize.height() / 2)); QChar id = QChar('B' + i); - window->setTitle(QLatin1String("Thread ") + id + QLatin1String(" - Context ") + id); + window->setTitle(QStringLiteral("Thread ") + id + QStringLiteral(" - Context ") + id); window->setVisible(true); windows.prepend(window); } @@ -128,6 +129,7 @@ int main(int argc, char **argv) for (int i = 0; i < renderThreads.size(); ++i) renderThreads.at(i)->wait(); + qDeleteAll(windows); qDeleteAll(renderThreads); diff --git a/examples/opengl/overpainting/bubble.cpp b/examples/opengl/overpainting/bubble.cpp index 5f0e9710ea..0b3e3b8778 100644 --- a/examples/opengl/overpainting/bubble.cpp +++ b/examples/opengl/overpainting/bubble.cpp @@ -38,8 +38,6 @@ ** ****************************************************************************/ -#include - #include "bubble.h" Bubble::Bubble(const QPointF &position, qreal radius, const QPointF &velocity) diff --git a/examples/opengl/overpainting/bubble.h b/examples/opengl/overpainting/bubble.h index 2a3d27480b..42dedc6e8f 100644 --- a/examples/opengl/overpainting/bubble.h +++ b/examples/opengl/overpainting/bubble.h @@ -41,15 +41,7 @@ #ifndef BUBBLE_H #define BUBBLE_H -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE -class QPainter; -QT_END_NAMESPACE +#include class Bubble { @@ -72,4 +64,4 @@ private: QColor outerColor; }; -#endif +#endif // BUBBLE_H diff --git a/examples/opengl/overpainting/glwidget.cpp b/examples/opengl/overpainting/glwidget.cpp index df546a125b..ea29325b6c 100644 --- a/examples/opengl/overpainting/glwidget.cpp +++ b/examples/opengl/overpainting/glwidget.cpp @@ -38,16 +38,16 @@ ** ****************************************************************************/ -#include -#include -#include - -#include - #include "bubble.h" #include "qtlogo.h" #include "glwidget.h" +#include +#include + +#include +#include + #ifndef GL_MULTISAMPLE #define GL_MULTISAMPLE 0x809D #endif diff --git a/examples/opengl/overpainting/glwidget.h b/examples/opengl/overpainting/glwidget.h index ce2b29d7f3..497d5e1ac4 100644 --- a/examples/opengl/overpainting/glwidget.h +++ b/examples/opengl/overpainting/glwidget.h @@ -41,19 +41,11 @@ #ifndef GLWIDGET_H #define GLWIDGET_H -#include -#include -#include -#include #include #include class Bubble; class QtLogo; -QT_BEGIN_NAMESPACE -class QPaintEvent; -class QWidget; -QT_END_NAMESPACE //! [0] class GLWidget : public QGLWidget @@ -108,4 +100,4 @@ private: //! [4] }; -#endif +#endif // GLWIDGET_H diff --git a/examples/opengl/overpainting/main.cpp b/examples/opengl/overpainting/main.cpp index c4758956ba..2d40a7f76b 100644 --- a/examples/opengl/overpainting/main.cpp +++ b/examples/opengl/overpainting/main.cpp @@ -38,9 +38,10 @@ ** ****************************************************************************/ -#include #include "glwidget.h" +#include + int main(int argc, char *argv[]) { QApplication app(argc, argv); diff --git a/examples/opengl/overpainting/overpainting.pro b/examples/opengl/overpainting/overpainting.pro index 141c8cb7ce..aecc14751b 100644 --- a/examples/opengl/overpainting/overpainting.pro +++ b/examples/opengl/overpainting/overpainting.pro @@ -1,10 +1,12 @@ +QT += opengl widgets + VPATH += ../shared INCLUDEPATH += ../shared -QT += opengl widgets HEADERS = bubble.h \ glwidget.h \ qtlogo.h + SOURCES = bubble.cpp \ glwidget.cpp \ main.cpp \ diff --git a/examples/opengl/shared/qtlogo.cpp b/examples/opengl/shared/qtlogo.cpp index fa3d91c840..e49ed7e67c 100644 --- a/examples/opengl/shared/qtlogo.cpp +++ b/examples/opengl/shared/qtlogo.cpp @@ -38,14 +38,14 @@ ** ****************************************************************************/ +#include "qtlogo.h" + #include #include #include #include -#include "qtlogo.h" - static const qreal tee_height = 0.311126; static const qreal cross_width = 0.25; static const qreal bar_thickness = 0.113137; @@ -117,7 +117,7 @@ void Geometry::finalize() void Geometry::appendSmooth(const QVector3D &a, const QVector3D &n, int from) { - // Smooth normals are acheived by averaging the normals for faces meeting + // Smooth normals are achieved by averaging the normals for faces meeting // at a point. First find the point in geometry already generated // (working backwards, since most often the points shared are between faces // recently added). @@ -125,28 +125,27 @@ void Geometry::appendSmooth(const QVector3D &a, const QVector3D &n, int from) for ( ; v >= from; --v) if (qFuzzyCompare(vertices[v], a)) break; - if (v < from) - { - // The vert was not found so add it as a new one, and initialize + + if (v < from) { + // The vertex was not found so add it as a new one, and initialize // its corresponding normal v = vertices.count(); vertices.append(a); normals.append(n); - } - else - { + } else { // Vert found, accumulate normals into corresponding normal slot. // Must call finalize once finished accumulating normals normals[v] += n; } - // In both cases (found or not) reference the vert via its index + + // In both cases (found or not) reference the vertex via its index faces.append(v); } void Geometry::appendFaceted(const QVector3D &a, const QVector3D &n) { - // Faceted normals are achieved by duplicating the vert for every - // normal, so that faces meeting at a vert get a sharp edge. + // Faceted normals are achieved by duplicating the vertex for every + // normal, so that faces meeting at a vertex get a sharp edge. int v = vertices.count(); vertices.append(a); normals.append(n); @@ -189,32 +188,29 @@ void Patch::draw() const void Patch::addTri(const QVector3D &a, const QVector3D &b, const QVector3D &c, const QVector3D &n) { QVector3D norm = n.isNull() ? QVector3D::normal(a, b, c) : n; - if (sm == Smooth) - { + + if (sm == Smooth) { geom->appendSmooth(a, norm, initv); geom->appendSmooth(b, norm, initv); geom->appendSmooth(c, norm, initv); - } - else - { + } else { geom->appendFaceted(a, norm); geom->appendFaceted(b, norm); geom->appendFaceted(c, norm); } + count += 3; } void Patch::addQuad(const QVector3D &a, const QVector3D &b, const QVector3D &c, const QVector3D &d) { QVector3D norm = QVector3D::normal(a, b, c); - if (sm == Smooth) - { + + if (sm == Smooth) { addTri(a, b, c, norm); addTri(a, c, d, norm); - } - else - { - // If faceted share the two common verts + } else { + // If faceted share the two common vertices addTri(a, b, c, norm); int k = geom->vertices.count(); geom->appendSmooth(a, norm, k); @@ -224,9 +220,9 @@ void Patch::addQuad(const QVector3D &a, const QVector3D &b, const QVector3D &c, } } -static inline QVector extrude(const QVector &verts, qreal depth) +static inline QVector extrude(const QVector &vertices, qreal depth) { - QVector extr = verts; + QVector extr = vertices; for (int v = 0; v < extr.count(); ++v) extr[v].setZ(extr[v].z() - depth); return extr; @@ -240,6 +236,7 @@ public: for (int i = 0; i < parts.count(); ++i) parts[i]->translate(t); } + void rotate(qreal deg, QVector3D axis) { for (int i = 0; i < parts.count(); ++i) @@ -248,7 +245,7 @@ public: // No special Rectoid destructor - the parts are fetched out of this member // variable, and destroyed by the new owner - QList parts; + QList parts; }; class RectPrism : public Rectoid From 7b54571ec2032628ea71b0af2d65c97b67dd50e0 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 19:22:09 -0800 Subject: [PATCH 370/386] Suppress warning in valgrind headers: variable set but not used qbenchmarkvalgrind.cpp:229:5: error: variable '_qzz_res' set but not used [-Werror=unused-but-set-variable] Change-Id: I3c5896659105650d6d824b10ff3beffbdf494e24 Reviewed-by: Jason McDonald --- src/testlib/3rdparty/valgrind_p.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testlib/3rdparty/valgrind_p.h b/src/testlib/3rdparty/valgrind_p.h index 6380a9f28d..bbce1b24d6 100644 --- a/src/testlib/3rdparty/valgrind_p.h +++ b/src/testlib/3rdparty/valgrind_p.h @@ -259,6 +259,7 @@ typedef : "cc", "memory" \ ); \ _zzq_rlval = _zzq_result; \ + (void)_zzq_rlval; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ From a891ef69201e3c7c7b1090a1315db4c91b8809f5 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 20:47:08 -0800 Subject: [PATCH 371/386] Don't use MPProcessorsScheduled on Mac OS X MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's deprecated and it's not available on iOS anyway. The recommended way of getting the number of processors online is via sysctl or sysconf (both of which are just slightly below). qthread_unix.cpp:397:13: error: 'MPProcessorsScheduled' is deprecated: first deprecated in Mac OS X 10.7 [-Werror,-Wdeprecated-declarations] Change-Id: I4bf60985fbde155b78b840f3de3ff0a142b78b19 Reviewed-by: Tor Arne Vestbø --- src/corelib/thread/qthread_unix.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp index b80653c07e..3b8a3f383b 100644 --- a/src/corelib/thread/qthread_unix.cpp +++ b/src/corelib/thread/qthread_unix.cpp @@ -392,10 +392,7 @@ int QThread::idealThreadCount() Q_DECL_NOTHROW { int cores = -1; -#if defined(Q_OS_MAC) && !defined(Q_OS_IOS) - // Mac OS X - cores = MPProcessorsScheduled(); -#elif defined(Q_OS_HPUX) +#if defined(Q_OS_HPUX) // HP-UX struct pst_dynamic psd; if (pstat_getdynamic(&psd, sizeof(psd), 1, 0) == -1) { @@ -405,7 +402,7 @@ int QThread::idealThreadCount() Q_DECL_NOTHROW cores = (int)psd.psd_proc_cnt; } #elif defined(Q_OS_BSD4) - // FreeBSD, OpenBSD, NetBSD, BSD/OS + // FreeBSD, OpenBSD, NetBSD, BSD/OS, Mac OS X size_t len = sizeof(cores); int mib[2]; mib[0] = CTL_HW; From 19d8a77040b4e17141eaa0f6f1e924f806109d3f Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 19:51:03 -0800 Subject: [PATCH 372/386] Fix warnings in the SQL drivers found by GCC 4.7 qsql_psql.cpp:774:12: error: enumeration value 'CancelQuery' not handled in switch [-Werror=switch] qsql_mysql.cpp:1163:12: error: enumeration value 'CancelQuery' not handled in switch [-Werror=switch] qsql_sqlite.cpp:527:12: error: enumeration value 'CancelQuery' not handled in switch [-Werror=switch] qsql_odbc.cpp:88:97: error: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Werror=format] qsql_odbc.cpp:706:76: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] Change-Id: I79965283057e92a44a0c8375530cfb30107c891c Reviewed-by: Mark Brand --- src/sql/drivers/mysql/qsql_mysql.cpp | 1 + src/sql/drivers/odbc/qsql_odbc.cpp | 27 +++++++++++++------------- src/sql/drivers/psql/qsql_psql.cpp | 1 + src/sql/drivers/sqlite/qsql_sqlite.cpp | 1 + 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/sql/drivers/mysql/qsql_mysql.cpp b/src/sql/drivers/mysql/qsql_mysql.cpp index e7b86cec42..80c3087bf1 100644 --- a/src/sql/drivers/mysql/qsql_mysql.cpp +++ b/src/sql/drivers/mysql/qsql_mysql.cpp @@ -1175,6 +1175,7 @@ bool QMYSQLDriver::hasFeature(DriverFeature f) const case SimpleLocking: case EventNotifications: case FinishQuery: + case CancelQuery: return false; case QuerySize: case BLOB: diff --git a/src/sql/drivers/odbc/qsql_odbc.cpp b/src/sql/drivers/odbc/qsql_odbc.cpp index 0eb078b0e4..c14e2d68c4 100644 --- a/src/sql/drivers/odbc/qsql_odbc.cpp +++ b/src/sql/drivers/odbc/qsql_odbc.cpp @@ -85,7 +85,7 @@ inline static QString fromSQLTCHAR(const QVarLengthArray& input, int s result=QString::fromUcs4((const uint *)input.constData(), realsize); break; default: - qCritical("sizeof(SQLTCHAR) is %d. Don't know how to handle this.", sizeof(SQLTCHAR)); + qCritical("sizeof(SQLTCHAR) is %d. Don't know how to handle this.", int(sizeof(SQLTCHAR))); } return result; } @@ -105,7 +105,7 @@ inline static QVarLengthArray toSQLTCHAR(const QString &input) memcpy(result.data(), input.toUcs4().data(), input.size() * 4); break; default: - qCritical("sizeof(SQLTCHAR) is %d. Don't know how to handle this.", sizeof(SQLTCHAR)); + qCritical("sizeof(SQLTCHAR) is %d. Don't know how to handle this.", int(sizeof(SQLTCHAR))); } result.append(0); // make sure it's null terminated, doesn't matter if it already is, it does if it isn't. return result; @@ -646,7 +646,7 @@ static QSqlField qMakeFieldInfo(const QODBCPrivate* p, int i ) return f; } -static int qGetODBCVersion(const QString &connOpts) +static size_t qGetODBCVersion(const QString &connOpts) { if (connOpts.contains(QLatin1String("SQL_ATTR_ODBC_VERSION=SQL_OV_ODBC3"), Qt::CaseInsensitive)) return SQL_OV_ODBC3; @@ -703,13 +703,13 @@ bool QODBCDriverPrivate::setConnectionOptions(const QString& connOpts) qWarning() << "QODBCDriver::open: Unknown option value '" << val << '\''; continue; } - r = SQLSetConnectAttr(hDbc, SQL_ATTR_ACCESS_MODE, (SQLPOINTER) v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_ACCESS_MODE, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_CONNECTION_TIMEOUT")) { v = val.toUInt(); - r = SQLSetConnectAttr(hDbc, SQL_ATTR_CONNECTION_TIMEOUT, (SQLPOINTER) v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_CONNECTION_TIMEOUT, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_LOGIN_TIMEOUT")) { v = val.toUInt(); - r = SQLSetConnectAttr(hDbc, SQL_ATTR_LOGIN_TIMEOUT, (SQLPOINTER) v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_LOGIN_TIMEOUT, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_CURRENT_CATALOG")) { val.utf16(); // 0 terminate r = SQLSetConnectAttr(hDbc, SQL_ATTR_CURRENT_CATALOG, @@ -728,10 +728,10 @@ bool QODBCDriverPrivate::setConnectionOptions(const QString& connOpts) qWarning() << "QODBCDriver::open: Unknown option value '" << val << '\''; continue; } - r = SQLSetConnectAttr(hDbc, SQL_ATTR_METADATA_ID, (SQLPOINTER) v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_METADATA_ID, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_PACKET_SIZE")) { v = val.toUInt(); - r = SQLSetConnectAttr(hDbc, SQL_ATTR_PACKET_SIZE, (SQLPOINTER) v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_PACKET_SIZE, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_TRACEFILE")) { val.utf16(); // 0 terminate r = SQLSetConnectAttr(hDbc, SQL_ATTR_TRACEFILE, @@ -750,7 +750,7 @@ bool QODBCDriverPrivate::setConnectionOptions(const QString& connOpts) qWarning() << "QODBCDriver::open: Unknown option value '" << val << '\''; continue; } - r = SQLSetConnectAttr(hDbc, SQL_ATTR_TRACE, (SQLPOINTER) v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_TRACE, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_CONNECTION_POOLING")) { if (val == QLatin1String("SQL_CP_OFF")) v = SQL_CP_OFF; @@ -764,7 +764,7 @@ bool QODBCDriverPrivate::setConnectionOptions(const QString& connOpts) qWarning() << "QODBCDriver::open: Unknown option value '" << val << '\''; continue; } - r = SQLSetConnectAttr(hDbc, SQL_ATTR_CONNECTION_POOLING, (SQLPOINTER)v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_CONNECTION_POOLING, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_CP_MATCH")) { if (val.toUpper() == QLatin1String("SQL_CP_STRICT_MATCH")) v = SQL_CP_STRICT_MATCH; @@ -776,7 +776,7 @@ bool QODBCDriverPrivate::setConnectionOptions(const QString& connOpts) qWarning() << "QODBCDriver::open: Unknown option value '" << val << '\''; continue; } - r = SQLSetConnectAttr(hDbc, SQL_ATTR_CP_MATCH, (SQLPOINTER)v, 0); + r = SQLSetConnectAttr(hDbc, SQL_ATTR_CP_MATCH, (SQLPOINTER) size_t(v), 0); } else if (opt.toUpper() == QLatin1String("SQL_ATTR_ODBC_VERSION")) { // Already handled in QODBCDriver::open() continue; @@ -1801,6 +1801,7 @@ bool QODBCDriver::hasFeature(DriverFeature f) const case BatchOperations: case SimpleLocking: case EventNotifications: + case CancelQuery: return false; case MultipleResultSets: return d->hasMultiResultSets; @@ -2171,7 +2172,7 @@ bool QODBCDriver::beginTransaction() SQLUINTEGER ac(SQL_AUTOCOMMIT_OFF); SQLRETURN r = SQLSetConnectAttr(d->hDbc, SQL_ATTR_AUTOCOMMIT, - (SQLPOINTER)ac, + (SQLPOINTER)size_t(ac), sizeof(ac)); if (r != SQL_SUCCESS) { setLastError(qMakeError(tr("Unable to disable autocommit"), @@ -2220,7 +2221,7 @@ bool QODBCDriver::endTrans() SQLUINTEGER ac(SQL_AUTOCOMMIT_ON); SQLRETURN r = SQLSetConnectAttr(d->hDbc, SQL_ATTR_AUTOCOMMIT, - (SQLPOINTER)ac, + (SQLPOINTER)size_t(ac), sizeof(ac)); if (r != SQL_SUCCESS) { setLastError(qMakeError(tr("Unable to enable autocommit"), QSqlError::TransactionError, d)); diff --git a/src/sql/drivers/psql/qsql_psql.cpp b/src/sql/drivers/psql/qsql_psql.cpp index 5181d4f27a..b66af49de6 100644 --- a/src/sql/drivers/psql/qsql_psql.cpp +++ b/src/sql/drivers/psql/qsql_psql.cpp @@ -786,6 +786,7 @@ bool QPSQLDriver::hasFeature(DriverFeature f) const case SimpleLocking: case FinishQuery: case MultipleResultSets: + case CancelQuery: return false; case BLOB: return d->pro >= QPSQLDriver::Version71; diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp index 595ef496ec..a0ccde96d4 100644 --- a/src/sql/drivers/sqlite/qsql_sqlite.cpp +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp @@ -540,6 +540,7 @@ bool QSQLiteDriver::hasFeature(DriverFeature f) const case BatchOperations: case EventNotifications: case MultipleResultSets: + case CancelQuery: return false; } return false; From b5de3baa6f6284446bb98d5099816c8318fac0ac Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:34:18 -0800 Subject: [PATCH 373/386] Add qtest_widget.h to the list of testlib headers It was missing. Change-Id: I356f6ccddf4fc56e76858fdeaa8ef116e3b680af Reviewed-by: Jason McDonald --- src/testlib/testlib.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testlib/testlib.pro b/src/testlib/testlib.pro index db908574fd..6b74f23454 100644 --- a/src/testlib/testlib.pro +++ b/src/testlib/testlib.pro @@ -26,6 +26,7 @@ HEADERS = qbenchmark.h \ qtesteventloop.h \ qtest_global.h \ qtest_gui.h \ + qtest_widgets.h \ qtest.h \ qtestkeyboard.h \ qtestmouse.h \ From fbfe420aeb03f497edc86b38a00b4c5cdc62cd4c Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 22:07:13 -0800 Subject: [PATCH 374/386] Fix warnings reported by Clang in QtWidget qwizard.cpp:919:24: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] if ((info.wizStyle == QWizard::AeroStyle) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ Change-Id: I477cc4e331633682b79df3cb0113558e9019280c Reviewed-by: Andreas Aardal Hanssen Reviewed-by: Olivier Goffart --- src/widgets/dialogs/qwizard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dialogs/qwizard.cpp b/src/widgets/dialogs/qwizard.cpp index 44518ec7d5..241e9f678a 100644 --- a/src/widgets/dialogs/qwizard.cpp +++ b/src/widgets/dialogs/qwizard.cpp @@ -916,7 +916,7 @@ QWizardLayoutInfo QWizardPrivate::layoutInfoForCurrentPage() info.buttonSpacing = 12; info.wizStyle = wizStyle; - if ((info.wizStyle == QWizard::AeroStyle) + if (info.wizStyle == QWizard::AeroStyle #if !defined(QT_NO_STYLE_WINDOWSVISTA) && (QVistaHelper::vistaState() == QVistaHelper::Classic || vistaDisabled()) #endif From 8094c8fe184ae10fe8673bc35a16bfe17b7510ff Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 28 Dec 2012 20:38:19 -0200 Subject: [PATCH 375/386] Remove unused function _q_qgraphicsItemSetFlag Clang reports: graphicsview/qgraphicsitem.cpp:1779:13: error: function '_q_qgraphicsItemSetFlag' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] static void _q_qgraphicsItemSetFlag(QGraphicsItem *item, QGraphicsItem::GraphicsItemFlag flag, ^ According to the public Git history, in Qt 4.5.1 this function was already unused. The only reason it wasn't caught so far is that it is recursive: it calls itself. So it is used... by itself. Change-Id: I6fc6b33cb314b845525dc9315d0ad742e113d5cd Reviewed-by: Andreas Aardal Hanssen Reviewed-by: Olivier Goffart --- src/widgets/graphicsview/qgraphicsitem.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index 3ba9b89e34..ec4a1827ef 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -1771,24 +1771,6 @@ void QGraphicsItem::setFlag(GraphicsItemFlag flag, bool enabled) setFlags(GraphicsItemFlags(d_ptr->flags) & ~flag); } -/*! - \internal - - Sets the flag \a flag on \a item and all its children, to \a enabled. -*/ -static void _q_qgraphicsItemSetFlag(QGraphicsItem *item, QGraphicsItem::GraphicsItemFlag flag, - bool enabled) -{ - if (item->flags() & flag) { - // If this item already has the correct flag set, we don't have to - // propagate it. - return; - } - item->setFlag(flag, enabled); - foreach (QGraphicsItem *child, item->childItems()) - _q_qgraphicsItemSetFlag(child, flag, enabled); -} - /*! Sets the item flags to \a flags. All flags in \a flags are enabled; all flags not in \a flags are disabled. From 03a666760c7abc2d7272e8080c17628b81d0858d Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 20 Dec 2012 13:20:43 +0100 Subject: [PATCH 376/386] Speed up and fix QByteArray::setNum() Going through QLocale and QString is not really needed. This also makes the result of the conversion of negative numbers in bases other than 10 independent of the architecture and implements the documented behavior of treating them as unsigned types. Change-Id: Ibc231dc5241deb5cbadd9796484a8b5f79c29410 Reviewed-by: Olivier Goffart --- src/corelib/tools/qbytearray.cpp | 46 ++++++++++++++----- src/corelib/tools/qbytearray.h | 4 +- .../tools/qbytearray/tst_qbytearray.cpp | 19 +++++++- 3 files changed, 54 insertions(+), 15 deletions(-) diff --git a/src/corelib/tools/qbytearray.cpp b/src/corelib/tools/qbytearray.cpp index feda8f441d..3685a8938a 100644 --- a/src/corelib/tools/qbytearray.cpp +++ b/src/corelib/tools/qbytearray.cpp @@ -3585,7 +3585,8 @@ QByteArray QByteArray::toBase64() const Sets the byte array to the printed value of \a n in base \a base (10 by default) and returns a reference to the byte array. The \a base can - be any value between 2 and 36. + be any value between 2 and 36. For bases other than 10, n is treated + as an unsigned integer. Example: \snippet code/src_corelib_tools_qbytearray.cpp 40 @@ -3623,7 +3624,7 @@ QByteArray QByteArray::toBase64() const \sa toLongLong() */ -QByteArray &QByteArray::setNum(qlonglong n, int base) +static char *qulltoa2(char *p, qulonglong n, int base) { #if defined(QT_CHECK_RANGE) if (base < 2 || base > 36) { @@ -3631,8 +3632,31 @@ QByteArray &QByteArray::setNum(qlonglong n, int base) base = 10; } #endif - QLocale locale(QLocale::C); - *this = locale.d->longLongToString(n, -1, base).toLatin1(); + const char b = 'a' - 10; + do { + const int c = n % base; + n /= base; + *--p = c + (c < 10 ? '0' : b); + } while (n); + + return p; +} + +QByteArray &QByteArray::setNum(qlonglong n, int base) +{ + const int buffsize = 66; // big enough for MAX_ULLONG in base 2 + char buff[buffsize]; + char *p; + + if (n < 0 && base == 10) { + p = qulltoa2(buff + buffsize, qulonglong(-(1 + n)) + 1, base); + *--p = '-'; + } else { + p = qulltoa2(buff + buffsize, qulonglong(n), base); + } + + clear(); + append(p, buffsize - (p - buff)); return *this; } @@ -3644,14 +3668,12 @@ QByteArray &QByteArray::setNum(qlonglong n, int base) QByteArray &QByteArray::setNum(qulonglong n, int base) { -#if defined(QT_CHECK_RANGE) - if (base < 2 || base > 36) { - qWarning("QByteArray::setNum: Invalid base %d", base); - base = 10; - } -#endif - QLocale locale(QLocale::C); - *this = locale.d->unsLongLongToString(n, -1, base).toLatin1(); + const int buffsize = 66; // big enough for MAX_ULLONG in base 2 + char buff[buffsize]; + char *p = qulltoa2(buff + buffsize, n, base); + + clear(); + append(p, buffsize - (p - buff)); return *this; } diff --git a/src/corelib/tools/qbytearray.h b/src/corelib/tools/qbytearray.h index 50e52a1ca7..860869e9c3 100644 --- a/src/corelib/tools/qbytearray.h +++ b/src/corelib/tools/qbytearray.h @@ -581,11 +581,11 @@ inline QByteArray &QByteArray::replace(const char *before, const char *after) { return replace(before, qstrlen(before), after, qstrlen(after)); } inline QByteArray &QByteArray::setNum(short n, int base) -{ return setNum(qlonglong(n), base); } +{ return base == 10 ? setNum(qlonglong(n), base) : setNum(qulonglong(ushort(n)), base); } inline QByteArray &QByteArray::setNum(ushort n, int base) { return setNum(qulonglong(n), base); } inline QByteArray &QByteArray::setNum(int n, int base) -{ return setNum(qlonglong(n), base); } +{ return base == 10 ? setNum(qlonglong(n), base) : setNum(qulonglong(uint(n)), base); } inline QByteArray &QByteArray::setNum(uint n, int base) { return setNum(qulonglong(n), base); } inline QByteArray &QByteArray::setNum(float n, char f, int prec) diff --git a/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp index bbfffb2063..1084b5a7b1 100644 --- a/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp +++ b/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp @@ -401,7 +401,24 @@ void tst_QByteArray::rightJustified() void tst_QByteArray::setNum() { QByteArray a; - QCOMPARE(a.setNum(123), QByteArray("123")); + QCOMPARE(a.setNum(-1), QByteArray("-1")); + QCOMPARE(a.setNum(0), QByteArray("0")); + QCOMPARE(a.setNum(0, 2), QByteArray("0")); + QCOMPARE(a.setNum(0, 36), QByteArray("0")); + QCOMPARE(a.setNum(1), QByteArray("1")); + QCOMPARE(a.setNum(35, 36), QByteArray("z")); + QCOMPARE(a.setNum(37, 2), QByteArray("100101")); + QCOMPARE(a.setNum(37, 36), QByteArray("11")); + + // Negative numbers are only properly supported for base 10. + QCOMPARE(a.setNum(short(-1), 16), QByteArray("ffff")); + QCOMPARE(a.setNum(int(-1), 16), QByteArray("ffffffff")); + QCOMPARE(a.setNum(qlonglong(-1), 16), QByteArray("ffffffffffffffff")); + + QCOMPARE(a.setNum(short(-1), 10), QByteArray("-1")); + QCOMPARE(a.setNum(int(-1), 10), QByteArray("-1")); + QCOMPARE(a.setNum(qlonglong(-1), 10), QByteArray("-1")); + QCOMPARE(a.setNum(-123), QByteArray("-123")); QCOMPARE(a.setNum(0x123,16), QByteArray("123")); QCOMPARE(a.setNum((short)123), QByteArray("123")); From d443953e6a08ceea809ada6efbada4cd55cac4f3 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 24 Dec 2012 14:38:33 -0800 Subject: [PATCH 377/386] Fix warning found by clang: kernel/qwidgetsfunctions_wince.h:61:34: error: no newline at end of file [-Werror,-Wnewline-eof] Change-Id: Icbc35227946652db53fc8454d1d42043aa7c15b9 Reviewed-by: Andreas Holzammer Reviewed-by: Friedemann Kleint --- src/widgets/kernel/qwidgetsfunctions_wince.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/kernel/qwidgetsfunctions_wince.h b/src/widgets/kernel/qwidgetsfunctions_wince.h index 39d29b83ad..a113f44043 100644 --- a/src/widgets/kernel/qwidgetsfunctions_wince.h +++ b/src/widgets/kernel/qwidgetsfunctions_wince.h @@ -58,4 +58,4 @@ HINSTANCE qt_wince_ShellExecute(HWND hwnd, LPCWSTR operation, LPCWSTR file, LPCW #endif #endif // Q_OS_WINCE -#endif // QWIDGETSFUNCTIONS_WCE_H \ No newline at end of file +#endif // QWIDGETSFUNCTIONS_WCE_H From 2119c8f291e586b44f97f757097c2cc047bd61d1 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:07:11 -0800 Subject: [PATCH 378/386] Make these headers includable directly, on all systems For qwineventnotifier.h, just wrap the code around #ifdef Q_OS_WIN. This has the added benefit of fixing the current qt_no_master_include problem (that is, even if you #include on Windows, you wouldn't get it). For qtypetraits.h, it requires qglobal.h first. Change-Id: If1ba09a0a29de429a5b87e9878c8ac6a62a443c4 Reviewed-by: Laszlo Papp Reviewed-by: Olivier Goffart --- src/corelib/global/qtypetraits.h | 3 ++- src/corelib/kernel/qwineventnotifier.h | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/corelib/global/qtypetraits.h b/src/corelib/global/qtypetraits.h index 0183f33738..54b48667b4 100644 --- a/src/corelib/global/qtypetraits.h +++ b/src/corelib/global/qtypetraits.h @@ -102,11 +102,12 @@ // - Use Qt macros for long long type differences on Windows. // - Enclose in QtPrivate namespace. +#include "QtCore/qglobal.h" + #ifndef QTYPETRAITS_H #define QTYPETRAITS_H #include // For pair -#include "QtCore/qglobal.h" QT_BEGIN_HEADER QT_BEGIN_NAMESPACE diff --git a/src/corelib/kernel/qwineventnotifier.h b/src/corelib/kernel/qwineventnotifier.h index d5e4d0f7e3..291d953e58 100644 --- a/src/corelib/kernel/qwineventnotifier.h +++ b/src/corelib/kernel/qwineventnotifier.h @@ -42,12 +42,9 @@ #ifndef QWINEVENTNOTIFIER_H #define QWINEVENTNOTIFIER_H -#if 0 -// inform syncqt -#pragma qt_no_master_include -#endif - #include "QtCore/qobject.h" + +#ifdef Q_OS_WIN #include "QtCore/qt_windows.h" QT_BEGIN_HEADER @@ -88,4 +85,6 @@ QT_END_NAMESPACE QT_END_HEADER +#endif // Q_OS_WIN + #endif // QWINEVENTNOTIFIER_H From db25efe78ba347df5056783441582a3039ee77eb Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Mon, 10 Dec 2012 09:00:14 +0100 Subject: [PATCH 379/386] Make QImage::mirrored() propagate devicePixelRatio Change-Id: I2dfeacc941cb411a7ec6752f745fed9d6345ed8a Reviewed-by: Gunnar Sletta --- src/gui/image/qimage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index c40ca1545a..dbc33719e2 100644 --- a/src/gui/image/qimage.cpp +++ b/src/gui/image/qimage.cpp @@ -4213,6 +4213,7 @@ QImage QImage::mirrored(bool horizontal, bool vertical) const result.d->colortable = d->colortable; result.d->has_alpha_clut = d->has_alpha_clut; + result.d->devicePixelRatio = d->devicePixelRatio; if (depth() == 1) w = (w+7)/8; From aa90f78a34bb1b8b0d185504c97b0b5cec5c66da Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Mon, 31 Dec 2012 12:56:56 +0000 Subject: [PATCH 380/386] Fix bug in multisampling handling when converting from surface format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-28875 Change-Id: If72ce0669de8f344603d2da53eeb5644bd5c4f82 Reviewed-by: Giuseppe D'Angelo Reviewed-by: Jonathan Liu Reviewed-by: Samuel Rødal --- src/opengl/qgl_qpa.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opengl/qgl_qpa.cpp b/src/opengl/qgl_qpa.cpp index 88736ecdb7..fa94b7cc37 100644 --- a/src/opengl/qgl_qpa.cpp +++ b/src/opengl/qgl_qpa.cpp @@ -70,8 +70,8 @@ QGLFormat QGLFormat::fromSurfaceFormat(const QSurfaceFormat &format) if (format.depthBufferSize() >= 0) retFormat.setDepthBufferSize(format.depthBufferSize()); if (format.samples() > 1) { - retFormat.setSampleBuffers(format.samples()); - retFormat.setSamples(true); + retFormat.setSampleBuffers(true); + retFormat.setSamples(format.samples()); } if (format.stencilBufferSize() > 0) { retFormat.setStencil(true); From afa57146cb519f27d816a295dadb2f0e71733f4b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:40:26 -0800 Subject: [PATCH 381/386] Fix warning about unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qeglfshooks.h:77:21: error: 'hooks' defined but not used [-Werror=unused-variable] Defining a static variable in a header file is a terrible idea. But if I remove it, other code breaks and I don't have the time to fix them all. Change-Id: I4f94cbc7f0790df91853662749701e8fb11c2347 Reviewed-by: Samuel Rødal --- src/plugins/platforms/eglfs/qeglfshooks_stub.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp b/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp index f60b9ee83d..7106b99490 100644 --- a/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp +++ b/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp @@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE void QEglFSHooks::platformInit() { + Q_UNUSED(hooks); } void QEglFSHooks::platformDestroy() From e2fb3f94e8133c32239edf157e3afac4d54028e5 Mon Sep 17 00:00:00 2001 From: Jon Severinsson Date: Sat, 22 Dec 2012 23:45:15 +0100 Subject: [PATCH 382/386] qdbusxml2cpp: Check string length before checking for \r\n. Change-Id: I5370bae258933536ecf9785da95a9006fafc1a62 Reviewed-by: Lars Knoll Reviewed-by: Thiago Macieira --- src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp index bdc9bc30dc..786d5108fc 100644 --- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp +++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp @@ -498,7 +498,7 @@ static QString stringify(const QString &data) retval += QLatin1String("\\\""); else retval += data[i]; - if (data[i] == QLatin1Char('\r') && data[i+1] == QLatin1Char('\n')) + if (i+1 < data.length() && data[i] == QLatin1Char('\r') && data[i+1] == QLatin1Char('\n')) i++; retval += QLatin1String("\\n\"\n"); } From ebcc41ed729bb6edaefc5b2c229ca3eedd137478 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:26:10 -0800 Subject: [PATCH 383/386] Make qtestaccessible.h compile with QT_NO_KEYWORDS Change-Id: I2065be84d69db62cdae1ad6ac66a09fc5f3454eb Reviewed-by: Frederik Gladhorn --- src/testlib/qtestaccessible.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testlib/qtestaccessible.h b/src/testlib/qtestaccessible.h index b4603a776d..830c5346ed 100644 --- a/src/testlib/qtestaccessible.h +++ b/src/testlib/qtestaccessible.h @@ -256,7 +256,7 @@ private: str << "Event " << needle->object() << ", type: " << needle->type() << ", child: " << needle->child() << " not found at head of event list of size " << haystack.size() << " :"; - foreach (const QAccessibleEvent *e, haystack) + Q_FOREACH (const QAccessibleEvent *e, haystack) str << ' ' << e->object() << ", type: " << e->type() << ", child: " << e->child(); return rc; From 2f365ae7ec07878ed4c3148ab56cd8b1d222f0db Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 21 Dec 2012 19:39:46 -0800 Subject: [PATCH 384/386] Fix GCC warning about parentheses in QtPlatformSupport atspiadaptor.cpp:2140:12: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=parentheses] Change-Id: Ib21308f9c1b3bf813fed803228d8adbcc3ce7e9f Reviewed-by: Frederik Gladhorn --- src/platformsupport/linuxaccessibility/atspiadaptor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp index c88f89b634..534cf4b73a 100644 --- a/src/platformsupport/linuxaccessibility/atspiadaptor.cpp +++ b/src/platformsupport/linuxaccessibility/atspiadaptor.cpp @@ -2137,8 +2137,9 @@ bool AtSpiAdaptor::valueInterface(const QAIPointer &interface, const QString &fu qAtspiDebug() << "WARNING: AtSpiAdaptor::valueInterface does not implement " << function << message.path(); return false; } - if (!value.canConvert(QVariant::Double)) + if (!value.canConvert(QVariant::Double)) { qAtspiDebug() << "AtSpiAdaptor::valueInterface: Could not convert to double: " << function; + } // explicitly convert to dbus-variant containing one double since atspi expects that // everything else might fail to convert back on the other end From 1342f5da382532d75b381e0dd303cb57827a0d29 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 2 Jan 2013 17:44:17 +0100 Subject: [PATCH 385/386] Move the Q_DECLARE_METATYPE for QList to qsslerror.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise it is possible to assert if qRegisterMetaType >("QList") is called in a TU which does not include the Q_DECLARE_METATYPE invocation. Change-Id: Ice1ffbb0f8d0a745d2bffc8b4e13ca31621e8ca4 Reviewed-by: Jędrzej Nowacki Reviewed-by: Richard J. Moore --- src/network/ssl/qsslerror.h | 4 ++++ src/network/ssl/qsslsocket.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network/ssl/qsslerror.h b/src/network/ssl/qsslerror.h index a222e2c58d..1acc5cb6e5 100644 --- a/src/network/ssl/qsslerror.h +++ b/src/network/ssl/qsslerror.h @@ -122,6 +122,10 @@ Q_NETWORK_EXPORT QDebug operator<<(QDebug debug, const QSslError::SslError &erro QT_END_NAMESPACE +#ifndef QT_NO_SSL +Q_DECLARE_METATYPE(QList) +#endif + QT_END_HEADER #endif diff --git a/src/network/ssl/qsslsocket.h b/src/network/ssl/qsslsocket.h index 306fb636a6..37f7c484f4 100644 --- a/src/network/ssl/qsslsocket.h +++ b/src/network/ssl/qsslsocket.h @@ -223,10 +223,6 @@ private: QT_END_NAMESPACE -#ifndef QT_NO_SSL -Q_DECLARE_METATYPE(QList) -#endif - QT_END_HEADER #endif From 83188c6499ccdc87c0a2c468bb497e287f5db369 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Thu, 3 Jan 2013 11:00:33 +0100 Subject: [PATCH 386/386] test: Change trolltech.com:443 to qt-project.org:443 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit trolltech.com seems to be shut down already Change-Id: Ic90ce01aeb51b6f154b9bbf4762c365a398c9e3d Reviewed-by: Simo Fält Reviewed-by: Stephen Kelly --- tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp index a0683dd322..df84b7e7d8 100644 --- a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp @@ -730,7 +730,7 @@ void tst_QSslSocket::peerCertificateChain() QVERIFY(socket->waitForDisconnected()); // connect again to a different server - socket->connectToHostEncrypted("trolltech.com", 443); + socket->connectToHostEncrypted("qt-project.org", 443); socket->ignoreSslErrors(); QCOMPARE(socket->mode(), QSslSocket::UnencryptedMode); QVERIFY(socket->peerCertificateChain().isEmpty());