| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise, the application crashes when debug messages
are emitted while creating window. Amends
fc55372413a064baa049f28a13cba1406b132cfb.
Task-number: QTBUG-49712
Change-Id: I393d46431fbafb6aab95866848466dc72820fa89
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When debugging controls potentially crashing testcon, it makes sense
to use the standard tools to capture debug output. Add an option
and move the handler code to main.cpp.
Task-number: QTBUG-49712
Change-Id: I9fd60513e7b3e6fc8a20019778a5844ad99d554e
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When loading controls using the same version of Qt,
QGuiApplication::quitOnLastWindowClosed is set to false.
Overwrite MainWindow::closeEvent() to fix this.
Task-number: QTBUG-49712
Change-Id: I7425cf2a4a70353e017ed5cad463e1b66b819247
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use a struct and log a warning when registration fails.
Task-number: QTBUG-49712
Change-Id: I138ec010cde6c97867994c1a4f4f75a460a4061d
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-49712
Change-Id: I0460264dede9109f9627d8557d0264ffb0a9acaa
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
MIME extensions are parsed starting from the end by finding the last
extension separator ':' and chopping off the end of the string. Now
only 'extension - 1' chars are chopped which leaves the last extension
separator in place causing an infinite loop where the same separator
is found round after round.
Fixed by chopping the extension separator also.
Change-Id: I3df6008ad53dbecc17ac98647aedab63bf848963
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix QT_NO_KEYWORDS regression introduced in commit 575ee40621f7
(2015-10-06).
Change-Id: I24ad330074fbcd521fae7efceac50a87bc8d4e40
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Factor out load methods and add command line parser.
Task-number: QTBUG-49355
Change-Id: Ic7c15c19e0b51e666fc13d74751713ccdc97dd9d
Reviewed-by: Fredrik Orderud <forderud@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The script demonstrates how to navigate between custom Qt objects
from a scripting language. None of the existing scripts demonstrate
this capability, so the script should therefore be useful.
The background for sending this patch is that scripting ActiveQt
can be a bit tricky. Adding more sample scripts will hopefully
make it easier for newcomers to get started.
Change-Id: I06820339bc92b556229af101ca2cc177da96ccc2
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The macro QT_NEEDS_QMAIN must be defined under MinGW,
so that the entry point is WinMain in qaxservermain.cpp.
Otherwise the entrypoint is main in qaxmain.cpp
Task-number: QTBUG-41227
Change-Id: Iad6818e9a7b2a45afad47b44e0551be0eaae7858
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a memory leak. Introduce scoping to ensure that
CoUninitialize is performed after argument cleanup.
Task-number: QTBUG-49148
Change-Id: Icc53f87361c492ab9c53290626bab6758b337098
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: Iad9116db8ac8943fcd3ea9ed28b9ffc396ba0ae0
|
| |
| |
| |
| |
| | |
Change-Id: I9802b8215ae1f149f5e76896de9b0eec71fa09a5
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The examplesinstallpath variable in .qdocconf files defines the path
under QT_INSTALL_EXAMPLES where examples are found.
To match the way examples are packaged in Qt 5.6, prefix the
install path with the repository name.
Task-number: QTBUG-48736
Change-Id: I69a30edbc2b35654da8ed61ef01d8a732a2e4060
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Mention windeployqt and give hint about registering as administrator.
Task-number: QTBUG-48586
Change-Id: I48158cfa4c7b04f28f04468c41abf3d1f0f42e2d
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add usage information and help option.
- Introduce Mode enumeration to be able to do the
register/unregister operations after parsing the options.
This makes it possible to put the option in first:
idc /regserver foo.dll
which did not work before (cryptic error due to 'input' being
empty).
Task-number: QTBUG-48586
Change-Id: I05552293ec604bbe4ae61e130519b5b228d9f9d4
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use qPrintable()/QFile::decodeName() where appropriate.
Task-number: QTBUG-48586
Change-Id: Ib84b62b2b41e62f9922ef0949040a02f2a901b3b
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IDC crashes when attempting to register a ActiveQt COM DLL as
post-build event, if the DLL depends on other DLL(s) in the same
folder. The reason for this is because IDC loads the DLL using
LoadLibrary, which does NOT add the folder containing the DLL to
the search path when loading dependencies.
This patch fixes this problem by introducing the
LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR flag to LoadLibraryEx and
expanding the input path to become fully qualified.
Change-Id: If41609d48842567984013b1f3f2b00b0a93d5960
Task-number: QTBUG-48586
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite QAxServerBase::ActiveXProc() to retrieve the pointer to the
QAxServerBase instance from GWLP_USERDATA only in the messages it handles
itself. Otherwise, crashes occur when this interferes with
QAxServerBase::TranslateAcceleratorW() temporarily setting other values.
Task-number: QTBUG-48600
Change-Id: I3ab22d208666b072e1164942cce89fe0dedc7ccf
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A \target whose purpose is to link to the top of a
page (and not to a section within a page) works better
as a \keyword, because \target generates a
new html anchor which, in this case, is not tied to
any title element on the page.
A \keyword links to the page itself, as expected.
Change-Id: I7ce0283f7371de191d3e1b35874b3824bf6d2566
Task-number: QTBUG-48482
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Remove obsolete directories dating back to Qt 4, Symbian leftovers and
obsolete Creator debugging helpers.
Change-Id: I1a1e6781e695c9dcbc3988fc0496c890ce3a2195
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I1a46a940d3e2ba5f71fc69d25c3637e7a1cc65eb
|
| |\
| | |
| | |
| | | |
Change-Id: I0bb8aed8125f001a25cfb6485760f480f5324b7e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Except one, all the example documentation are missing
an image.
Task-number: QTBUG-41996
Change-Id: Ib72dbf239810e66a60841a1ba1395e6fbcb3e8fe
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
LGPLv3 refers to it but does not include it in its body.
Change-Id: Ib056b47dde3341ef9a52ffff13eed18cf3504738
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|\| |
| | |
| | |
| | | |
Change-Id: Ie63185f66c060582a11ee75eca215d6536283e86
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Commit 66e1ecc2 broke the compilation with MinGW64 4.0 and above.
The work-around for mingw-w64 bug #464 must be applied to
all MinGW versions that are affected.
Change-Id: Ie6665d076dc1e38e459ae3c9cc51202b4a12e736
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I0308544188e73d94b836685f07e44337ca57a723
|
| | |
| | |
| | |
| | | |
Change-Id: I025b5c65994b999b35b04fb51c2bd9587f74012b
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I9c088036dd897e8457ba9e5ab266ad7c5b084bea
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Commit 7dffc4f4 broke the compilation with MinGW64 3.1 and above.
The work-around for mingw-w64 bug #464 must only applied to
MinGW versions that are affected.
Task-number: QTBUG-46712
Change-Id: I62bda4db361d15849fa071d0acaee72254d34bd6
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
load(qt_parts) causes the inclusion of src, tools etc
but on non-win32 platforms (and wince and winrt) we have
to add the src subdirectory anyways in order to create
the doc target.
Task-number: QTBUG-46712
Change-Id: I51cf4050fed744c844acc8ff4fe5f5f1d8c32d1a
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
vtable-stubs inherit QAxObject and can thus not be copied. When
using qRegisterMetaType<> on them, cryptic error messages are
generated:
src/activeqt/container/qaxobject.h(58) : error C2248: 'QObject::QObject' : cannot access private member declared in class 'QObject'
src/corelib/kernel/qobject.h(275) : see declaration of 'QObject::QObject'
include\qtcore\../../src/corelib/kernel/qobject.h(96) : see declaration of 'QObject'
To fix this, extract a list of the stubs at the beginning and suppress
the generation of qRegisterMetaType<> for them.
When writing out the class declaration, explicitly disable copy
for them to make error messages clearer.
Task-number: QTBUG-27792
Change-Id: Ia538a68864f3621234c1aab366b097ded881e859
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
produces:
/****************************************************************************
**
** Namespace TestLib generated by dumpcpp v5.5.0 using
** dumpcpp -o test Test.tlb
** from the type library Test.tlb
**
****************************************************************************/
Task-number: QTBUG-27792
Change-Id: I22ef45c424f07ae89e2cbae1d8c05686b0646c5c
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
|\| |
| | |
| | |
| | | |
Change-Id: I37609a137247e3203d09942e187ec880c6eba884
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I4f9beb32feff7e177b69fe2c2f058992ce095f86
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Iaf1281a9b6fc851362c42621fc4109536da88058
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I1e9993873a52dfe59adcb5479e131495854b17be
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ic05f2312e3dbbc011a5a5a5b34403cd0c452eef3
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| | |/
| | |
| | |
| | | |
Change-Id: I5d966e253003bd32caaf61ea7f22d36acf57f6f2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QMetaMethod::methodSignature() produces for an invokable slot with
array type parameters (void foo(const char p1[10],int p2)):
foo(const char[10],int)
Split off the array specification and append it to the parameter name.
Task-number: QTBUG-46177
Change-Id: I58670570357472f6f5b7fcf0e841d3b7cb4189c8
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Release IOleControl before IOleObject from which it was obtained.
Task-number: QTBUG-45937
Change-Id: I3add7dc6e6c62172b71d36126e2a0ce86b28da5e
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- IAxServerBase inherits IUnknown which does not have a virtual destructor.
- QAxFactory::metaObject(const QString &) hides QObject::metaObject()
(false positive).
Task-number: QTBUG-45666
Change-Id: I8d1e69903ba6edde84ae9d4b64ee2e6088efad8b
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Silence warning by MinGW:
qtactiveqt\src\activeqt\container\qaxscript.cpp:143: warning: deleting object of polymorphic class type 'QAxScriptSite' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
Task-number: QTBUG-45022
Change-Id: I5f221a953e44c3977ba633b999223fd4aa014666
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[ChangeLog][ActiveQt] Enabled QAxScript on MinGW.
Change-Id: I90b56b02d1c90fada512e725aa6f498861a118f2
Task-number: QTBUG-45022
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|\| |
| | |
| | |
| | | |
Change-Id: I24d14e84caa2e47ea39d477b07f711f6ac3ba2de
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Silence warnings by MinGW for QAxServerAggregate, QAxSignalVec,
QAxConnection, QClassFactory:
warning: deleting object of polymorphic class type '...' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
Task-number: QTBUG-45666
Change-Id: Id610094014699b95cba46119658da1b5005ff554
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
qaxtypefunctions.h uses IUnknown as base class, which
causes warnings on MinGW due to not having a virtual
destructor:
qaxtypefunctions.h:57:8: error: base class 'struct IUnknown' has accessible non-virtual destructor [-Werror=non-virtual-dtor]
struct IAxServerBase : public IUnknown
QAxFactory hides the declaration of metaObject() in QObject:
qobjectdefs.h:158:32: error: 'virtual const QMetaObject* QObject::metaObject() const' was hidden [-Werror=overloaded-virtual]
virtual const QMetaObject *metaObject() const; \
^
qaxfactory.h:68:32: error: by 'virtual const QMetaObject*
QAxFactory::metaObject(const QString&) const' [-Werror=overloaded-virtual]
virtual const QMetaObject *metaObject(const QString &key) const = 0;
^
Task-number: QTBUG-45666
Change-Id: I9cdf275a1c74950d66c19e025918b8416f94d9ca
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add missing include qt_windows.h, required for
qtbase/ 6668f5becfb8fcb6d10e42495c6ea5cdba2d15c5.
Change-Id: I8e9ea48e950b210579cfc523fafea84300aaca22
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
qtactiveqt.pro
Change-Id: Ie6deaadc8cf69e111a0ae7ebef420b4f47e3b9a3
|