platform/upstream/qttools.git
9 years agomacdeployqt: Work around broken QLibraryInfo
Morten Johan Sørvig [Wed, 12 Aug 2015 11:54:31 +0000 (13:54 +0200)]
macdeployqt: Work around broken QLibraryInfo

Add fallback code path for locating qmlimportscanner
relative to the macdeployqt binary.

Task-number: QTBUG-46404
Change-Id: I9c837b5da518af45cef1292f9cd0422fccba8e5f
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
9 years agomacdeployqt: Always print errors
Morten Johan Sørvig [Wed, 12 Aug 2015 08:33:10 +0000 (10:33 +0200)]
macdeployqt: Always print errors

Don't require -verbose=1.

Change-Id: I6c27c68635698984d8c1e2a1c4604a2b409d6b56
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agomacdeployqt: halt on missing qmlimportscanner
Morten Johan Sørvig [Wed, 12 Aug 2015 08:32:29 +0000 (10:32 +0200)]
macdeployqt: halt on missing qmlimportscanner

This is going to produce a broken bundle; stop
and print the error.

Change-Id: Ie58d357b97adc229393d80e9dde5e10c65c9bc99
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agomacdeployqt: strip the application binary
Morten Johan Sørvig [Wed, 12 Aug 2015 06:45:06 +0000 (08:45 +0200)]
macdeployqt: strip the application binary

In addition to running 'strip' on the framework and
plugin binaries.

Change-Id: I90b1f50f8212d1399933d4cd5c35aaee8e5212f2
Task-number: QTBUG-17447
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agoAdd option for skipping use of private API.
Morten Johan Sørvig [Tue, 6 May 2014 12:05:13 +0000 (14:05 +0200)]
Add option for skipping use of private API.

The qsqlodbc and qsqlpsql are known to cause rejections
from the Mac App store due to use of private/deprecated
API.

The plugins are deployed whenever the SQL module is used.
Due to this corse granularity of plugin selection apps
may find themselves rejected for plugins which they
are not actually using.

Make macdeployqt print a warning when sqlodbc or sqlpsql
is deployed. Add "-appstore-compliant" which will
skip deployment of the plugins.

Task-number: QTBUG-37835
Task-number: QTBUG-38607
Change-Id: I7325156ffaf228a97d7ceeb12f329b3f10db4ff2
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agomacdeployqt: correct process return values.
Morten Johan Sørvig [Tue, 11 Aug 2015 20:17:07 +0000 (22:17 +0200)]
macdeployqt: correct process return values.

Task-number: QTBUG-9332
Change-Id: I684f640d38326f6607669501e0b20be663692fc3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agomacdeployqt: Workaround for QtQuick.PrivateWidgets
Morten Johan Sørvig [Tue, 11 Aug 2015 14:19:24 +0000 (16:19 +0200)]
macdeployqt: Workaround for QtQuick.PrivateWidgets

Deploy PrivateWidgets if QtWidget.framework and
QtQuick.Controls is in use.

Task-number: QTBUG-45977
Change-Id: Id2d7af8895be136d84bed92043fc790b156d8dea
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agomacdeployqt: fix QML import deps deployment
Morten Johan Sørvig [Tue, 11 Aug 2015 11:46:14 +0000 (13:46 +0200)]
macdeployqt: fix QML import deps deployment

The plugin deployment step needs to run after QML
imports deployment in order to take frameworks
added by QML imports into account.

Move deployPlugins() down. Update deploymentInfo.
deployedFrameworks after deployQmlImports() has run.

Change-Id: I1d9ce827b1c0205ec37f027d03a9b4a2bb846801
Task-number: QTBUG-46981
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agoFix QML imports deployment when using path
Morten Johan Sørvig [Mon, 10 Aug 2015 13:36:16 +0000 (15:36 +0200)]
Fix QML imports deployment when using path

During deployment the value of LC_RPATH on the main
executable gets updated with a new value pointing
inside the app bundle. This happens before QML
import deployment, which means reading LC_RPATH
at QML import deployment time will not give the
correct value.

Use the cached value stored in the DeploymentInfo
structure instead, which will point back to the Qt
installation.

Task-number: QTBUG-47390
Change-Id: Ide84240de408d2338c9f7a68a73849263ce69dff
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
9 years agowindeployqt: Patch qt_prfxpath when deploying Qt5Core
Kai Koehne [Fri, 17 Jul 2015 10:24:47 +0000 (12:24 +0200)]
windeployqt: Patch qt_prfxpath when deploying Qt5Core

Patch the preconfigured Qt path in Qt5Core to '.'. This allows one to
immediately test whether the generated package is self-contained, without
Qt being able to 'fall back' to the installed Qt for loading plugins. It
is also fixing a potential security issue where Qt tries to load plugins
from 'unexpected' places.

The effect is the same as adding a qt.conf file with all the defaults.
However, a lot of people consider adding a qt.conf ugly.

[ChangeLog][Important behavior changes][windeployqt] windeployqt now
changes the hardcoded QLibraryInfo::PrefixPath in Qt5Core to be relative
to the executable.

Change-Id: Ib59d84453913f28b806ae78a0ef138eb4f0045fa
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoUpdate the processor feature reporting in qtdiag
Thiago Macieira [Sun, 19 Jul 2015 05:37:46 +0000 (22:37 -0700)]
Update the processor feature reporting in qtdiag

Don't try to report on features from the wrong processor

