Friedemann Kleint [Mon, 6 Oct 2014 08:28:36 +0000 (10:28 +0200)]
Qt Designer: Load translations only when designer_<LANG>.qm is present.
Try to load designer_<LANG>.qm first and load qt_<LANG>.qm only
if the former succeeds.
Task-number: QTBUG-41790
Change-Id: Id4862019edf81da81bf9d059c586bbfee18ab7e6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Friedemann Kleint [Mon, 29 Sep 2014 12:13:28 +0000 (14:13 +0200)]
windeployqt: Use Qt5Gui.dll to detect ANGLE/OpenGL.
After the introduction dynamic GL loading, the platform plugin no
longer directly depends on the GL libraries.
Change-Id: Icd3a5836fff52071df33a5ad87dea528c11ee83c
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Friedemann Kleint [Mon, 29 Sep 2014 08:26:11 +0000 (10:26 +0200)]
Qt Designer: Add QOpenGLWidget.
Change-Id: Ia20e63c1427af954c04d0a6c384802fabc2e7bfd
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Friedemann Kleint [Fri, 26 Sep 2014 12:20:03 +0000 (14:20 +0200)]
windeployqt: Deploy software rasterizer for dynamic Open GL builds.
Change-Id: I0bb260c7c8992ae24dda6f84eaf304329eb4159c
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Simon Hausmann [Fri, 26 Sep 2014 11:09:22 +0000 (13:09 +0200)]
Removed run-time library for the QML compiler
This library is not needed anymore for the release with Qt 5.4
Change-Id: Ia3e361405f73f2f3da025475aa440c8b93398850
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Morten Johan Sørvig [Tue, 6 May 2014 09:22:19 +0000 (11:22 +0200)]
Improve how macdeployqt calls qmlimportscanner
Construct the argument list using "-rootPath", which
correctly handles multiple qmlDirs. Don't merge
qmlimportscanner stdout and stderr. Log stderr as
macdeployqt warnings.
Change-Id: I6f82f90f4e242c9aa246ab26ba3b9af88e1fd123
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Antti Kokko [Fri, 22 Aug 2014 06:26:35 +0000 (09:26 +0300)]
Update license headers and add new license files
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3
- Removed LICENSE.GPL
Change-Id: I23ef9591f4d9054e0b6a252ba7767baf4189aeab
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
Jocelyn Turcotte [Tue, 23 Sep 2014 14:29:28 +0000 (16:29 +0200)]
Zoom the documentation according to the system DPI by default
QtWebKit follows the web standard use of 96 DPI for font sizes and
this is a good compromise for the web, but this would require each
Assistant user to zoom the text manually without the benefit of
keeping existing content working (since we don't show any external
content in Assistant that could break with a higher DPI).
HiDPI on OS X already handles the issue by scaling the whole page by
two, but since we don't completely support DPI awareness on Windows,
Assistant assets and text will be scaled but the documentation
itself will be microscopic.
Use the zoomFactor to adjust the DPI according to system settings
by dividing QScreen::logicalDotsPerInch() by 96.
Task-number: QTBUG-41076
Change-Id: I5644d0b383fcaf04bed156207afca9b322ea18a6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Friedemann Kleint [Wed, 24 Sep 2014 13:00:22 +0000 (15:00 +0200)]
Qt Designer: Fix range check of double properties.
Change-Id: I18348c0e354a8dd9306d40557700e34225c21014
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Alexander Volkov [Fri, 19 Sep 2014 12:22:53 +0000 (16:22 +0400)]
qdbusviewer: Extract MainWindow class
This refactoring is a preparation for saving/restoring window settings.
Change-Id: I22b4c4947437e90f986390a4dd7c14d50a0f02d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
BogDan Vatra [Sat, 20 Sep 2014 08:23:06 +0000 (11:23 +0300)]
Make sure the outputDirectory contains the full path not relative.
Trying to run a process using the relative path on windows fails.
Task-number: QTBUG-41431
Change-Id: I0c9aa837dc7a556372b1018feb2f7f5c14c2652a
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
BogDan Vatra [Sat, 20 Sep 2014 07:58:53 +0000 (10:58 +0300)]
Don't remove assets folder.
The user might copy files in assets folder at install time.
Change-Id: Ib26f6d0546aae70788c09bf455835647e3deb602
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Friedemann Kleint [Fri, 19 Sep 2014 13:37:40 +0000 (15:37 +0200)]
Qt Designer QDesignerContainerExtension example: Fix page title.
Tie the setting of the combo title to QQWidget::windowTitleChanged().
The call to retranslateUi() happens after adding the pages; so
the titles are lost in uic-generated code.
Change-Id: Ia88dd694a7ab5fe1bd62a849feeb7768a2ba6f16
Task-number: QTBUG-24916
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Frederik Gladhorn [Thu, 18 Sep 2014 11:13:12 +0000 (13:13 +0200)]
Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4
Rainer Keller [Wed, 17 Sep 2014 08:51:06 +0000 (10:51 +0200)]
Remove qtdemo from gitignore
QtDemo was removed with a commit in qtdoc.
Change-Id: I4ebbc5825dd3e30652903a459f21ea26d5fd4682
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Frederik Gladhorn [Tue, 16 Sep 2014 13:29:38 +0000 (15:29 +0200)]
Merge remote-tracking branch 'origin/5.3' into 5.4
Conflicts:
.qmake.conf
Change-Id: I32718899f94175b7012ac5ba208fc18eb54b3ae9
Alexander Volkov [Fri, 5 Sep 2014 11:06:28 +0000 (15:06 +0400)]
Assistant: Fix a name of a bookmarks folder
The folder named "Toolbar Menu" is meant to contain bookmarks which
are displayed on the bookmarks toolbar rather than in some menu.
So the name "Bookmarks Toolbar" is more appropriate, besides it is
consistent with Firefox and is similar to Chromium's "Bookmarks bar".
Change-Id: I1b1c359ee4ca02dcd34afff01326442c5d9b4459
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Eskil Abrahamsen Blomfeldt [Mon, 8 Sep 2014 14:52:54 +0000 (16:52 +0200)]
Android: Make search for import path case insensitive on Windows
The file system is case insensitive on Windows, and if you e.g.
specified a lower case drive letter in your prefix when building
Qt, then we would bail out because we would think the path
of any given import was located outside the import paths specified.
Task-number: QTBUG-41012
Change-Id: I22a1be32a221cd754dfed93e125d685bade65828
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Oswald Buddenhagen [Mon, 4 Aug 2014 19:21:24 +0000 (21:21 +0200)]
fix context checkmarks
not such a good idea to not count finished messages towards non-obsolete
ones.
amends
9d3cbd0a.
Task-number: QTBUG-34921
Change-Id: I22d0dd14c094a33973635c23e59c66d72c6c746a
Reviewed-by: hjk <hjk121@nokiamail.com>
Friedemann Kleint [Mon, 1 Sep 2014 11:58:13 +0000 (13:58 +0200)]
windeployqt: Special case non-standard modules.
Task-number: QTBUG-40670
Change-Id: I3897b4149587cf4e90cbdaf6d54ef8cff70d22d2
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Oswald Buddenhagen [Mon, 4 Aug 2014 20:07:36 +0000 (22:07 +0200)]
remove pointless empty column in message list
the view has one column less than the context list, so reflect that in
the model.
Change-Id: I51c87167bc334b47e4a35874a476823db4908790
Reviewed-by: hjk <hjk121@nokiamail.com>
Friedemann Kleint [Thu, 28 Aug 2014 14:11:32 +0000 (16:11 +0200)]
windeployqt: Detect Quick applications by checking Qt5Quick[d].dll.
Applications no longer have a direct dependency to Qt5Qml[d].dll.
Task-number: QTBUG-40663
Change-Id: I2b3569c3d39f6a96e3f44d6e2541c6697c93bd7f
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Frederik Gladhorn [Fri, 29 Aug 2014 09:33:45 +0000 (11:33 +0200)]
Bump version
Change-Id: Ib882880ca853660bdd3cd6388d4e94b020e87ce3
Frederik Gladhorn [Thu, 28 Aug 2014 14:19:02 +0000 (16:19 +0200)]
Merge remote-tracking branch 'origin/5.3' into 5.4
Change-Id: I5ce2fc73aa2b5b3d1c7e2108105c32cb810cd6bf
Samuel Gaist [Tue, 24 Jun 2014 22:47:51 +0000 (00:47 +0200)]
macdeployqt: don't use hardcoded lib/ when searching for dylib
Currently when parsing otool output for dylibs, "lib/" is appended to
the path. However dylibs might not be always found in a lib folder like
e.g. the mysql client libraries from macports. This patch aims to remove
that hardcoded path and use the data from the currently parsed otool
line.
[ChangeLog][OS X][macdeployt] Fixed a bug where dynamic libraries where
searched in the wrong directory
Task-number: QTBUG-21913
Change-Id: I992d15bc48ad827185216852108b2d0a5633043e
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Friedemann Kleint [Tue, 26 Aug 2014 15:01:55 +0000 (17:01 +0200)]
windeployqt: Fix warning about unused 'version' variable.
Change-Id: Iefecda4cf8b2dbbe07f8c22ffd17286bd0e024e1
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Friedemann Kleint [Tue, 26 Aug 2014 14:57:44 +0000 (16:57 +0200)]
windeployqt: Fix -webkit2 / -no-webkit2 command line options.
Introduce convenience function for exclusive options.
Task-number: QTBUG-40663
Change-Id: I03dd88f5bcec55f0190501c1faae0ec66d607016
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Thiago Macieira [Sat, 16 Aug 2014 19:05:33 +0000 (12:05 -0700)]
Add missing #include for QDataStream
main.cpp:542:22: error: variable ‘QDataStream s’ has initializer but incomplete type
qm.cpp:236:16: error: ambiguous overload for ‘operator<<’ (operand types are ‘QDataStream’ and ‘quint8 {aka unsigned char}’)
Change-Id: Ie54f6b8e0362bb5d501a9ce58fd206d32fb3b697
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Oswald Buddenhagen [Mon, 4 Aug 2014 17:58:17 +0000 (19:58 +0200)]
fix gaelic plural rules
[ChangeLog][Linguist][Important Behavior Changes] The Gaelic plural
rules now know four forms. To keep existing translations intact, set
their language to Irish.
Task-number: QTBUG-40566
Change-Id: Ia3c315bb4d9bda8fac57b39c9b1a5653a1a44260
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Frederik Gladhorn [Mon, 18 Aug 2014 15:49:20 +0000 (17:49 +0200)]
Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4
Paul Olav Tvete [Wed, 13 Aug 2014 12:32:51 +0000 (14:32 +0200)]
Android debugging compatibility fix for Creator 3.1
Make debugging work with both Qt Creator 3.1 and the upcoming 3.2.
Change-Id: I0d13d353fe560aee0c0103959d9619f14786ba57
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Frederik Gladhorn [Tue, 12 Aug 2014 11:10:56 +0000 (13:10 +0200)]
Merge remote-tracking branch 'origin/5.3' into 5.4
Conflicts:
src/macdeployqt/shared/shared.cpp
Change-Id: I121d34332ec6ad04ee579838bc40be0ea1b9e290
BogDan Vatra [Thu, 7 Aug 2014 08:33:23 +0000 (11:33 +0300)]
Android: Say hello to gradle support!
Using gradle it doesn't need ant to be installed anymore.
It's also much way faster than ant (on multiple builds),
on my computer is 25-50% faster than ant.
[ChangeLog][Android][androiddeployqt] Added Gradle support to build the
APK.
Change-Id: I3ed2c7215e38a43f5d5f62c3e6eedb601182e81a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
BogDan Vatra [Mon, 21 Jul 2014 18:29:17 +0000 (21:29 +0300)]
Add --no-build option.
This option is needed to install the package in a separate step without
rebuilding it.
Change-Id: I1fb099d7afd3d604a8a4ca89e1551529d2255b25
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Marc Mutz [Thu, 31 Jul 2014 14:13:08 +0000 (16:13 +0200)]
qtconcurrent/generaterun: adapt to earlier changes in qtconcurrentrun.h
Except for the license header and the new auto return functions, the
qtconcurrentrun.h header is now reproduced faithfully again.
Change-Id: Ib3b1ec10e75ddfb8e4bd8f7d765ce9d2fc1fc4f9
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Marc Mutz [Thu, 31 Jul 2014 13:46:10 +0000 (15:46 +0200)]
qtconcurrent/generaterun: adapt to run(QThreadPool *pool,...)
The output is still very different from the checked-in file in QtCore.
Change-Id: I02f7489867b891c7867deebd33a39547c16923e4
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Thiago Macieira [Tue, 8 Jul 2014 02:18:54 +0000 (19:18 -0700)]
Update qtdiag to match the new function names in QSysInfo
Change-Id: I005fa3218755da186e5272fa566e5cdcb83b0b9c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Frederik Gladhorn [Tue, 5 Aug 2014 08:11:18 +0000 (10:11 +0200)]
Merge "Merge remote-tracking branch 'origin/5.3' into dev" into refs/staging/dev
Frederik Gladhorn [Mon, 4 Aug 2014 07:03:50 +0000 (09:03 +0200)]
Merge remote-tracking branch 'origin/5.3' into dev
Manually adjusted src/androiddeployqt/main.cpp
after
73e4f9593abecad68b39bbf68564a92dff5222e6
Patch by BogDan Vatra.
Change-Id: Idcf4ae7f54346119ee09001b1b55225a08dd9b21
Andrew Knight [Fri, 1 Aug 2014 15:45:12 +0000 (18:45 +0300)]
Remove d3dcompiler_qt from deployed libraries
This library was an experimental feature that has been removed from Qt.
Change-Id: I9bb6fb8a4392bd9e99b8f7e23212e3ff5c84a638
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Andrew Knight [Mon, 4 Aug 2014 07:17:03 +0000 (10:17 +0300)]
Remove qtd3dservice
This was an experimental feature which is no longer required or maintained.
Change-Id: I6b4541f402eeb30e8619876ce7293bff79f1b8c4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Samuel Gaist [Tue, 29 Jul 2014 21:57:38 +0000 (23:57 +0200)]
Add bearer plugin deployment
This patch implement the bearer plugins deployement
[ChangeLog][OS X][macdeployqt] Now correctly deploys the network related
plugins
Change-Id: I37e8a7033bc4d7d41fe34314ddac7b441696c5b7
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Eskil Abrahamsen Blomfeldt [Mon, 23 Jun 2014 11:49:38 +0000 (13:49 +0200)]
androiddeployqt: qmlimportscanner support
Enables qmlimportscanner support in the deployment tool. Will
use the root path set by qmake to determine dependencies, which
by default will be the location of the project's .pro file.
Other effects: This removes the requirement to add QT += foobar
to enable using imports from the module QtFooBar, and it also
enables adding custom QML imports.
[ChangeLog][Android][androiddeployqt] Added support for using
qmlimportscanner to detect QML import dependencies of application.
Task-number: QTBUG-34175
Change-Id: I5af5964f9e453121eeff8b442f0c5e72676b1fbe
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Thiago Macieira [Tue, 8 Jul 2014 02:19:09 +0000 (19:19 -0700)]
Display the selectors from QFileSelectors in qtdiag too
Change-Id: I708140d95e04d37d8593c1ff2f16ffa2b759abe0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Thiago Macieira [Tue, 8 Jul 2014 03:28:01 +0000 (20:28 -0700)]
qtdiag: Display the detected OpenSSL version number in hex
It's a lot easier to read 0x1000108f than
268439695.
Change-Id: If3f647563655046e69d65d022f7b1e9e3fb445cc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Marc Mutz [Thu, 31 Jul 2014 13:44:21 +0000 (15:44 +0200)]
qtconcurrent/generaterun: allow to pass the output dir as an argument
The hard-coded paths don't exist anymore.
Change-Id: Ie993f0a08d9dc2d89fa08911c18a09706af2fa24
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Marc Mutz [Thu, 31 Jul 2014 13:41:07 +0000 (15:41 +0200)]
qtconcurrent/generaterun: compile
Change-Id: I9f3e08d93effaf2f6b6d07136d0867f13c6cd95d
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
BogDan Vatra [Tue, 29 Jul 2014 13:25:51 +0000 (16:25 +0300)]
Android: fix zipAlign location.
Stating with android tools v23, the zipAlign tool was moved from
<android_sdk>/tools to <android_sdk>/build-tools/<build_tools_version>.
Task-number:QTBUG-40481
Change-Id: Id9207b6e382b0e79522d9fc529453ccd39aebe0d
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Thiago Macieira [Sat, 5 Jul 2014 22:32:54 +0000 (15:32 -0700)]
Display the detected architecture in qtdiag's output
The build architecture is part of QLibraryInfo::build()
Change-Id: I38b4d8711fce2f431eadb886d42e76be268b2b58
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Oswald Buddenhagen [Thu, 31 Jul 2014 09:50:00 +0000 (11:50 +0200)]
Merge "Merge remote-tracking branch 'origin/stable' into 5.3" into refs/staging/5.3
Friedemann Kleint [Thu, 31 Jul 2014 09:23:11 +0000 (11:23 +0200)]
Fix compilation of qtdiag.
Adapt to changes in QSysInfo API.
Change-Id: Iae95ed9f10f260f9c89cb27b6f50a13322fa8068
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
Eskil Abrahamsen Blomfeldt [Wed, 23 Jul 2014 14:50:23 +0000 (16:50 +0200)]
androiddeployqt: Force Qt Gui dependency for all apps
Currently, the only way to launch an Android application is through
the platform plugin, which of course depends on Qt Gui. This causes
problems running corelib autotests, since they have QT = core in
the .pro file and thus will not deploy or load the platform plugin.
At some point, we may have a way to launch pure corelib-applications
on Android (like services), but until then, we need to hardcore the
dependency on Qt Gui to make sure these autotests run properly.
Change-Id: Ica794af972a06ec021c1fa28333866296eab96e0
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Oswald Buddenhagen [Wed, 30 Jul 2014 13:45:52 +0000 (15:45 +0200)]
Merge remote-tracking branch 'origin/stable' into 5.3
Change-Id: I8c3a43456ee3e378adbbda0d528d06201fd87256
Frederik Gladhorn [Tue, 29 Jul 2014 10:51:13 +0000 (12:51 +0200)]
Merge remote-tracking branch 'origin/5.3' into dev
Change-Id: Ia75281ed8c11fcd49a5cad55a4caa3c75fa670e9
Eskil Abrahamsen Blomfeldt [Mon, 21 Jul 2014 08:12:58 +0000 (10:12 +0200)]
androiddeployqt: Refactor findFilesRecursively()
Currently, androiddeployqt expects all the detected dependencies
to reside inside the Qt installation directory. Once we add support
for the qmlimportscanner, however, they can reside in any of
the qml import paths. The refactoring prepares the code for this,
separating the relative path (the path of the file when it is
installed on the device) and the absolute path (the source file).
Task-number: QTBUG-34175
Change-Id: I5173034a02e29f88f8ca6f2b61c0caea6ba71778
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Friedemann Kleint [Thu, 10 Jul 2014 08:55:15 +0000 (10:55 +0200)]
windeployqt: Clear read-only attribute when copying files.
The deletion of the empty QML directories fails when not doing so.
Task-number: QTBUG-40152
Change-Id: I0ff78440646239897b4867c3b3cfe1af8b2769f9
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Jerome Pasion [Fri, 4 Jul 2014 12:49:32 +0000 (14:49 +0200)]
Doc: Removing url variable from qdocconf file.
-url inherited from the url variable set in qtbase/doc/global
Change-Id: I69623cfe4f1a0b5c7aee52134bedbf04646ed22f
Reviewed-by: Martin Smith <martin.smith@digia.com>
Maurice Kalinowski [Mon, 7 Jul 2014 11:04:25 +0000 (13:04 +0200)]
Disable tests for linguist when cross compiling
Change-Id: I724bfa5d6ad0d8757e6ff10d9444d5f26d3d5270
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Maurice Kalinowski [Mon, 7 Jul 2014 10:55:28 +0000 (12:55 +0200)]
WinRT: Disable some examples
assistant uses IPC, which is not supported.
Using the designer library is completely disabled for WinRT.
Change-Id: I7f569fe975c16dd3f3ce8744d1ed5c06a84d8da6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Joerg Bornemann [Mon, 7 Jul 2014 14:33:36 +0000 (16:33 +0200)]
fix CLucene build for MSVC 2013
Commit qtbase/
9f0e5d00ab51cc7c0dc87c8d72f48c4e6edaf120 added the
/Zc:strictStrings compiler option to MSVC 2013 builds.
We're circumventing the problem by throwing const_casts into the code.
Change-Id: I45cc647b780f834b756caed92c4d6f9a50a53664
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
David Faure [Sun, 6 Jul 2014 13:30:58 +0000 (15:30 +0200)]
qtpaths: add missing GenericConfigLocation, exists since Qt 5.2.0
Change-Id: I4d4ef2e0f33896984f436df6c9a033dd89866665
Reviewed-by: Sune Vuorela <sune@vuorela.dk>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
J-P Nurmi [Fri, 4 Jul 2014 11:07:56 +0000 (13:07 +0200)]
macdeployqt: remove accessibility plugins that no longer exist
Change-Id: Icd87b10d8173b6a97ddc5099298360084eb7d624
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Morten Johan Sørvig [Wed, 23 Apr 2014 14:06:46 +0000 (16:06 +0200)]
Ignore local and non-filesystem qml imports.
Make macdeplpoyqt deploy qml imports from Qml2ImportsPath
only. js and local imports should be deployed as a
part of the application build. Remote (network) imports
should be loaded at run-time.
Task-number: QTBUG-38533
Change-Id: I322f588912bcbb65fbc45676faaa3de76d625bef
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Shawn Rutledge [Fri, 27 Jun 2014 11:10:00 +0000 (13:10 +0200)]
consistently use organization name QtProject
This affects the location of the QSettings files or registry entries.
Other parts of Qt are using this organization name so it's good to
have all the settings in the same place.
Change-Id: Icbe61ab188b5561f935d959fdbaa885fbff4c3ec
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Oliver Wolff [Tue, 24 Jun 2014 11:13:55 +0000 (13:13 +0200)]
windeployqt: Added Qt 5.3 modules to module list
Additionally 64 Bit usage for the flags was cleaned up and the order
of modules was changed so that they are sorted now.
Change-Id: If5b52dee6e1f48218313db96a03ac1e5380e73ed
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Frederik Gladhorn [Thu, 26 Jun 2014 15:28:06 +0000 (17:28 +0200)]
Merge remote-tracking branch 'origin/5.3' into dev
Conflicts:
.qmake.conf
Change-Id: I3c04b4c45c1c8dd29ddc4f27043654baff3adaf3
Andrew Knight [Tue, 24 Jun 2014 10:34:49 +0000 (13:34 +0300)]
winrtrunner: Prevent crash when closing run engine
Close the package factory before calling CoUnitialize(), as it may
crash the application otherwise.
Task-number: QTBUG-39833
Change-Id: I16108852dd259d981950dff6877ea83f8a471072
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Thiago Macieira [Thu, 1 May 2014 21:24:16 +0000 (14:24 -0700)]
Add the dump of qCpuFeatures() to qtdiag
Change-Id: I6a094e755b9faf4a0f52adb7199bc2695b2a1468
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Oswald Buddenhagen [Tue, 17 Jun 2014 22:36:48 +0000 (00:36 +0200)]
Bump version
Change-Id: I1cd3e87dbc75c3b2ae1bcaec7311ce8ceba530b5
Sergio Ahumada [Sat, 14 Jun 2014 22:30:37 +0000 (00:30 +0200)]
Merge remote-tracking branch 'origin/5.3' into dev
Change-Id: I9580b6fee5533456feeed20045327c3746a73240
Sergio Ahumada [Sat, 14 Jun 2014 16:21:04 +0000 (18:21 +0200)]
Merge remote-tracking branch 'origin/stable' into 5.3
Change-Id: I78a250e8631706606e6b003b28cdfb90ad692abc
Andrew Knight [Thu, 5 Jun 2014 14:13:01 +0000 (17:13 +0300)]
winrtrunner: Support Windows Phone 8.1
This allows the runner to deploy to Windows Phone 8.1 devices
and
emulators.
The following limitations are noted:
- App argument passing doesn't currently work. A workaround
could be to
modify the entry point in the AppxManifest.xml, which would
also
require changes to qtmain. WP8.0 already uses a similar
workaround,
but this is messy and should be avoided if possible.
- Querying for the application state doesn't work, so -wait
won't exit
if the app stops. A workaround for this exists in WP8.0, by
passing
the -qdevel parameter to the app, but this is invasive. If
an
alternative can't be found, this can be fixed in a follow-
- Stopping applications doesn't appear to work (the API call
succeeds,
but the app remains running). One workaround is to -remove
the app.
- Getting the exit code still isn't possible.
Task-number: QTBUG-37771
Change-Id: Ifa7188fc2ccb156e4c411b50fefd4f12a0590883
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Andrew Knight [Thu, 5 Jun 2014 10:39:41 +0000 (13:39 +0300)]
winrtrunner: Add an inherited method for creating packages
This method can be used by AppxEngine subclasses for creating package
(*.appx) files.
Change-Id: I7aab9bced144353c3c9e8cf6fbb914bd2f5b7fbb
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Andrew Knight [Fri, 13 Jun 2014 08:53:11 +0000 (11:53 +0300)]
winrtrunner: Move COM initialization into the private class
This ensures Appx engine subclasses get COM initialized in the same way.
Change-Id: Ib376842f808488353d19fe36c76bb2411332c0e4
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Friedemann Kleint [Fri, 13 Jun 2014 13:11:53 +0000 (15:11 +0200)]
windeployqt: Remove deleted QML directories from Json output.
Rewrite JsonOutput to use a QPair<> of strings and add function to remove
all entries of a target directory.
Task-number: QTBUG-39626
Change-Id: Ie4602deb45d60fdddab27f264ecf34b72f839254
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Sergio Ahumada [Wed, 11 Jun 2014 08:07:10 +0000 (10:07 +0200)]
Merge remote-tracking branch 'origin/stable' into 5.3
Change-Id: Ided10fa5438cc1bd9a34fd8ded4bbd456abfe686
Topi Reinio [Wed, 12 Mar 2014 09:09:45 +0000 (10:09 +0100)]
Doc: Remove Qt Designer manual from the licensing group
The Qt licensing information page will link to the Qt Designer
-specific information directly.
Task-number: QTBUG-35362
Change-Id: I293402a8024f33b68446497a50b9782803d20761
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Andrew Knight [Thu, 5 Jun 2014 05:41:25 +0000 (08:41 +0300)]
winrtrunner: Split AppxEngine into abstract base and Appx Local subclass
This allows common code to be reused in future Appx engine types.
Change-Id: I4e0ba09242eee6687604abe65d556a96a79346f4
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Sergio Ahumada [Thu, 5 Jun 2014 11:49:26 +0000 (13:49 +0200)]
qhelpgenerator: Fix warning about qpa_minimal_plugin usage
Project WARNING: CONFIG+=qpa_minimal_plugin is deprecated. Use QTPLUGIN.platforms=qminimal instead.
Change-Id: I9f07c5033e0022e00c45e52570fe001856f13ca8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Andrew Knight [Thu, 5 Jun 2014 09:44:01 +0000 (12:44 +0300)]
CoreCon: mark destructor as virtual
This was causing COM to not get uninitialized and resulted in
winrtrunner hanging.
Change-Id: Ie3e409a43f2cb41f28ef6975d81c68996554861f
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Andrew Knight [Mon, 19 May 2014 12:09:28 +0000 (15:09 +0300)]
CoreCon: Support API Versioning, and add Version 12 (WP8.1) support
While intrusive, versioned headers and a templated backend allows
apps like winrtrunner and qtd3dservice to access multiple versions of
CoreCon, allowing for simultaneous support of Windows Phone 8 and Windows
Phone 8.1 devices. This also allows for simple addition of future
versions, should there be a need.
Applications using these headers should use the versioned API instead
of the original ccapi.h. This has been fixed in winrtrunner and
qtd3dservice.
Task-number: QTBUG-37771
Change-Id: I70cad98a2bf7f232dfd92f1c068cf0e1a8eadf88
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
Friedemann Kleint [Tue, 27 May 2014 11:28:24 +0000 (13:28 +0200)]
windeployqt: Observe qtlibinfix.
Determine qtlibinfix by checking on the Qt5Core library name
and re-apply that when building the module names.
Task-number: QTBUG-39297
Change-Id: I73d1253ddd803071f90199fa9aaee7328c7aae8c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Iikka Eklund [Tue, 27 May 2014 07:24:14 +0000 (09:24 +0200)]
Merge "Merge remote-tracking branch 'origin/release' into stable" into refs/staging/stable
Friedemann Kleint [Wed, 21 May 2014 06:37:22 +0000 (08:37 +0200)]
Exclude qtdiag when QtGui is not available.
Task-number: QTBUG-39118
Change-Id: I54f6879ef58e5b7b7bc2c20840524f4af5433921
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Friedemann Kleint [Wed, 21 May 2014 14:12:32 +0000 (16:12 +0200)]
windeployqt: Add missing "audio" plugins for QtMultimedia.
Task-number: QTBUG-39157
Change-Id: I88055eed7b430c14e1d1e13bdeee558a63763d8d
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Friedemann Kleint [Thu, 22 May 2014 13:16:33 +0000 (15:16 +0200)]
windeployqt: Adapt to dynamic GL switching.
Add command line options to enable or disable deployment of ANGLE.
Detect dependency on ANGLE from platform plugin. Detect true
if neither a dependency on ANGLE nor opengl32.dll exists (dynamic case).
Task-number: QTBUG-36545
Change-Id: Ic46b93fa79ca2527e08b780862e699ab12e2861c
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Iikka Eklund [Tue, 20 May 2014 10:27:07 +0000 (13:27 +0300)]
Merge remote-tracking branch 'origin/release' into stable
Change-Id: I2a54387a58f44518cddd5f5ac10c43cf29205d6b
Eskil Abrahamsen Blomfeldt [Mon, 19 May 2014 09:00:47 +0000 (11:00 +0200)]
androiddeployqt: Add option to reinstall apk
Mainly for consistency with the old deployment method in Qt Creator,
androiddeployqt will uninstall any previously installed instances
of the application before installing it. This will remove any caches
or user data stored by the application. In many cases (most) it
would be more convenient to just overwrite the existing instance,
but keep all caches intact. This patch adds the --reinstall option,
symmetrical to --install. If enabled, the uninstall step will be
skipped.
[ChangeLog][androiddeployqt] Added option to install an APK without
uninstalling previous instances of same application.
Task-number: QTBUG-35845
Change-Id: I93bed4fefda6ed5295f333002a4958654b3f911c
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Thiago Macieira [Fri, 16 May 2014 18:02:33 +0000 (11:02 -0700)]
Let qtpaths return a failure to the caller if it found nothing
Otherwise, the only hint that we get that nothing was found is an empty
line. You could detect that from a shell by assigning to a variable and
checking if it's empty (provided $IFS is set to a newline). But a return
value is much easier.
Change-Id: I00608be8a23a487c9f90a4080479c8f527a8eb3f
Reviewed-by: David Faure <david.faure@kdab.com>
Friedemann Kleint [Wed, 14 May 2014 14:06:06 +0000 (16:06 +0200)]
windeployqt: Consider plugin dependencies.
Pass the disabled libraries to the plugin find function and
make it add new dependent Qt libraries.
Task-number: QTBUG-38943
Change-Id: I5b4eaeb9f25dede738465ba19062f99bda15250b
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Eskil Abrahamsen Blomfeldt [Tue, 13 May 2014 16:47:09 +0000 (18:47 +0200)]
androiddeployqt: REG: Fix running tools with spaces in path
The popen() function on Windows executes the command using /s,
probably for legacy reasons, which causes the behavior that it
removes the first and last quotes in the command line and otherwise
preserves it perfectly. This causes strings in which both
the executable name and at least one argument has to be quoted, to
be unparsable by the shell once it has been processed. To work around
this we wrap the string in quotes on Windows.
Since we added quotes to arguments for the jarsigner command in Qt 5.3.0
we introduced a regression that made it impossible to sign APKs on Windows.
Task-number: QTBUG-38962
Change-Id: I2b618e1996753645766d25ca06b14e1985d7eacd
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Eskil Abrahamsen Blomfeldt [Mon, 12 May 2014 06:43:19 +0000 (08:43 +0200)]
androiddeployqt: Remove warning about missing dependency
In
08672adb97c0707c513850a27aaec59327874260 in qtbase, the
MODULE_PLUGIN_TYPES of QtGui was expanded to contain some
more plugin types which are not built on Android, causing
warnings during every deployment. Since MODULE_PLUGIN_TYPES
is common to all platforms we should just ignore it if it
specifies plugins that do not exist.
[ChangeLog][androiddeployqt] Remove warning about missing
dependency.
Task-number: QTBUG-38651
Change-Id: I57a2c1d79b859981b3adf2772be4f0cd8a98be12
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Sergio Ahumada [Wed, 14 May 2014 06:38:38 +0000 (08:38 +0200)]
Merge remote-tracking branch 'origin/stable' into dev
Conflicts:
.qmake.conf
Change-Id: Ib20f075f0ffa8cf0b64dad2dcd6ede825d36a551
Thiago Macieira [Thu, 1 May 2014 21:03:40 +0000 (14:03 -0700)]
Print the OS version using QSysInfo
Change-Id: I1fd7df2ba131529d85ce5ffa4e99bcea63f0b8fe
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Thiago Macieira [Thu, 1 May 2014 20:50:37 +0000 (13:50 -0700)]
Remove the big/little-endian message from qtdiag's header
It's now included in QLibraryInfo::build(). That is:
Qt 5.4.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 4.8.1
20130909 [gcc-4_8-branch revision 202388]) on "xcb"
Change-Id: Ic68221f628be62ab64859ebb80059f753aa54cf1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Friedemann Kleint [Fri, 9 May 2014 08:49:48 +0000 (10:49 +0200)]
windployqt: Fix cross-compilation.
Fix signature of readPeExecutable().
Task-number: QTBUG-38160
Task-number: QTBUG-38886
Change-Id: I3ff88d502e0f9f7912b4c0741667a8f4ff71dbba
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Aleix Pol [Mon, 2 Dec 2013 02:38:59 +0000 (03:38 +0100)]
Extend androiddeployqt features
Makes it possible to specify a set of runtime dependencies to be bundled
with the application to be used afterwards.
To do so, adds a new entry in the json file named "android-extra-plugins"
that will specify those dependencies in a list.
It will put the text files within the assets directory and the libraries
and plugins in the architecture's directory in libs/.
Change-Id: I2aaa4886252743bd333d8d18404fd41e85bbd8b5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Thiago Macieira [Thu, 1 May 2014 21:04:23 +0000 (14:04 -0700)]
Remove extra newline between the font listing and native dialog
They're all part of theme grouping.
Change-Id: I1ecc6f4eee0abbcf4ac76f585b6524d6f7027a34
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Thiago Macieira [Thu, 1 May 2014 21:04:03 +0000 (14:04 -0700)]
Print the password character using the form U+XXXX
Change-Id: I5d901e6471509cb0f5177724d94912becf258182
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Thiago Macieira [Thu, 1 May 2014 21:03:04 +0000 (14:03 -0700)]
Explain what the * are in qtdiag's output or remove them
Change-Id: Ie5c43c88d51d282bde4e1d91e86b95e4e5c4e91f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>