| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I42f28bcdfbac81a5ccb4c5f34dc18f7dc6787e6a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I73e91215b059a9508561441a78ec1b066a5b67ed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia5b81ba805df7f48fe8507641d56a45a9c44b448
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I9b9ad9adad3736442df577aa1031f86375608f3d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I2042287faccd39c82f53d725df34facadd925d29
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I0e440f9c8774f342f7e815512f2a71391f316c8c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I6a7649ba415629c324decbbfaf21c60651f637c2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: If756f9709c6444ee966f939415cea5d13a007b06
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If two COM objects in two single threaded apartments can communicate and
both objects can initiate a call (typical situation if both client and
server have an user interface), the implementations must deal with
reentrancy problems. This is not always an obvious property of out-of-
process COM servers, and documenting it can help developers to solve or
prevent such issues.
Change-Id: Ibb1bb7e7a58709fdb23feb3ae68c9cbf62200d4b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 8ee924262ebded93dbe7799fd042cc9ccd558bc4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7da79473fa59e936b06cb7311960e86ed84a1c8f)
|
|
|
|
|
| |
Change-Id: I64bdf77581264b99899c3ae247bf59f6df0270b0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a COM object emits events and calls QAxEventSink::Invoke while the
metaobject is getting constructed, then we might end up with accessing
incomplete initialized meta object data when mapping the Invoke call to
the corresponding Qt signal.
Use a QSignalBlocker while we are generating the meta object, so that
the QAxEventSink::Invoke and OnChanged implementations exit early.
Pick-to: 5.15
Fixes: QTBUG-100657
Fixes: QTBUG-96871
Change-Id: If9368ee878bbe56e2fb61ce251383841191b3a6d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
(cherry picked from commit 690770d8e6c61b8e3834a19e95e3fd816f842182)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c758be532150d33fe840a99325fe10df2e9efaf8)
|
|
|
|
|
| |
Change-Id: I1cad022b23e03b7551ba2d4eaf1e980ddc7a0839
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I8791c2ba4e529ff76e3c66f218a7d48ab8b3b905
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I8b9ddd95f18bbc35b17a250cf6adf86d3e01840d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I0b927b6793d4cdcfe543a34b5d461e0bb5c6b0c3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ibd945fe2a472ff34e128c3f88dad45508dd22724
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Iddd3df21c7578201cc1b980345bea3807b031bc2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: If214776987e239b1157e2bf0fe835c68416bc4b6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ifa80de1426c6e651d2663a68a1d8ffa0e147f41c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I899bda91bf3bdb3d3541581d11675520073b7190
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I43dbb3a402ced7aa7bc2152e067256dc56a46964
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia9d93170918353efb0175be4188a9b503df33bfe
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I9bebf28bcaa394e182fbd94c4bdac3972c9d571b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Amends 55876d1b4e6a, 12f159f85bf02
Change-Id: Ie5b0b8f472243d92c62e5ce5ca64210d4771c8b9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
(cherry picked from commit b14c2c2151e845b2c6eea4aa804f485c4376811d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I1c232eb4ba84c704b2b287868f656991aa65992d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ie567b6fad86d9553c664e199748d082ad73a2407
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I7c35cdb257e88400bffdc99da53d8722010bbbb5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I147e544b9e3a88ee09682c4d9e045977690946e2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I7edf918fd39a66d50fbcb719c4f2f29d2838cde2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I3e44bdbabe2b96f5216bf77e2bdd6fbae978d03f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-116039
Change-Id: I171566bea939dc6a801e5b3dc441b814693d8d79
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
(cherry picked from commit ba7dbbb71165b9c3c2ba6a679075f1dbb2e37280)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I6ed72541eec48082639189aa83a176fa066cccfd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The qutlook sample may crash if the contact list contains items that
are not regular contacts, for example distribution lists. The crash
occur because items such as distribution lists do not have the requested
properties (FirstName, LastName etc).
This patch works around this issue by checking if the contact list item
is a contact before attempting to access the requested properties.
A side effect is that non-contact entries show up as blank lines in the
address list.
In addition, the patch fixes an issue where the qutlook app crashes if
creating the Outlook COM server fails. This was related to an
uninitialized variable (AddressBookModel::folderItems)
Task-number: QTBUG-111191
Change-Id: I6abfdaba4a49ef85bc245b26779b8bfdc409887b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 58a3cfe8574550872d47d7e08ae9b62e3b99bfd1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The issues reported on qutlook sample appears to be caused by previous
hardening of the QVariant type, which now does not accept copying
uncopyable types.
The fix to this problem seems to be to be more consistent on use of
pointer types (which are copyable), vs value types generated by the
dumpcpp preprocessor.
In the function VARIANTToQVariant, we may end up in constructing a
wrapper object on top of an IDispatch interface. To be able to construct
an object, we need the value type of the wrapper object. Still, we
should pass it out as a pointer type. This change ensures that a pointer
type is returned if a pointer type was requested.
A second similar issue is fixed in QAxBase::internalInvoke, by passing
(what I assume is) the destination type into VARIANTToQVariant. This
prevents decaying pointer types into value types. I am not sure if this
is the right approach here, and it leaves the decay code behind, which
now might be unused.
Task-number: QTBUG-111191
Change-Id: I0331ee5e3f2dbeed2db45e152378c223feb6fc94
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit c92c897a700492878b767af7e10074e236b39f92)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I496d7d201ab9c83034d603ef4ccfc5aebfdc110a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I3137902c0e95054778a96877661d78cc365cf7a2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I95c2bd1f542a72b50e3c4e3aa9c8444977ea0c08
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I89a8755c71a3e3bb205441e81af74b9c360116fd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I159d72d4eea35b595eed65e549dc6fc6ea0dde5b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I5af36be2552ef069fad907aa174316000ef30371
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I00c28ab12d69670b07bf98d6267bc4999b6b5f6e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I3a138f8afe0c974a6244f6f66692599d702f6ce1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I891b2578e5491febd505df9513911e58266d386f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I22d71db8af3090ab6d7220a252f84c57ccf64e3d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Statically allocated Qt resources created by an Active Qt COM server may
become corrupted after unloading the COM server dll, if Qt modules other
than those found in QtBase are used. This change adds a DOC warning
about this problem and suggests a workaround.
Fixes: QTBUG-56172
Change-Id: I0b6afd92f24c50ad452d2f0f7b7db53bed78e411
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit c903b4948589fc94ef9a0dbc2ef675957f65d2c7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
There are now better examples for .NET/Qt interop available, making
these examples obsolete. Also, the Dot Net example could not be built
with VS 2015 and later as they depended on the /clr:OldSyntax switch.
Change-Id: I235477d9c70b572814e8057316da26c320f42ff3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 4584dbdd7ebcd0a2087b335470585c366e30fb90)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: I8b60c7b5585bd3d9d577da92074ce7ef2219d00a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit c49552f22e59eac13392f38d9bc8f0085bff172a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I39ccb3130e2f2e9f092e30b1e28a301dca336532
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Gather the ActiveQt examples in a group page, which can then be
used as a landing page when linking from elsewhere in the docs.
Change-Id: Ib9840a790ea9caf93221440c8f8601162e110f14
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit 6af1e5c5599d431a44c11f49529b55c32af073b0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code responsible for converting between COM VARIANT and QVariant is
complex, and having better test coverage can help prevent regressions
while fixing bugs.
Task-number: QTBUG-111191
Change-Id: I804175cda91b77f95cf7ede03717f3a812d636bf
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit c5bb9b1051084bbe65ca5e8bf184e399434f8513)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|