Change-Id: Ib306f8f647014b399b87ffff13f2426ce9047e98
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoProspective fix to make lupdate tests pass.
Friedemann Kleint [Mon, 27 Jul 2015 10:20:44 +0000 (12:20 +0200)]
Prospective fix to make lupdate tests pass.

Suppress the qmake message about creating a .stash file. This should
fix failures like:

FAIL!  : tst_lupdate::good(heuristics) Output for /Users/qt/work/qt/qttools/tests/auto/linguist/lupdate/testdata/good/heuristics/expectedoutput.txt does not meet expectations:
 <<<<<<< got
 Info: creating stash file /Users/qt/work/qt/qttools/tests/auto/linguist/lupdate/testdata/good/heuristics/.qmake.stash
 =========
 >>>>>>> expected

Change-Id: I1f7737e7f8463fcd92a4faf7f87a484de72d0921
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agowindeployqt: Add QtWebChannel as a module that can be specified
Andy Shaw [Mon, 27 Jul 2015 13:52:30 +0000 (15:52 +0200)]
windeployqt: Add QtWebChannel as a module that can be specified

Change-Id: I76d7b871facf27af15036cfa48e4e7881a42aec2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agowindeployqt: Deploy MSVC debug runtime dlls instead of redist package.
Friedemann Kleint [Fri, 24 Jul 2015 09:17:59 +0000 (11:17 +0200)]
windeployqt: Deploy MSVC debug runtime dlls instead of redist package.

The redistributable package only contains the release mode DLLs, so
it does not make sense for debug builds. Deploy DLLs instead for
debug builds.

[ChangeLog][windeployqt] windeployqt now deploys the MSVC debug mode runtime
dlls instead of the redistributable package for debug builds.

Change-Id: I84e0ec784c3dde72f206ce69dcaf1169d0fe0fef
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agomacdeployqt: Fix typo in help output
Kai Koehne [Wed, 22 Jul 2015 14:12:00 +0000 (16:12 +0200)]
macdeployqt: Fix typo in help output

Change-Id: I4993a21c6544edf289e5ee6aa084647c4ad6e4b5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agowindeployqt: Adapt to MSVC 2015.
Friedemann Kleint [Tue, 21 Jul 2015 12:12:03 +0000 (14:12 +0200)]
windeployqt: Adapt to MSVC 2015.

The name of the runtime libraries changed to VCRUNTIME140[D].DLL.

Task-number: QTBUG-47334
Change-Id: Ibe9234e91801730afb2c0015abe94458fe22ba0f
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agowindeployqt: Deploy new webengine resources
Kai Koehne [Tue, 14 Jul 2015 11:48:29 +0000 (13:48 +0200)]
windeployqt: Deploy new webengine resources

See change 7345ef65af262eb0b958905d7175cc836821cf25 in qtwebengine.

Task-number: QTBUG-47018
Change-Id: I325885dbdce1fa3c6130ad6c6271366bdb430d27
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agowindeployqt: Deploy plugins in platforminputcontexts for QtGui.
Friedemann Kleint [Mon, 13 Jul 2015 12:58:14 +0000 (14:58 +0200)]
windeployqt: Deploy plugins in platforminputcontexts for QtGui.

Change-Id: I7fe4d21b078bf2e0812acb0f688fb64cb4fdfddb
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agowindeployqt: Fix deployment of Q53DInput.dll
Tobias Koenig [Thu, 9 Jul 2015 09:45:11 +0000 (11:45 +0200)]
windeployqt: Fix deployment of Q53DInput.dll

Fix the typo in the name of the DLL.

Change-Id: I81df26d837c3294852eba688db701503f95aad66
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoFix -Wcast-qual warnings found by GCC
Thiago Macieira [Thu, 26 Mar 2015 05:06:22 +0000 (22:06 -0700)]
Fix -Wcast-qual warnings found by GCC

...by switching to static_cast

Change-Id: Iee8cbc07c4434ce9b560ffff13cef3f916f521a3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoBump version
Oswald Buddenhagen [Mon, 29 Jun 2015 08:48:12 +0000 (10:48 +0200)]
Bump version

Change-Id: I97bd7a6de4a0fa51789c0cee8cf0703e32429f6f

9 years agoMerge remote-tracking branch 'origin/5.5.0' into 5.5
Liang Qi [Fri, 26 Jun 2015 12:04:54 +0000 (14:04 +0200)]
Merge remote-tracking branch 'origin/5.5.0' into 5.5

Change-Id: Idc7ad0119c9b37908fc432b31163a9b9e8f45734

9 years agowindeployqt: Fix MSVC debug/release detection for WinRT.
Friedemann Kleint [Mon, 15 Jun 2015 12:51:21 +0000 (14:51 +0200)]
windeployqt: Fix MSVC debug/release detection for WinRT.

Change 6c8954b07807e31dbc8967ba6d92d4d022073087 caused WinRT modules
to be detected as release always since the runtime libraries there are
called msvcp120d_app.dll / msvcp120_app.dll. Change the algorithm
to check on the first character after the version number.

Change-Id: I7eb645e9b94f21dd8daaf24f59009cc9c6f18c4c
Task-number: QTBUG-46629
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agomacdeployqt: Fix rpath setting for additional executables
Eike Ziller [Mon, 15 Jun 2015 09:39:06 +0000 (11:39 +0200)]
macdeployqt: Fix rpath setting for additional executables

Additional executables can lie anywhere within the app bundle, so we
have to individually calculate the corresponding rpath instead of hard
coding to @loader_path/../Frameworks.

Task-number: QTBUG-46660
Change-Id: If213ad002b38a6690a30e7aeae47e201fdc4800c
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
9 years agowindeployqt: Fix broken deployment of ANGLE.
Friedemann Kleint [Fri, 12 Jun 2015 13:07:41 +0000 (15:07 +0200)]
windeployqt: Fix broken deployment of ANGLE.

Commit 48b5cb2e682fd58e60b5650366c0291020e8b264 (windeployqt: Add support
for x86 based WinCE) broke the if condition as revealed by g++:

main.cpp: In function 'DeployResult deploy(const Options&, const QMap<QString, QString>&, QString*)':
main.cpp:1189:77: warning: 'and' of mutually exclusive equal-tests is always 0
     if ((options.platform & WindowsBased) && !(options.platform & WinCEIntel) && !(options.platform & WinCEArm) && !qtGuiLibrary.isEmpty())  {

Change-Id: I91e8d4b93b1060330bff883f5eaa4eacc27e474f
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agoAdd auto test for windeployqt.
Friedemann Kleint [Fri, 12 Jun 2015 15:01:37 +0000 (17:01 +0200)]
Add auto test for windeployqt.

Deploy test application and launch in clean environment
with qt.conf to verify that deployment works.

Task-number: QTBUG-46629
Change-Id: I3b73354b95e7e5c55c8f30991fbc9f7443176079
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agowindeployqt: Detect -release -force-debug-info MSVC builds as release.
Friedemann Kleint [Fri, 12 Jun 2015 12:52:32 +0000 (14:52 +0200)]
windeployqt: Detect -release -force-debug-info MSVC builds as release.

Factor out detection logic into a template for 32/64bit.
When a debug entry is detected, detect release if the
library positively uses the release runtime dll.

Task-number: QTBUG-46629
Change-Id: Ic34c2e3850e7f1945086da87867934c502026a2e
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agoqtdiag: Add new capabilities/style hints for Qt 5.5.
Friedemann Kleint [Thu, 11 Jun 2015 06:30:09 +0000 (08:30 +0200)]
qtdiag: Add new capabilities/style hints for Qt 5.5.

Change-Id: I88bd49fb6b426a061f24b759cfa17553bfa90a3c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agoAdd missing private headers warning
Samuel Gaist [Fri, 29 Aug 2014 22:16:08 +0000 (00:16 +0200)]
Add missing private headers warning

Change-Id: I61cecd5065d4bb3b32dd7b50cbfe866071e76dbe
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agowindeployqt: Print warning when MinGW runtime cannot be found.
Friedemann Kleint [Mon, 8 Jun 2015 09:59:09 +0000 (11:59 +0200)]
windeployqt: Print warning when MinGW runtime cannot be found.

Task-number: QTBUG-46458
Change-Id: I102eb6b902e9f59e7abacae611b5ad32dbe64eeb
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agomacdeployqt: fix plugin deployment.
Morten Johan Sørvig [Mon, 8 Jun 2015 08:17:52 +0000 (10:17 +0200)]
macdeployqt: fix plugin deployment.

Set deploymentInfo.deployedFrameworks again, which
was accidentally removed by ad31b989.

(The plugin deployment logic uses deployedFrameworks
to determine which plugins to deploy.)

Task-number: QTBUG-46494
Change-Id: I0d6168cc8e646d519578d24dc0a35f0836d3be7b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
9 years agoFix CLucene compile error with VS 2015.
Karsten Heimrich [Wed, 3 Jun 2015 15:26:54 +0000 (17:26 +0200)]
Fix CLucene compile error with VS 2015.

Task-number: QTBUG-45961
Task-number: QTBUG-45976
Task-number: QTBUG-46344
Change-Id: Ic001298e96ae474a4939c445b7816a331135dd53
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agowindeployqt: Add support for x86 based WinCE
Tobias Koenig [Tue, 2 Jun 2015 09:43:30 +0000 (11:43 +0200)]
windeployqt: Add support for x86 based WinCE

Adapt windeployqt to support x86 based WinCE systems
in parallel to arm based WinCE systems.

Change-Id: I855db447524ebc55c68af5eaecbf9f6a448d9ed8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
9 years agoQt Designer: Disambiguate the modules where widgets come from
Sze Howe Koh [Fri, 15 May 2015 00:11:00 +0000 (08:11 +0800)]
Qt Designer: Disambiguate the modules where widgets come from

- QWebView is from "Qt WebKit Widgets", not "Qt WebKit", "Qt WebView" or
  "Qt WebEngine Widgets"
- QQuickWidget is for Qt Quick 2, not Qt Quick 1

Change-Id: Ifd3395cbbe632b0d17b37658044318ddf04770c9
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoLinguist: do not override the roles of Edit menu items
Shawn Rutledge [Thu, 28 May 2015 14:27:49 +0000 (16:27 +0200)]
Linguist: do not override the roles of Edit menu items

The menu items were staying disabled whenever the File dialog is open,
so it was not possible to use them to cut/copy/paste into the native
FileDialog (or its child sheets) on OS X.

Task-number: QTBUG-17291
Change-Id: I0b821bd85d6d614ad845f594e4d8d994e1386d94
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
9 years agoMerge remote-tracking branch 'origin/5.4' into 5.5
Liang Qi [Mon, 25 May 2015 09:03:48 +0000 (11:03 +0200)]
Merge remote-tracking branch 'origin/5.4' into 5.5

Conflicts:
.qmake.conf

Change-Id: I47fe486745efad44537255a56087f4ec0a3b2e82

9 years agoFix the include for QQuickWidget
jkobus [Fri, 22 May 2015 10:55:02 +0000 (12:55 +0200)]
Fix the include for QQuickWidget

Task-number: QTBUG-46139
Change-Id: I499b2fdaaf2ca72350a83a5a8a75eac94f0bcd76
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoFixup "androiddeployqt: Use correct package name when uninstalling"
Alessandro Portale [Wed, 13 May 2015 14:05:44 +0000 (16:05 +0200)]
Fixup "androiddeployqt: Use correct package name when uninstalling"

This partially reverts commit 30329ce24004a54e0bd1bbeff2b139ab13bb6946,
making sure that updateAndroidManifest() works as it did before.

Change-Id: Ia6c28985224ffaa36063e7195e32864c4ce0b67e
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
9 years agoUpdated WinRT license headers to use LGPLv3 instead of LGPLv21
Jani Heikkinen [Wed, 20 May 2015 12:09:18 +0000 (15:09 +0300)]
Updated WinRT license headers to use LGPLv3 instead of LGPLv21

From 5.5.0 -> WinRT port is licensed with LGPLv3, see
http://blog.qt.io/blog/2015/04/29/windows-10-support-in-qt/

Change-Id: Idd2bd07705a9ccdc80d22e896acc42141a96d3ee
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
9 years agoQt Designer: Fix widget box settings.
Friedemann Kleint [Tue, 19 May 2015 09:45:32 +0000 (11:45 +0200)]
Qt Designer: Fix widget box settings.

The group name was used with incorrect case, which
no longer works in Qt 5/Linux.

Task-number: QTBUG-46201
Change-Id: I2be0eb74058dc2c7f5d36b0c5c53d04e50b41b36
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoQt Designer: Update widget box labels
Sze Howe Koh [Thu, 14 May 2015 23:48:43 +0000 (07:48 +0800)]
Qt Designer: Update widget box labels

- Use correct names for 3rd-party technologies ("OpenGL")
- Use appropriate capitalization ("MDI Area", "Key Sequence Edit")
- Make labels as similar to the corresponding class names as possible
  (QDialogButtonBox, QCalendarWidget)

Change-Id: I3d9b1b77b62444496589c7c4a80f3ffb86f27e67
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoQt Designer: Introduce Q_DECL_OVERRIDE.
Friedemann Kleint [Fri, 10 Apr 2015 08:20:09 +0000 (10:20 +0200)]
Qt Designer: Introduce Q_DECL_OVERRIDE.

Replacement done by a script and verified with clang 3.5 to not cause
new warnings.

Change-Id: Ibaa1efe91cd65a6b54591a629b7335aebc0803bf
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoUpdate Qt Designer documentation.
Friedemann Kleint [Tue, 17 Mar 2015 15:34:10 +0000 (16:34 +0100)]
Update Qt Designer documentation.

- Document new QUiPlugin module.
- Fix example documentation to reflect the changes in
  the qmake variables (QT/CONFIG).

Task-number: QTBUG-44724
Change-Id: Idd85d601295af25d634c3186e993abc7090fe002
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agoMacDeployQt: handle "./" in app bundle name
Morten Johan Sørvig [Mon, 11 May 2015 10:07:01 +0000 (12:07 +0200)]
MacDeployQt: handle "./" in app bundle name

Use QDir::cleanPath() to normalize the app bundle
path.

Change-Id: I35053507dd11de986b9f43276e41d9fe3eff0fca
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
9 years agoandroiddeployqt: fix possible infinite loop.
Yoann Lopes [Fri, 8 May 2015 15:43:48 +0000 (17:43 +0200)]
androiddeployqt: fix possible infinite loop.

Change-Id: Id9965521f69c999a417d2b1f54b49b145dd4f32c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
9 years agoTest the Qt5UiPlugin cmake module with CMake 3.0.
Stephen Kelly [Mon, 13 Apr 2015 21:48:44 +0000 (23:48 +0200)]
Test the Qt5UiPlugin cmake module with CMake 3.0.

Test that the forwarding headers work when using the QtDesigner module it
was extracted from.  Test that transitive usage requirements of the
Qt5::UiPlugin module are available through the usage of the Qt5::Designer
target when using CMake 3.0.

Change-Id: I200b5cf111f0160be2504727ab4111ce8a1d6170
Reviewed-by: Stephen Kelly <steveire@gmail.com>
9 years agomove ui loader interfaces to own module
Oswald Buddenhagen [Tue, 14 Apr 2015 13:53:12 +0000 (15:53 +0200)]
move ui loader interfaces to own module

it's backwards to declare the interface as part of the designer library
itself, as that obviously pulls in half of designer itself into custom
widget plugins which should be perfectly usable from the stand-alone
ui loader in uitools. also, designer isn't built for embedded systems,
so the bundling needlessly limited the availability of widget plugins.

so move the relevant headers into a separate include-only module.
the designer module retains forwarding headers, as the old includes
obviously need to continue working.

[ChangeLog][UiTools] Custom widget plugins should now use QT+=uiplugin
instead of QT+=designer. This makes them usable on embedded systems.

Task-number: QTBUG-44724
Change-Id: I5535b10d2f095b257eeda9681f60b2f8c699f7d7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agofix exported dependencies of uitools module
Oswald Buddenhagen [Tue, 14 Apr 2015 13:50:00 +0000 (15:50 +0200)]
fix exported dependencies of uitools module

move the include which declares the correct dependencies to a place where
qt_module.prf can see its effects.

Change-Id: Iba5e2569e35de0b28b75042d49186077f49a06bc
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoremove extension.h duplicate
Oswald Buddenhagen [Fri, 13 Mar 2015 15:22:07 +0000 (16:22 +0100)]
remove extension.h duplicate

it was there only because uilib used to temporarily live in qtbase.
however, the header's inclusion into customwidget.h was pointless in the
first place, so just nuke it.

Change-Id: I85b89e397e4393987192de05ec74e8c2328d2b32
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
9 years agomove container.h to sdk/
Oswald Buddenhagen [Thu, 12 Mar 2015 15:50:04 +0000 (16:50 +0100)]
move container.h to sdk/

QDesignerContainerExtension has absolutely no business in uilib - it's
not about dynamic .ui loading, but a customization of designer itself.

Change-Id: I4fe9acf2c07bc06e0f0d34c541e5d6300a1dc7ce
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agoFix misoverloaded virtual due to recent change in qtdeclarative
Sergio Martins [Wed, 6 May 2015 20:04:07 +0000 (21:04 +0100)]
Fix misoverloaded virtual due to recent change in qtdeclarative

qtdeclarative/9d7b27f5bf44 changed the method's signature.
Added Q_DECL_OVERRIDE so it doesn't happen again.

Change-Id: I98cbd521d8b115c12f00b35a53fc1b773e339160
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agowindeployqt: Additionally check on Qt5WebKit[d].dll for ICU dependency.
Friedemann Kleint [Wed, 6 May 2015 07:02:16 +0000 (09:02 +0200)]
windeployqt: Additionally check on Qt5WebKit[d].dll for ICU dependency.

Qt 5/Windows is no longer configured with -icu by default, only QtWebKit
still depends in it. Its library needs to be checked for ICU as well.

Task-number: QTBUG-45962
Change-Id: Ib08c2ece446f4f1cc4db2410fc0e554363181a6c
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agowinrtrunner: Remove the app when stopping on Windows Phone
Andrew Knight [Sun, 3 May 2015 10:36:22 +0000 (13:36 +0300)]
winrtrunner: Remove the app when stopping on Windows Phone

The native API fails to stop the app, but removing the app will
successfully stop it. Until we have a reliable way to stop the
application, simply remove the app instead.

Task-number: QTBUG-41946
Change-Id: I98662103a7242f806e2eb5ef06cfd60372df681a
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
9 years agowinrtrunner: Remove Xap engine
Andrew Knight [Sun, 3 May 2015 10:21:25 +0000 (13:21 +0300)]
winrtrunner: Remove Xap engine

Windows 8.0 and Windows Phone 8.0 support have been removed from Qt, so
remove references to them in winrtrunner.

Change-Id: Ifcb6f60b6122b94ff453aa23334263d4b828608a
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agoandroiddeployqt: Use correct package name when uninstalling
Alessandro Portale [Thu, 23 Apr 2015 10:59:55 +0000 (12:59 +0200)]
androiddeployqt: Use correct package name when uninstalling

When calling androiddeployqt with "--install --no-build", it will try to
uninstall a package with a wrong package name. This patch attempts to
read a valid package name from the AndroidManifest.xml before
uninstalling.

Task-number: QTBUG-45433
Change-Id: If2bc788753a24dd752492464c985de70c67b8f72
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
9 years agoinvalidate message index when inserting in the middle
Oswald Buddenhagen [Mon, 27 Apr 2015 18:04:26 +0000 (20:04 +0200)]
invalidate message index when inserting in the middle

subsequent offsets become invalid when a message is inserted in the
middle, so the index must be invalidated (adjusting the offsets on the
fly doesn't seem worth it).
also, there is no point in updating the index if it is already invalid.

Task-number: QTBUG-45831
Change-Id: I9733cb3235c6b8b09dee7eae4d2ecf0a0cdda528
Reviewed-by: hjk <hjk@theqtcompany.com>
9 years agoupdate message index when message gains source text
Oswald Buddenhagen [Mon, 27 Apr 2015 18:36:32 +0000 (20:36 +0200)]
update message index when message gains source text

when a message which is first seen with only an id later gains a source
text, this text would not have been indexed. so a subsequent new message
with the same source, but without an id this time around, would not be
seen as a dupe of the first message.

Change-Id: Ib35f820e2b02311ea9c9996383a2789095098d6f
Reviewed-by: hjk <hjk@theqtcompany.com>
9 years agowindeployqt: Append Qt bin directory to path.
Friedemann Kleint [Fri, 24 Apr 2015 10:44:08 +0000 (12:44 +0200)]
windeployqt: Append Qt bin directory to path.

Ensure qt.conf is taken into account when running qmake -query.

Task-number: QTBUG-39177
Change-Id: I0a8260033f49ddb21bf46ccbfe576ddb00db5679
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
9 years agoBump version
Oswald Buddenhagen [Mon, 20 Apr 2015 10:28:25 +0000 (12:28 +0200)]
Bump version

Change-Id: Ib3ce9b642f65dc89847a61332d00ff9cde04d596

9 years agoAdd location to the supported module list
Maurice Kalinowski [Mon, 13 Apr 2015 13:11:10 +0000 (15:11 +0200)]
Add location to the supported module list

Qt 5.5 introduces Qt Location and the plugins were not deployed so far.

Change-Id: Ic06322a672a392a87b1c0f159b7028651fc2762a
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
9 years agolinguist: Fix loading of multiple identical source texts
Tobias Koenig [Mon, 13 Apr 2015 07:16:16 +0000 (09:16 +0200)]
linguist: Fix loading of multiple identical source texts

Show all translations from all .ts files in case
they provide the same source text and comment multiple
times with different IDs.

Previously, Qt Linguist showed the translations only for
the first occurrence, because the merging code in
MultiDataModel::append() compared only source text
and comment, but not the message ID in case it was there.

Task-number: QTBUG-45520
Change-Id: I3b527f0d9ce67a88e1c235f4b67d106cc0a49dc2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agomacdeployqt: Support Qt frameworks using rpath
Adam Strzelecki [Sat, 1 Nov 2014 19:46:26 +0000 (20:46 +0100)]
macdeployqt: Support Qt frameworks using rpath

This makes macdeployqt understand dependencies expressed with @rpath
prefix which are resolved using Mach-O LC_RPATH commands.

Follows up c0a54efc4091b365ffac09fc2827cf92f849d698 from qtbase.

Task-number: QTBUG-31814
Change-Id: I83156815e236ae52306aaecfc84f99d097284fa8
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
9 years agoQt Designer Examples: Fix code around constructors.
Friedemann Kleint [Fri, 10 Apr 2015 09:42:18 +0000 (11:42 +0200)]
Qt Designer Examples: Fix code around constructors.

Make constructors explicit, use constructor initialization for member
variables, remove unused variables.

Change-Id: I84273400d66ef061376bd0ec4948ab1a0fd45f30
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoQt Designer Examples: Fix includes.
Friedemann Kleint [Fri, 10 Apr 2015 09:24:26 +0000 (11:24 +0200)]
Qt Designer Examples: Fix includes.

Replace module includes by per-class includes and reorder.

Change-Id: Id8273865c0110e6d834d9c40a123e3d72bfc4b87
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoQt Designer Examples: Introduce Qt 5 connect syntax.
Friedemann Kleint [Fri, 10 Apr 2015 09:18:01 +0000 (11:18 +0200)]
Qt Designer Examples: Introduce Qt 5 connect syntax.

Change-Id: I6f0f1fad45412ab3dd7b5ff82f9cab789b805080
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoQt Designer Examples: Introduce Q_DECL_OVERRIDE.
Friedemann Kleint [Fri, 10 Apr 2015 08:52:32 +0000 (10:52 +0200)]
Qt Designer Examples: Introduce Q_DECL_OVERRIDE.

Change-Id: I08b4227e4609caef74576ea4e05d33c7142f2665
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoQt Designer: Suppress updating of QAction's object name when editing existing actions.
Friedemann Kleint [Tue, 3 Mar 2015 12:29:10 +0000 (13:29 +0100)]
Qt Designer: Suppress updating of QAction's object name when editing existing actions.

Suppress the updating on clearing the text for existing actions
that have non-empty names initially.

Task-number: QTBUG-44778
Change-Id: Iedf59d5c8ac2ca356ed86774de677c6faf08afc7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoFix license text in XSL template used for generating ui4.cpp/h.
Friedemann Kleint [Wed, 8 Apr 2015 13:51:51 +0000 (15:51 +0200)]
Fix license text in XSL template used for generating ui4.cpp/h.

Change it back to "tools applications" (Designer/uic) as was in Qt 4.

Task-number: QTBUG-45442
Change-Id: Ib8f4a2310fc4073464b14e45af6981a85be48031
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
9 years agoQt Designer: Enable reset property for multiselection.
Friedemann Kleint [Thu, 2 Apr 2015 14:44:29 +0000 (16:44 +0200)]
Qt Designer: Enable reset property for multiselection.

When working with a multiselection in the property editor, the reset
button was previously only enabled when the property was modified on
the selected/current widget. With this change, reset will always be
enabled when the property is modified in one of the widgets of
a multiselection. Unmodified widgets will be filtered out when
initializing the command.

The intended use case is mainly to enable conveniently clearing all
minimumSize/maximumSize constraints of a form by doing Ctrl+A
to select all and then do reset on the property.

Change-Id: Ideab87cab79e9404941d5594653f12c13515c1ae
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
9 years agoqtdiag: Add AppDataLocation.
Friedemann Kleint [Wed, 1 Apr 2015 10:21:57 +0000 (12:21 +0200)]
qtdiag: Add AppDataLocation.

Change-Id: Ia5154a6463a0a5947f8346f18718f0f0027fd89a
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agoqtplugininfo: Default to printing the metadata in a nicer form
Thiago Macieira [Tue, 17 Mar 2015 21:57:12 +0000 (06:57 +0900)]
qtplugininfo: Default to printing the metadata in a nicer form

Change-Id: I1a800c709d3543699131ffff13c3801cee682635
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoqtplugininfo: Add some extra validity checks on the metadata
Thiago Macieira [Mon, 16 Feb 2015 21:29:40 +0000 (13:29 -0800)]
qtplugininfo: Add some extra validity checks on the metadata

Useful for debugging why a plugin file does not load.

Change-Id: I1a800c709d3543699131ffff13c37f93f85fac1d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoqtplugininfo: Print the plugin name the metadata is from
Thiago Macieira [Mon, 16 Feb 2015 21:25:24 +0000 (13:25 -0800)]
qtplugininfo: Print the plugin name the metadata is from

If there are more than one files passed on the command-line. Like grep.

Change-Id: I1a800c709d3543699131ffff13c37f584d830ff6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoqtplugininfo: Always print the tool name and the filename first
Thiago Macieira [Mon, 16 Feb 2015 21:20:05 +0000 (13:20 -0800)]
qtplugininfo: Always print the tool name and the filename first

Like moc and cat:

 $ cat foo
 cat: foo: No such file or directory
 $ moc foo
 moc: foo: No such file

Change-Id: I1a800c709d3543699131ffff13c37f0dfdeefc5c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoqtdiag: Add information on touch devices.
Friedemann Kleint [Thu, 26 Mar 2015 11:11:44 +0000 (12:11 +0100)]
qtdiag: Add information on touch devices.

Change-Id: Ibe28292df577bf12311b91952df9034b9636589a
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
9 years agoDoc: make examples visible in Qt Assistant TOC
Leena Miettinen [Wed, 25 Mar 2015 14:07:55 +0000 (15:07 +0100)]
Doc: make examples visible in Qt Assistant TOC

And in Qt Creator Help Contents, too.

Task-number: QTBUG-45222
Change-Id: I1011242826f227e39768293fc3e5404ba073f17e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
9 years agoRemove the old headersclean unit test
Thiago Macieira [Thu, 18 Dec 2014 03:38:48 +0000 (19:38 -0800)]
Remove the old headersclean unit test

We have configure -headersclean now

Change-Id: I1817798e76d5bd037c26dad308a22354b9cfd185
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agoMerge remote-tracking branch 'origin/5.4' into 5.5
Frederik Gladhorn [Tue, 17 Mar 2015 08:49:02 +0000 (09:49 +0100)]
Merge remote-tracking branch 'origin/5.4' into 5.5

Change-Id: I5a49f9e755d85ea160fcf2ccfbc691ce0c17b458

9 years agowindeployqt: Add Qt3D module.
Friedemann Kleint [Fri, 13 Mar 2015 15:07:47 +0000 (16:07 +0100)]
windeployqt: Add Qt3D module.

Change-Id: Id4a47955a100fad3b22fc12141a8f63057dcbe7c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
9 years agoDoc: add image path for Remote Control Example
Leena Miettinen [Fri, 13 Mar 2015 14:11:13 +0000 (15:11 +0100)]
Doc: add image path for Remote Control Example

So that it will not be marked "broken" in
Qt Creator examples.

Task-number: QTBUG-41996
Change-Id: I22cd0efc28a46ab99a5d8aee57a5a3f76714d447
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
9 years agoqtdiag: Update to output values of newly added API.
Friedemann Kleint [Wed, 11 Mar 2015 14:15:48 +0000 (15:15 +0100)]
qtdiag: Update to output values of newly added API.

Task-number: QTBUG-44348
Change-Id: Idda5a09c77d5adca866d3b330292ec10cc549453
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agobic: Add/Replace 5.{0.1,2,3,4}.0 bic data for linux-gcc-amd64
Sergio Ahumada [Fri, 13 Feb 2015 17:46:40 +0000 (18:46 +0100)]
bic: Add/Replace 5.{0.1,2,3,4}.0 bic data for linux-gcc-amd64

Remove the ia32 data since there are no linux x86 machines in
the CI system (which makes the data useless from an automated
testing point of view) and most people use x64 these days anyway.

Change-Id: I0fd47bf62087b1e9c45afbd9b5c22f27c8bab12b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
9 years agolupdate: Remove wrong error message
Jan Arve Saether [Tue, 10 Mar 2015 12:29:51 +0000 (13:29 +0100)]
lupdate: Remove wrong error message

For qsTr(), when string is not literal we printed a warning saying
"text to translate must be a literal string". This was not correct, as
it has never been a requirement for the string to be a _literal_ string.

The solution is to remove the message entirely.

Task-number: QTBUG-42381
Change-Id: If08726143c810382feb0a1c5db5036d9601ce488
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agoDesigner: fix const correctness in old-style casts
Thiago Macieira [Sun, 8 Mar 2015 00:08:43 +0000 (16:08 -0800)]
Designer: fix const correctness in old-style casts

Found by GCC's -Wcast-qual.

Change-Id: Ia0aac2f09e9245339951ffff13c95d489992d9ef
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoFix lupdate for .ui.qml files
Thomas Hartmann [Tue, 10 Mar 2015 13:58:53 +0000 (14:58 +0100)]
Fix lupdate for .ui.qml files

The context has to be the complete base name including ".ui".

Task-number: QTBUG-44905
Change-Id: If2b148d4ecc790182a7bcc56dd17a33c4ee16617
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agoAssistant: Fix an export and an import of bookmarks
Alexander Volkov [Thu, 5 Mar 2015 16:11:51 +0000 (19:11 +0300)]
Assistant: Fix an export and an import of bookmarks

Use the correct root index for BookmarkModel.
Allow to remove top-level bookmark folders if they were
created by importing bookmarks.

Task-number: QTBUG-44042
Change-Id: I423b141d0e64dec8c4cebfdba0d4401d575d1b96
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
9 years agoFix warning in correct uses of QCoreApplication::translate
Albert Astals Cid [Mon, 24 Nov 2014 22:57:48 +0000 (23:57 +0100)]
Fix warning in correct uses of QCoreApplication::translate

It was emitting the warning for "Unsupported Latin1" in the case it was
a valid plural form too

Change-Id: I22c9c15d50488810e3ff5d7b132aebd994b08ebf
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
9 years agoDoc: Replace qt-project.org/doc with doc.qt.io
Sergio Ahumada [Wed, 4 Mar 2015 21:42:16 +0000 (22:42 +0100)]
Doc: Replace qt-project.org/doc with doc.qt.io

Change-Id: I9f17221f474e06be83a4d9e076746fa3db71d147
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
9 years agoFix kmap2qmap build on OS X
Samuel Gaist [Wed, 4 Mar 2015 20:16:50 +0000 (21:16 +0100)]
Fix kmap2qmap build on OS X

Currently kmap2qmap fails to build on OS X (clang) This patch aims to
fix this.

Change-Id: I61c985dc7ad1f2486368c39aa976599d274942ab
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoMerge remote-tracking branch 'origin/5.4' into 5.5
Frederik Gladhorn [Tue, 3 Mar 2015 17:16:39 +0000 (18:16 +0100)]
Merge remote-tracking branch 'origin/5.4' into 5.5

Change-Id: Ie55561b4d56f23200eda2cc9d2152ae719f2a906

9 years agoUpdate/add missing parts to build makeqpf
Samuel Gaist [Fri, 27 Feb 2015 07:54:42 +0000 (08:54 +0100)]
Update/add missing parts to build makeqpf

In its current state makeqpf is not buildable. This patch adds the
missing files as well as update the code to use version 2

Change-Id: Idd35a5db5edeef5523b588b919cebebfcdbeaa27
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
9 years agoAssistant/helpbrowsersupport.cpp: Remove hostile character.
Friedemann Kleint [Thu, 26 Feb 2015 13:26:39 +0000 (14:26 +0100)]
Assistant/helpbrowsersupport.cpp: Remove hostile character.

Fix qdoc-warning:
qttools/src/assistant/assistant/helpbrowsersupport.cpp:1: warning: Hostile character 0xbf in C++ source

Change-Id: If565d8af3502504c5e8b9e2ca70fc439a758e9e0
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
9 years agoChange copyright in version dialogs to 'The Qt Company Ltd.'
Friedemann Kleint [Wed, 25 Feb 2015 15:30:50 +0000 (16:30 +0100)]
Change copyright in version dialogs to 'The Qt Company Ltd.'

Change-Id: I7f1d079dc3714685c4d34fad6c237798ca747b1c
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
9 years agowindeployqt: Turn off debug/release matching for WebEngine plugins.
Friedemann Kleint [Fri, 20 Feb 2015 11:12:20 +0000 (12:12 +0100)]
windeployqt: Turn off debug/release matching for WebEngine plugins.

Its plugins (ffmpegsumo.dll) are always wrongly detected as debug
builds.

Change-Id: I17ad353a58c90368ab2bc96704016910071f3950
Task-number: QTBUG-44331
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
9 years agoMerge dev into 5.5
Oswald Buddenhagen [Mon, 23 Feb 2015 10:56:15 +0000 (11:56 +0100)]
Merge dev into 5.5

Change-Id: I3bf7a2f27c34ac77198aabcb57f3ad7df5970649

9 years agoMerge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5
Frederik Gladhorn [Sun, 22 Feb 2015 15:09:45 +0000 (15:09 +0000)]
Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5

9 years agoMerge remote-tracking branch 'origin/5.4' into 5.5
Frederik Gladhorn [Fri, 20 Feb 2015 14:59:14 +0000 (15:59 +0100)]
Merge remote-tracking branch 'origin/5.4' into 5.5

Conflicts:
LICENSE.LGPLv21
LICENSE.LGPLv3
src/assistant/assistant/mainwindow.cpp
src/designer/src/designer/versiondialog.cpp
src/linguist/linguist/mainwindow.cpp
src/linguist/lrelease/lrelease.1
src/linguist/lupdate/lupdate.1
src/qconfig/main.cpp
src/qdbus/qdbusviewer/mainwindow.cpp

Change-Id: I8644f68ff02f00a377f82ea0b7520aa308f0a0df

9 years agowindeployqt: Fix g++ warning about unhandled enumeration value WinCE.
Friedemann Kleint [Wed, 18 Feb 2015 08:02:48 +0000 (09:02 +0100)]
windeployqt: Fix g++ warning about unhandled enumeration value WinCE.

Change-Id: I2bd95f058c9c03b45ccf43a6f9c6736fed036286
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
9 years agoChange creation date to a fixed date
Sune Vuorela [Sun, 15 Feb 2015 21:51:44 +0000 (22:51 +0100)]
Change creation date to a fixed date

Encoding the dates makes reproducing the output impossible, and doesn't
really have much gain. It most of the time not relevant when something
was built, but more 'what was built' and 'with what tools was it built'

In this case, the creation date isn't read by any thing, so it is likely
just filler data.

Keep the key anyways to not break any third party readers of the file
and set a fixed date, in this case the same date as used for a fixed
date in QtCore's QLibraryInfo::buildDate function at noon.

Change-Id: I560e43dfce538e2f25c3cf51482b946a7cfa179e
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
9 years agoMerge remote-tracking branch 'origin/5.4' into dev
Frederik Gladhorn [Mon, 16 Feb 2015 14:23:22 +0000 (15:23 +0100)]
Merge remote-tracking branch 'origin/5.4' into dev

Conflicts:
LICENSE.LGPLv21
LICENSE.LGPLv3
src/assistant/assistant/mainwindow.cpp
src/designer/src/designer/versiondialog.cpp
src/linguist/linguist/mainwindow.cpp
src/linguist/lrelease/lrelease.1
src/linguist/lupdate/lupdate.1
src/qconfig/main.cpp
src/qdbus/qdbusviewer/mainwindow.cpp

Change-Id: Icd2e3843fbf9906454e8e3aa3ac46b21bae3c306